summaryrefslogtreecommitdiff
path: root/docs/creating-accounts.md
diff options
context:
space:
mode:
authorKitzunu <24550914+Kitzunu@users.noreply.github.com>2021-06-12 14:50:58 +0200
committerGitHub <noreply@github.com>2021-06-12 14:50:58 +0200
commitf309cf79bbb032a0686b7d04feb8fec18e600a84 (patch)
tree9ea7db08f0698ec9af213941307c83246c7b68a3 /docs/creating-accounts.md
parentb2610fad21012673061f5af786b022c96625cc26 (diff)
downloadwiki-f309cf79bbb032a0686b7d04feb8fec18e600a84.tar.gz
wiki-f309cf79bbb032a0686b7d04feb8fec18e600a84.tar.bz2
wiki-f309cf79bbb032a0686b7d04feb8fec18e600a84.zip
chore: file naming standard (#517)
* A * file naming standard Fixes #491 * Revert "A" This reverts commit 1c225fed753554098069597a2bbcbe08213b76a1. * rename * Revert "rename" This reverts commit 65fd916faf8530ce258cc2b475c93971468680fe. * Revert "file naming standard" This reverts commit 6ca5a703a9e9d59f9c773029e4c04bfd012b6abb. * bye * Hi * Create the-staging-branch.md * 1 * Delete how-to-create-a-PR.md * Create how-to-create-a-pr.md * werafgt * Update the-modular-structure.md * wef
Diffstat (limited to 'docs/creating-accounts.md')
-rw-r--r--docs/creating-accounts.md49
1 files changed, 49 insertions, 0 deletions
diff --git a/docs/creating-accounts.md b/docs/creating-accounts.md
new file mode 100644
index 0000000..b76da95
--- /dev/null
+++ b/docs/creating-accounts.md
@@ -0,0 +1,49 @@
+---
+redirect_from: "/Creating-Accounts"
+---
+
+# 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>';
+```
+