Commands
Admin Commands
| Command | Who can use | What it does |
|---|---|---|
/airdrops | Admins only | Opens the airdrop manager panel (spawn, track, delete active drops). |
/airdropmanager | Admins only | Alias for /airdrops. |
The airdrop manager lets you:
- Spawn a manual drop at any location with any prize pool
- See all currently active drops on the map
- Delete an active drop before it expires
Admin Permissions
Admins are identified using the mode set in Config.Admin.Mode:
| Mode | How it works |
|---|---|
'ace' | Uses FiveM's ACE permission system. Players with the pyra.airdrops ace node are admins. |
'framework' | Uses your server framework's job/group system. Players in a group listed in Config.Admin.FrameworkGroups are admins. |
'both' | A player is an admin if they pass either the ACE or framework check (default). |
Granting ACE permissions
Add to your server.cfg:
add_ace group.admin pyra.airdrops allowReplace group.admin with the ACE group you use for server staff.
Auto Airdrop
No command is needed for auto airdrops. Enable them by setting Config.AutoAirdrop.Enabled = true in configuration/index.lua and configure the interval, prize pool, and locations.
If Config.Debug = true, all players are treated as admins regardless of permission settings. Always disable debug mode in production.