config.lua file in the resource root directory.
Settings Reference
Full config.lua
Polling Behavior
- The resource polls the RMZ API every
Config.PollIntervalseconds for pending commands - Commands are executed immediately via the server console
- After execution, RMZ is notified of the result (success or failure)
- If the confirmation callback fails, commands will be retried on the next poll cycle
Setting
PollInterval too low (below 5 seconds) may trigger rate limiting (30 requests per minute). A value of 10-15 seconds works well for most servers.Online-Required Commands
If you enable “Execute only when player is online” in the benefit settings on the RMZ dashboard:- Commands are not executed during regular polling cycles
- When the target player joins the server, their pending commands are fetched and executed immediately
- This is useful for commands that require the player to be present (e.g. giving items directly to their inventory)
Security
- The secret key is sent only in the
X-Fivem-SecretHTTP header — never exposed in URLs or logs - You can restrict API access to a specific server IP address from the RMZ dashboard
- You can regenerate the secret key at any time if it is compromised

