Difference between revisions of "God Commands"

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search
(Created page with "== GameObj Commands == ===== /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 cl...")
 
(TEMPORARY for version 4.6)
 
(11 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 ==
 +
These are commands that anyone can run, including players.
 +
===== custom =====
 +
{| class="wikitable" | style="width: 100%"
 +
|-
 +
| /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 ==
  
===== /create [object_template_name] =====
+
===== create =====
Create a GameObj by name. Given no name or the name cannot be found, you will be presented with a menu of close results.
+
{| class="wikitable" | style="width: 100%"
 +
|-
 +
| /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.
 +
|}
  
 
== System Commands ==
 
== System Commands ==
 
Commands useful for general maintenance, debugging, or mod testing.
 
Commands useful for general maintenance, debugging, or mod testing.
  
===== /reload module_name =====
+
===== info =====
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!
+
{| class="wikitable" | style="width: 100%"
===== /reloadtemplates =====
+
|-
Will reload all xml files
+
| /info || Prompts for target, upon target will present a detailed window for the targeted [[GameObj]]. This window allows for reloading/detaching/attaching [[Module | Modules]] and manipulating Object Variables.
===== /resetworld [force] =====
+
|}
Reset and reseed the world while preserving items with NoReset, optionally pass force to skip dialog confirmation.
+
===== reload =====
 +
{| class="wikitable"
 +
|-
 +
| /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 =====
 +
{| class="wikitable"
 +
|-
 +
| /reloadtemplates || Will reload all xml files
 +
|}
 +
===== resetworld =====
 +
{| class="wikitable"
 +
|-
 +
| /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.