How to Use Console Commands on Your Vintage Story Server
Console commands in Vintage Story allow you to easily manage your server, control players, and modify game settings. This guide will show you how to use console commands on your Vintage Story server.
How to Use Console Commands
Section titled “How to Use Console Commands”- Access the Game Host Bros Panel and select your Vintage Story server.
- In the sidebar, click on
Console
. - Type your desired command starting with a forward slash
/
and pressEnter
.
Available Commands
Section titled “Available Commands”Below is a list of every Vintage Story command. They can also be found by typing /help
into the server console.
Command | Description |
---|---|
/activate <position> [argument object] | Runs activate on targeted block with supplied arguments. Example: /activate 100 64 200 |
/announce <announcement message> | Announce a server wide message in all groups. Example: /announce Server restart in 5 minutes! |
/autosavenow | Force an immediate autosave. Example: /autosavenow |
/ban <player name> <duration> <reason> | Ban a player from the server. Example: /ban Steve 7d Griefing |
/bir | Block id remapper info and fixing tool. Example: /bir |
/bre | Player owned Block reinforcement privilege management. Example: /bre |
/chbr | Reload command handbook texts. Example: /chbr |
/chunk | Commands affecting chunks. Example: /chunk relight |
/clearinv | Empties your inventory. Example: /clearinv |
/db | Save-game related commands. Example: /db backup |
/debug | Debug and Developer utilities. Example: /debug wireframe on |
/dev | Gamedev tools. Example: /dev |
/dweather | Show the current rift activity. Example: /dweather |
/e | Entity control via entity selector. Example: /e kill type:wolf |
/eir | Entity code remapper info and fixing tool. Example: /eir |
/emote [emote] | Execute an emote on your player. Example: /emote wave |
/entity | Entity control via entity selector. Example: /entity spawn chicken 5 |
/errorreporter <activate> | Toggles on/off the error reporting dialog on startup. Example: /errorreporter off |
/executeas <caller> <command without /> | Execute command with selected player/entity as the caller, but runs under the caller privileges. Example: /executeas Steve gamemode creative |
/fixmapping | Fix mapping issues. Example: /fixmapping |
/gamemode [playername] [mode] | Get/Set one players game mode. Omit playername arg to get/set your own game mode. Example: /gamemode Steve creative |
/gbre | Group owned Block reinforcement privilege management. Example: /gbre |
/genbackup [filename] | Creates a copy of the current save game in the Backups folder. Example: /genbackup world_backup_2024 |
/giveblock <block code> [quantity] [target] [attributes] | Give blocks to target. Example: /giveblock stone-granite 64 Steve |
/giveitem <item code> [quantity] [target] [attributes] | Give items to target. Example: /giveitem pickaxe-iron 1 Steve |
/gm [playername] [mode] | Get/Set one players game mode. Omit playername arg to get/set your own game mode. Example: /gm creative |
/group | Manage a player group. Example: /group create builders |
/groupinvite <enable> | Enables or disables group invites to be sent to you. Example: /groupinvite off |
/hardban <player name> | Ban a player forever without reason. Example: /hardban Griefer123 |
/help [commandname] [subcommand] [subsubcommand] | Display list of available server commands. Example: /help gamemode |
/iir | Item id remapper info and fixing tool. Example: /iir |
/info | Server information. Example: /info |
/ipblock | Manage the ip block list. This list will be cleared automatically every 10 minutes. Example: /ipblock add 192.168.1.1 |
/kick <player name> [kick reason] | Kicks a player from the server. Example: /kick Steve AFK too long |
/kill | Kill yourself. Example: /kill |
/land | Manage land rights. Example: /land claim 10 |
/list | Show global lists (clients, banned, roles or privileges). Example: /list clients |
/macro | Manage server side macros. Example: /macro create welcome |
/moddb | ModDB utility. To install and remove mods. Example: /moddb install modid |
/mystats | Shows players stats. Example: /mystats |
/nexttempstorm | Tells you the amount of days until the next storm. Example: /nexttempstorm |
/npc | NPC commands. Example: /npc spawn trader |
/npcs | NPCs control. Example: /npcs list |
/op <playername> | Give a player admin status. Shorthand for /player <playername> role admin. Example: /op Steve |
/player <player> | Player control. Example: /player Steve role moderator |
/role <rolename> | Modify/See player role related data. Example: /role admin grant all |
/sc | Read or Set server configuration. Example: /sc maxclients 20 |
/self | Information about your player. Example: /self |
/serverconfig | Read or Set server configuration. Example: /serverconfig name My Server |
/setambient <json_code> | Sets the server controlled ambient for everyone. Json format. Example: /setambient {"fogDensity":0.05} |
/setblock <block code> <target> | Set a block at a given location. Example: /setblock stone-granite 100 64 200 |
/setstorystrucpos <code> <position> [confirm] | Set the location of a story structure. Example: /setstorystrucpos village 0 100 0 |
/settlpos <translocator position> <target position> [relative] | Set translocator target teleport position of currently looked at translocator. Example: /settlpos 100 64 200 |
/stats [compact] | Display server statistics. Example: /stats compact |
/stop [exit code] | Stop the server. Example: /stop |
/time | Get or set world time or time speed. Example: /time set noon |
/timeswitch | Timeswitch and dimensions switching commands. Example: /timeswitch |
/tp <source> <target> | Teleport a player or entity to a location. Example: /tp Steve 100 64 200 |
/tpstoryloc <resonancearchive/lazaret/village/devastationarea/tobiascave/treasurehunter> | Teleport to a story structure instance. Example: /tpstoryloc village |
/tpwp <name> | Teleport yourself to a waypoint starting with the supplied name. Example: /tpwp home |
/unban <player name> | Remove a player ban. Example: /unban Steve |
/upnp [on_off] | Runtime only setting. When turned on, the server will attempt to set up port forwarding through PMP or UPnP. When turned off, the port forward will be deleted again. Example: /upnp on |
/waypoint | Put a waypoint at this location which will be visible for you on the map. Example: /waypoint add home |
/wc [key] [value] | Modify the world config. Example: /wc worldClimate realistic |
/we | Creative mode world editing tools. Example: /we ms |
/weather | Show/Set current weather info. Example: /weather set rain |
/wgen | World generator tools. Example: /wgen pos climate |
/whenwillitstopraining | When does it finally stop to rain around here?! Example: /whenwillitstopraining |
/whitelist | Whitelist control. Example: /whitelist add Steve |
/worldconfig [key] [value] | Modify the world config. Example: /worldconfig worldClimate realistic |
/worldconfigcreate <bool/double/float/int/string> <key> <value> | Add a new world config value. Example: /worldconfigcreate bool allowPvp false |
Server Configuration Commands
Section titled “Server Configuration Commands”The /serverconfig
command has many subcommands for managing server settings. Use /serverconfig
followed by one of these options:
Subcommand | Description |
---|---|
advertise | Configure server advertisement settings. |
allowfallingblocks | Enable or disable falling blocks. |
allowfirespread | Enable or disable fire spreading. |
allowpvp | Enable or disable player vs player combat. |
autosaveintervall | Set the automatic save interval. |
blockticksperchunk | Configure block tick rate per chunk. |
blockticks | Enable or disable block ticks. |
btpc | Alias for blockticksperchunk. |
description | Set the server description. |
entitydebugmode | Enable or disable entity debug mode. |
entityspawning | Configure entity spawning settings. |
fallingblocks | Alias for allowfallingblocks. |
loginfloodprotection | Configure login flood protection. |
maxchunkradius | Set the maximum chunk radius. |
maxclients | Set the maximum number of clients. |
maxclientsinqueue | Set the maximum number of clients in queue. |
modblacklist | Configure the mod blacklist. |
modwhitelist | Configure the mod whitelist. |
motd | Set the message of the day. |
name | Set the server name. |
nopassword | Disable password requirement. |
password | Set the server password. |
passtimewhenempty | Configure time passing when server is empty. |
scps | Alias for spawncapplayerscaling. |
setspawn | Set the spawn position. |
setspawnhere | Set spawn position to current location. |
simrange | Configure simulation range. |
spawncapplayerscaling | Configure spawn cap player scaling. |
temporaryipblocklist | Configure temporary IP block list. |
tickrate | Set the server tick rate. |
upnp | Configure UPnP settings. |
url | Set the server URL. |
welcome | Set the welcome message. |
welcomemessage | Configure the welcome message. |
whitelistmode | Configure whitelist mode. |