该插件提供基础的监禁功能。你可以设置两个点位:监狱点(Jail point)和出狱点(Unjail point)。当你对玩家执行监禁时,他/她将被传送至监狱点,并被降级为 config.yml 中指定的权限组。解除监禁后,玩家将恢复原有权限等级并传送至出狱点。
SimpleJail 3 现已完成!它是从头开始的重写版本,与 SimpleJail 2.x 没有任何共享代码。不过,其功能集保持完全一致。这并不意味着它只是一个无用的更新,因为它基本上使代码库重新变得可维护。希望这能让未来的更新不再那么繁琐。
请注意,SimpleJail 3 不向后兼容。你不能直接替换它并期望一切正常运行。在运行 SimpleJail 3 之前,你必须删除 SimpleJail 的数据文件夹。幸运的是,鉴于该插件非常简单,预计这不会造成太大麻烦。尽管我已经对 SimpleJail 3 进行了全面测试,但由于它是全新版本,可能存在漏洞。如果你发现任何问题,请在此处报告,不要仅仅在此页面留下评论。即使是功能请求,也欢迎在那里提交工单。管理 GitHub 上的问题比在评论页面上容易得多。
最后,关于 SimpleJailCells 的未来:它目前尚未更新以支持 SimpleJail 3,但我希望在不久的将来能实现这一点。凭借全新的 API 和全新版本,我认为可以实现相关功能,但这确实是一个棘手的问题。我仍然有些反对将牢房作为核心功能添加,主要是担心功能蔓延,但我还没有完全排除这种可能性。
感谢继续使用 SimpleJail。
功能:
- 使用 /setjail 和 /setunjail 轻松设置两个传送位置
- 在配置文件中设置被监禁玩家将被降级的权限组
- 保存玩家的初始权限组,因此普通被监禁玩家在解除监禁后将恢复为普通等级,而拥有 VIP 身份的玩家将恢复为 VIP 身份
- 支持 Vault
- 在监狱中的玩家将在监狱内重生
- 你可以临时监禁玩家,他们将在设定时间后自动解除监禁
- 即使玩家离线,你也可以对他们执行监禁/解除监禁操作
权限节点:
- simplejail.jail — 允许使用 /jail
- simplejail.unjail — 允许使用 /unjail
- simplejail.setjail — 允许使用 /setjail 和 /setunjail
- simplejail.jailtime — 允许使用 /jailtime
- simplejail.* — 允许所有 SimpleJail 命令
下载 SimpleJail 3.0.1
GitHub 上的 SimpleJail
This plugin gives bare basic jail functionality. It allows you to set two points: the Jail point and the Unjail point. Then, when you jail a player, he/she will be teleported to the jail point and demoted to the Permissions group specified in the config.yml. Unjail will re-promote the player and teleport back out of the jail to the unjail point.
SimpleJail 3 is now complete! It is a complete rewrite from the ground-up. It shares no code with SimpleJail 2.x. However, the featureset has remained exactly the same. This does not mean that it's just a useless update, though, since it basically makes the codebase maintainable again. This will hopefully make updates less of a chore in the future.
Please note, SimpleJail 3 is not backwards-compatible. You cannot just drop it in and expect everything to work. You must delete the SimpleJail data folder before running SimpleJail 3. Fortunately, I don't expect this to be too much of a hassle since the plugin is so simple. While I have tested SimpleJail 3 thoroughly, since it is completely new, it may have bugs. Please, if you find any, report them here, do not just leave a comment on this page. Even if it's a feature request, feel free to open a ticket there. It's easier for me to manage issues there than it is on a comment page.
Finally, about the future of SimpleJailCells: it is not currently updated to work with SimpleJail 3, but I would like to do so sometime soon. With a completely new version with a new API, I think I can get something working, but it's a tricky issue. I'm still somewhat opposed to adding cells as a core feature, simply because I'm worried about feature creep, but I haven't ruled it out yet.
Thanks for sticking with SimpleJail.
Features:
- Use /setjail and /setunjail to easily set the two teleport locations
- Set the group that jailed players will be demoted to in the config file
- Players' initial groups are saved, so a normal jailed player will revert to a normal rank when unjailed, and a player with the VIP class will revert to the VIP class
- Works with Vault
- Players in jail will respawn in jail
- You can tempjail players who will be automatically unjailed after a set time
- You can jail/unjail players even while they are offline
Permissions nodes:
- simplejail.jail — Allows the use of /jail
- simplejail.unjail — Allows the use of /unjail
- simplejail.setjail — Allows the use of /setjail and /setunjail
- simplejail.jailtime — Allows the use of /jailtime
- simplejail.* — Allows all SimpleJail commands
Download SimpleJail 3.0.1
SimpleJail on GitHub
评论 0
登录后参与评分
还没有评论,来抢沙发吧