AccountLock
Why?
Ever get nervous that anyone else that can access your computer can go onto your account and grief, just because you ticked the remember password box? No more. Server owners can now offer users a second level of protection in-game.
Link to source repository on GitHub
How?
AccountLock works by storing a hash, of a password set by the user. The user then can lock their account, which will enforce a no action lock on the account everytime the user logs in. To stop this freeze of player actions, the user then unlocks their account, by inputting their password, and if the hash of both passwords are the same, the account is unlocked for that login.
To illustrate more, lets view some examples
Example Uses
Basic Usage Example
- User Notch logs in
- Notch runs /alock setPassword 123
- A hash is now stored in the server of Notch's password. Note that the password is not actually stored
- Notch runs /alock lock
- His account is now locked. Anything he does, whether its movement, text chat or interact with the environment, is cancelled.
- Every 30 Seconds an account is locked, a message is sent to the user, that to unlock the account, you must run /alock unlock [password]
- Notch logs out, not needing to play Minecraft
- His brother, quickly steals the computer, logs in because Notch ticked remember password, and goes onto his favorite server, Minetown
- But alas, his Brother struggles in futility, because everything he tries todo, it reverses it. He runs in terror of this almighty plugin
- Notch comes back, logs into the server, and runs /alock unlock 123, and plays happily for the rest of his session
But alas, this plugin offers more!
Hacked Accounts
- Notch's account is hacked, and he hasn't used accountLock
- A random griefer runs around the server
- Thankfully the server has accountLock installed, and using /alock help, the admins know how to use it
- Using /alock lockR Notch, the admins remotely lock Notch's account
- Notch finally regains access to his account, he posts on the forum to ask for his account to be unlocked
- Admins use /alock unlockR Notch, and unlock his account
Forgotten Passwords
- Notch forgets his password to his account. Uh-oh, no Minecraft access on his fave server?
- Admins reset his password, using /alock resetPassword Notch
Temporary Use
- Notch doesn't use AccountLock, because he doesn't tick remember me box, but occasionally he leaves his computer to go eat Dorito's, and doesn't want his brother griefing his account
- Lucky Notch knows that he can use /alock tempLock, to only lock his account for one login session
MEH, Imma be haxed anyways
- Notch doesn't need AccountLock anymore, because hes going to be hacked anyway (Or so he believes)
- Notch runs /alock killLock 123, and kills the auto-lock
Commands
Basic
You need accountLock.basic permissions for this
- /alock - Gets account status (locked or unlocked)
- /alock setPassword [password]
- /alock lock
- /alock unlock
- /alock tempLock
- /alock help
Admin
You need accountLock.admin permission to use this
- /alock [displayName or username] - Gets account status of another account (locked or unlocked)
- /alock resetPassword [displayName or username]
- /alock lockR [displayName or username]
- /alock unlockR [displayName or username]
About
This plugin was developed for the Minecraft server Minetown (only the best), by a 14 year old programmer called Liam (liamzebedee) in around 2 days.
Servers
Here are a list of servers which currently use AccountLock. As this is a new plugin, not many people know about it, but those who do, deserve some credit for using it.
- Minetown
- Towncraft.org (IP: towncraft.org:25565)
yes, could anyone please update this plugin! would be awesome! searched ages for this :D thanks!
What Minecarft Game Version Is This Plugin Please Tell Me
@yurikoma
Hi Will Recode This For u :)
would love an update to this. if anyone does decide to update it plz send me a pm (could really use this on my server)
@broluigi
i think so, but its soo old, something could've changed drastically in minecraft's code that wouldn't let it work
does this work for 1.5
@i3LiteHD
You need to edit permissions to players to acces this command
Great plugin im using it on mine! www.survivalcraftservers.weebly.com
This seems perfect for my server but whenever I try to use it I get [IMG]//i45.tinypic.com/11aheyp.jpg" rel="noopener nofollow" target="_blank">http://i45.tinypic.com/11aheyp.jpg[/IMG">http://i45.tinypic.com/11aheyp.jpg[/IMG]
WOW! This plugin looks PERFECT for me! i cant wait to get home and try it out :D
Would you update this or recommend another plugin?
SO awesome Thanks for a great plugin!
I am currently running the latest and only available version. However I am getting the below error over and over and over in my server log.
http://pastie.org/3158827
Any ideas on a fix?
Thanks Andrew
could you make the permissions default to everyone for the setpassword command
Is it possible to add a new features? Allow admin to block locked player to move.
Because locked player can move without being hurt / loosing hunger bar....
yes, so next time I will use the ticket system ;)
@Endimmion Thanks, I'm looking into this now. I just fixed the computer, so I should be good for development again. I'm new to BukkitDev, are users such as yourself able to create tickets?
I've got a new error to report since my users start to use it. My server log is full of that
@Endimmion
Currently my development computer has been infected with a virus etc. etc. Long story short, can't develop the plugin until I get a new installation of Windows.
The plugin currently works fine, its just that the help needs to be refactored so that it shows /alock instead of /account. Regarding the other issue about the signs, this is actually a problem in the Minecraft client, as when you destroy a sign, it assumes you have permission to do so, and erases any of the signs content. So when it returns as you don't have permission, the sign is then replaced, but there is no content on it.
Any ETA when your new version will come out?