GAME SERVER HOSTING: 50% OFF first order with code GHOST50
Vintage Story background

How to Use Console Commands on Your Vintage Story Server

Complete guide to using console commands for server management, player control, and game settings

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

  1. Access the GhostCap Panel and select your Vintage Story server.
  2. In the sidebar, navigate to Console.
  3. Type your desired command starting with a forward slash "/" and press Enter.

Available Commands

Below is a list of Vintage Story commands. They can also be found by typing /help into the server console.

CommandDescription
/activateRuns activate on targeted block with supplied arguments.
Example: /activate 100 64 200
/announceAnnounce a server wide message in all groups.
Example: /announce Server restart in 5 minutes!
/autosavenowForce an immediate autosave.
/banBan a player from the server.
Example: /ban Steve 7d Griefing
/birBlock id remapper info and fixing tool.
/brePlayer owned Block reinforcement privilege management.
/chbrReload command handbook texts.
/chunkCommands affecting chunks.
Example: /chunk relight
/clearinvEmpties your inventory.
/dbSave-game related commands.
Example: /db backup
/debugDebug and Developer utilities.
Example: /debug wireframe on
/devGamedev tools.
/dweatherShow the current rift activity.
/eEntity control via entity selector.
Example: /e kill type
/eirEntity code remapper info and fixing tool.
/emoteExecute an emote on your player.
Example: /emote wave
/entityEntity control via entity selector.
Example: /entity spawn chicken 5
/errorreporterToggles on/off the error reporting dialog on startup.
Example: /errorreporter off
/executeasExecute command with selected player/entity as the caller.
Example: /executeas Steve gamemode creative
/fixmappingFix mapping issues.
/gamemodeGet or set one players game mode.
Example: /gamemode Steve creative
/gbreGroup owned Block reinforcement privilege management.
/genbackupCreates a copy of the current save game in the Backups folder.
Example: /genbackup world_backup_2024
/giveblockGive blocks to target.
Example: /giveblock stone-granite 64 Steve
/giveitemGive items to target.
Example: /giveitem pickaxe-iron 1 Steve
/gmGet or set one players game mode.
Example: /gm creative
/groupManage a player group.
Example: /group create builders
/groupinviteEnables or disables group invites to be sent to you.
Example: /groupinvite off
/hardbanBan a player forever without reason.
Example: /hardban Griefer123
/helpDisplay list of available server commands.
Example: /help gamemode
/iirItem id remapper info and fixing tool.
/infoServer information.
/ipblockManage the ip block list.
Example: /ipblock add 192.168.1.1
/kickKicks a player from the server.
Example: /kick Steve AFK too long
/killKill yourself.
/landManage land rights.
Example: /land claim 10
/listShow global lists.
Example: /list clients
/macroManage server side macros.
Example: /macro create welcome
/moddbModDB utility. To install and remove mods.
Example: /moddb install modid
/mystatsShows players stats.
/nexttempstormTells you the amount of days until the next storm.
/npcNPC commands.
Example: /npc spawn trader
/npcsNPCs control.
Example: /npcs list
/opGive a player admin status.
Example: /op Steve
/playerPlayer control.
Example: /player Steve role moderator
/roleModify or see player role related data.
Example: /role admin grant all
/scRead or set server configuration.
Example: /sc maxclients 20
/selfInformation about your player.
/serverconfigRead or set server configuration.
Example: /serverconfig name My Server
/setambientSets the server controlled ambient for everyone.
Example: /setambient fogDensity 0.05
/setblockSet a block at a given location.
Example: /setblock stone-granite 100 64 200
/setstorystrucposSet the location of a story structure.
Example: /setstorystrucpos village 0 100 0
/settlposSet translocator target teleport position.
Example: /settlpos 100 64 200
/statsDisplay server statistics.
Example: /stats compact
/stopStop the server.
/timeGet or set world time or time speed.
Example: /time set noon
/timeswitchTimeswitch and dimensions switching commands.
/tpTeleport a player or entity to a location.
Example: /tp Steve 100 64 200
/tpstorylocTeleport to a story structure instance.
Example: /tpstoryloc village
/tpwpTeleport yourself to a waypoint.
Example: /tpwp home
/unbanRemove a player ban.
Example: /unban Steve
/upnpConfigure UPnP port forwarding.
Example: /upnp on
/waypointPut a waypoint at this location.
Example: /waypoint add home
/wcModify the world config.
Example: /wc worldClimate realistic
/weCreative mode world editing tools.
Example: /we ms
/weatherShow or set current weather info.
Example: /weather set rain
/wgenWorld generator tools.
Example: /wgen pos climate
/whenwillitstoprainingWhen does it finally stop to rain around here?!
/whitelistWhitelist control.
Example: /whitelist add Steve
/worldconfigModify the world config.
Example: /worldconfig worldClimate realistic
/worldconfigcreateAdd 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:

SubcommandDescription
advertiseConfigure server advertisement settings.
allowfallingblocksEnable or disable falling blocks.
allowfirespreadEnable or disable fire spreading.
allowpvpEnable or disable player vs player combat.
autosaveintervallSet the automatic save interval.
blockticksperchunkConfigure block tick rate per chunk.
blockticksEnable or disable block ticks.
btpcAlias for blockticksperchunk.
descriptionSet the server description.
entitydebugmodeEnable or disable entity debug mode.
entityspawningConfigure entity spawning settings.
fallingblocksAlias for allowfallingblocks.
loginfloodprotectionConfigure login flood protection.
maxchunkradiusSet the maximum chunk radius.
maxclientsSet the maximum number of clients.
maxclientsinqueueSet the maximum number of clients in queue.
modblacklistConfigure the mod blacklist.
modwhitelistConfigure the mod whitelist.
motdSet the message of the day.
nameSet the server name.
nopasswordDisable password requirement.
passwordSet the server password.
passtimewhenemptyConfigure time passing when server is empty.
scpsAlias for spawncapplayerscaling.
setspawnSet the spawn position.
setspawnhereSet spawn position to current location.
simrangeConfigure simulation range.
spawncapplayerscalingConfigure spawn cap player scaling.
temporaryipblocklistConfigure temporary IP block list.
tickrateSet the server tick rate.
upnpConfigure UPnP settings.
urlSet the server URL.
welcomeSet the welcome message.
welcomemessageConfigure the welcome message.
whitelistmodeConfigure whitelist mode.