In-Game Chat System
The chat system allows players to communicate in real-time while playing.Chat Interface
Nitrox includes a custom chat UI overlay:- Chat log: Displays recent messages from all players
- Input field: Type messages to send to other players
- Auto-hide: Chat fades when inactive, shows on new messages
- Scrollback: View message history
Opening Chat
The chat is toggled with a keybind (default: Enter or T):A hint appears the first time you use chat, then is automatically hidden. This is tracked in Nitrox preferences.
Sending Messages
Chat Packets
Messages are transmitted via theChatMessage packet:
Special Player IDs
Special Player IDs
- Player IDs:
0to65534- Regular players - Server ID:
65535(ushort.MaxValue) - Messages from server
Receiving Messages
- Player name in colored text
- Message content
- Color coding for different message types
Command System
Commands start with/ and are processed by the server.
Command Syntax
Permission Levels
Commands require specific permission levels:PLAYER
Basic commands available to all players
MODERATOR
Moderation and server management
ADMIN
Full administrative access
CONSOLE
Server console only
Available Commands
Player Commands
These commands are available to all players:/help [command]
/help [command]
Display list of available commands or detailed help for a specific commandAliases:
/?Examples:/login <password>
/login <password>
Authenticate with admin password to gain admin permissionsExamples:
Admin password is set in
server.cfg. Default is a randomly generated 12-character string./back
/back
Return to your last known position before teleportation or deathExamples:
Moderator Commands
RequireMODERATOR or higher permissions:
/broadcast <message>
/broadcast <message>
Send a server-wide announcement to all playersAliases:
/sayExamples:/kick <player> [reason]
/kick <player> [reason]
Disconnect a player from the serverExamples:
/mute <player>
/mute <player>
Prevent a player from sending chat messagesExamples:
Admin Commands
RequireADMIN permissions:
/op <player>
/op <player>
Grant admin permissions to a playerExamples:
/deop <player>
/deop <player>
Remove admin permissions from a playerExamples:
/promote <player>
/promote <player>
Grant moderator permissions to a playerExamples:
/gamemode <mode> [player]
/gamemode <mode> [player]
Change game mode for yourself or another playerModes:
survival, freedom, hardcore, creativeExamples:/changeservergamemode <mode>
/changeservergamemode <mode>
Change the server’s default game modeExamples:
/save
/save
Manually trigger a world saveExamples:
/backup
/backup
Create a backup of the current world stateExamples:
/autosave [on|off]
/autosave [on|off]
Enable or disable automatic world savingExamples:
/aurora <mode>
/aurora <mode>
Control Aurora explosion timingModes:
restore, explode, countdown <time>Examples:/sunbeam <mode>
/sunbeam <mode>
Control Sunbeam arrival eventModes:
arrive, destroyExamples:/pvp [on|off]
/pvp [on|off]
Toggle player vs player damageExamples:
/setkeepinventory [player] [true|false]
/setkeepinventory [player] [true|false]
Toggle whether a player keeps inventory on deathExamples:
/changeadminpassword <newpassword>
/changeadminpassword <newpassword>
Change the server admin passwordExamples:
/changeserverpassword <newpassword>
/changeserverpassword <newpassword>
Change the server join passwordExamples:
Server Console Commands
These commands only work from the server console:stop
stop
Gracefully shut down the server (saves world first)Examples:
list
list
Display all connected playersExamples:
summary
summary
Display server statistics and informationExamples:
config [setting] [value]
config [setting] [value]
View or modify server configurationExamples:
Player Coordination Features
Player List Tab
Nitrox adds a player list to the PDA showing:- All connected players
- Player names and colors
- Distance from local player
- Quick ping/waypoint features
Player Pings
Players can ping locations visible to all players:- Waypoint markers
- Distance indicators
- Collaborative exploration
Muting Players
Moderators can mute disruptive players:- Cannot send chat messages
- See a notification they are muted
- Can still use commands (if they have permissions)
Message Colors
Chat messages use color coding:Message Color Scheme
Message Color Scheme
- Player messages: Player’s chosen color
- Server broadcasts: Yellow/gold
- System messages: White/gray
- Error messages: Red
- Success messages: Green
Chat Preferences
Chat behavior can be configured in Nitrox client settings:- First-time chat hint display
- Chat notification settings
- Message history length
Technical Implementation
Command Processing
Command Arguments
Commands support typed parameters:Custom Commands
Developers can add custom commands by extending theCommand base class:
Best Practices
Clear Communication
Use descriptive messages when coordinating base building or exploration
Command Permissions
Only grant admin/moderator permissions to trusted players
Server Announcements
Use
/broadcast for important server notificationsRegular Backups
Use
/backup before major world changes or admin commandsTroubleshooting
Chat Not Appearing
- Check if chat key is bound in settings
- Verify Nitrox client is properly installed
- Check for UI mods that may conflict
Commands Not Working
- Ensure command starts with
/ - Check you have required permissions (
/helpto see available commands) - Verify correct syntax with
/help <command> - Check server logs for error messages
Muted by Mistake
- Contact server admin/moderator
- Admin can check mute status and unmute
- Restart may not clear mute (persists in player data)
Related Pages
Multiplayer
Player permissions and session management
World Management
Server configuration and admin commands
Synchronization
How chat messages are synchronized
