Inactive [ADMN/WEB] Password v0.6 - Allow players to register through MineCraft [1493]

Discussion in 'Inactive/Unsupported Plugins' started by Noneofyourbusiness, Jul 5, 2011.

  1. Password v0.6
    by Waldfelt

    Permissions v2.7.4 -> download or
    Permissions v3.1.6 -> download
    MySQL connector (place in <bukkit root folder>/lib) -> download (link fixed)

    Download the latest version -> version 0.6

      • MySQL storage of user-generated passwords using MD5 encryption.
      • Implementation of Permissions v2.7.4.
      • Easy registration for your websites using in-game commands.
    For players:

    Use /password [password] to set or change your website password. Recommended: Do not use your minecraft password, it may comprise your account's security!

    For admins:
    Download the latest version of Password and place it in the plugin folder. After loading the plugin, please edit the configuration file to properly connect to your MySQL database.
    Passwords are stored using a MD5 encryption and the corresponding usernames are also stored in the same table as the passwords.

    Permission node:
    - password.password

    Upcoming features:
    iConomy support.
    A more sexy approach to configuring MySQL server.
    Choose between md5 en sha1 and usage of salt.

    Change log:
    version 0.6 Bugfix with the SQL Query (lol!)
    version 0.5 Added debugging functionality
    version 0.4 Uses raw username instead of alias or displayname.
    version 0.3 Better error handling and data reading/loading.

    Donations are greatly appreciated to keep our server up to date and allow us to grow!

    To donate click here!

    Test server:
    Freakdk and llaraet like this.
  2. Offline


    Thank you kindly. Looking forward to getting this plugin to work. This will be extremely handy.
    Noneofyourbusiness likes this.
  3. Offline


    Is there anyway that i could set this up for two different databases?
  4. Hey Nam,

    I pushed an update for you so you can debug the problem,
    so remove the old password/ folder and a new folder will be created after loading the plugin.

    Set debug to true, if it cannot connect to MySQL it will crash the server and show you why you cannot connect to MySQL! :)

    If debug is set to false, it will just try to connect and dont care if it is connected or not (like v0.4).
  5. Offline


    22:30:55 [INFO] [Password] is initializing.
    22:30:55 [INFO] Found and will use plugin Permissions v2.7.4
    22:30:55 [INFO] Reading config.
    22:30:55 [INFO] Cannot connect to MySQL.
    22:30:55 [INFO] Communications link failure
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
    Not sure that helps much more.
  6. That error comes out of the fact that it cannot find the server, on what port is your MySQL hosted?
  7. Offline


    Standard port 3306. As I have mentioned, I can connect to it manually using the same credentials which is strange.
  8. I can only recreate that error when it cannot find the server host... HMM

    I will test some more stuff, and i hope i can fix it for you :D
  9. Offline


    Thanks, that would be awesome, I am soo looking forward to this plugin.
  10. Offline


    can you make it compatible with smf and phpbb forum software?
  11. Offline


    I'm pretty sure there are already plugins like that...

    Anyways, @OP
    Is there any chance you would think about allowing custom password hashing? (this would allow for much more secure storage as well as support for phpbb and other popular software. ( I'm not too sure how that would work... Maybe have a configuration file for the hashing algorithm?._. )
  12. Offline


    Please can someone take me the link of mysql ;) thx
  13. Offline


    Hey I'm confused on how to connect this plugin to my website. Or is that even possible?
  14. Offline


    Please can you tell me how can I install it?? I did not understand anything PLSS :'(:rolleyes:
  15. Offline


    Error here:
    git-Bukkit-0.0.0-980-g4ed23b1-b1060jnks (MC: 1.7.3)
    Also gives error w/ bukkit 1000

    With debug on I get the following error:
    2011-08-25 23:16:01 [INFO] CREATE command denied to user 'myuser'@'my.domain' for table 'UserReg'

    However, logblock and other plugins connect to the mysql server just fine.
    I also can connect to mysql on the command line and create the table just fine.

    You post the schema so I can manually add it to test to see whats going on?

    Feature request:
    1. ability to rename the command from /password to /register (or custom name)
    2. How about writing to a flatfile
    3. also, how about the ability to not have a password? and just do /register
    (have it send datestamp,username to the DB or flatfile)
    4. Last but not least is it possible to get the debug=true to not crash the server?

    Thanks for your hard work!!!
  16. Offline


    I made a wordpress site and i want the people to register through minecraft and the login to wordpress but how can i make the login search for the user/pass field of the password plugin. Instead of the standard wp fields?
  17. Offline


    Um, Sir. Yes I really have trouble with this may you please help me by posting a youtube Video that would really help, or just take out the MySQL thing that is really confusing me, cause I have a mac and I dont know how to install it. Please kind sir.
  18. Offline


    Hey, this seems like it will be a really handy plugin!! However, I'm stuck on trying to connect this Password plugin to my website. Any help please? It would be much appreciated! Thanks:)
  19. Offline


    can u make this 1060?
  20. Offline


    Please can you help me I really don't like the MySQL thing please can you find away to take that out please.
  21. Offline


    @Noneofyourbusiness 2 things that i noticed, 1 is that your update query is not in the proper syntax. Should be "UPDATE <table_name> SET `password` = '<password>' WHERE `username` = '<username>'"
    And this plugin assumes that your database name is "minecraft". There should be a way for users to define the actual database name. I would love to help you out with this plugin. Do you have the code hosted on github by anychance?
  22. Offline


    Just thought that it would be nice to have the plugin create a csv file instead of using a DB

  23. Offline


    Please Update this to 1060 [diamond]:D
  24. Offline


    I can't connect to external databases, it always uses localhost. Ideas?
  25. Offline


    Just one question, how do I connect my server to MySQL?
  26. Offline


    For everyone here looking for updates to this plugin i have written my own pluggin very similar to this that offers the option of a security salt and md5 or sha1 encryption. Tested and working on CB#1060. You can check it out over here
  27. Offline


    How do I connect my server and my *password* plugin to MySQL?
  28. Offline


    For "MySQL Name:" What do we put. I am familiar with MySQL I just don't understand what this is asking.
  29. Offline


    Not working for me: build 1185

    org.bukkit.command.CommandException: Unhandled exception executing command 'password' in plugin Password v0.4
            at org.bukkit.command.PluginCommand.execute(
            at org.bukkit.command.SimpleCommandMap.dispatch(
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
            at net.minecraft.server.NetServerHandler.handleCommand(
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.Packet3Chat.a(
            at net.minecraft.server.NetworkManager.b(
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(
    Caused by: java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
            at me.Waldfelt.Password.Password.onCommand(
            at org.bukkit.command.PluginCommand.execute(
            ... 12 more
    Caused by: java.lang.ClassNotFoundException: com.nijiko.permissions.PermissionHandler
            at Method)
            at java.lang.ClassLoader.loadClass(
            at java.lang.ClassLoader.loadClass(
            ... 14 more
  30. Offline


    Not working on 1240 - can not connect to mysql even though everythings else has no problem
  31. Offline


    You shouldn't use MD5, it's broken. Get sha512, whirlpool or something like that.

Share This Page