List of client commands
From Vintage Story Wiki
Client Commands
Commands offer advanced features and configuration abilities for your game. There are really 2 lists of commands - Client and Server. The client is what displays your game on the screen, plays the sounds, takes in your controls. The client let's you connect to a game server (single or multiplayer), this client commands are those that usually just affect the appearance of your game, while server commands allows you to modify the world or configuration of the game.
All commands are typed in the chat window in order to execute them. A client command always starts with a dot (.), while a server command always starts with a slash (/).
Here is a list of the most useful ones.
Client Commands
-
.fog [density] [minfog]
Sets the density of the world fog. Useful density value are in the range of 0 and 0.1, default value is 0.004
The minfog determines a minimum amount of fog that is always applied, default is 0
-
.cam [p|rp|start|stop|clear|load|save|alpha|tp]
The cinematic camera tool system.- .cam p: Adds the current position to the list of places to visit
- .cam rp: Removes the last added point
- .cam clear: Removea all points
- .cam start: Starts the cinematic camera, i.e. it will smoothly traverse all points
- .cam stop: Stops the cinematic camera
- .cam save: Exports the current list of points into your Clipboard (which you then can paste into any text editor)
- .cam load [data]: Import supplied list of points
- .cam tp [0 or 1]: Toggles whether to teleport you back to your previous position after the camera path has been completed
-
.cam alpha [0..1]: Modifies how the points are traversed by the camera (more rounded or more straight)
-
.clearchat
Clears your chat history
-
.reloadmodels
Reloads all json models from assets/blockshapes. Can be used to quickly test new block shapes.
Notice: The chunks are not redrawn, so you'd have to force a redraw e.g. by placing and removing a block
-
.viewdistance
Sets the viewing distance. Same as setting the view distance in the graphics settings but with no upper limit
For viewing distances above 1000 blocks you also have to set the .zfar value above that.
-
.zfar [value]
Set's the clipping plane distance, everything beyond given value is no longer visible (default value is 1000)
Very high values will cause Z-Fighting glitches
Server Commands
-
/kill
Kills yourself
-
/clear
Removes all items from your inventory
-
/clearentities
Kills all entities in the loaded chunks (except for players)
-
/time [set|get|speed]
Time related functions-
/time
Shows current time -
/time set day
Sets the internal clock to 9 am -
/time set night
Sets the internal clock to 7 pm -
/time set [time]
Sets the internal calendar to given time. Examples: /time set 12:00 -
/time speed
Shows current game time speed -
/time speed 0-99999
Sets the game time speed (default 60)
-
/time
-
/tp [coordinates]
Teleport yourself to a different position-
/tp x y z
Teleports player to given pretty coordinate (visible from the pretty coordinate box when pressing 'C') -
/tp =x =y =z
Teleports player to given absolute coordinate (visible from the debug screen on ALT + F3) -
/tp ~x ~y ~z
Teleports player by a given relative distance (i.e. teleport ~1 ~0 ~0 will teleport the player one block in x direction)
-
/tp x y z
-
/tp [playername] [coordinates]
Teleport given player to a different position
-
/gamemode [0..4]
Sets your game mode:- 0 = Guest mode. Cannot place/remove any blocks but can interact with them
- 1 = Survival mode. Can slowly break/place blocks. Can die. Cannot fly. Survival inventory.
- 2 = Creative mode. Access to all blocks through the creative inventory. Instant block breaking. Cannot die. Can fly.
-
3 = Spectator mode. Cannot place/remove blocks and cannot interact with anything. But can fly.
-
/gamemode [playername] [0..4]
Sets the gamemode for given player
-
/seed
Shows the world seed
-
/group [create|disband|rename|invite|acceptinvite|leave|list|kick|op|deop]
Create/manage or destrory a player group-
/group create [groupname] Creates a new player group (=own chat channel)
While in the this groups chat channel:- /group invite [playername] Invites a player to this group
- /group acceptinvite [groupname] Accept an invite to join the group
- /group leave Leaves this player group
- /group list Lists all groups you are currently in
- /group rename newgroupname Renames the group
- /group kick [playername] Removes a player from the group
- /group op [playername] Grants operator status to this player, which allows him to invite other players.
- /group deop [playername] Revokes operator status from this player.
-
/group disband Destroy a player group. Must be owner to perform this command
-
/group create [groupname] Creates a new player group (=own chat channel)
-
Server Specific Tools
- /bir [getid|getcode|remap] Block id remapper tools. Useful to fix broken blocks after removing/updating custom blocks
- /forceloadchunks x1 z1 x2 z1 [sendtoclient] Tells the server to load given area and prevents unloading. If "sendtoclient" is added it will also forcefully send all these chunks to the client.
- /sendchunks [0 or 1] Toggles whether to send any new chunks to the client (force sending chunks are sent anyway)
-
/reloadmods Reloads all server mods that support reloading
-
Multiplayer Specific Tools
- /welcome Sets the servers welcome message
- /stop Shuts down the server
- /privgrp [playername] [groupname] Puts a player into a privilege group
- /op [playername] Shorthand for /privgrp Admin [playername]
- /addarea Add a build permission area
- /delarea Remove a build permission area
- /addpriv Add a privilege to a permission group
- /removepriv Remove a privilge from a permission group
- /ban [reason] Ban a player
- /unband [playername] Unban a player
- /kick[reason] Kick a player
-
/macro [addcmd|setcmd|syntax|desc|priv|save|delete|show|list]
Create a server side macro that can execute one ore multiple commands- /macro addcmd [command without /] Add a command to a temporary macro
- /macro setcmd[command without /] Set a command to a temporary macro (removes previously added ones)
- /macro syntax Sets the syntax help info displayed when using /help
- /macro desc Sets the description text displayed when using /help
- /macro priv Sets the privilege required to execute this command, e.g. controlserver if only for admins or build for any player with build rights
- /macro show Shows the contents temporary macro currently being defined by above commands
- /macro save [name] Saves the temporary macro defined by above command to given command name
- /macro list Shows a list of all saved macros
- /macro show [name] Shows the contents of a saved macro
- /macro delete [name] Deletes a previously saved macro
- /macro discard [name] Discards the temporary macro