List of server commands: Difference between revisions

From Vintage Story Wiki
m (Undo revision 18336 by Egocarib (talk) - whoops, those are already included here.)
Tag: Undo
Line 41: Line 41:


=== /giveblock ===
=== /giveblock ===
* <code>/giveblock [blockcode] [quantity] [toplayername]</code><br /> <translate><!--T:61--> 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.</translate>
* <code>/giveblock [blockcode] [quantity] [toplayername] [attributes]</code><br /> <translate><!--T:61--> 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)</translate>


=== /giveitem ===  
=== /giveitem ===  
* <code>/giveitem [itemcode] [quantity] [toplayername]</code><br /> <translate><!--T:62--> Same as above but for items.</translate>
* <code>/giveitem [itemcode] [quantity] [toplayername] [attributes]</code><br /> <translate><!--T:62--> Same as above but for items.</translate>


=== /gamemode ===
=== /gamemode ===
Confirmedusers, editor
348

edits