Console & Commands

Console Usage

Learn how to use the real-time server console to monitor and manage your Minecraft server.

The HostMode console provides real-time access to your Minecraft server's output and allows you to execute commands remotely from anywhere.

Accessing the Console

  1. Navigate to your server in the dashboard
  2. Click Console in the navigation or quick actions
  3. The console will automatically connect and start streaming output
Example Console Output Connected
[Server] Starting minecraft server version 1.21.1
[Server] Loading properties
[Server] Default game type: SURVIVAL
[Server] Preparing level "world"
[Server] Done (2.847s)! For help, type "help"
[Server] Steve joined the game

Console Features

Real-Time Streaming

The console uses WebSocket connections to stream server output in real-time. You'll see:

  • Server startup and shutdown messages
  • Player join/leave events
  • Chat messages (if enabled)
  • Error messages and warnings
  • Plugin output

Command Input

Use the input field at the bottom of the console to send commands:

  1. Type your command (without the / prefix)
  2. Press Enter or click the send button
  3. The command will be executed on the server
  4. Output will appear in the console

Note: Commands are sent without the / prefix. For example, type op Steve not /op Steve.

Log Buffer

The console maintains a buffer of the last 1,000 lines. Older messages are automatically removed to keep memory usage low. The log buffer persists for 24 hours, so you can see recent history even after reconnecting.

Common Console Tasks

Managing Players

CommandDescription
op <player>Grant operator status
deop <player>Remove operator status
kick <player> [reason]Kick a player
ban <player> [reason]Ban a player
pardon <player>Unban a player

World Management

CommandDescription
save-allSave the world
weather clearClear weather
time set daySet time to day
difficulty <level>Change difficulty

Connection Status

The console shows your connection status:

  • Connected - Live streaming active
  • Connecting... - Establishing connection
  • Disconnected - Connection lost (will auto-reconnect)

If the connection is lost, HostMode will automatically attempt to reconnect. Your command history is preserved during disconnections.

Player List

The console page also shows a list of currently online players with:

  • Player username
  • Online status indicator
  • Quick actions (kick, ban, op)