AuthPlayer v1.0.1 Making offline-mode more usable.Written by ArcalythImportant note: I no longer actively maintain this plugin, as I don't have the time nor the interest in Minecraft. I will still accept direct support requests (PM or email me), including small feature requests (again, contact me directly as I rarely check this thread). If you're still interested in this particular plugin but the download link is broken, notify me immediately. A while back, Thulinma forked my Git repository and made quite a few improvements to this plugin. AuthPlayer is minimalist by design, because it was originally for my own personal use. MixedModeAuth is a slightly larger, more feature-rich and less problematic version of this plugin, and is actively maintained (at the time of me writing this). --- A picture is worth 1000 words:Premium Join // Premium Auth // Guest Join // Guest AuthWhat is it? Why do I need this?AuthPlayer was originally created for my own personal use so that my friends and I could play on my LAN server without internet access. As you may know, when minecraft.net is unreachable, any player that joins a server is named "Player," and any new "Player" that joins will kick the old one out. This plugin fixes that issue: any player can register any name on the server, and each player will be treated as a separate entity by the server.Where do I get it?Download: AuthPlayer.jar (md5: 3f45be47b4013169bd365ddc7671339b)GitHub: arcalyth/AuthPlayerHow do I use it?Use /auth for help.When users join your server, they are prompted to authenticate. If the user is logged into a Minecraft Premium account, their current username will be saved. If the user is logged in as "Player," they are treated as a guest and will be unable to play the game until they authenticate with your server. When the user authenticates, they are immediately transferred to their profile. If you can't log into your usual account because minecraft.net is inaccessible, you can still authenticate into it, and keep your inventory, coordinates, health, and all other player data!Will this plugin steal my account?It is recommended that all users authenticating with your server do not use their usual password, as passwords are pretty much stored as plain-text and you never know if your server host is actually a malicious wizard. That being said, the source code for the plugin is available. See for yourself that I won't harvest your accounts. Are AuthPlayer accounts compatible with Permissions?Yes! All AuthPlayer accounts work exactly like a regular Minecraft account would.Can Premium players still play on my server?Yes! Premium players will simply be prompted to register with the server when they join. Non-premium players will be asked to create a new name (on the server). I really like your plugin! Thanks! If you like it enough that you'd be willing to make a donation[paypal], please do! Changelogv1.0.1: Fixed some inconsistencies in the events.v1.0: Initial release.
I'm glad someone took my request , or something like it. I'm sure you'll get a lot of thanks for this plugin. Especially me. Thank you!! And Joeyy, I think it is supposed to run on offline mode.
Joeyy: No, Premium players can still play on your server with this plugin. I updated the first post with your question. This plugin loses most of its effectiveness if you're not running in offline-mode, though. There's not really a reason to put premium players through a second authentication process
Hey, when I log in again, Hours later, it doesn't ask me to retype my password? I am using a program I wrote to log in as my premium account. And, another account I made up. Can you program it to always ask for it, or put a timer on it? I know this has been done before, but I like this plugin better. It allows you to move around and stuff, and doesn't lock you down. That's why I prefer this.
If you're logging in from a premium account, you're automatically authenticated. The reason you're prompted for a password is so that when you can't authenticate with minecraft.net, you can still play your premium character by using the password you made on the server running this plugin.
Sadly, that is incorrect. I tested that. I scripted a program a few days ago for my server for Offline mode, that changes the name to whatever you want it to. Oddly, if use the program to log into a Premium person, it will give you their skin and name. My friend pretended to be Honeydew fooling my other friend, freaking out for about an hour. Anyway, let's say someone hacked the 'Player' variable in the game and changed it to your name. That's why we have these plugins. My program doesn't hack it, but it changes your name to it. I played as Notch, my friend, Honeydew, Israphel, you, ZackScott, and a few other people. We need passwords on premiums too. The reason I ask this plugin, and not some premade plugin, is because this seems more simple, and stable. Everything else spazzes out and won't even let you look around until you authenticate. I like your setup.
You know, users are allowed to suggest features and changes for current plugins as well. @Arcalyth , I recommend you work on the security of your plugin a bit in terms of passwords.
Oh, Good Point.... I didn't think about that option one bit. haha.... (but the original request wasn't this, but I think this'll work.)
I had originally made the plugin for personal use, but there's no reason I can't grow it to fit the needs of other server admins I'm currently away from home for the week, so I can start developing other features and improvements afterward.
Yes, I did. I always do. I said before, all the plugins I tried were too spastic, and didn't work very well, and wouldn't let you look around, or walk. I like this one a lot better. AuthDB wasn't going to work because it was way too advanced for me. I want simplicity, but works.
Is there a way for only console or people with certain permissions to create the accounts and then give guests the passwords? I don't want random people logging in and being able to create an account with someone else's name and ending up greifing.
Do you have any plans for updating this? I would love to use it but when I log in as an premium user it doesn't give me my stuff and it isn't compatible with the permissions bukkit or the mods that use op permissions.
this plugin is amazing, so simple yet so needed. Surprised it took this long to make a plugin that is this useful, unlike xauth and all of those other pain in the ass authenticators. My only question is there any way to make it so when a player logs in, can the server automatically change their name from a list of guest names before they register? Like player1 player2 player3 etc so people dont kick each other off before they log in?
I forked this project a while ago, added some features and made it secure: https://github.com/Thulinma/MixedModeAuth/wiki Some of what I added: - Automatic renaming of non-premium users to "player_<randomnumber>". No more players kicking each other off before logging in! - Detection of difference between name-spoofing and real MC.net logins! Spoofed names will be treated as not logged in! - Permissions support (not required though!) - Ability to change password - Ability to delete accounts I'm also on BukkitDev: http://dev.bukkit.org/server-mods/mixedmodeauth/
2011-09-06 20:06:04 [SEVERE] java.net.SocketException: Socket closed 2011-09-06 20:06:04 [SEVERE] at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116) 2011-09-06 20:06:04 [SEVERE] at java.net.SocketOutputStream.write(SocketOutputStream.java:153) 2011-09-06 20:06:04 [SEVERE] at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) 2011-09-06 20:06:04 [SEVERE] at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) 2011-09-06 20:06:04 [SEVERE] at java.io.DataOutputStream.flush(DataOutputStream.java:123) 2011-09-06 20:06:04 [SEVERE] at net.minecraft.server.NetworkWriterThread.run(SourceFile:116) I cannot deal with this error anymore. I have to take this plugin off my server, due to it always glitching/disconnecting random players after killing them.(They get stuck in a warp, and die, then get internal server error) Can you please remake this or maybe teach me how I could make this plugin to where it only changes the username of "Player" for people who are in offline mode that don't know how to change their name?
If you are using my remake, try changing the world default spawn point to an open area (above ground). I noticed the default spawn point is often underground, and my version will teleport all players to the default spawn if they are not logged in. Normal spawning is guaranteed to always be above ground, but my code doesn't do that (yet). I'll fix it in the next version I plan on adding a settings file (there are no settings yet... but there will be) that will enable "insecure" modes as well (among other things), for local-only play use.
for some reason, everytime I try and click on the .jar download link it sends me to a "Forbidden" website and I can't download it at all. This is the first pluggin that has done this to me.
Same here, cleerusher. Seems the file isn't available anymore. If the original author can reupload somewhere, or if someone else who already downloaded it can just put it up on mediafire or summat, it would be appreciated.
this doesn't stop commands from going through. if i log in as an admin i can use any command before logging in.
Long time no see Arcalyth. You will notice that this thread has now been placed into the Inactive Plugin subforum. If you wish to revive this plugin, please ensure that you update and test compatibility with the latest recommended Bukkit build before reporting your original post, asking for it to be moved back to the release forum. Thanks for your time. md_5