Skip to content
This repository has been archived by the owner on Jul 11, 2018. It is now read-only.

Commit

Permalink
SimpleAuthHelper-2.0.0dev1
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandroliu committed Aug 20, 2015
1 parent a4bf157 commit 6bd5950
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 30 deletions.
39 changes: 14 additions & 25 deletions SimpleAuthHelper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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).

<!-- template-end -->

Expand All @@ -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
Expand All @@ -87,7 +67,6 @@ features are available:
* *logout*
* De-authenticates a player.


### Permission Nodes

* simpleauthhelper.command.chpwd : Allow users to change passwords
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -186,3 +174,4 @@ plugin.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

8 changes: 8 additions & 0 deletions SimpleAuthHelper/resources/messages/eng.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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."=""
Expand Down
8 changes: 8 additions & 0 deletions SimpleAuthHelper/resources/messages/messages.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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."=""
Expand Down
18 changes: 13 additions & 5 deletions SimpleAuthHelper/resources/messages/spa.ini
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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!"
Expand Down

0 comments on commit 6bd5950

Please sign in to comment.