blob: 2740a6b49c319623edc0a28c0c54ed0b3bb8a5d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# 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.
## To create an account
```
account create <user> <pass>
```
## To set your account security level
| Level | Security Level |
| :---: | :-------------
| 0 | SEC_PLAYER |
| 1 | SEC_MODERATOR |
| 2 | SEC_GAMEMASTER |
| 3 | SEC_ADMINISTRATOR |
```
account set gmlevel <user> <level> <realm> (-1 all realms)
```
## Changing password
```
account set password <user> <password> <password>
```
## Higher security level
The highest security level is SEC_CONSOLE (4) which your worlserver 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 name = '<user>';
```
|