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

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

  1. Offline

    jkcclemens

    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.
     
  2. 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

    Have you never seen an offline-mode auth plugin? xAuth, AuthMe, etc.
     
  4. Offline

    FSaFJarno

    Probably include an option to change the messages in the next version?
    Thank you in advance, this worked in 1.2.3
     
  5. oh ok i did not get that its for servers running in offline-mode^^
     
  6. Offline

    jkcclemens

    As in a language file? I can do that.
     
  7. 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!
     
  8. Offline

    MinneolaTangelo

    :D WOW. This is actually really amazing !
     
  9. Offline

    jkcclemens

    http://goo.gl/hREwx
     
  10. 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...
     
  11. Offline

    jkcclemens

    It encrypts it in SHA-512 25 times. e.g.
    "password"

    to

    "b109f3bbbc244eb82441917ed06d618b9008dd09b3befd1b5e07394c706a8bb980b1d7785e5976ec049b46df5f1326af5a2ea6d103fd07c95385ffab0cacbc86"

    to

    "afe99137967ee6f5ec8f08df89dd8076db932e13d4ca8d7b32feda3dc919ae3e1657cf30616523d28500727755eddad5a6e18fe255b407a9c5f6dd8de1a43b99"

    etc.
     
  12. Offline

    spunkiie

    Waiting for the custom messages.

    Also: This is plugin is based on the source code of Authme? It looks like.

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

    jkcclemens

    Not at all. I wrote it all myself.
    I'm starting on the language file soon.
     
  14. Offline

    spunkiie

    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.
     
  15. Offline

    jkcclemens

    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/
     
  16. Offline

    spunkiie

    @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
     
  17. Offline

    jkcclemens

    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.
     
  18. Offline

    spunkiie

    RoyalMessages is also very cool :)
     
  19. Offline

    jkcclemens

    That's almost my joke project. It's really simple, and it's getting old. xD
     
  20. Offline

    spunkiie

    @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
     
  21. UPDATE ASAP!

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

    jkcclemens

    Are you using the dev builds from dl.royaldev.org?
     
  23. Offline

    tricks243

    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).
     
  24. Offline

    jkcclemens

    Edit the config.yml (minecraft_folder/plugins/RoyalAuth) with your info for your MySQL server.
     
  25. Offline

    tricks243

    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
     
  26. Offline

    jkcclemens

    If you have to ask that, you don't have one.
    http://dev.mysql.com/doc/refman/5.5/en/installing.html
     
  27. Offline

    RacoonAndres

    update for minecraft latest beta release
     
  28. Offline

    jkcclemens

    Works on latest CB dev. I know... I'm using it.
    Get the dev version if you're having issues.
    http://dl.royaldev.org/
     
  29. Offline

    RacoonAndres

    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
     
  30. Offline

    jkcclemens

    Obviously.
    "Could not connect to the MySQL database!"
    Did you set up your config.yml to contain the right MySQL information?
     

Share This Page