[INACTIVE] AuthMe v0.72 - High Performance Authorization plugin - MySQL/flatfile support[740]

Discussion in 'Inactive/Unsupported Plugins' started by fabe, Jan 22, 2011.

  1. Offline

    fabe

    Hello guys,

    the last days I have made an alternative authorization plugin for Bukkit, called AuthMe.
    AuthMe prevents people, which aren't logged in, from doing stuff like placing blocks, moving, typing commands or seeing the inventory of the current player.
    The possibility to set up name spoof protection kicks players with uncommon long or short playernames before they could actually join.
    Login Sessions make it possible that you don't have to login within a given time period.

    Each command and every setting can be enabled or disabled by a easy structured config file.
    And if you don't prefer English or don't like my translations ;) you can easily edit nearly every message sent by AuthMe!

    Nearly every version gots tested for stability and lag-ness on my 50+ player server.

    In the next coming days I will add some new features, just make some suggestions!

    Features:
    • Following protections are activated, when a player is not logged in:
      • Movement protection
      • Block placement & damage protection
      • Inventory protection
      • Interaction protection (blocks usage of doors, chests)
      • Health protection
      • Commands & chat protection
    • Playername spoof protection
    • Protection against "Logged in from another location" messages
    • Login sessions
    • Editable settings & messages
    • MySQL and flatfile support
    • Custom MySQL tables/columns (useable for forums, other scripts)
    • Two data caches for best performance
    Commands:
    • Player side:
      • /register <password>
      • /login <password> -Alias: /l <password>
      • /logout
      • /changepassword <oldpassword> <newpassword>
      • /unregister <password>
    • Op and Console (without / ) side:
      • /authme reloadconfig
      • /authme reloadcache
      • /authme toggleregs
      • /authme deleteauth <playername>
    Installation:
    1. Download it.
    2. Put the downloaded jar file into your /plugins folder
    3. Run the server to generate configs.
    4. Edit the config on any way you wish.
    5. Following datasources are possible: flatfile or mysql
    6. Restart the server.
    7. If you have choosen MySQL as datasource, your table will be generated automatically, if it doesn't exist yet
    8. Done!
    Version History:

    0.72
    o Fixed issues occuring on CB #670
    o Added /logout command
    o Added the possibility to disable joining of players that aren't registered

    0.71
    o Cleaned up player cache code (performance!)
    o Changed the way of fixing the continuous player falling
    o Fixed BlockIgnite error messages
    o Fixed door/chest protection
    o It's now impossible to register/update/remove an account when updating the datasource had failed
    o Added editable messages
    o Default colors of messages are now stored in message file and can easily be changed

    Older versions (open)

    0.7
    o Compatibility with CraftBukkit version 602
    o Op commands are now included in a general /authme command
    o Possibility to reload config under runtime
    o Fixed errors on reloading the plugin
    o Prevention against "Logged in from another location" messages
    o Fixed NullPointerException Errors
    o Possibility to add NPC names to config (to add compatibilty with NPC plugins)
    o Registrations can now be toggled by Ops
    o More debug messages on MySQL errors
    o Player sessions will now be created on player disconnect
    o Possibility to allow commands for non-registered/non-loggedin players
    o Custom fields on /register when using MySQL as datasource e.g. E-Mail
    o Kick player after x seconds, if he is not logged in
    o Op-Commands are now accessable via console
    o Commented config
    o Fixed players stuck in blocks on join
    o A lot more minor bug fixes
    0.61
    o Fixed MySQL loading users wrongly and making them unregistered
    o Fixed continuously falling players on non-authenticated state
    0.6
    o Whole new cache system for online players and offline players (performance boost!)
    o New datasource: MySQL support (beta)
    o MySQL can use custom tables, colums
    o Log messages on command/login/registration/session-login
    o Non-authenticated player can't use doors, chests or get drops
    o Fixed surviving bug
    o Fixed player health protection
    o Alias for /login command: /l <password>
    o Settable interval between alerts
    o Settable kick on wrong password
    o Settings for unregistered players (allow chat, allow walk around spawn)
    o Possibility to disable cache (useful for live-editing the datasource)
    o CraftBukkitUpToDate support (soon!)
    0.5
    o Editable messages
    o Added /changepassword command
    o Added /unregister command
    o Added /resetauth command
    o Added /reloadauths command
    o Added option to disable forced registration
    0.42pre (unreleased)
    o Login/Register commands don't show up on console anymore
    o Waaay better performance with 50+ players online
    o Login sessions
    o Config settings
    0.41pre
    o Fixed incompatibility with plugins that use the onPlayerMove Event
    o Better performance
    0.40pre
    o Location of auth.db has changed
    o New Authentication Cache (Maybe fixes memory issues)
    o Fixed possible missing inventories after server restarts
    0.3
    o Compatibility with newer Bukkit versions
    o Fixed possible item duplication bug
    o Fixed command protection
    0.2
    o Fixed some error messages, when a player is leaving
    0.1
    o Release



    If you like my plugin and want support my work, fell free to donate. Thanks.
    [​IMG]

    Download AuthMe V0.72
    Help developing AuthMe via GitHub
     
    Fuppiz, tombik, sbeex and 6 others like this.
  2. Offline

    NeoCronos

    xAuth doenst care if the hash is MD5 or Whirlpool, you can use both if you import the users into the database.

    Still i like AuthMe and hope someone will Fork or Update this if fabe isnt coming back :/
     
  3. Offline

    The PC Tech Guy

    I would think that xAuth would automatically convert it...

    However, I don't get these errors. Not sure what the problem is with others, but mine is completely stable. No errors from Authme on my side.
     
  4. Offline

    illusion9

    Looking at the stack trace, the cache causes the error. I haven't got the time recently to look at the code though, so I can't be sure what exactly is the issue.
    I'll test AuthMe with cache disabled tonight and update this post to report any issues. This is imo the best authorization plugin.
     
  5. Offline

    Gabriel333

    I use Citizens 1.0.8f and AuthMe 0.72 and get this error when i punch a NPC citizen.
    ---------------------------------------------------------------------------------------------------

    19:57:52 [SEVERE] Could not pass event ENTITY_DAMAGE to AuthMe
    java.lang.NullPointerException
    at com.bukkit.fabe.AuthMe.PlayerCache.PlayerCache.getLastAlert(PlayerCache.java:68
    )
    at com.bukkit.fabe.AuthMe.PlayerCache.PlayerCache.isAlertNeeded(PlayerCache.java:7
    6)
    at com.bukkit.fabe.AuthMe.AuthMe.checkAuth(AuthMe.java:611)
    at com.bukkit.fabe.AuthMe.Listener.AuthMeEntityListener.onEntityDamage(AuthMeEntit
    yListener.java:30)
    at org.bukkit.plugin.java.JavaPluginLoader$51.execute(JavaPluginLoader.java:598)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:419)
    at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:184)
    at net.minecraft.server.EntityHuman.d(EntityHuman.java:542)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:861)
    at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    >
     
  6. Offline

    The PC Tech Guy

    I believe there is an option in the config to add the names of NPCs.
     
  7. Offline

    hebep

    I very much like your plug-in! Please update it under versions 860! Or it works on 860?
     
  8. Offline

    garfield

    @hebep: it works for some users and for some it doesn't. i do not know why this happens, my first thought was its an issue with MultiVerse, but i haven't tested that, as i switched to AuthDB.
     
  9. Offline

    The PC Tech Guy

    It could be, I don't use MultiVerse, or any multi-world plugin.
     
  10. Offline

    heroanth2345

    2011-06-13 20:59:11 [SEVERE] Could not pass event PLAYER_MOVE to AuthMe
    java.lang.NullPointerException
    at com.bukkit.fabe.AuthMe.PlayerCache.PlayerCache.getLastAlert(PlayerCache.java:68)
    at com.bukkit.fabe.AuthMe.PlayerCache.PlayerCache.isAlertNeeded(PlayerCache.java:76)
    at com.bukkit.fabe.AuthMe.AuthMe.checkAuth(AuthMe.java:611)
    at com.bukkit.fabe.AuthMe.Listener.AuthMePlayerListener.onPlayerMove(AuthMePlayerListener.java:190)
    at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:285)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:139)
    at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)


    This is what happens when I reload the server
    CB#860
    When I reload and I try to login with mah password it says that I'm not registered
    But the fact is that if I disconnect and reconnect, I can login normally.
     
  11. Offline

    aymanh

    update already ffs >.>
     
  12. Offline

    Hydrosis

    Author gone MIA or something? Been soooooo long since this has been updated and getting a lot of random action errors (PLAYER_DAMAGE, ENTITY_DAMAGE, PLAYER_MOVE, etc.)
     
  13. Offline

    Plague

    considered inactive
     
  14. Offline

    GregRUS

    Is there any source of this plugin?
     
  15. Offline

    garfield

  16. Offline

    aymanh

    Please sm1 fix it :(

    sm1 please fix this :(, best auth plugin .

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 6, 2016
  17. Offline

    extracharged

    when i downloaded it, i only got jar file. is it supposed to be like that? also, it keeps saying "authme is unable to load"
     
  18. Offline

    Gabriel333

    You were right - I found it. :)

    # Following players get unrestricted access without the force to log in
    # Use this function, if you use plugins, that create bots (NPCs)!
    AllowPlayerUnrestrictedAccess:
    - Fullwall
    - aPunch
    - Herobrine

    I hope this will help...
     
  19. Offline

    pomo4ka

    I have a desire to renew this plugin, and to continue its activity as well as using it himself, and he is best suited to me. I need some time to brush up on language Java, if I get always tell.
     
  20. Offline

    Kaosvf

    Hi,
    in server log there are these errors:
    Code:
    2011-06-21 00:58:09 [SEVERE] Could not pass event PLAYER_MOVE to AuthMe
    java.lang.NullPointerException
    	at com.bukkit.fabe.AuthMe.PlayerCache.PlayerCache.getLastAlert(PlayerCache.java:68)
    	at com.bukkit.fabe.AuthMe.PlayerCache.PlayerCache.isAlertNeeded(PlayerCache.java:76)
    	at com.bukkit.fabe.AuthMe.AuthMe.checkAuth(AuthMe.java:611)
    	at com.bukkit.fabe.AuthMe.Listener.AuthMePlayerListener.onPlayerMove(AuthMePlayerListener.java:190)
    	at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:286)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:140)
    	at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    	at net.minecraft.server.NetworkManager.b(NetworkManager.java:223)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:433)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:343)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    What can I do?
     
  21. Offline

    xxldoener

    I have two questions:
    1. Is there a way to only block op commands until logged in and
    2. is there a way to enable registered but non-logged-in users to walk around? If find it very confusing that you can walk around as non-registered (as i enabled) but you cant walk arround when you are registered and logged out
     
  22. Offline

    Wulfspider

    I'm pretty sure this plugin is on the withering away. The dev hasn't been on for about a month.
     
  23. Offline

    xxldoener

    Is there any plugin that does the same?
    All I want is to protect the OP-Commands. The problem about sth. like xAuth is that users have to login/register. Actually I want everybody do use all commands as they are assinged with Permissions 3.x and the Admin (being myself) should also be able to do everything but the op-restricted commands until he is logged in...
     
  24. Offline

    Wulfspider

    I'm pretty sure all of them require you to login one way or another even this one. xAuth would be the best choice right now for a local database and AuthDB allows for forum/CMS integration.
     
  25. Offline

    xxldoener

    No, I am already using this one and there is a option that allows that some people you put in a list don't have to login/register to use their permissions. This is pretty awesome because all my friends hate to have to login. I only installed the plugin so no one would login using my name and abuse my op rights. So right now I am the only one that has to login. The only problem is that I can't do anything before being logged in while non registered users and my friends can do all they ever would be allowed to without having to log in which is pretty annoying. But I will still use this plugin even if there is no easier way for me as long as I know my op rights are secure
     
  26. Offline

    Wulfspider

    Well, we are working on ways with AuthDB so that the user only has to login once and then is automatically logged in each time after that. We will probably have a method that uses Spout, another that uses IP addresses, and another possibly that uses Minecraft.net verification. You could always set the sessions to last for a long period of time such as 365 days or something haha.
     
  27. Offline

    xxldoener

    That is possible with this plugin, too, I think.
     
  28. Offline

    Wulfspider

    Then use it then? I'm not saying you have to switch, I'm just saying that the developer hasn't been on in awhile.
     
  29. Offline

    xxldoener

    Wasn't meant like this. Im sure your plugin is good but this one does everything I need.
    I said "this is possible too" so you might inspire yourself using this programmers source code and save yourselv a whole bunch of work. If you don't well I don't care :D
    Btw. thx 4 replying all the time, you seem to be the only one who is interested in this apart from me^^
     
  30. Offline

    Wulfspider

    I'm not interested in this plugin, I just follow most of the new and old auth plugins on the forum to watch for copied code mostly. There have been a bunch popping up lately.
     
  31. Offline

    xxldoener

    So what is so bad about copied code?
     

Share This Page