AuthServer Commands
From WCell Wiki
Contents |
Help|?
Put Help or ? into the console and then a command and/or subcommand to get information about the command
* Help stats
ExecFile
Use Execfile filename to execute a config file or commands file.
* execfile config.xml
Stats
Use this to see information about the server in its current state.
* Stats
Shutdown
Use this to shut the server down after the specified number of seconds - if no time is provided the server will shut down immediately
* shutdown - shutdown immediately * shutdown 10 - shutdown in 10 seconds
DB|Database
Drop|Purge Use this to drop the accounts database or purge it
* DB purge - deletes then recreates the database schema
Info|? Use this to view the information about the settings for the database
* DB info - print connection info, database name and the current state
Roles
List|L Use this to view what the different roles you can apply to accounts are.
* Roles List
Resync
Use this command to re-cache the accounts from the database
* Resync
ToggleCached|SetCached
Use this to change the state of the account caching on or off
* SetCached 0 - Disabled caching load from db every time a person logs in
Config
Set Use this to set a variable in the config
* config set host 192.168.1.5
Get Use this to retrieve a config value to check its status
* config get host
Save Save settings to the config file
* config save
Load Load the config file again
* config load config2.xml
List Display all config nodes that start with the keyword
* config list addon
Ban|Bans
List|L List the bans with the specified mask
* ban list 86.23.64.33
Add|A Ban an address
* ban add 86.23.64.33 43 32 5 200 51 Bye bye hacker!
Lift|Remove|Delete|Del Remove the ban from a mask
* ban del 86.23.64.33
IPC
Start|Run Start the IPC service for the auth server
* IPC Start
Stop|Halt Stop the IPC service from running on the auth server
* IPC Stop
Toggle The same as the other commands but it just changes the state to the opposite of its current. for example IPC is on now
* IPC toggle
now the IPC is off
Account|Acc
Add|A|Create Add a new account to the server
* acc add name pass role email clientid * acc add Jad test Owner james@jaddie.co.uk
Delete|Del Delete an account from the database
* Acc Del Jad
Acc Info|I Show the information about the account from the database
* Acc Info Jad
Acc SetProp|Set|S Change a setting of an account
*acc S Jad Role Owner
Acc List|L List the accounts with the specified string in them
* Acc L J
would give me Jad as an account and any others with J in them
