API/events/exports
Commands & Permissions – Space Trucker
This page lists all available commands for players and administrators/developers.
Player Commands
These commands are available to all players, but some depend on context (for example, being employed or currently on a mission).
/company
Opens the company Tablet (Control Panel).
logistic_tablet item or Admin
/checkgarage
Checks which company vehicles are stored or currently on the street.
Must be employed
/cancelarmissao
Cancels the current transport mission. Useful if a mission bugs or you give up.
Must be on a mission
Admin / Developer Commands
These commands are intended for debugging and server administration. They usually print information to the F8 console (client) or the server console.
/debugmissao
Prints current mission data in F8 (ID, quantity, destination). Useful if a mission disappears or gets stuck.
/debugcaixas
Shows the state of unloading zones (Business Orders). Useful if cargo boxes are not appearing.
Note: Space Trucker intentionally does not rely on many in-game admin commands (such as
/setcompany). Most management is handled through the NUI (Tablet) or directly via the Database.For forced actions (changing company owner, deleting companies, etc.), it is recommended to:
Edit the SQL database directly, or
Use the Tablet with Admin permissions
The script automatically detects QBCore admins.
Permissions (ACL / QBCore)
The script checks whether a player is an admin using the IsPlayerAdmin function located in:
By default, it verifies:
If the player group is
admin,god, orsuperadminQBCore: if the player permission level is
godor higher
If you use a custom permission system, edit the IsPlayerAdmin function inside
server/s_company.lua to ensure compatibility.
Last updated
