Vintage Story server commands all start with /. You can type them in the Console tab of your dashboard, or in the in-game chat once you are an admin. This page lists the commands server owners use most, checked against the game's own wiki. In the examples, replace PlayerName with a real player name, and do not type square brackets.
The wiki's own command list carries a warning that it is not fully checked against every update. When a command does not behave as written, type .chb in the game's chat to open the in-game command handbook, which the wiki calls "generally up to date with the current game version".
Becoming an admin
| Command | What it does |
|---|---|
/op PlayerName | Makes a player an admin. Same as /player PlayerName role admin. |
/player PlayerName role suplayer | Sets a player back to the default survival player role. |
/list role | Lists the roles the server has. |
Run /op on yourself from the Console tab first. The admin role has every privilege, including making other players admins.
Creative mode
The creative mode command is /gamemode creative, or its shorthand /gm creative.
| Command | What it does |
|---|---|
/gamemode creative | Switches you to creative: every block in the creative inventory, instant block breaking, flying, and you cannot die. |
/gamemode survival | Switches you back to survival. |
/gamemode spectator | Fly and look around without touching anything. |
/gamemode PlayerName creative | Sets another player's game mode. |
/gm 2 | Shorthand with a number: 0 guest, 1 survival, 2 creative, 3 spectator. |
The wiki notes that mode names can be shortened, so /gm c works too.
Changing game mode needs the gamemode privilege, which admins have. If /gamemode creative is refused even for an admin, check AllowCreativeMode under WorldConfig in data/serverconfig.json. The wiki describes it as the old "Allow cheats" switch, which "forbids the use of /gamemode creative even if you are an admin" when it is off. The default is true.
Managing players
| Command | What it does |
|---|---|
/list clients | Shows who is connected. |
/kick PlayerName reason | Kicks a player. |
/ban PlayerName reason | Bans a player. |
/unban PlayerName | Lifts a ban. |
/list banned | Shows the ban list. |
/player PlayerName whitelist on | Adds a player to the whitelist. |
/announce message | Sends a message to every chat group on the server. |
Teleporting
| Command | What it does |
|---|---|
/tp PlayerName | Teleports you to a player. |
/tp PlayerName x y z | Teleports a player to a position. |
/tp x y z | Teleports you to the coordinates shown in the game's coordinate box. |
/tp ~10 ~0 ~0 | Moves you relative to where you stand, here 10 blocks along x. |
Time and weather
| Command | What it does |
|---|---|
/time set day | Sets the clock to midday. morning, sunset, night and midnight work too, or a number of hours such as /time set 8. |
/time speed 60 | Shows or sets the game time speed. 60 is the default. |
/weather stoprain | Ends the current rain by skipping to a time without rain. |
/nexttempstorm | Days left until the next temporal storm. |
The wiki carries a warning about time commands: changing time often "has unwanted side effects", and it recommends testing them in a separate world or taking a backup first. Take one on the Backups tab before you experiment.
Server settings from the console
| Command | What it does |
|---|---|
/serverconfig password yourpassword | Requires a password to join. No spaces. |
/serverconfig nopassword | Removes the password. |
/serverconfig WhitelistMode on | Only whitelisted players can join. off lets anyone in. |
/serverconfig allowpvp false | Stops players hurting each other. |
/serverconfig allowfirespread false | Stops fire spreading. |
/serverconfig maxchunkradius 10 | Caps players' view distance, in chunks. |
/serverconfig setspawnhere | Makes where you stand the default spawn point. |
/serverconfig passtimewhenempty false | Stops game time passing while nobody is online. |
More on each one, and the matching lines in serverconfig.json, is in Server settings.
Saving, backups and status
| Command | What it does |
|---|---|
/autosavenow | Saves the world now. |
/genbackup | Copies the current save into the game's backups folder, without pausing the server. |
/stats | Shows tick rate, memory use and other server statistics. |
/info seed | Shows the world's seed. |
/info createdversion | Shows the game version the world was created in. |
/stop | Stops the server. Use the dashboard's power buttons to start it again. |
/genbackup writes its copy into the game's backups folder on the server itself. A backup from the Backups tab is the one you can restore from the dashboard with one click.
Related
- First steps on a new server: Getting started
- Every setting in
serverconfig.json: Server settings