List of server commands/macro: Difference between revisions

From Vintage Story Wiki
mNo edit summary
Tags: Mobile edit Mobile web edit
(Marked this version for translation)
Tags: Mobile edit Mobile web edit
 
Line 2: Line 2:


<translate>
<translate>
<!--T:1-->
<onlyinclude>
<onlyinclude>
*<code>/macro [addcmd|setcmd|syntax|desc|priv|save|delete|show|list]</code><br />Create a server side macro that can execute one or more commands
*<code>/macro [addcmd|setcmd|syntax|desc|priv|save|delete|show|list]</code><br />Create a server side macro that can execute one or more commands
Line 17: Line 18:
</onlyinclude>
</onlyinclude>


<!--T:2-->
[[List of server commands]]
[[List of server commands]]
</translate>
</translate>

Latest revision as of 00:11, 23 February 2022

Other languages:


  • /macro [addcmd|setcmd|syntax|desc|priv|save|delete|show|list]
    Create a server side macro that can execute one or more commands
    • /macro addcmd [command]
      Add a command to a temporary macro.
    • /macro setcmd [command]
      Override a command to a temporary macro.
    • /macro [syntax]
      Sets the syntax help info displayed when using /help [name].
    • /macro [desc]
      Sets the description text displayed when using /help [name]
    • /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 of the 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.


List of server commands