List of server commands/macro: Difference between revisions

From Vintage Story Wiki
(trying something)
No edit summary
Line 11: Line 11:
**<code>/macro delete [name]</code><br />Deletes a previously saved macro.
**<code>/macro delete [name]</code><br />Deletes a previously saved macro.
**<code>/macro discard [name]</code><br />Discards the temporary macro.
**<code>/macro discard [name]</code><br />Discards the temporary macro.
{{Navbox}}

Revision as of 16:44, 31 January 2022

  • /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.