[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

    sauevaem

    Thank you, keep up good work ;3
     
  3. Offline

    woodzy

    dear plugin maker, two things first thing is if a player lags out thay cant log back in for X amout of time sometimes.\and 2nd thine ins this plugin IS SO WIN!!! it helps to keep the stupid players off my server XD
    works on CB#677 for me any way
     
  4. Offline

    The PC Tech Guy

    I've had this problem too, idk why it happens. It happens more often when trying to login right at server start.
     
  5. Offline

    fabe

    Are the messages sent faster than 15seconds? I hadn't seen any problems on my test platform.
    Also this issue sounds new for me. I don't think that AuthMe is causing this, since there are no errors.
     
  6. Offline

    The PC Tech Guy

    Others are experiencing it, some on the xAuth forum have said this (and on other forums) that Authme lags compared to xAuth... idk what the problem is, maybe it has to do with threading/hardware specs?

    The end user sees an eternal "logging in..." screen, and when he attempts to cancel/reconnect, he gets an "End of Stream" error, while the server prints out "protocol error." When the socket is finally closed, the player can connect.
     
  7. Offline

    woodzy

    i got this error about 18 times in a row today CB#677 athme 0.72
    Code:
    2011-04-18 08:45:14 [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:76)
        at com.bukkit.fabe.AuthMe.AuthMe.checkAuth(AuthMe.java:611)
        at com.bukkit.fabe.AuthMe.Listener.AuthMeEntityListener.onEntityDamage(AuthMeEntityListener.java:30)
        at org.bukkit.plugin.java.JavaPluginLoader$41.execute(JavaPluginLoader.java:452)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at net.minecraft.server.EntityHuman.d(EntityHuman.java:505)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:752)
        at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-18 08:45:29 [INFO] /50.23.30.168:55153 lost connection
     
  8. Offline

    DerET

    They are sent without time between.
     
  9. Offline

    The PC Tech Guy

    Looks like you are trying to damage a NPC? The only time I got these errors was when I attempted to do so. Add your NPC's in the config.
     
  10. Offline

    JD DeGaetano

    All my players (except ops) have to /register when i restart the server. Why does this happen?
     
  11. Offline

    Morphix

    hey, its possible to add a email adress at register like "/register <pass> <email>" ? it is great for password recovery.
    Thank you

    Morphix
     
  12. Offline

    The PC Tech Guy

    You'd need to use MySQL and configure all that stuff... if that's what you want, I'd look at AuthDB instead, which is suited for this type of stuff.
     
  13. Offline

    Jimmy

    Show Spoiler
    13:24:39 [INFO] Disconnecting blahblahhh [/192.168.1.4:64856]: Your playername
    (blahblahhh) is not set, contains invalid characters or is too short/long!\


    help please :(
     
  14. Offline

    contex

    Take a look at xAuth or if you are using a forum/cms, AuthDB. This plugin is inactive and you will only get support by the users and no the developer.
     
  15. Offline

    Koksons

    AuthMe good work in MineCraft Beta 1.5_02 !
     
  16. Offline

    fabe

    Can't see any performance issues on my server. No lag and 50players on my VPS (!) server.
    You have to set up MySQL as datasource and configure the last lines of the config.
    Make sure what settings you made in the player restrictions section in the config file.
    The plugin is not inactive at all, just the feature updates are finished. But I still will update the plugin to future recommended versions. Also I'm here to answer questions, but I haven't got much time because of exams etc.
    That's nice to hear!
     
  17. Offline

    Ahfaichucky

    does the plugin auto convert database from flatfile to mysql?
     
  18. Offline

    fabe

    No.
     
  19. Offline

    Vinz

    Not the same for me...
    Can't login, well in the console it says :
    18:17:53 [INFO] [AuthMe] Player azerty logged in!

    But i can't walk, i have all my stuff but i can't move...
    Even with : authme unregister azerty in the console, and a new /register in game it doesn't work... Can't move.
    New /login with the new password after the registration, nothing work. Except the fact that my inventory is back...

    Thank you :)

    EDIT : i use the #714 build
     
  20. Offline

    fabe

    You are sure that you don't use other auth plugins that disallows the access? Tested everything fine on that build!
     
  21. Offline

    1994mat

    Can I have decrypter? I need it for one of my users :X
     
  22. Offline

    The PC Tech Guy

    See this. Otherwise, I've heard it's theoretically impossible - and it should be, since that is why they are encrypted in the first place...

    Or, you can do /authme resetauth (player)
     
  23. Offline

    contex

    Decrypting MD5 is not possible as it's a one-way hashing method. However 'decrypters' are refereed to huge databases with MD5 hashes. Also, Rainbow tables can be used to 'decrypt' a MD5 hash.
     
  24. Offline

    The PC Tech Guy

    Ok, thanks. I remember reading it was impossible, I just wanted to see if he tried Googling first.;)
     
  25. Offline

    SinForest

    Does it work BUG-free for 733?
     
  26. I tested it a bit on #733, it works ok.
     
  27. Offline

    darkwarriors

    mm for me not with 733

    Code:
    2011-04-26 20:57:51 [SEVERE] Could not pass event ENTITY_TARGET 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.AuthMeEntityListener.onEntityTarget(AuthMeEntityListener.java:47)
            at org.bukkit.plugin.java.JavaPluginLoader$49.execute(JavaPluginLoader.java:504)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
            at net.minecraft.server.EntityCreature.c_(EntityCreature.java:35)
            at net.minecraft.server.EntityLiving.u(EntityLiving.java:657)
            at net.minecraft.server.EntityMonster.u(EntityMonster.java:30)
            at net.minecraft.server.EntityLiving.p_(EntityLiving.java:231)
            at net.minecraft.server.EntityMonster.p_(EntityMonster.java:34)
            at net.minecraft.server.EntityCreeper.p_(EntityCreeper.java:57)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1007)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:52)
            at net.minecraft.server.World.playerJoinedWorld(World.java:989)
            at net.minecraft.server.World.cleanUp(World.java:966)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:367)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    
    
    
     
  28. Offline

    Pomme72

    Hi,

    Don't work for me in 670 build :( I have put the .jar in the plugins folder, but nothing append. With a reboot too. Nothing. Ghost plugin :p

    HElp :(
     
  29. Offline

    rusins

    Did you solve this?
     
  30. Offline

    Netto Hikari

    Why are you still on 670? :confused:
     
  31. Offline

    Pomme72

    No, it's work now why 733, thank you :)
     

Share This Page