Difference between revisions of "God Commands"
Supreem CS (talk | contribs) |
Supreem CS (talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | == 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 == | == Mortal Commands == |
Revision as of 01:13, 11 January 2017
Contents
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. |