Creating Accounts
To be able to log in to your new server you need an account.
It is recommended to use security level 3 for your own account.
Run the following commands in the Worldserver console.
To create an account
sh
account create <user> <pass>Example:
sh
account create admin adminTo set your account security level
| Level | Security Level |
|---|---|
| 0 | SEC_PLAYER |
| 1 | SEC_MODERATOR |
| 2 | SEC_GAMEMASTER |
| 3 | SEC_ADMINISTRATOR |
sh
account set gmlevel <user> <level> <realm>Note
If the command was run while the account was logged in you need to relog for the security level to update properly.
Example:
sh
account set gmlevel admin 3 -1Note
Use -1 to select all realms, or specify the specific realm id.
Changing password
sh
account set password <user> <password> <password>Example:
sh
account set password admin 1234 1234Higher security level
The highest security level is SEC_CONSOLE (4) which your worldserver has by default.
It has access to account management and is not recommended for in-game accounts for anyone that does not know what they are doing.
To update an account to security level 4 you need to manually edit the fields in the database or run the query below.
sql
UPDATE `account_access` AS `access`
INNER JOIN `account` AS `account` ON `access`.`id` = `account`.`id`
SET `gmlevel` = 4 WHERE `username` = '<user>';