为什么需要这个?
你是否曾担心,只要勾选了“记住密码”选项,任何能够访问你电脑的人都能登录你的账号并进行破坏?现在不必再为此担忧。服务器管理员可以为玩家提供游戏内的第二层保护。
GitHub 源代码仓库链接
JAR 文件下载链接
如何使用?
AccountLock 通过存储用户设置的密码的哈希值来工作。用户可以随后锁定自己的账户,这将在用户每次登录时对账户施加一个无操作锁定。要停止这种玩家动作冻结状态,用户可以通过输入其密码来解锁账户;如果两次输入的密码哈希值一致,该账户将在此次登录期间被解锁。
为了更好地说明,让我们看一些示例
示例用法
基本用法示例
- 用户 Notch 登录
- Notch 运行 /alock setPassword 123
- 服务器现在存储了 Notch 密码的哈希值。请注意,密码本身并未实际存储
- Notch 运行 /alock lock
- 他的账户现在已被锁定。他做的任何操作,无论是移动、文字聊天还是与环境交互,都会被取消。
- 每锁定一个账户 30 秒后,会向该用户发送一条消息,提示要解锁账户必须运行 /alock unlock [password]
- Notch 登出,无需继续玩 Minecraft
- 他的弟弟迅速偷走电脑,因为 Notch 勾选了“记住密码”,所以顺利登录,并进入了他最喜欢的服务器 Minetown
- 然而不幸的是,他的弟弟徒劳无功,因为他尝试的任何操作都会被撤销。他惊恐于这个无所不能的插件
- Notch 返回,登录服务器,并运行 /alock unlock 123,然后愉快地完成了剩余的游戏会话
然而,这个插件还提供了更多功能!
被黑客攻击的账户
- Notch 的账户被黑客入侵,而他尚未使用 accountLock
- 一个随机的破坏者在全服乱跑
- 幸运的是,服务器已安装 accountLock,管理员通过执行 `/alock help` 命令了解其用法
- 使用 /alock lockR Notch,管理员远程锁定了 Notch 的账户
- Notch 终于重新获得账户访问权限,他在论坛上发帖请求解锁账户
- 管理员使用 /alock unlockR Notch,为其解锁了账户
密码遗忘
- Notch 忘记了账户密码。糟糕,在他最喜欢的服务器上无法登录 Minecraft 了吗?
- 管理员使用 /alock resetPassword Notch 重置了他的密码
临时使用
- Notch 不使用 AccountLock,因为他没有勾选“记住我”复选框,但他偶尔会离开电脑去吃多力多滋(Dorito's),不想让他的兄弟破坏他的账户
- 幸运的是,Notch 知道可以使用 /alock tempLock,仅锁定当前登录会话一次
反正会被黑客攻击,无所谓
- Notch 不再需要 AccountLock,因为他觉得自己无论如何都会被黑(至少他是这么认为的)
- Notch 运行 /alock killLock 123,终止自动锁定
命令
基础
你需要拥有 accountLock.basic 权限才能使用此功能
- /alock - 获取账户状态(已锁定或已解锁)
- /alock setPassword [密码]
- /alock lock
- /alock unlock
- /alock tempLock
- /alock help
管理员
你需要拥有 accountLock.admin 权限才能使用此功能
- /alock [显示名称或用户名] - 获取其他账户的状态(已锁定或已解锁)
- /alock resetPassword [显示名称或用户名]
- /alock lockR [显示名称或用户名]
- /alock unlockR [显示名称或用户名]
关于
本插件是为 Minecraft 服务器 Minetown(只选最好的)开发的,由一位名叫 Liam(liamzebedee)的14 岁程序员在大约 2 天内完成。
服务器列表
以下是目前使用 AccountLock 的服务器列表。由于这是一个新插件,知道它的人不多,但那些使用它的用户值得获得一些认可。
- Minetown
- Towncraft.org(IP: towncraft.org:25565)
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
Link to JAR
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)
评论 0
登录后参与评分
还没有评论,来抢沙发吧