Translations:List of server commands/6/en: Difference between revisions

From Vintage Story Wiki
(Importing a new version from external source)
 
(Importing a new version from external source)
Tag: Replaced
 
Line 1: Line 1:
== Commands for Moderators and Admins==
== Server control and configuration ==
=== General ===
=== /serverconfig ===
* <code>/help</code><br />List all commands.
{{:List of server commands/serverconfig}}
=== Player Control ===
* <code>/giveblock [blockcode] [quantity] [toplayername]</code><br />Creates an itemstack of given block with given stack size to given player name. If player name is not set, the own player is targeted.
* <code>/giveitem [itemcode] [quantity] [toplayername]</code><br />Same as above but for items
* <code>/gamemode [0..4|guest|survival|creative|spectator]</code><br />Mode names can be shortened to any length. Sets your game mode:
** <code>0|guest</code> Guest mode - Cannot place/remove any blocks but can interact with them
** <code>1|survival</code> Survival mode - Can slowly break/place blocks. Can die. Cannot fly. Survival inventory.
** <code>2|creative</code> Creative mode - Access to all blocks through the creative inventory. Instant block breaking. Cannot die. Can fly.
** <code>3|spectator</code> Spectator mode - Cannot place/remove blocks and cannot interact with anything, but can fly.
* <code>/gamemode [playername] [0..4]</code><br />Sets the gamemode for given player.
* <code>/tp [coordinates]</code><br />Teleport yourself to a different position.
** <code>/tp x y z</code><br />Teleports the player to given pretty coordinate visible from the pretty coordinate box.
** <code>/tp =x =y =z</code><br />Teleports the player to given absolute coordinate visible from the debug screen on ALT + F3.
** <code>/tp ~x ~y ~z</code><br />Teleports player by a given relative distance, i.e. teleport ~1 ~0 ~0 will teleport the player one block in x direction.
*<code>/tp [playername] [coordinates]</code><br />Teleport given player to a different position.
* <code>/tp [playername]</code><br/ >Teleport yourself to given player.
* <code>/ban [reason]</code><br />Ban a player.
* <code>/unban [playername]</code><br />Unban a player.
* <code>/kick [reason]</code><br />Kick a player.
* <code>/clear</code><br />Removes all items from your inventory.
<li><strong>Privilege Control</strong></li>
<ul>
<li><code>/op [playername]</code>&nbsp;Shorthand for&nbsp;/player [playername] role admin<br /><br /></li>
<li><code>/role (rolename) spawnpoint [x] [y?] [z]</code> <br />Configure a role specific spawn point. Any player that has this role will spawn at this location.<br /><br/></li>
<li><code>/role (rolename) privilege [grant|revoke] [privelegename]</code>&nbsp;<br />Grant or revoke privileges from given role<br /><br/></li>
<li><code>/role (rolename) [landclaimallowance|landclaimmaxareas|landclaimminsize] [value]</code><br />Shows or sets the role specific land claiming values.&nbsp;</li>
<ul>
<li><code>landclaimallowance</code> is the max allowed claimable area in cubic meters for every player that has this role&nbsp;<span>(default: 4 chunks = 4*32*32*32 cubic meters = 131072)</span></li>
<li><code>landclaimmaxareas</code> the max quantity of non adjacent-areasa a player may claim (default: 3)</li>
<li><code>landclaimminsize [x y z]</code> the smallest cuboid a player may claim (default 6x6x6)<br /><br /></li>
</ul>
<li><code>/player [playername]&nbsp;[whitelist|privilege|role|entity|stats|gamemode|landclaimallowance|landclaimmaxareas]</code><br />See/Modify player related data</li>
<ul>
<li><code>/player [playername] whitelist</code><br>See current whitelist mode of given player. </li> <li><code>/player [playername] whitelist on</code> <br /> Adds a player to a server whitelist </li>
<li><code>/player [playername] privilege</code><br />Lists the players current privileges</li>
<li><code>/player [playername] privilege [grant|revoke] [privilegename]</code><br />Grants or revokes given privilege for this player</li>
<li><code>/player [playername] role</code><br />Shows the players current privilege role (default: suplayer)</li>
<li><code>/player [playername] role [rolename]</code><br />Sets the players current privilege role (default: suplayer)</li>
<li><code>/player&nbsp;[playername] stats</code><br />Shows a summary of the players current privileges<br></li>
<li><code>/player&nbsp;[playername] gamemode [0..4 or partially/fully written game mode name]</code><br />Shows or sets the players current game mode</li>
<li><code>/player&nbsp;[playername]&nbsp;landclaimallowance [0..9999]</code><br />Shows or sets a player specific extra land claim allowance, independent of the allowance set by the role (default: 0)</li>
<li><code>/player&nbsp;[playername]&nbsp;landclaimmaxareas&nbsp;[0..9999]</code><br /><span>Shows or sets a player specific extra land claim areas allowance<span>, independent of the allowance set by the role (default: 0)</span></span><br /><br /><br /></li>
</ul>
</ul>
</ul>

Latest revision as of 15:18, 31 December 2020

Server control and configuration

/serverconfig

  • /serverconfig [config]
    Modify or display the server config [config]
    • /serverconfig maxchunkradius [integer]
      Displays the max chunk radius. Sets the max chunk radius to the integer passed, which is the highest chunk radius a player may load.
    • /serverconfig maxclients [integer]
      Displays the max clients. Sets the max number of connected clients to the integer passed.
    • /serverconfig password [string]
      Sets the server password that is required to connect to the server. It may not contain spaces.
    • /serverconfig nopassword
      Removes the password protection.
    • /serverconfig antiabuse [Off|Basic|Pedantic]
      Sets anti-abuse level, this protects against a range of malicious player operations, but is currently a work in progress.
    • /serverconfig allowpvp [bool]
      Control allowing players to combat each other.
    • /serverconfig allowfirespread [bool]
      Enable/Disable spread of fire
    • /serverconfig allowfallingblocks [bool]
      Enable/Disable block gravity.
    • /serverconfig onlywhitelist [bool]
      Control allowing only whitelisted players to connect to the server.
    • /serverconfig entityspawning [bool]
      Control global entity spawning. Disabling it will cause no creatures to spawn (default: on).
    • /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
      Control how many random update ticks per chunk should be executed.
    • /serverconfig defaultspawn [x y? z]
      Shows or sets the default spawn point. y can be omitted to automatically use the surface position at given x/z location.
    • /serverconfig setspawnhere
      Sets the default spawn point to where the player is currently standing.
    • /serverconfig passtimewhenempty [bool]
      Shows or sets if time should pass when the server has no connected players.
    • /serverconfig spawncapplayerscaling [0..1]
      Helps to evenly distribute mob spawns around each player. A value of 0 means no extra mobs can spawn on increased player count, a value of 1 means a second player doubles the spawn cap, 3 players triple the spawn cap and so on (default: 0.75).