/).
Using Chat Commands
To use a command in-game:- Press the chat key (default:
EnterorT) - Type
/followed by the command name - Press
Enterto execute
All client commands are sent to the server for processing. Your permission level determines which commands you can use.
Command Format
Commands follow this general format:<parameter>- Required parameter[parameter]- Optional parameter
How Commands Work
When you send a chat message starting with/, the Nitrox client:
- Intercepts the message - The message is not sent as regular chat
- Sends ServerCommand packet - The command is packaged and sent to the server
- Server processes - The server validates permissions and executes the command
- Response received - The server sends back a response message
Available Commands
All server commands can be executed from the in-game chat by prefixing them with/. The available commands depend on your permission level.
Examples
Player Commands
Player Commands
Commands available to all players:
Moderator Commands
Moderator Commands
Commands requiring moderator permissions:
Admin Commands
Admin Commands
Commands requiring admin permissions:
Permission-Based Access
Commands are restricted based on your permission level:MODERATOR
Player management and world modification.
- All PLAYER commands
/kick,/mute,/unmute,/teleport,/warp,/time,/save
Context Menu Commands
Some commands can be executed through the in-game UI without typing them:Player Menu (PDA)
When you open the PDA and view other players, certain actions automatically send commands:Mute/Unmute Player
Mute/Unmute Player
Clicking the mute button sends:
Kick Player
Kick Player
Clicking the kick button sends:
Only available to moderators and admins.
Teleport to Player
Teleport to Player
Clicking teleport sends:
Teleport Player to You
Teleport Player to You
Clicking “teleport to me” sends:
Command Tips
Use Aliases
Many commands have shorter aliases:
/winstead of/whisper/tpinstead of/teleport/sayinstead of/broadcast
Command History
Use up/down arrow keys in chat to cycle through your command history.
Auto-complete Names
Player names are validated server-side, so spelling must be exact.
Check Permissions
Use
/help to see which commands you have access to.Error Messages
Command not found
Command not found
The command doesn’t exist or is misspelled.Solution: Check spelling or use
/help to see available commands.No required permissions
No required permissions
You don’t have the required permission level.Solution: Ask an admin for elevated permissions or use
/login with the admin password.Invalid parameters
Invalid parameters
Wrong number or type of parameters provided.Solution: Check the command syntax with
/help commandname.Player not found
Player not found
The specified player name doesn’t match any connected player.Solution: Use
/list to see connected players and verify the exact name.Technical Details
Command Processing Flow
The client-side command system is implemented in:- PlayerChatManager.cs:131-137 - Detects
/prefix and invokes command delegate - Multiplayer.cs - Registers
OnPlayerCommandhandler - ServerCommand packet - Transmits command string to server
- ConsoleCommandProcessor.cs - Server-side command execution
Console-Only Restrictions
Some commands have theNO_CONSOLE flag and can only be executed by players:
/teleport- Requires a player entity to teleport/aurora- Requires client-side effects/sunbeam- Requires client-side story events/login- Players authenticate themselves
See Also
Server Commands
Complete command reference with all parameters
Server Configuration
Configure server permissions and behavior
