God Commands

From Legends of Aria Admin and Modding Wiki
Revision as of 02:08, 15 June 2017 by Merrenwen (talk | contribs) (TEMPORARY for version 4.6)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

TEMPORARY for version 4.6

To bring up admin window, type /ToggleGodWindow

NOTES

For a full list of commands, either type /help in game or open the scriptcommands.lua file (the command entries are at the bottom of the file)

Mortal Commands

These are commands that anyone can run, including players.

custom
/custom Will present you with a window for creating custom commands you can put on your action bar. Also useful for finding the name of an Icon for UserActionData.

GameObj Commands

create
/create [object_template_name] Create a GameObj by name. Given no name or the name cannot be found, you will be presented with a menu of close results.
opencontainer
/opencontainer [objectId] Given no objectId will provide a target option. Opens the container specified, presenting the contents.

System Commands

Commands useful for general maintenance, debugging, or mod testing.

info
/info Prompts for target, upon target will present a detailed window for the targeted GameObj. This window allows for reloading/detaching/attaching Modules and manipulating Object Variables.
reload
/reload module_name Will globally reload all instances of the module specified, allows for reloading script modifications without a server restart.

To reload modifications in player.lua for all active players you can do /reload player though be aware this can cause the server to stall while it reloads so always warn them before hand!

reloadtemplates
/reloadtemplates Will reload all xml files
resetworld
/resetworld [force] Reset and reseed the world while preserving items with NoReset ObjVar, optionally pass force to skip dialog confirmation.