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
- Access the GhostCap Panel and select your Vintage Story server.
- In the sidebar, navigate to
Console. - Type your desired command starting with a
forward slash"/" and pressEnter.
Available Commands
Below is a list of Vintage Story commands. They can also be found by typing /help into the server console.
| Command | Description |
|---|---|
| /activate | Runs activate on targeted block with supplied arguments. Example: /activate 100 64 200 |
| /announce | Announce a server wide message in all groups. Example: /announce Server restart in 5 minutes! |
| /autosavenow | Force an immediate autosave. |
| /ban | Ban a player from the server. Example: /ban Steve 7d Griefing |
| /bir | Block id remapper info and fixing tool. |
| /bre | Player owned Block reinforcement privilege management. |
| /chbr | Reload command handbook texts. |
| /chunk | Commands affecting chunks. Example: /chunk relight |
| /clearinv | Empties your inventory. |
| /db | Save-game related commands. Example: /db backup |
| /debug | Debug and Developer utilities. Example: /debug wireframe on |
| /dev | Gamedev tools. |
| /dweather | Show the current rift activity. |
| /e | Entity control via entity selector. Example: /e kill type |
| /eir | Entity code remapper info and fixing tool. |
| /emote | Execute an emote on your player. Example: /emote wave |
| /entity | Entity control via entity selector. Example: /entity spawn chicken 5 |
| /errorreporter | Toggles on/off the error reporting dialog on startup. Example: /errorreporter off |
| /executeas | Execute command with selected player/entity as the caller. Example: /executeas Steve gamemode creative |
| /fixmapping | Fix mapping issues. |
| /gamemode | Get or set one players game mode. Example: /gamemode Steve creative |
| /gbre | Group owned Block reinforcement privilege management. |
| /genbackup | Creates a copy of the current save game in the Backups folder. Example: /genbackup world_backup_2024 |
| /giveblock | Give blocks to target. Example: /giveblock stone-granite 64 Steve |
| /giveitem | Give items to target. Example: /giveitem pickaxe-iron 1 Steve |
| /gm | Get or set one players game mode. Example: /gm creative |
| /group | Manage a player group. Example: /group create builders |
| /groupinvite | Enables or disables group invites to be sent to you. Example: /groupinvite off |
| /hardban | Ban a player forever without reason. Example: /hardban Griefer123 |
| /help | Display list of available server commands. Example: /help gamemode |
| /iir | Item id remapper info and fixing tool. |
| /info | Server information. |
| /ipblock | Manage the ip block list. Example: /ipblock add 192.168.1.1 |
| /kick | Kicks a player from the server. Example: /kick Steve AFK too long |
| /kill | Kill yourself. |
| /land | Manage land rights. Example: /land claim 10 |
| /list | Show global lists. 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. |
| /nexttempstorm | Tells you the amount of days until the next storm. |
| /npc | NPC commands. Example: /npc spawn trader |
| /npcs | NPCs control. Example: /npcs list |
| /op | Give a player admin status. Example: /op Steve |
| /player | Player control. Example: /player Steve role moderator |
| /role | Modify or 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. |
| /serverconfig | Read or set server configuration. Example: /serverconfig name My Server |
| /setambient | Sets the server controlled ambient for everyone. Example: /setambient fogDensity 0.05 |
| /setblock | Set a block at a given location. Example: /setblock stone-granite 100 64 200 |
| /setstorystrucpos | Set the location of a story structure. Example: /setstorystrucpos village 0 100 0 |
| /settlpos | Set translocator target teleport position. Example: /settlpos 100 64 200 |
| /stats | Display server statistics. Example: /stats compact |
| /stop | Stop the server. |
| /time | Get or set world time or time speed. Example: /time set noon |
| /timeswitch | Timeswitch and dimensions switching commands. |
| /tp | Teleport a player or entity to a location. Example: /tp Steve 100 64 200 |
| /tpstoryloc | Teleport to a story structure instance. Example: /tpstoryloc village |
| /tpwp | Teleport yourself to a waypoint. Example: /tpwp home |
| /unban | Remove a player ban. Example: /unban Steve |
| /upnp | Configure UPnP port forwarding. Example: /upnp on |
| /waypoint | Put a waypoint at this location. Example: /waypoint add home |
| /wc | Modify the world config. Example: /wc worldClimate realistic |
| /we | Creative mode world editing tools. Example: /we ms |
| /weather | Show or 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?! |
| /whitelist | Whitelist control. Example: /whitelist add Steve |
| /worldconfig | Modify the world config. Example: /worldconfig worldClimate realistic |
| /worldconfigcreate | Add a new world config value. Example: /worldconfigcreate bool allowPvp false |
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. |
