Inactive [SEC] RoyalAuth - Easy to use offline-mode authentication [1.1-R6]

Discussion in 'Inactive/Unsupported Plugins' started by jkcclemens, Mar 5, 2012.

  1. Offline

    jkcclemens BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    RoyalAuth - v0.0.1



    This project was started because of the lack of working offline-mode authentication plugins. By lack of working, I mean malfunctioning (or semi-functioning) plugins. These plugins were simply too difficult to work with, so I created a much simpler plugin. All it requires is a MySQL database. Support for sqlite (or something similar) may come eventually.
    Commands

    /login [password]
    Logs you in with the specified password.

    /register [password]
    Registers you with the specified password.

    /unregister [password]
    Unregisters you.

    /logout
    Logs you out.

    /changepass [oldPassword] [newPassword]
    Changes your password.

    /rauth [?|reload|register [player]|changepass [player] [password]|logout [player]]
    Access to admin commands.


    Changelog


    0.0.2
    • Language support (in-game messages only at the moment)
    0.0.1

    • First release.

    This post has been edited 3 times. It was last edited by jkcclemens Mar 14, 2012.
  2. Offline

    kantenkugel

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Sorry but i dont get it... is this a plugin that requires you to enter a password if you join the server or what is the /login command for?
  3. Offline

    jkcclemens BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Have you never seen an offline-mode auth plugin? xAuth, AuthMe, etc.
  4. Offline

    FSaFJarno

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Probably include an option to change the messages in the next version?
    Thank you in advance, this worked in 1.2.3
  5. Offline

    kantenkugel

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    oh ok i did not get that its for servers running in offline-mode^^
  6. Offline

    jkcclemens BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    As in a language file? I can do that.
  7. Offline

    Vilsol

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is it working with 1.2?

    EDIT.. WORKD!

    PS. Could you please tell me the encoding of passwords, because i want to connect the database to website!

    This post has been edited 2 times. It was last edited by Vilsol Mar 5, 2012.
  8. Offline

    MinneolaTangelo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    :D WOW. This is actually really amazing !
  9. Offline

    jkcclemens BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    http://goo.gl/hREwx
  10. Offline

    Vilsol

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Kinda dont get Java way too well. It means that the pass is under 25 hashes?
    I'm trying to encode it in all possible ways which allows me PHP fucnctions to do but none gives the same output as my server pass hash...

    This post has been edited 1 time. It was last edited by Vilsol Mar 5, 2012.
  11. Offline

    jkcclemens BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It encrypts it in SHA-512 25 times. e.g.
    "password"

    to

    "b109f3bbbc244eb82441917ed06d618b9008dd09b3befd1b5e07394c706a8bb980b1d7785e5976ec049b46df5f1326af5a2ea6d103fd07c95385ffab0cacbc86"

    to

    "afe99137967ee6f5ec8f08df89dd8076db932e13d4ca8d7b32feda3dc919ae3e1657cf30616523d28500727755eddad5a6e18fe255b407a9c5f6dd8de1a43b99"

    etc.
  12. Offline

    spunkiie

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Waiting for the custom messages.
  13. Offline

    spunkiie

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Also: This is plugin is based on the source code of Authme? It looks like.
  14. Offline

    jkcclemens BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Not at all. I wrote it all myself.
    I'm starting on the language file soon.
  15. Offline

    spunkiie

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @jkcclemens

    Great. I plan a switch from Authme to your plugin, but I have a 900+ server. Could you add a 'secondary' /register command (i.e: /rregister), so we can put your plugin together with Authme and tell players to register their new passwords on RoyalAuth ?

    Thank you.
  16. Offline

    jkcclemens BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    For some reason, I feel like this will be a hassle. See, if they're not logged in on rAuth, they can't execute any commands (or really do anything). I suppose you could add a few things to the allowed_commands. I'll add an alias, but they may still conflict.

    EDIT:
    Grab the dev build of rAuth from http://dl.royaldev.org/

    This post has been edited 1 time. It was last edited by jkcclemens Mar 6, 2012.
  17. Offline

    spunkiie

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @jkcclemens

    I've downloaded and tested the dev build, works like a charm. The migration thing will be in fact an issue. What about a config option to disable forced registration (like AuthMe has) ?

    With this option, I can run Authme and RoyalAuth together, and tell players to register their password with RoyalAuth. Ofcourse an alias to /register will have to be made, again I sugest: /rregister

    Also when I talk about 900+ players, I'm not counting the players who joins the server, I have that number at the SAME TIME on all of my servers. So a good migrate plan is a must. Here: http://i.imgur.com/aX8D1.png

    This post has been edited 3 times. It was last edited by spunkiie Mar 6, 2012.
  18. Offline

    jkcclemens BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I gave you that dev build because it has the /rregister alias. I can add a disable option, but you could just run them at the same time and change your MOTD to tell them to re-register. Since I believe they both use a /login command. Which could also be a problem. Not sure if AuthMe uses /l, but rAuth has a /l.
  19. Offline

    spunkiie

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    RoyalMessages is also very cool :)
  20. Offline

    jkcclemens BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    That's almost my joke project. It's really simple, and it's getting old. xD

    This post has been edited 1 time. It was last edited by jkcclemens Mar 6, 2012.
  21. Offline

    spunkiie

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @jkcclemens

    I'm pretty sure that the 'disable force login/register' idea will be alot better. Players will get confused with two login systems, trust me :p

    This post has been edited 3 times. It was last edited by spunkiie Mar 6, 2012.
  22. Offline

    Vilsol

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    UPDATE ASAP!

    EVEN IF YOU HAVENT LOGGED IN YOU CAN SEE AND DROP THE ITEMS IN INVENTORY!
  23. Offline

    jkcclemens BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Are you using the dev builds from dl.royaldev.org?
  24. Offline

    tricks243

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Untitled1.png
    Get this with dev build...is the dev build compatible with CB1.2.3? i didn't see anything posted on the dl.royaldev.org.
    or is this some issue with mySQL//SQlite linking? I'm pretty new with server plugins and all I've done is copy and paste the .jar into my plugins folder and tried to run the server, then it throws that error(i assume).
  25. Offline

    jkcclemens BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Edit the config.yml (minecraft_folder/plugins/RoyalAuth) with your info for your MySQL server.
  26. Offline

    tricks243

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Noob question, but how would i know if i have a MySQL server? Is there a default that is created with the CB server...for people that don't know which way is up?(like me) >.<
    or even SQlite

    This post has been edited 1 time. It was last edited by tricks243 Mar 7, 2012.
  27. Offline

    jkcclemens BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    If you have to ask that, you don't have one.
    http://dev.mysql.com/doc/refman/5.5/en/installing.html
  28. Offline

    RacoonAndres

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    update for minecraft latest beta release

    This post has been edited 1 time. It was last edited by RacoonAndres Mar 13, 2012.
  29. Offline

    jkcclemens BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Works on latest CB dev. I know... I'm using it.
    Get the dev version if you're having issues.
    http://dl.royaldev.org/
  30. Offline

    RacoonAndres

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i have downloaded it but it says something about the mysql but i dont know whats that how i fix it?
    07:08 PM [SEVERE] [RoyalAuth] Could not connect to the MySQL database!
    07:08 PM [SEVERE] 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.
    07:08 PM [SEVERE] [RoyalAuth] Could not create tables!
    07:08 PM [SEVERE] java.lang.NullPointerException
    07:08 PM [SEVERE] at org.royaldev.royalauth.RAAuth.<init>(Unknown Source)
    07:08 PM [SEVERE] at org.royaldev.royalauth.RoyalAuth.onEnable(Unknown Source)
    07:08 PM [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
    07:08 PM [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
    07:08 PM [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:363)
    07:08 PM [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
    07:08 PM [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
    07:08 PM [SEVERE] at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:374)
    07:08 PM [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:361)
    07:08 PM [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
    07:08 PM [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    07:08 PM [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    07:08 PM [INFO] [RoyalAuth] v0.0.1 enabled.
    AND DOESNT WORK WHE u try to register

    This post has been edited 2 times. It was last edited by RacoonAndres Mar 13, 2012.

Share This Page