From 630aa0e2af0b28a7295cf41d3d01e9352d624107 Mon Sep 17 00:00:00 2001 From: Walter Pagani Date: Sat, 2 Jul 2022 12:27:54 -0300 Subject: Add (Translation\ES): creating-accounts.md (#751) --- docs/creating-accounts.md | 41 +++++++++++++++++++------- docs/es/creating-accounts.md | 68 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+), 11 deletions(-) create mode 100644 docs/es/creating-accounts.md (limited to 'docs') 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 ``` +**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 +``` + +**Example:** ``` -account set gmlevel (-1 all realms) +account set gmlevel admin 3 -1 ``` +**Note:** (-1 for the all realms) + ## Changing password ``` account set 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 = ''; +UPDATE `account_access` AS `access` +INNER JOIN `account` AS `account` ON `access`.`id` = `account`.`id` +SET `gmlevel` = 4 WHERE `username` = ''; ``` - 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 +``` + +**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 +``` + +**Ejemplo:** + +``` +account set gmlevel admin 3 -1 +``` + +**Nota:** (-1 para todos los reinos) + +## Cambio de contraseña + +``` +account set 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` = ''; +``` -- cgit