Список команд сервера

From Vintage Story Wiki
Revision as of 08:56, 4 May 2020 by Akellagray (talk | contribs) (Created page with "=== Группы === * <code>/group [create|disband|rename|invite|acceptinvite|leave|list|kick|op|deop]</code><br /> Создать/Изменить или удалить гр...")

Серверные команды для игроков

Приват территории

  • /land[claim|free|info|list]
    Захватите область мира, где только вы можете строить или использовать блоки.
  • /land list
    Отображает список приватов, которые у вас имеются на данный момент, вы можете использовать отображаемый номер индекса, чтобы изменить его, см. Ниже.
  • /land info
    Вывести информацию о привате текущей позиции, если таковая имеется.
  • /land free [index]
    Удаляет ваш приват территории
  • /land claim [load|new|grant|revoke|gn|ge|gs|gw|gu|gd|start|end|add|plevel|fullheight|save|cancel]
    Создает или изменяет существующий приват.
    • /land claim load [0..999]
      Загружает существующий приват для изменения. Используйте номер индекса, как показано в / Land List, чтобы выбрать, нужный номер территории привата.
    • /land claim new
      Создаёт новый приват, а так же устанавливает данную точку, как начальную (Spawn)
    • /land claim grant [playername] [use|all]
      Предоставьте игроку доступ к вашему привату. 'use' только для прав на использование / взаимодействие, 'all' для прав на использование / взаимодействие, а так же установку и разрушение блоков.
    • /land claim revoke [playername]
      Отмените ранее предоставленную привилегию для данного игрока по вашему требованию.
    • /land claim grantgroup [groupname] [use|all]
      Предоставьте данной группе игроков доступ к вашим приватам. «использовать» только для прав на использование / взаимодействие, «все» для прав на использование и блокировку размещения / разрушения.
    • /land claim revokegroup [groupname]
      Отмените ранее предоставленную привилегию для данной группы игроков по вашему требованию.
    • /land claim allowuseeveryone [true|false]
      Предоставить или отменить использование доступа для всех игроков
    • /land claim start
      Отметьте начальную позицию для кубоидальной области, которая будет запривачена.
    • /land claim end
      Отметьте конечную позицию для кубоидальной области, которая будет запривачена.
    • /land claim [gn|ge|gs|gw|gu|gd] [-99..99]
      Увеличьте выбранный кубоид в направлении север / восток / юг / запад / вверх / вниз на заданную длину. Если длина не указана, то выбор увеличивается на 1 блок.
    • /land claim [sn|se|ss|sw|su|sd] [-99..99]
      Уменьшите выбранный кубоид в направлении север / восток / юг / запад / вверх / вниз на заданную длину. Если длина не указана, то выбор сокращается на 1 кадр.
    • /land claim add
      Добавляет выбранный кубоид в редактируемую область привата. Приват может существовать из нескольких кубоидов, если они смежны друг с другом.
    • /land claim fullheight
      Вертикально увеличивайте выбранный в настоящее время кубоид, чтобы охватить всю высоту от дна мира до вершины мира. Обратите внимание, что с настройками по умолчанию это невозможно, потому что игроки не могут претендовать на такое количество чанков.
    • /land claim save [description]
      Сохраняет текущие изменения привата и прекращает редактирование текущей области.
    • /land claim cancel
      Отменяет все внесенные изменения в области.

Группы

  • /group [create|disband|rename|invite|acceptinvite|leave|list|kick|op|deop]
    Создать/Изменить или удалить группу игроков. В настоящее время группы игроков выполняют функцию предоставления отдельного канала для чата в дополнение к предоставлению доступа в требуемые области.
    • /group create [groupname]
      Создает новую группу игроков, собственный канал чата. Находясь в чате этой группы:
    • /group invite [playername]
      Добавить игрока в группу
    • /group acceptinvite [groupname]
      Принять приглашение присоединиться к группе
    • /group leaveПокидает эту группу игроков.
    • /group list
      Перечисляет все группы, в которых вы находитесь.
    • /group rename newgroupname
      Переименовывает группу.
    • /group kick [playername]
      Удаляет игрока из группы.
    • /group op [playername]
      Предоставляет статус оператора этому игроку, что позволяет ему приглашать других игроков.
    • /group deop [playername]
      Отменяет статус оператора у этого игрока.
    • /group disband
      Удалить группу игроков. Вы должны быть владельцем, чтобы выполнить эту команду.

Other

  • /kill
    Kills the player.

Commands for Moderators and Admins

General

  • /help
    List all commands.

