List of server commands: Difference between revisions

From Vintage Story Wiki
added /weather info and fixed formatting
(Marked this version for translation)
(added /weather info and fixed formatting)
Line 92: Line 92:


==World Control== <!--T:7-->
==World Control== <!--T:7-->
<ul>
*<code>/seed</code> Shows the world seed
<li><code>/seed</code>&nbsp;Shows the world seed<br /><br /></li>
*<code>/worldconfig [config]</code> Modify current play style. Most of these settings require a restart of the server to take effect.
<li><code>/worldconfig</code> Modify current play style. Most of these settings require a restart of the server to take effect.
**<code>/worldconfig worldEdge [blocked|traversable]</code> Wether you can fall off the world edge (default: traversable)
<ul>
**<code>/worldconfig globalTemperature [0-5]</code> Sets the global temperature multiplier for world generation. Does not affect already generated chunks. Useful values are between 0.1 and 5, where 0.1 is super cold, and 5 is super hot. (default: 1)
<li><code>/worldconfig worldEdge [blocked|traversable]</code> Wether you can fall off the world edge (default: traversable)</li>
**<code>/worldconfig globalPrecipitation [0-5]</code> Sets the global rainfall multiplier for world generation. Does not affect already generated chunks. Useful values are between 0.1 and 5, where 0.1 is super dry and 5 is super wet (default: 1)
<li><code>/worldconfig globalTemperature [0-5]</code> Sets the global temperature multiplier for world generation. Does not affect already generated chunks. Useful values are between 0.1 and 5, where 0.1 is super cold, and 5 is super hot. (default: 1)</li>
**<code>/worldconfig microblockChiseling [true|false]</code> Whether to allow microblock chiseling (default: false)
<li><code>/worldconfig globalPrecipitation [0-5]</code> Sets the global rainfall multiplier for world generation. Does not affect already generated chunks. Useful values are between 0.1 and 5, where 0.1 is super dry and 5 is super wet (default: 1)</li>
**<code>/worldconfig temporalStorms [off|veryrare|rare|somtimes|often|veryoften]</code> How frequent temporal storms should be (default: sometimes)
<li><code>/worldconfig microblockChiseling [true|false]</code> Whether to allow microblock chiseling (default: false)</li>
**<code>/worldconfig temporalStability [false|true]</code> Whether or not the temporal stability mechanic should apply (default: true)
**<code>/worldconfig deathPunishment [drop|keep]</code> Whether to drop your inventory upon death (default: drop)
**<code>/worldconfig graceTimer [0-9999]</code> How many days it takes for monster to appear (default: 5)
**<code>/worldconfig creatureHostility [aggressive|passive|off]</code> Set default creature hostility (default: aggressive)
**<code>/worldconfig creatureStrength [0-99]</code> Sets the creature damage multiplier (default: 1)
**<code>/worldconfig playerHealthPoints [1-999]</code> Set the players base health points (default: 15)
**<code>/worldconfig playerHungerSpeed [0-10]</code> Set the players hunger rate multiplier (default: 1)
**<code>/worldconfig playerMoveSpeed [0-10]</code> Set the players move speed multiplier (default: 1.5)
**<code>/worldconfig blockGravity [sandgravel|sandgravelsoil]</code> Set the block gravity behavior for either just sand and gravel or additionally also soil (default: sandgravel)
**<code>/worldconfig foodSpoilSpeed [0-10]</code> Set the spoilage rate multiplier of all perishable foods, e.g. 0.5 means all food lasts twice as long (default: 1)
**<code>/worldconfig saplingGrowthDays [0-999]</code> Set the amount of days a tree takes to grow on average (default: 8)
**<code>/worldconfig toolDurability [0-99]</code> Set the tool durability multiplier, e.g. 2 means all tools have double durability. (default: 1)
**<code>/worldconfig toolMiningSpeed [0-99]</code> Set the tool mining speed multiplier, e.g. 2 means all tools have break blocks twice as fast. (default: 1)
**<code>/worldconfig allowCoordinateHud [true|false]</code> Whether or not players are allowed to used the coordinate hud. (default: true)
**<code>/worldconfig allowMap [true|false]</code> Whether or not players are allowed to used the world map. (default: true)
**<code>/worldconfig allowLandClaiming [true|false]</code> Whether or not players are allowed to use the land claiming system. (default: true)
**<code>/worldconfig surfaceCopperDeposits [0-5]</code> Set chance of surface copper spawning for each chunk column (default: 0.1)
**<code>/worldconfig surfaceTinDeposits [0-5]</code> Set chance of surface tin spawning for each chunk column (default: 0.07)


