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


    Dependancies:
    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

    Features:
      • 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:
    Donations are greatly appreciated to keep our server up to date and allow us to grow!

    To donate click here!
    [​IMG]

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

    Nam

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

    GREENGUY11

    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

    Nam

    Code:
    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

    Nam

    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

    Nam

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

    gaz492

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

    Jonchun

    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

    Tadas

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

    BHolmes505

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

    ExtraJ0

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

    Doc

    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
    datestamp,username,password
    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

    HiPPiE1337

    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

    ThatNoob

    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

    BHolmes505

    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

    wolfz18

    can u make this 1060?
     
  20. Offline

    ThatNoob

    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

    chausser

    @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

    Doc

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

    -Doc
     
  23. Offline

    ThatNoob

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

    bucky

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

    ThatNoob

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

    chausser

    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

    ThatNoob

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

    Aefio

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

    blazedd

    Not working for me: build 1185



    Code:
    org.bukkit.command.CommandException: Unhandled exception executing command 'password' in plugin Password v0.4
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
            at me.Waldfelt.Password.Password.onCommand(Password.java:82)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
            ... 12 more
    Caused by: java.lang.ClassNotFoundException: com.nijiko.permissions.PermissionHandler
            at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
            ... 14 more
    
     
  30. Offline

    darkcloud784

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

    xXJaccEXx

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

Share This Page