Wizards of Lua — Commands¶
This document describes the available commands provided by the Wizards of Lua mod.
/lua <code>¶
Permission: wizardsoflua.lua (Default: Operator Level 2)
Argument: <code> – A string of Lua code to execute
Executes a Lua code snippet immediately as a spell.
/wol¶
Permission: wizardsoflua.wol (Default: Operator Level 2)
Serves as the parent command for Wizards of Lua management and configuration.
/wol extract api¶
Permission: wizardsoflua.wol.extract.api (Default: Operator Level 2)
Regenerates the Lua API documentation files in the config/wizards-of-lua/api directory.
/wol extract examples¶
Permission: wizardsoflua.wol.extract.examples (Default: Operator Level 2)
Regenerates the example files in the config/wizards-of-lua/examples directory.
/wol startup¶
Permission: wizardsoflua.wol.startup (Default: Operator Level 2)
Executes the startup sequence manually instead of during server startup.
Upon execution, the mod stops all running spells then recursively searches for every startup.lua file, launching those in parent directories first and those in subdirectories afterward.
/wol spell break¶
Permission: wizardsoflua.wol.spell.break (Default: Operator Level 2)
Breaks all spells owned by the command source.
/wol spell break all¶
Permission: wizardsoflua.wol.spell.break.all (Default: Operator Level 2)
Breaks all active spells.
/wol spell break bySid <sid>¶
Permission: wizardsoflua.wol.spell.break.bySid (Default: Operator Level 2)
Argument: <sid> – The ID of the spell to break
Breaks a spell by its unique spell ID.
/wol spell break byName <name>¶
Permission: wizardsoflua.wol.spell.break.byName (Default: Operator Level 2)
Argument: <name> – The name of the spell to break
Breaks all spells with the given name.
/wol spell break byOwner <player>¶
Permission: wizardsoflua.wol.spell.break.byOwner (Default: Operator Level 2)
Argument: <player> – The name of the player who owns the spell to break
Breaks all spells owned by the specified player.
/wol spell list¶
Permission: wizardsoflua.wol.spell.list (Default: Operator Level 2)
Lists all spells owned by the command source.
/wol spell list all¶
Permission: wizardsoflua.wol.spell.list.all (Default: Operator Level 2)
Lists all active spells.
/wol spell list bySid <sid>¶
Permission: wizardsoflua.wol.spell.list.bySid (Default: Operator Level 2)
Argument: <sid> – The ID of the spell to list
Lists a spell by its unique spell ID.
/wol spell list byName <name>¶
Permission: wizardsoflua.wol.spell.list.byName (Default: Operator Level 2)
Argument: <name> – The name of the spell to list
Lists all spells with the given name.
/wol spell list byOwner <player>¶
Permission: wizardsoflua.wol.spell.list.byOwner (Default: Operator Level 2)
Argument: <player> – The name of the player who owns the spell to list
Lists all spells owned by the specified player.
What’s next?¶
- Find out how to register Dynamic Commands.