<!--T:8-->
<!--T:11-->
<li><code>/worldconfig temporalStorms [off|veryrare|rare|somtimes|often|veryoften]</code> How frequent temporal storms should be (default: sometimes)</li>
*<code>/entity [spawn|countbytype|removebytype|countbyclass|removebyclass|listnearest|debug]</code> Spawn, remove, and count entities (item drops, creatures, etc).
<li><code>/worldconfig temporalStability [false|true]</code> Whether or not the temporal stability mechanic should apply (default: true)</li>
**<code>/entity spawn [entitytype]</code> Spawn an entity by type. Valid types can be found in the survival mod assets folder /entities.
<li><code>/worldconfig deathPunishment [drop|keep]</code> Whether to drop your inventory upon death (default: drop)</li>
**<code>/entity countbytype [entitytype]</code> Count how many entities of a given type exist. <code>entitytype</code> can use wildcards, eg <code>drifter-*</code> counts drifters of any type.
<li><code>/worldconfig graceTimer [0-9999]</code> How many days it takes for monster to appear (default: 5)</li>
**<code>/entity removebytype [entitytype]</code> Remove all entities of a given type. <code>entitytype</code> can use wildcards.
<li><code>/worldconfig creatureHostility [aggressive|passive|off]</code> Set default creature hostility (default: aggressive)</li>
**<code>/entity countbyclass [entityclass]</code> Count how many entities of a given class, such as <code>EntityItem</code> or <code>EntityAgent</code>, exist.
<li><code>/worldconfig creatureStrength [0-99]</code> Sets the creature damage multiplier (default: 1)</li>
**<code>/entity removebyclass [entityclass]</code> Remove all entities of a given class.
<li><code>/worldconfig playerHealthPoints [1-999]</code> Set the players base health points (default: 15)</li>
**<code>/entity listnearest [x y z] (ver-range) (hor-range)</code> Show a summary of all nearby entities at given range. If x/y/z coords are not supplied, the current player position is taken
<li><code>/worldconfig playerHungerSpeed [0-10]</code> Set the players hunger rate multiplier (default: 1)</li>
**<code>/entity debug [0|1]</code> Enable entity debug mode, this will send continous debug information to all connected clients, which are displayed above the entity if the client used the command '''.clientConfig showEntitydebuginfo 1'''
<li><code>/worldconfig playerMoveSpeed [0-10]</code> Set the players move speed multiplier (default: 1.5)</li>
<li><code>/worldconfig blockGravity [sandgravel|sandgravelsoil]</code> Set the block gravity behavior for either just sand and gravel or additionally also soil (default: sandgravel)</li>
<li><code>/worldconfig foodSpoilSpeed [0-10]</code> Set the spoilage rate multiplier of all perishable foods, e.g. 0.5 means all food lasts twice as long (default: 1)</li>
<li><code>/worldconfig saplingGrowthDays [0-999]</code> Set the amount of days a tree takes to grow on average (default: 8)</li>
<li><code>/worldconfig toolDurability [0-99]</code> Set the tool durability multiplier, e.g. 2 means all tools have double durability. (default: 1)</li>
<li><code>/worldconfig toolMiningSpeed [0-99]</code> Set the tool mining speed multiplier, e.g. 2 means all tools have break blocks twice as fast. (default: 1)</li>
<li><code>/worldconfig allowCoordinateHud [true|false]</code> Whether or not players are allowed to used the coordinate hud. (default: true)</li>
<li><code>/worldconfig allowMap [true|false]</code> Whether or not players are allowed to used the world map. (default: true)</li>
<li><code>/worldconfig allowLandClaiming [true|false]</code> Whether or not players are allowed to use the land claiming system. (default: true)</li>


<!--T:9-->
*<code>/time [set|get|speed]</code> Time related functions
<li><code>/worldconfig surfaceCopperDeposits [0-5]</code> Set chance of surface copper spawning for each chunk column (default: 0.1)</li>
**<code>/time</code> Shows current time.
<li><code>/worldconfig surfaceTinDeposits [0-5]</code> Set chance of surface tin spawning for each chunk column (default: 0.07)<br><br></li>
**<code>/time set [lunch|day|night|latenight|morning|latemorning|sunrise|sunset|afternoon|midnight|witchinghour]</code> Sets the clock to the given time of day.
**<code>/time set [time]</code> Sets the internal calendar to given time.
**<code>/time add [hours:minutes]</code> Adds given hours and minutes to the internal calendar.
**<code>/time speed [0-9999]</code> Shows or sets current game time speed (default 60).
**<code>/time hoursperday [0-9999]</code> Shows or sets the current hours per day (default 24).


