Server Commands - jmdisher/OctoberProject GitHub Wiki

The server runs an interactive console in the terminal where it is started which allows for basic interaction with the running server instance.

The content on this page was created based on version 1.0-pre5 so may be out of date if you are using something more recent.

Command list (all case-insensitive)

  • !HELP - Shows the list of supported commands
  • !STOP - Stops the server (gracefully) and exits
  • !LIST_CLIENTS - Prints a list of connected clients including their names and IDs
  • !LAST_SNAPSHOT - Prints some basic information about the last tick
  • !DISCONNECT <client_id> - Forcibly disconnects the client with the given ID
  • !SET_MODE <client_id> <survival/creative> - Sets the mode for the given client to survival or creative
  • !SET_DIFFICULTY <peaceful/hostile> - Sets the difficulty for the world to either peaceful or hostile
  • !TP <client_id> <x> <y> <z> - Teleports the given client to the given x/y/z world coordinates
  • !SET_DAY_LENGTH <tick_count> - Sets the length of the in game day-night cycle to the given number of ticks
  • !RESET_DAY - Resets the day start to now
  • !MESSAGE <client_id> message... - Sends a direct message to the given client
  • !BROADCAST message... - Sends the given message to all connected clients
  • !SAMPLE - Collects internal performance stats for the next few seconds of execution and prints them when done
⚠️ **GitHub.com Fallback** ⚠️