Difference between revisions of "Commands in Vintage Story"

From Nitradopedia EN
Jump to: navigation, search
Line 33: Line 33:
 
{| class="wikitable"
 
{| class="wikitable"
 
|+Role Commands
 
|+Role Commands
!Comandos
+
!Commands
 
!Sintaxis
 
!Sintaxis
!Descripcion
+
!Description
 
|-
 
|-
 
|/role  
 
|/role  

Revision as of 08:58, 15 August 2021

Vintagestory wiki.jpg
Rent now your own prepaid Vintage Story Server at nitrado.net

Open Chat

To use the following commands it is necessary to press T to open the chat.

Administrator Commands

These are the server administrator commands for Vintage Story

Map Commands
Commands Sintaxis Description
/waypoint /waypoint [add|addat|list|remove] Add and edit your waypoints list.
/waypoint addat /waypoint add [color] [title] Add a waypoint with a specified color and text at your current position. Color can have any name
/waypoint list /waypoint list Displays a list of all player landmarks by ID number.
/waypoint remove /waypoint remove [id] Delete the waypoint identification as shown in the list / waypoint.
Role Commands
Commands Sintaxis Description
/role /role [rolename] [roleproperty] Show or modify [roleproperty] in role [rolename]
/role spawnpoint /role [rolename] spawnpoint [x] [y?] [z] Configure a specific spawn point for the function. Any player who has this role will appear in this location.
/role privilege /role [rolename] privilege [grant|revoke] [privelegename] Grant or revoke privileges for a specific role.
/role landclaimallowance /role [rolename] landclaimallowance [value] Set the maximum reclaimable area allowed in cubic meters for each player in this role. (default: 4 pieces = 4 * 32 * 32 * 32 cubic meters = 131072)
/role landclaimmaxareas /role [rolename] landclaimmaxareas [value] Sets the maximum number of non-adjacent areas that a player can claim. (default: 3)
/role landclaimminsize /role [rolename] landclaimminsize [x y z] Sets the smallest cuboid a player can claim. (default: 6 by 6 by 6)
Player Commands
Commands Sintaxis Description
/player /player [playername] [whitelist|privilege|role|entity|stats|gamemode|landclaimallowance|landclaimmaxareas] Modify or display the player's data.
/player whitelist /player [playername] whitelist View the current whitelist mode for a given player.
/player whitelist on /player [playername] whitelist on Add a player to a server's whitelist.
/player privilege /player [playername] privilege List the current privileges of the players.
/player privilege [grant|revoke] /player [playername] privilege [grant|revoke] [privilegename] Grant or revoke the privilege granted to this player.
/player role /player [playername] role Displays the current privilege role of the player. (default: suplayer)
/player [playername] role [rolename] /player [playername] role [rolename] Sets the current privilege role of the player. (default: suplayer)
/player stats /player [playername] stats Shows a summary of the current privileges of the players.
/player gamemode /player [playername] gamemode [0..4 or partially/fully written game mode name] Displays or sets the current game mode of the player.
/player landclaimallowance /player [playername] landclaimallowance [0..9999] Displays or sets a specific additional land claim allocation for a player, regardless of the allocation set by the role. (default: 0)
/player landclaimmaxareas /player [playername] landclaimmaxareas [0..9999] Displays or sets an allocation of player-specific additional land claim areas, regardless of the allocation set by the role. (default: 0)
World Control Commands
Commands Sintaxis Description
/seed /seed Show the seed of the world
/worldconfig /worldconfig [config] Modify the current playstyle. Most of these settings require a server restart to take effect.
/worldconfig worldEdge /worldconfig worldEdge [blocked|traversable] If you can fall off the edge of the world (default: walkable)
/worldconfig globalTemperature /worldconfig globalTemperature [0-5] Sets the global temperature multiplier for the world generation. It does not affect fragments already generated. Useful values ​​are between 0.1 and 5, where 0.1 is very cold and 5 is very hot. (default: 1)
/worldconfig globalPrecipitation /worldconfig globalPrecipitation [0-5] Sets the global rain multiplier for the world generation. It does not affect fragments already generated. Useful values ​​are between 0.1 and 5, where 0.1 is super dry and 5 is super wet (default: 1)
/worldconfig globalForestation /worldconfig globalForestation [-1 .. 1] Sets the global afforestation compensation for the world generation. -1 means there will be no forests, 1 means there will only be forests, the value 0 means default afforestation density (default: 0)
/worldconfig microblockChiseling /worldconfig microblockChiseling [off|stonewood|all] Either to allow the chiselling of microblocks. "stone wood" means that all stone and wood materials are allowed. 'all' means that most cubic blocks are allowed. (default: stone wood)
/worldconfig temporalStorms /worldconfig temporalStorms [off|veryrare|rare|somtimes|often|veryoften] How frequent temporary storms should be (default: sometimes)
/worldconfig temporalStability /worldconfig temporalStability [false|true] Whether or not to apply the time stability mechanic (default: true)
/worldconfig deathPunishment /worldconfig deathPunishment [drop|keep] Whether to drop inventory upon death (default: drop)
/worldconfig graceTimer /worldconfig graceTimer [0-9999] How many days does it take for monsters to appear (default: 5)
/worldconfig creatureHostility /worldconfig creatureHostility [aggressive|passive|off] Set default creature hostility (default: aggressive)
/worldconfig creatureStrength /worldconfig creatureStrength [0-99] Sets the creature's damage multiplier (default: 1)
/worldconfig playerHealthPoints /worldconfig playerHealthPoints [1-999] Set Player Base Health Points (Default: 15)
/worldconfig playerHungerSpeed /worldconfig playerHungerSpeed [0-10] Sets the multiplier for players' hunger rate (default: 1)
/worldconfig playerMoveSpeed /worldconfig playerMoveSpeed [0-10] Set players' movement speed multiplier (default: 1.5)
/worldconfig blockGravity /worldconfig blockGravity [sandgravel|sandgravelsoil] Set the gravity behavior of the block for sand and gravel or also for soil (default: gravel)
/worldconfig foodSpoilSpeed /worldconfig foodSpoilSpeed [0-10] Set the multiplier for the spoilage rate for all perishable foods, eg. Ex. 0.5 means all food lasts twice as long (default: 1)
/worldconfig saplingGrowthDays /worldconfig saplingGrowthDays [0-999] Set the number of days a tree takes to grow on average (default: 8)
/worldconfig toolDurability /worldconfig toolDurability [0-99] Set the tool durability multiplier, p. Ex. 2 means that all tools have double durability. (default: 1)
/worldconfig toolMiningSpeed /worldconfig toolMiningSpeed [0-99] Set the tool mining speed multiplier, p. Ex. 2 means that all tools have break blocks twice as fast. (default: 1)
/worldconfig allowCoordinateHud /worldconfig allowCoordinateHud [true|false] Whether players can use the coordinate hud or not. (default: true)
/worldconfig allowMap /worldconfig allowMap [true|false] Whether or not players can use the world map. (default: true)
/worldconfig allowLandClaiming /worldconfig allowLandClaiming [true|false] Whether players can use the land claim system or not. (default: true)
/worldconfig surfaceCopperDeposits /worldconfig surfaceCopperDeposits [0-5] Set the chance of surface copper being generated for each chunk column (default: 0.1)
/worldconfig surfaceTinDeposits /worldconfig surfaceTinDeposits [0-5] Set the chance of tin appearance on the surface for each column of shards (default: 0.07)
/worldConfig propickNodeSearchRadius /worldConfig propickNodeSearchRadius [0-12] If it is greater than zero, a second prospecting mode will be enabled that allows exact searches in the defined radius (default: 0)
/worldConfig seasons /worldConfig seasons [enabled or spring] If it is greater than zero, a second prospecting mode will be enabled that allows exact searches in the defined radius (default: 0)
/worldConfig daysPerMonth /worldConfig daysPerMonth [1-99] Set the number of days you have each month. Setting it to a higher value will make the stations pass more slowly (default: 12)
/worldConfig snowAccum /worldConfig snowAccum [true|false] If true, snow will accumulate over winter (default: true)
/worldConfig harshWinters /worldConfig harshWinters [true|false] If true, cold temperatures will damage crops, reduce winter spawning of animals, and reduce meat harvested from animals (default: true)
Entities Commands
Commands Sintaxis Description
/entity [spawn|countbytype|removebytype|countbyclass|removebyclass|listnearest|debug] /entity [spawn|countbytype|removebytype|countbyclass|removebyclass|listnearest|debug] Generate, delete and count entities (objects, creatures, etc.).
/entity spawn /entity spawn [entitytype] Generate one entity per type. Valid types can be found in the Survival mod asset / entities folder.
/entity countbytype /entity countbytype [entitytype] Count how many entities of a certain type exist. entitytype can use wildcards, for example drifter- * count drifters of any type.
/entity removebytype /entity removebytype [entitytype] Removes all entities of a given type. entitytype can use wildcards.
/entity remove /entity remove [entitytype] Remove a specific type of entity
/entity countbyclass /entity countbyclass [entityclass] Count how many entities of a given class, such as EntityItem or EntityAgent, exist.
/entity countg /entity countg List a summary of all nearby entities, grouped by the first part of the code (wolf, sheep, etc.)
/entity removebyclass /entity removebyclass [entityclass] Remove all entities of a given class.
/entity listnearest [x y z] (ver-range) (hor-range) /entity listnearest [x y z] (ver-range) (hor-range) Shows a summary of all nearby features in a given range. If x / y / z coordinates are not supplied, the current position of the player is taken
/entity debug [0|1] /entity debug [0|1] Enable debug mode of the entity, this will send continuous debug information to all connected clients, which is displayed above the entity if the client used the command .clientConfig showEntitydebuginfo 1
Hour Commands
Command Sintaxis Description
/time /time [set|get|speed] Time-related functions
/time /time Shows the current time.
/time set /time set [lunch|day|night|latenight|morning|latemorning|sunrise|sunset|afternoon|midnight|witchinghour] Set the clock to the indicated time of day.
/time set /time set [time] Set the internal calendar at the time indicated in hours, 1.5 is 1:30 AM.
/time add /time add [hours]:[minutes] Add given hours and minutes to the internal calendar.
/time speed /time speed [0-9999] Displays or sets the current speed of the game time (default 60).
/time hoursperday /time hoursperday [0-9999] Displays or sets the current hours per day (default 24).
/time calendarspeedmul /time calendarspeedmul Displays or sets the calendar speed multiplier, changing the total time speed in the game (by default 0.5, making the hours pass 50% of the normal speed).
Weather Commands
Command Sintaxis Description
/weather /weather [acp|lp|t|c|setw|set|seti|setirandom|setir] Control wind and weather patterns. If / weather runs by itself, it prints the current weather statistics.
/weather acp /weather acp Alternate weather patterns that change automatically.
/weather lp /weather lp Shows all loaded weather patterns.
/weather t /weather t Switch to a random weather pattern
/weather c /weather c Quickly switch to a random weather pattern.
/weather setw /weather setw [lightbreeze|mediumbreeze|still|storm|strongbreeze] Sets the current wind pattern to the given wind pattern.
/weather [set|seti] /weather [set|seti] [weatherpattern] Instantly sets the weather pattern based on the weather pattern.
/weather setirandom /weather setirandom Instantly sets the weather in a random weather pattern.
/weather setir /weather setir [weatherpattern] Instantly sets the weather to [weatherpattern] only in the current region.
/weather setprecip /weather setprecip [0..1] Instantly sets the weather for it to rain. The value 0 stops the rain, while 1 makes it rain harder.
Server Commands
Command Sintaxis Description
/stats /stats Shows current server statistics, tick rate, memory usage, etc.
/announce /announce Announce a message to the entire server in all chat groups.
/welcome /welcome Sets the server welcome message.
/stop /stop Stops the server
/list /list [clients|banned|role|privileges] Display multiple lists of information.
/list clients /list clients Shows the currently connected clients.
/list banned /list banned Displays the current list of banned players.
/list role /list role Displays the list of all configured privilege roles.
/list privileges /list privileges Displays the list of all configured privileges.
/serverconfig /serverconfig [config] Displays the list of all configured privileges.
/serverconfig maxchunkradius /serverconfig maxchunkradius [integer] Shows the maximum radius of the chunk. Sets the maximum shard radius to the last integer, which is the highest shard radius a player can carry.
/serverconfig maxclients /serverconfig maxclients [integer] Shows the maximum number of clients. Sets the maximum number of connected clients to the last integer.
/serverconfig password /serverconfig password [string] Sets the server password required to connect to the server. It cannot contain spaces.
/serverconfig nopassword /serverconfig nopassword Remove password protection.
/serverconfig antiabuse /serverconfig antiabuse [Off|Basic|Pedantic] Set the anti-abuse level, this protects against a variety of malicious player operations, but is currently a work in progress.
/serverconfig allowpvp /serverconfig allowpvp [bool] Control that allows players to fight each other.
/serverconfig onlywhitelist /serverconfig onlywhitelist [bool] Control that allows only whitelisted players to connect to the server.
/serverconfig entityspawning /serverconfig entityspawning [bool] Control the spawning of the global entity. Disabling it will not cause creatures to appear (default: on)
/serverconfig tickrate /serverconfig tickrate [10-100] Shows or sets the server tick rate. A higher tickrate makes the server more responsive. A lower tick rate has the opposite effect.
/serverconfig blockTickSamplesPerChunk /serverconfig blockTickSamplesPerChunk Control how many random refresh ticks per shard should be executed.
/serverconfig defaultSpawn /serverconfig defaultSpawn [x y? z] Displays or sets the default spawn point. y can be omitted to automatically use the position of the surface at a given x / z location.
/serverconfig setspawnhere /serverconfig setspawnhere Sets the default spawn point where the player is currently.
Comandos de Utilidad
Comandos Sintaxis Descripcion
/genbackup /genbackup Creates a full copy of the current save game and stores it in the backup folder. It can be run without pausing the server.
/bir /bir [getid|getcode|remap] Block ID reassignment tools. Useful for repairing broken blocks after removing / updating custom blocks.
/forceloadchunks x1 z1 x2 z2 /forceloadchunks x1 z1 x2 z2 [sendtoclient] It tells the server to load a certain area and prevents the download. Adding the boolean sendtoclient will force all these fragments to the client as well.
/sendchunks /sendchunks [0|1] Toggles whether new fragments will be sent to the client. The forced chunks are still loaded.
/chunkunload /chunkunload [0|1] Toggles whether the server should automatically download fragments that are no longer in range of any player and also send fragment download commands to clients.
/reloadmods /reloadmods Reload all server modifications that support reloading.
/cit /cit Current chunk generation information.
/debug /debug [logticks|tickhandlers|ci|cs|cr] Various debugging commands
/debug logticks /debug logticks [milliseconds] If a server tick took more milliseconds than supplied to process, a breakdown of that tick will be recorded in server-main.txt
/debug tickhandlers /debug tickhandlers Shows a summary of the verification blocks and entities that are currently registered.
/debug tickhandlers dump /debug tickhandlers dump [gtblock|gtentity|dcblock|sdcblock|dcentity] Dump a complete list of all tick / callback listeners in server-debug.txt.
/debug ci /debug ci Dump a complete list of all tick / callback listeners in server-debug.txt.
/debug cs /debug cs Force forward the current chunk the player is in
/debug cr /debug cr Power back on the current part the player is in
/wgen /wgen World generation tools
/wgen pos climate /wgen pos climate Displays weather information at the current position
/wgen testmap climate /wgen testmap climate Generate a 512x512 example weather map as a png, saved where the game executables are.
/macro /macro [addcmd|setcmd|syntax|desc|priv|save|delete|show|list] Create a server-side macro that can run one or more commands
/macro addcmd /macro addcmd [command] Add a command to a temporary macro.
/macro setcmd /macro setcmd [command] Replace a command to a temporary macro.
/macro /macro [syntax] Sets the description text that is displayed when using / help [name]
/macro /macro [priv] Sets the privilege required to run this command, eg. Eg controlserver if it is only for administrators or compilation for any player with compilation rights.
/macro show /macro show Displays the content of the temporary macro currently defined by the previous commands
/macro save /macro save [name] Saves the temporary macro defined by the previous command with the given command name.
/macro list /macro list Shows a list of all saved macros.
/macro show /macro show [name] Displays the contents of a saved macro.
/macro delete /macro delete [name] Delete a previously saved macro.
/macro discard /macro discard [name] Discard the temporary macro.