diff options
| author | Walter Pagani <paganiwalter@gmail.com> | 2022-07-02 12:27:54 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-02 17:27:54 +0200 |
| commit | 630aa0e2af0b28a7295cf41d3d01e9352d624107 (patch) | |
| tree | 63edf93f5222a56f10661a7fca857df535269528 | |
| parent | 9980db32fae1a375858d34aed3170b03d7e89dc0 (diff) | |
| download | wiki-630aa0e2af0b28a7295cf41d3d01e9352d624107.tar.gz wiki-630aa0e2af0b28a7295cf41d3d01e9352d624107.tar.bz2 wiki-630aa0e2af0b28a7295cf41d3d01e9352d624107.zip | |
Add (Translation\ES): creating-accounts.md (#751)
| -rw-r--r-- | docs/creating-accounts.md | 41 | ||||
| -rw-r--r-- | docs/es/creating-accounts.md | 68 |
2 files changed, 98 insertions, 11 deletions
diff --git a/docs/creating-accounts.md b/docs/creating-accounts.md index d539689..7e41112 100644 --- a/docs/creating-accounts.md +++ b/docs/creating-accounts.md @@ -14,25 +14,45 @@ It is recommended to use security level 3 for your own account. account create <user> <pass> ``` +**Example:** + +``` +account create admin admin +``` + ## To set your account security level -| Level | Security Level | -| :---: | :------------- -| 0 | SEC_PLAYER | -| 1 | SEC_MODERATOR | -| 2 | SEC_GAMEMASTER | -| 3 | SEC_ADMINISTRATOR | +| Level | Security Level | +|-------|-------------------| +| 0 | SEC_PLAYER | +| 1 | SEC_MODERATOR | +| 2 | SEC_GAMEMASTER | +| 3 | SEC_ADMINISTRATOR | + +``` +account set gmlevel <user> <level> <realm> +``` + +**Example:** ``` -account set gmlevel <user> <level> <realm> (-1 all realms) +account set gmlevel admin 3 -1 ``` +**Note:** (-1 for the all realms) + ## Changing password ``` account set password <user> <password> <password> ``` +**Example:** + +``` +account set password admin 1234 1234 +``` + ## Higher security level The highest security level is SEC_CONSOLE (4) which your worldserver has by default. @@ -42,8 +62,7 @@ It has access to account management and is not recommended for in-game accounts 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>'; +UPDATE `account_access` AS `access` +INNER JOIN `account` AS `account` ON `access`.`id` = `account`.`id` +SET `gmlevel` = 4 WHERE `username` = '<user>'; ``` - diff --git a/docs/es/creating-accounts.md b/docs/es/creating-accounts.md new file mode 100644 index 0000000..b40f07e --- /dev/null +++ b/docs/es/creating-accounts.md @@ -0,0 +1,68 @@ +--- +redirect_from: "/es/Creating-Accounts" +--- + +# Creación de cuentas + +Para poder entrar en su nuevo servidor necesita una cuenta. + +Se recomienda utilizar el nivel de seguridad 3 para su propia cuenta. + +## Para crear una cuenta + +``` +account create <user> <pass> +``` + +**Ejemplo:** + +``` +account create admin admin +``` + +## Para establecer el nivel de seguridad de su cuenta + +| Level | Security Level | +|-------|-------------------| +| 0 | SEC_PLAYER | +| 1 | SEC_MODERATOR | +| 2 | SEC_GAMEMASTER | +| 3 | SEC_ADMINISTRATOR | + +``` +account set gmlevel <user> <level> <realm> +``` + +**Ejemplo:** + +``` +account set gmlevel admin 3 -1 +``` + +**Nota:** (-1 para todos los reinos) + +## Cambio de contraseña + +``` +account set password <user> <password> <password> +``` + +**Ejemplo:** + +``` +account set password admin 1234 1234 +``` + +## Mayor nivel de seguridad + +El nivel de seguridad más alto es SEC_CONSOLE (4) que su servidor de mundos tiene por defecto. + +Tiene acceso a la gestión de la cuenta y no se recomienda para las cuentas en el juego para cualquier persona que no sabe lo que está haciendo. + +Para actualizar una cuenta al nivel de seguridad 4 es necesario editar manualmente los campos en la base de datos o ejecutar la siguiente consulta. + +```sql +UPDATE `account_access` AS `access` +INNER JOIN `account` AS `account` ON `access`.`id` = `account`.`id` +SET `gmlevel` = 4 WHERE `username` = '<user>'; +``` |
