By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.

OK, Don't show this again

Classic SimpleAuth
version 2.1.3
Direct Download How to install?
Switch version
10341 Downloads / 15551 Total
4 Reviews
Plugin Description §

SimpleAuth 2.x - Shoghicp

Account linking by Awzaw


You no longer need to set "hack login" and "hack register" perms with SimpleAuthHelper. You must also update the database if you use MySQL or SQLite:


  • ALTER TABLE simpleauth.simpleauth_players ADD linkedign VARCHAR(16);


  • ALTER TABLE simpleauth.simpleauth_players ADD linkedign TEXT;

Plugin for PocketMine-MP that prevents people from impersonating an account, requiring registration and login when connecting.

 SimpleAuth plugin for PocketMine-MP
 Copyright (C) 2014-2017 PocketMine Team <>

 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU Lesser General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 GNU General Public License for more details.

What's New?

This version of SimpleAuth adds automatic account linking to SimpleAuth, and removes the obselete antihack protection.

SimpleAuth2 is compatible with SimpleAuthHelper, and works with these providers: MySQL, YAML and SQLITE


  • /login <password>
  • /register <password>
  • /unregister <password> (TODO)
  • /link <otherIGN> <otherpassword>
  • /unlink
  • For OPs: /simpleauth <command: help|unregister> [parameters...] (TODO)


You can modify the SimpleAuth/config.yml file on the plugins directory once the plugin has been run at least once.

Configuration Type Default Description
timeout integer 60 Unauthenticated players will be kicked after this period of time. Set it to 0 to disable. (TODO)
forceSingleSession boolean true New players won't kick an authenticated player if using the same name.
minPasswordLength integer 6 Minimum length of the register password.
blockAfterFail integer 6 Block clients after several failed attempts
authenticateByLastUniqueId boolean false Enables authentication by last unique id.
dataProvider string yaml Selects the provider to get the data from (yaml, sqlite3, mysql, none)
dataProviderSettings array Sets the settings for the chosen dataProvider
disableRegister boolean false Will set all the permissions for simleauth.command.register to false
disableLogin boolean false Will set all the permissions for simleauth.command.login to false
allowLinking boolean false Allow users to /link and /unlink accounts (update MySQL/SQLITE DB)


Permission Default Description false Allows using the chat while not being authenticated
simpleauth.move false Allows moving while not being authenticated
simpleauth.lastip true Allows authenticating using the lastIP when enabled in the config
simpleauth.command.register true Allows registering an account
simpleauth.command.login true Allows logging into an account true Allows linking an account
simpleauth.command.unlink true Allows unlinking an account

For developers


  • SimpleAuth\event\PlayerAuthenticateEvent
  • SimpleAuth\event\PlayerDeauthenticateEvent
  • SimpleAuth\event\PlayerRegisterEvent
  • SimpleAuth\event\PlayerUnregisterEvent

Plugin API methods

All methods are available through the main plugin object

  • bool isPlayerAuthenticated(pocketmine\Player $player)
  • bool isPlayerRegistered(pocketmine\IPlayer $player
  • bool authenticatePlayer(pocketmine\Player $player)
  • bool deauthenticatePlayer(pocketmine\Player $player)
  • bool registerPlayer(pocketmine\IPlayer $player, $password)
  • bool unregisterPlayer(pocketmine\IPlayer $player)
  • void setDataProvider(SimpleAuth\provider\DataProvider $provider)
  • SimpleAuth\provider\DataProvider getDataProvider(void)

Implementing your own DataProvider

You can register an instantiated object that implements SimpleAuth\provider\DataProvider to the plugin using the setDataProvider() method

What's new §
  • Untested updates for Scheduler nuke #2213 (9644766df3c69)
  • Updated for PMMP PocketMine 3.0.0
  • API version bump, untested
  • Bumped version
  • Updated for 3.0.0-ALPHA11
  • Add rules, fix the problem can not use /link
    • 2017-12-09 [23:31:43] �[Server thread/CRITICAL]: 於 link 執行指令 “link artisew 6666666“ 時,出現了未被處理的錯誤: strtolower() expects parameter 1 to be string, null given�
    • 2017-12-09 [23:31:43] �[Server thread/CRITICAL]: TypeError: "strtolower() expects parameter 1 to be string, null given" (EXCEPTION) in "SimpleAuth-master/src/SimpleAuth/SimpleAuth" at line 326�
  • Merge pull request #7 from edwinyoo44/patch-1
    • Fixed linking
  • Version bump for Poggit
  • Added mergedmaster branch to poggit
  • Applied PMMP formatting
  • Cleaned up
  • Disallow two accounts linking to the same account
  • Fixed failed search/replace
  • Format to PMMP specifications
  • Merged account-mapping branch
  • Merged mergedmaster
  • Removed AntiHack
  • Removed PurePerms leftovers
  • Replaced isset with !== null
  • Restore getPlayer() for backward compatibility. Not used internally
  • Updated config text
  • Updated for 3.0.0-ALPHA9
  • Use hash of ip address & devicemodel for authenticationbylastip
  • oops :-(
  • Because Poggit
  • Update version for Poggit
  • Updated for API version 3.0.0-ALPHA7. Breaks BC
Initial version

Bumped API and version

Added icon, bumped version

using v2.1.3
17 Apr 20
Please make russian language version
using v2.1.3
15 Mar 20
2020-03-15 [11:00:12] [Server thread/CRITICAL]: ErrorException: "Undefined offset: 0" (EXCEPTION) in "plugins/SimpleAuth_v2.1.3.phar/src/SimpleAuth/SimpleAuth" at line 274 2020-03-15 [11:00:12] [Server thread/DEBUG]: #0 plugins/SimpleAuth_v2.1.3.phar/src/S
using v2.1.3
06 Jan 19
using v2.1.3
24 Aug 18

Reply to review by :

Supported API versions
SimpleAuthHelper 2.0.7
View Plugin
Requirements & Enhancements
MySQL server Enhancement Do not use root user!
Producers §
  • Collaborators:
    • @awzaw
    • @shoghicp
  • Contributors:
    • @sof3
License §
Admin Tools
Other files

You can leave one review per plugin release, and delete or update your review at any time