Player Control

  • /giveblock [blockcode] [quantity] [toplayername]
    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.
  • /giveitem [itemcode] [quantity] [toplayername]
    Same as above but for items
  • /gamemode [0..4|guest|survival|creative|spectator]
    Mode names can be shortened to any length. Sets your game mode:
    • 0|guest Guest mode - Cannot place/remove any blocks but can interact with them
    • 1|survival Survival mode - Can slowly break/place blocks. Can die. Cannot fly. Survival inventory.
    • 2|creative Creative mode - Access to all blocks through the creative inventory. Instant block breaking. Cannot die. Can fly.
    • 3|spectator Spectator mode - Cannot place/remove blocks and cannot interact with anything, but can fly.
  • /gamemode [playername] [0..4]
    Sets the gamemode for given player.
  • /tp [coordinates]
    Teleport yourself to a different position.
    • /tp x y z
      Teleports the player to given pretty coordinate visible from the pretty coordinate box.
    • /tp =x =y =z
      Teleports the player to given absolute coordinate visible from the debug screen on ALT + F3.
    • /tp ~x ~y ~z
      Teleports player by a given relative distance, i.e. teleport ~1 ~0 ~0 will teleport the player one block in x direction.
  • /tp [playername] [coordinates]
    Teleport given player to a different position.
  • /tp [playername]
    Teleport yourself to given player.
  • /ban [reason]
    Ban a player.
  • /unban [playername]
    Unban a player.
  • /kick [reason]
    Kick a player.
  • /clear
    Removes all items from your inventory.
  • Privilege Control
    • /op [playername] Shorthand for /player [playername] role admin

    • /role (rolename) spawnpoint [x] [y?] [z]
      Configure a role specific spawn point. Any player that has this role will spawn at this location.

    • /role (rolename) privilege [grant|revoke] [privelegename] 
      Grant or revoke privileges from given role

    • /role (rolename) [landclaimallowance|landclaimmaxareas|landclaimminsize] [value]
      Shows or sets the role specific land claiming values. 
      • landclaimallowance is the max allowed claimable area in cubic meters for every player that has this role (default: 4 chunks = 4*32*32*32 cubic meters = 131072)
      • landclaimmaxareas the max quantity of non adjacent-areasa a player may claim (default: 3)
      • landclaimminsize [x y z] the smallest cuboid a player may claim (default 6x6x6)

    • /player [playername] [whitelist|privilege|role|entity|stats|gamemode|landclaimallowance|landclaimmaxareas]
      See/Modify player related data
      • /player [playername] whitelist
        See current whitelist mode of given player.
      • /player [playername] whitelist on
        Adds a player to a server whitelist
      • /player [playername] privilege
        Lists the players current privileges
      • /player [playername] privilege [grant|revoke] [privilegename]
        Grants or revokes given privilege for this player
      • /player [playername] role
        Shows the players current privilege role (default: suplayer)
      • /player [playername] role [rolename]
        Sets the players current privilege role (default: suplayer)
      • /player [playername] stats
        Shows a summary of the players current privileges
      • /player [playername] gamemode [0..4 or partially/fully written game mode name]
        Shows or sets the players current game mode
      • /player [playername] landclaimallowance [0..9999]
        Shows or sets a player specific extra land claim allowance, independent of the allowance set by the role (default: 0)
      • /player [playername] landclaimmaxareas [0..9999]
        Shows or sets a player specific extra land claim areas allowance, independent of the allowance set by the role (default: 0)


    World Control

    • /seed Shows the world seed

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

    • /entity [spawn|countbytype|removebytype|countbyclass|removebyclass|listnearest|debug]
      Add, remove, and count entities (item drops, creatures, etc).
      • /entity spawn (entitytype)
        Spawn an entity by type.
        The valid type names (as of 1.5.0.3) are:
        wolf-malewolf-femalesheep-bighorn-malesheep-bighorn-femalesheep-bighorn-lambpig-wild-pigletpig-wild-malepig-wild-femaledrifterstrawdummychicken-henchicken-babychicken-rooster
      • /entity spawn (entitytype) 100Spawns 100 entities of given type
      • /entity countbytype (entitytype)
        Count how many entities of a given type exist.
      • /entity removebytype (entitytype)
        Remove all entities of a given type.
      • /entity countbyclass (entityclass)
        Count how many entities of a given class (such as entityitem or entityagent) exist.
      • /entity removebyclass (entityclass)
        Remove all entities of a given class.
      • /entity listnearest [x y z] (ver-range) (hor-range)
        Show a summary of all nearby entities at given range. If x/y/z coords are not supplied, the current player position is taken
      • /entity debug [0 or 1]
        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

    • /time [set|get|speed]
      Time related functions
      • /time 
        Shows current time
      • /time set [lunch|day|night|latenight|morning|latemorning|sunrise|sunset|afternoon|midnight|witchinghour]
        Sets the internal clock to the given time of day
      • /time set [time]
        Sets the internal calendar to given time. Examples: /time set 12:00
      • /time add [hours:minutes]
        Adds given hours and minutes to the internal calendar
      • /time speed [0-9999]
        Shows or sets current game time speed (default 60)
      • /time hoursperday [0-9999]
        Shows or sets the current hours per day (default 24)

       

    Server control/configuration

    • /stats Show current server statistics (tickrate, memory usage, etc.)
    • /announce Announce a server wide message in all chat groups
    • /welcome Sets the servers welcome message
    • /stop Shuts down the server
    • /list [clients|banned|role|privileges] 
      Show various lists of infos
      • /list clients Show current connected clients
      • /list banned Show current list of banned blayers
      • /list role Show list of all configured privilege roles
      • /list privileges Show list of all configured privileges
    • /serverconfig
      Modify the server config
      • /serverconfig maxchunkradius (integer)
        Displays the max chunk radius. If an integer value is passed it will set the max chunk radius, which is the highest view distance a player may have. Higher values require more RAM
      • /serverconfig maxclients (integer)
        Displays the maxclients. If an integer value is passed it will set the maxclients, which is the max concurrent players the server may have. Higher values requires more RAM and CPU
      • /serverconfig password (password without spaces)
        Sets the server password that is required to connect to the server
      • /serverconfig nopassword
        Removes the password protection
      • /serverconfig antiabuse (Off|Basic|Pedantic)
        Sets antiabuse level, this protects against a range of malicious player operations, but is currently pretty glitchy in the current state (v1.7)
      • /serverconfig onlywhitelist (bool)
        Wether or not to only allow whitelisted players to connect to the server
      • /serverconfig entityspawning (bool)
        Toggle on/off global entity spawning. Disabling it will cause no creatures to spawn (default: on)
      • /serverconfig tickrate [10-100]
        Shows or sets the server tickrate. A higher tickrate makes the server more responsive, but also costs more CPU. A lower tickrate has the opposite effect. (default: 30)
      • /serverconfig blockTickSamplesPerChunk
        Shows or sets many random ticks per chunk should be executed. Simply said, a higher value makes grass grow back faster. (default: 16)
      • /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. Can supply a non numeric position to clear the default spawn point.
      • /serverconfig setspawnhere
        Sets the default spawn point to where the player is currently standing


    Utility / Debug Tools

    • /bir [getid|getcode|remap] Block id remapper tools. Useful to fix broken blocks after removing/updating custom blocks
    • /forceloadchunks x1 z1 x2 z1 [sendtoclient] Tells the server to load given area and prevents unloading. If "sendtoclient" is added it will also forcefully send all these chunks to the client.
    • /sendchunks [0 or 1] Toggles whether to send any new chunks to the client (force sending chunks are sent anyway)
    • /chunkunload [0 or 1] Toggels whether the server should automatically unload chunks that are no longer in range of any players (and thus also send chunk unload commands to the clients)
    • /reloadmods Reloads all server mods that support reloading
    • /cit Current chunk generation info
    • /debug [logticks|tickhandlers|ci|cs|cr] Various debug commands
      • /debug logticks [milliseconds] If a server tick required more then supplied milliseconds to process, a breakup of that tick will be logged to the server-main.txt
      • /debug tickhandlers Displays a summary of many ticking blocks and entities are currently registered
      • /debug tickhandlers dump [gtblock|gtentity|dcblock|sdcblock|dcentity] Dumps a complete list of all tick/callback listeners to the server-debug.txt. (gt = gametick, dc = delayed callback)
      • /debug ci Display some information on the current chunk the player resides in
      • /debug cs Forcefully resends the current chunk the player resides in
      • /debug cr Forcefully completely relights the current chunk the player resides in
    • /wgen World generation tools. Some examples
      • /wgen pos climate Shows climate info at the current position
      • /wgen testmap climate Generates a 512x512 example climate map as png, dropped where the game executables resides
    • /macro [addcmd|setcmd|syntax|desc|priv|save|delete|show|list]
      Create a server side macro that can execute one ore multiple commands
      • /macro addcmd [command without /]  Add a command to a temporary macro
      • /macro setcmd[command without /]  Set a command to a temporary macro (removes previously added ones)
      • /macro syntax Sets the syntax help info displayed when using /help
      • /macro desc Sets the description text displayed when using /help
      • /macro priv Sets the privilege required to execute this command, e.g. controlserver if only for admins or build for any player with build rights
      • /macro show Shows the contents temporary macro currently being defined by above commands
      • /macro save [name] Saves the temporary macro defined by above command to given command name
      • /macro list Shows a list of all saved macros
      • /macro show [name] Shows the contents of a saved macro
      • /macro delete [name] Deletes a previously saved macro
      • /macro discard [name] Discards the temporary macro