Configuration

Settings live in server.properties, created with defaults on the first run. It uses the same key=value format as vanilla and PNX. Restart the server after editing.

KeyDefaultWhat it does
server-port19132Port players connect to (UDP and TCP)
motdRustedServer name in the server list
sub-motdRustedSecond line in the server list
max-players35Player limit
level-nameworldWorld folder under worlds/
level-typenormalnormal, legacy, flat, void, or a plugin generator. Only used when the world is created.
level-seed(empty)Number or text. Empty picks a random seed. Only used when the world is created.
flat-layersbedrock,2*dirt,grass_blockLayers for flat worlds, bottom up
gamemodesurvivalDefault game mode for new players
difficultynormalpeaceful, easy, normal or hard
view-distance16Max chunk radius sent to each player (2–96)
white-listfalseOnly players in whitelist.txt can join
spawn-protection16Radius around the world spawn where only operators can build. 0 turns it off
pvptruePlayers can hurt each other
pluginsfalseLoads the built-in plugins (lobby, economy, ranks, kits, homes, auction house, scoreboard...). Off so a fresh server is plain vanilla
backup-interval60Minutes between world backups into backups/. 0 turns them off
backup-keep5How many backups to keep; the oldest are deleted
player-idle-timeout0Kick players who don't move for this many minutes. 0 = never. Operators are never kicked
join-message§e{player} joined the gameChat message when someone joins. {player} is their name; empty for none
leave-message§e{player} left the gameSame, when someone leaves
enable-rconfalseRemote console for hosting panels and tools like mcrcon
rcon.port25575TCP port for RCON
rcon.password(empty)Required: RCON won't start without one

Console

Run start.bat (Windows) or ./start.sh (Linux) and type commands straight into the window, without a /: help, op Steve, say hello, stop. Commands from the console run as an operator. If the server crashes, the start script starts it again; stop shuts it down for good.

Remote console (RCON)

Set enable-rcon=true and a strong rcon.password, restart, and connect with any RCON client, for example mcrcon -H your.server -P 25575 -p yourpassword "list". Don't open the RCON port to the internet unless you need to.

Operators

Players in ops.txt (one name per line) can use admin commands. Add someone in game with /op <name>, or from the console.

Allowlist and bans

  • /whitelist on, /whitelist add <name>, /whitelist remove <name>
  • /ban <name>, /pardon <name>