Skip to main content
Zyra Store scripts include a command system that operates on two levels: chat commands (executed by players in the game chat with the / 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 the mod permission assigned to the player. See the permissions configuration for how to grant this access level.

Administrator commands

These commands require the admin permission and are intended for managing and maintaining the script in production.
Administrator commands require ACE permissions to be correctly configured in your server.cfg. Without the corresponding ACE assignment, players will not be able to execute these commands even if they have the admin role in the script. See the permissions configuration for more details.

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 native RegisterCommand 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.