diff --git a/SimpleAuthHelper/README.md b/SimpleAuthHelper/README.md index 855c091..19f1e68 100644 --- a/SimpleAuthHelper/README.md +++ b/SimpleAuthHelper/README.md @@ -4,7 +4,7 @@ * Summary: Simplifies the way people authenticate to servers * Dependency Plugins: SimpleAuth -* PocketMine-MP version: 1.4 (API:1.10.0) +* PocketMine-MP version: 1.5 (API:1.12.0) * DependencyPlugins: SimpleAuth * OptionalPlugins: - * Categories: General @@ -25,10 +25,10 @@ that. You are more likely to get a response and help that way. _NOTE:_ -This documentation was last updated for version **1.3.0dev2**. +This documentation was last updated for version **2.0.0dev1**. -You can also download this plugin from this [page](https://github.com/alejandroliu/pocketmine-plugins/releases/tag/SimpleAuthHelper-1.3.0dev2). +You can also download this plugin from this [page](https://github.com/alejandroliu/pocketmine-plugins/releases/tag/SimpleAuthHelper-2.0.0dev1). @@ -53,26 +53,6 @@ Player connects again. They are prompted to enter their login password. They type their login password directly (without */login*). And they are in. -### Additional Features - -In addition to the simplified login/registration, the following optional -features are available: - -- kick player after so many login attempts. Note, that SimpleAuth v1.7.0 - will kick **and ban** the player if there were too many password attempts. - This feature does the kick but does **NOT** ban. -- kicks player if they have not logged in after certain time. -- While you can login/register without entering commands, using login/register - can be enabled/disable. If the user enters /login|/register, things will - still work as expected. -- Check if players are entering the password on chat and - stop the password from being sent. -- Make unauthenticated players invisible, and other players - invisible to unauthenticated players. -- Cancel additional events. Unauthenticated players can do even less stuff. -- Makes sure that you have permission to run the register/login commands. -- Monitor the database connection to make sure that it is still working. - ## Documentation ### Commands @@ -87,7 +67,6 @@ features are available: * *logout* * De-authenticates a player. - ### Permission Nodes * simpleauthhelper.command.chpwd : Allow users to change passwords @@ -117,7 +96,16 @@ If `true` the feature is enabled. if `false` the feature is disabled. * chat-protect: prevent player to display their password in chat * hide-unauth: EXPERIMENTAL, hide unauthenticated players * event-fixer: EXPERIMENTAL, cancels additional events for unauthenticated players -* perms-hacker: EXPERIMENTAL, Overrides permissions to make sure players can login +* hack-login-perms: EXPERIMENTAL, overrides login permisions to make sure players can login +* hack-register-perms: EXPERIMENTAL, overrides register permisions to make sure players can register +* db-monitor: EXPERIMENTAL, enable database server monitoring +* monitor-settings: Configure database monitor settings + +#### monitor-settings + +* canary-account: account to query this account is tested to check database proper operations +* check-interval: how to often to check database (seconds) + # Player pre-registration @@ -186,3 +174,4 @@ plugin. You should have received a copy of the GNU General Public License along with this program. If not, see . + diff --git a/SimpleAuthHelper/resources/messages/eng.ini b/SimpleAuthHelper/resources/messages/eng.ini index 420c9a5..3f43bb4 100644 --- a/SimpleAuthHelper/resources/messages/eng.ini +++ b/SimpleAuthHelper/resources/messages/eng.ini @@ -3,6 +3,14 @@ "%1% has just joined"="" "%1% unregistered"="" "**CENSORED**"="" +"Database connectivity restored!"="" +"Database is experiencing technical difficulties"="" +"Detected loss of database connectivity!"="" +"Disabling SimpleAuth"="" +"Enabling SimpleAuth"="" +"Fixing %1% for %2%"="" +"LOST DATABASE CONNECTION!"="" +"Restored database connection"="" "SimpleAuthHelper has been disabled"="" "SimpleAuth not found!"="" "This command only works in-game."="" diff --git a/SimpleAuthHelper/resources/messages/messages.ini b/SimpleAuthHelper/resources/messages/messages.ini index b1e52a7..0dcff68 100644 --- a/SimpleAuthHelper/resources/messages/messages.ini +++ b/SimpleAuthHelper/resources/messages/messages.ini @@ -3,6 +3,14 @@ "%1% has just joined"="" "%1% unregistered"="" "**CENSORED**"="" +"Database connectivity restored!"="" +"Database is experiencing technical difficulties"="" +"Detected loss of database connectivity!"="" +"Disabling SimpleAuth"="" +"Enabling SimpleAuth"="" +"Fixing %1% for %2%"="" +"LOST DATABASE CONNECTION!"="" +"Restored database connection"="" "SimpleAuthHelper has been disabled"="" "SimpleAuth not found!"="" "This command only works in-game."="" diff --git a/SimpleAuthHelper/resources/messages/spa.ini b/SimpleAuthHelper/resources/messages/spa.ini index 45842d8..26bbda1 100644 --- a/SimpleAuthHelper/resources/messages/spa.ini +++ b/SimpleAuthHelper/resources/messages/spa.ini @@ -1,8 +1,16 @@ ; spa.ini -"%1% already registered"="" +"%1% already registered"="%1% ya esta registrado" "%1% has just joined"="%1% se ha conectado al juego" "%1% unregistered"="%1% de-registrado" "**CENSORED**"="**CENSURADO**" +"Database connectivity restored!"="Acceso a base de datos restaurado" +"Database is experiencing technical difficulties"="Base datos en problemas" +"Detected loss of database connectivity!"="Acceso a base de datos perdido" +"Disabling SimpleAuth"="Deshabilitando SimpleAuth" +"Enabling SimpleAuth"="Rehabilitando SimpleAuth" +"Fixing %1% for %2%"="Arreglando %1% para %2%" +"LOST DATABASE CONNECTION!"="SE PERDIO LA BASE DE DATOS" +"Restored database connection"="Base de datos retaurada" "SimpleAuthHelper has been disabled"="SimpleAuthHelper ha sido des-habilitado" "SimpleAuth not found!"="No se encotró SimpleAuth!" "This command only works in-game."="Esto solo funciona dentro del juego" @@ -14,16 +22,16 @@ "chpwd error"="No concuerda con su contraseña anterior" "chpwd msg"="Ingrese una nueva contraseña" "chpwd ok"="Su contraseña ha sido canbiada" -"error registering %1%"="" -"login first"="" +"error registering %1%"="Error registrando a %1%" +"login first"="Identifiquese primero" "login timeout"="Se demoró mucho en indentificarse!" -"logout completed"="" +"logout completed"="Se des-identificado" "no spaces"="contraseña no puede tener espacios o tabs" "not name"="no use su nombre como contraseña" "passwords dont match"="contraseñas no concuerdan.\nPor favor intente de nuevo.\nIngrese nueva contraseña:" "re-enter pwd"="Vuelva a ingresar su contraseña para confirmar:" "register.error.password %1%"="su contraseña es muy corta (necesita %1% letras)" -"registered %1%"="" +"registered %1%"="Registrando %1%" "register first"="Tiene que registrarse primero" "register ok"="Usted ha sido registrado." "registration error"="No se pudo registrar. Intente más tarde!"