Accessing the Console
The console is available on the main server dashboard. It displays:- Real-time output - Server logs, player messages, errors
- Command input - Send commands to the running server
- Power controls - Start, stop, restart, kill buttons
- Connection status - WebSocket connection indicator
WebSocket Connection
The console uses WebSocket for live communication:Sending Commands
Commands are sent through the Panel API (not directly via WebSocket):Send Command
Success Response
Requires the
control.console permission. Server must be in a running state to accept commands.Command Examples
Error Handling
If the server is offline, you’ll receive an error:Server Offline
Power Controls
Control your server’s power state with these actions:Start Server
control.start permission.
Stop Server
control.stop permission.
Restart Server
control.restart permission.
Kill Server
Console Output Format
Console lines are sent as WebSocket events:Console Output Event
- Timestamps (added by the game server)
- Log levels (INFO, WARN, ERROR)
- Thread information
- Actual message content
ANSI Color Codes
Many servers output ANSI color codes. The panel console renders these:Status Events
The WebSocket sends server status changes:Status Change
offline- Server is stoppedstarting- Server is booting uprunning- Server is onlinestopping- Server is shutting down
Resource Statistics
Real-time stats are pushed via WebSocket:Stats Event
Stats Breakdown
memory_bytes- Current RAM usage in bytesmemory_limit_bytes- Maximum allowed RAMcpu_absolute- Current CPU usage percentagenetwork.rx_bytes- Total bytes received since startnetwork.tx_bytes- Total bytes transmitteddisk_bytes- Total disk space useduptime- Server uptime in milliseconds
Activity Logging
All console commands are logged:Activity Log Entry
Command execution is logged but the actual output is not stored - only visible in real-time via the console.
Best Practices
Keep Console Open During Critical Operations
Keep Console Open During Critical Operations
When performing updates, migrations, or troubleshooting, keep the console open to monitor for errors or warnings.
Use Stop, Not Kill
Use Stop, Not Kill
Always use the stop command for graceful shutdowns. This allows the server to save data properly. Only use kill for frozen servers.
Monitor Resource Usage
Monitor Resource Usage
Watch the stats graphs for memory leaks or CPU spikes that could indicate problems with plugins or mods.
WebSocket Reconnection
WebSocket Reconnection
Implement automatic reconnection logic in your client:
Troubleshooting
Console Not Connecting
Console Not Connecting
- Check that Wings daemon is running on the node
- Verify WebSocket port (8080) is accessible
- Ensure valid authentication token
- Check browser console for connection errors
Commands Not Executing
Commands Not Executing
- Verify server is in
runningstate - Check you have
control.consolepermission - Ensure command syntax is correct for your game
- Look for errors in panel logs
Missing Console Output
Missing Console Output
- Some servers buffer output - wait a few seconds
- Check if server writes to log files instead of stdout
- Verify Wings is properly capturing process output
