Plugin permissions, hooks and limits
Plugin API version: 1. See Manifest and permissions for how to use them.
Permissions
| Permission | What the administrator is told |
|---|---|
network:<host> | Connect to the named host. <host> is a full domain or *.domain; wildcards over shared hosting platforms are refused |
servers:read | Read the game, version and add-on folder of servers you open its tools on |
servers:files.write | Add and remove files in server folders on your behalf (only after you confirm an install) |
storage | Keep a small private data store |
hooks | Be notified when servers or add-ons change |
payments | Take payments and manage subscriptions through this provider. It sees order details and customers’ email addresses, and holds your API keys |
notifications | Read the text of notifications to lay them out as rich messages. It cannot send anything anywhere and never sees the webhook address |
Hooks
A plugin needs the hooks permission to receive them.
| Event |
|---|
server.created |
server.deleted |
server.updated |
addon.installed |
addon.removed |
Setting field types
string (pattern, placeholder), number (min, max), boolean, select (options), secret (encrypted at rest, write-only).
Sandbox limits per call
| Limit | Value |
|---|---|
| Memory | 64 MB |
| Stack | 1 MB |
| Run time | 25 s |
| Requests | 40 |
| Bytes per response | 8 MB |
| Bytes per call (all responses) | 24 MB |
| Result size | 2 MB |
| Log lines | 100 |
| Storage | 256 KB |
