Wiki

Guides, blocks, commands, tutorials, and advanced setup docs.

Page Tree

Server Commands

Following commands are used for managing the server:
CommandDescription
start <port>Starts server on specified port.
stopStops the server
quitCloses server program/window completely
clearClears the console
logSaves all lines from the server console into a text file (in the server.exe root directory)
autoupdate <0 | 1>Enables automatic checking if there is a new update for both Server and NameFix. If enabled (1) server will perform the check every 1 minute, if no players are present in server, new version will be automatically downloaded, else the server will wait until everyone has disconnected. Server will then shut down, automatically run NameFix.exe which will remove old CubeHopperServer.exe, rename the new downloaded version (CubeHopperServer1.exe -> CubeHopperServer.exe) and run it.

NameFix will be downloaded even if players are present. Version is also checked once per minute.

Server check is performed against: https://cubehopper.catgc.com/server.txt

Namefix check is performed against:
https://cubehopper.catgc.com/namefix.txt
force <server | namefix>Forces manual download of the Server or NameFix.
Warning: this will restart the server even if there are players connected.
checkOutputs current local and global versions of the server and namefix.

Example:
*Local Server Version: (15.3); Global Server Version: (15.3)*
*Local NameFix Version: (11); Global NameFix Version: (11)*
autostart <0 | 1>Automatically starts the server on opening CubeHopperServer.exe on the previously defined port.
helpOutputs possible commands with descriptions into the console
rconShows currently set rcon password
rcon <password>Sets the RCON password to the given value. If RCON is set, it can be used via the game client while connected to the server to send commands.
rconclearClears current rcon password
say <message>Sends message to clients from the server
cheats <0 | 1>Enables / disables server-wide cheats. This lets clients: skip levels, drag themselves around, enable noclip.
Warning: this disables high score submission for clients.
tickrate <60 - 1000>In theory this command changes server program FPS to the defined tickrate and in theory should make some stuff more responsive. But in practice this command is useless and should not be used..
showjoininfo <0 - 2>Shows info in the console about events:
0 - all info (clients, server)

CaTGC-Server Has joined the server with ip *127.0.0.1* and id *0*
Bluestar Has joined the server with ip *1.2.3.4* and id *1*


1 - shows client info only, disables the server one.

Bluestar Has joined the server with ip *1.2.3.4* and id *1*

2 - does not print join information at all in the console

PS. only affects "Has joined the server", does not affect disconnect message.
gamemode <0 | 1>0 - Allows players be on any level.

For example, if Player1 is on level 5 and another player joins the game they can start from level 1.

1 - Group players to highest level, once level is completed everyone gets teleported to next level.

For example, if player1 is on level 5 and another player joins the game, they will be teleported to level 5. If player 2 now completes level 5 and is now on level 6, player 1 will be also teleported to level 6 right away.

More commands are listed:
Player list/id: [More info]
Player directed commands: [More info]
Player skin commands: [More info]
Multiplayer list, and server hosting: [More info]