List of server commands/en: Difference between revisions

From Vintage Story Wiki
Updating to match new version of source page
(Updating to match new version of source page)
Tags: Mobile edit Mobile web edit
(Updating to match new version of source page)
Tags: Mobile edit Mobile web edit
Line 43: Line 43:


=== /giveblock ===
=== /giveblock ===
* <code>/giveblock [blockcode] [quantity] [toplayername] [attributes]</code><br /> Creates an itemstack of the specified block in the specified quantity, and gives it to the specified player. The player must have an empty inventory slot to receive the itemstack. Quantity, toplayername and attributes are optional. The default quantity is 1. If player name is not set, the command user's own player is targeted. If attributes are specified, they must be written in the same format as in a JSON file (note: spacing is optional in JSONs and it will be easier to omit spaces here)
* <code>/giveblock [blockcode][{attributes}] [quantity] [toplayername]</code><br /> Creates an itemstack of the specified block in the specified quantity, and gives it to the specified player. The player must have an empty inventory slot to receive the itemstack. Quantity, toplayername and attributes are optional. The default quantity is 1. If player name is not set, the command user's own player is targeted. Attributes may optionally be supplied in curly braces after the blockcode without a space between the block name and the braces. The attributes should be given in JSON format. Example: <code>/giveblock clutter{type: "barrel-metal1"}</code>


=== /giveitem ===  
=== /giveitem ===  
Line 109: Line 109:
=== /stop ===
=== /stop ===
* <code>/stop</code><br /> Stops the server.
* <code>/stop</code><br /> Stops the server.
=== /autosavenow===
* <code>/autosavenow</code><br />  Autosaves the server.


=== /list ===  
=== /list ===  
43,402

edits