Difference between revisions of "God Commands"

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search
(resetworld)
(TEMPORARY for version 4.6)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
==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 ==
 
== Mortal Commands ==
These are command that anyone can run, including players.
+
These are commands that anyone can run, including players.
 
===== custom =====
 
===== custom =====
 
{| class="wikitable" | style="width: 100%"
 
{| class="wikitable" | style="width: 100%"
Line 6: Line 12:
 
| /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.
 
| /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 ==
 
== GameObj Commands ==
Line 14: Line 19:
 
|-
 
|-
 
| /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.
 
| /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 =====
 +
{| class="wikitable" | style="width: 100%"
 +
|-
 +
| /opencontainer [objectId] || Given no objectId will provide a target option. Opens the container specified, presenting the contents.
 
|}
 
|}
  
Line 40: Line 51:
 
| /resetworld [force] || Reset and reseed the world while preserving items with NoReset ObjVar, 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.
 
|}
 
|}
 +
 +
 +
[[Category:Server Administration]]

Latest revision as of 02:08, 15 June 2017

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.