<!--T:10-->
*<code>/weather [acp|lp|t|c|setw|set|seti|setirandom|setir]</code> Controls weather and wind patterns. If <code>/weather</code> is run by itself it prints the current weather stats.
</ul>
**<code>/weather acp</code> Toggles autochanging weather patterns.
</li>
**<code>/weather lp</code> Lists all loaded weather patterns.
 
**<code>/weather t</code> Transitions to a random weather pattern.
<!--T:11-->
**<code>/weather c</code> Quickly transitions to a random weather pattern.
<li><code>/entity [spawn|countbytype|removebytype|countbyclass|removebyclass|listnearest|debug]</code><br />Add, remove, and count entities (item drops, creatures, etc).<br />
**<code>/weather setw [lightbreeze|mediumbreeze|still|storm|strongbreeze]</code> Sets the current wind pattern to the given wind pattern.
<ul>
**<code>/weather [set|seti] [weatherpattern]</code> Instantly sets the weather pattern to <code>weatherpattern</code>.
<li><code>/entity spawn (entitytype)</code><br />Spawn an entity by type.<br />The valid type names (as of 1.5.0.3) are:<br /><code>wolf-male</code>,&nbsp;<code>wolf-female</code>,&nbsp;<code>sheep-bighorn-male</code>,&nbsp;<code>sheep-bighorn-female</code>,&nbsp;<code>sheep-bighorn-lamb</code>,&nbsp;<code>pig-wild-piglet</code>,&nbsp;<code>pig-wild-male</code>,&nbsp;<code>pig-wild-female</code>,&nbsp;<code>drifter</code>,&nbsp;<code>strawdummy</code>,&nbsp;<code>chicken-hen</code>,&nbsp;<code>chicken-baby</code>,&nbsp;<code>chicken-rooster</code></li>
**<code>/weather setirandom</code> Instantly sets the weather to a random weather pattern.
<li><code>/entity spawn (entitytype) 100</code>Spawns 100 entities of given type</li>
**<code>/weather setir [weatherpattern]</code> Instantly sets the weather to <code>[weatherpattern]</code> only in the current region.
<li><code>/entity countbytype (entitytype)</code><br />Count how many entities of a given type exist.</li>
<li><code>/entity removebytype (entitytype)</code><br />Remove all entities of a given type.</li>
<li><code>/entity countbyclass (entityclass)</code><br />Count how many entities of a given class (such as&nbsp;<code>entityitem</code>&nbsp;or&nbsp;<code>entityagent</code>) exist.</li>
<li><code>/entity removebyclass (entityclass)</code><br />Remove all entities of a given class.</li>
<li><code>/entity listnearest [x y z] (ver-range) (hor-range)</code><br />Show a summary of all nearby entities at given range. If x/y/z coords are not supplied, the current player position is taken</li>
<li><code>/entity debug [0 or 1]</code><br />Enable entity debug mode, this will send continous debug information to all connected clients, which are displayed above the entity if the client used the command <em>.clientConfig showEntitydebuginfo 1</em><br /><br/></li>
</ul>
</li>
<li><code>/time [set|get|speed]</code><br style="font-size: 11pt;" /><span style="font-size: 11pt;">Time related functions</span>
<ul style="font-size: 11pt;">
<li><code>/time</code>&nbsp;<br />Shows current time</li>
<li><code>/time set [lunch|day|night|latenight|morning|latemorning|sunrise|sunset|afternoon|midnight|witchinghour]</code><br />Sets the internal clock to the given time of day</li>
<li><code>/time set [time]</code><br />Sets the internal calendar to given time. Examples: /time set 12:00</li>
<li><code>/time add [hours:minutes]</code><br />Adds given hours and minutes to the internal calendar</li>
<li><code>/time speed</code>&nbsp;<code>[0-9999]</code><br />Shows or sets current game time speed (default 60)</li>
<li><code>/time hoursperday [0-9999]</code><br />Shows or sets the current hours per day (default 24)</li>
</ul>
<br />&nbsp;</li>
</ul>


==Server control/configuration== <!--T:12-->
==Server control/configuration== <!--T:12-->
Confirmedusers, Bureaucrats, editor, Administrators
1,522

edits