/ prefix) and server console commands (executed from txAdmin or the server console). Each command is restricted according to the user’s role, from normal players to administrators with ACE permissions configured in server.cfg.
Player commands
These commands are available to all players connected to the server, with no special permissions required.Moderator commands
These commands require themod permission assigned to the player. See the permissions configuration for how to grant this access level.
Administrator commands
These commands require theadmin permission and are intended for managing and maintaining the script in production.
Server console commands
These commands are executed directly from txAdmin or the server console, not from the game chat. They are useful for managing the resource lifecycle and performing diagnostics.Register custom commands
If you need to extend the script’s functionality with your own commands, you can register them in your resource using FiveM’s nativeRegisterCommand API and take advantage of Zyra Store exports for internal logic.
server.lua
If the script supports it, you can change the default command names directly from
config.lua, in the aliases or command names section. This allows you to adapt the commands to your server’s theme or language without modifying the script’s source code.To manage access levels and assign permissions to your players and staff, visit the permissions configuration.
