Extensions

Lua plugins allow you to customize Raya and make your challenges unique. Plugins can access the raya API and perform tasks such as:

  1. Assigning a unique flag per instance
  2. Controlling environment variables
  3. Mounting volumes/devices to an instance
  4. Sending announcements
  5. Detecting cheating and disqualifying teams
  6. Extending monitoring by adding custom metrics (Raya supports Prometheus out of the box)
  7. Scaling up the infrastructure when the number of instances increases

These are just some common tasks you can perform. However, you can program your plugin to do much more. Take a look at recipes for some inspiration.