Difference between revisions of "God Commands"
(→resetworld) |
|||
Line 38: | Line 38: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | | /resetworld || Reset and reseed the world while preserving items with NoReset, optionally pass force to skip dialog confirmation. | + | | /resetworld [force] || Reset and reseed the world while preserving items with NoReset ObjVar, optionally pass force to skip dialog confirmation. |
|} | |} |
Revision as of 16:48, 29 October 2016
Contents
Mortal Commands
These are command 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. |
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. |