此插件允许你根据权限组限制服务器上同时在线的用户数量。例如,如果你的服务器只有 20 个槽位,并希望确保访客(guests)最多只占用 5 个槽位,从而为普通玩家保留剩余槽位,你可以实现这一功能。
功能
- 强制执行按组的登录限制
- 强制执行全局登录限制
- 当玩家登出或被断开连接时,为其保留槽位一段可配置的时间
- 如果某个特定组未出现在服务器上,则不允许其他组登录(例如,当没有管理员在场时拒绝访客登录)
- 除非服务器上存在某个特定组,否则不允许新玩家登录
- 定义权限等级,使高等级玩家可以在登录队列中“跳过”低等级玩家
- 对于使用 MCBans 的用户,本插件在设计时已考虑与 MCBans 的兼容性,并在 MCBans 之前运行,以避免在玩家排队时产生 MCBans 登录垃圾信息
补充说明
为了利用按组的登录限制功能,你的服务器上必须安装一个权限框架插件:可选方案包括 Vault 或 WorldEdit(使用 WorldEdit 的 WEPIF 框架)。这是因为原生的 Bukkit “Superperms” 不支持离线权限的概念。Vault 和 WEPIF 均支持离线权限,并且几乎兼容所有现有的权限插件。
请注意,某些(许多/全部?)权限插件(我使用并测试过 PEX)会将权限向上继承到更高级别的组。因此,例如,如果你想限制访客(Guests),你可能会想到使用 "group.Guest" 权限。这没问题,但请务必在所有更高级别的组中否定该权限,否则每个组都会继承 "group.Guest",导致你的限制无法按预期工作。
config.yml
更新日志
This plugin allows you to limit the number of users who can be on your server by rank. So if you only have 20 slots and want to make sure guests never take more than 5 slots to reserve the rest for your regular players, you can do that.
Features
- Enforce per-group login limits
- Enforce global login limits
- If a player logs out/gets disconnected, hold their slot for a configurable amount of time
- Don't allow certain groups to login if another group is not present on the server (ie. refuse guests when no mods are around)
- Don't allow new players to login unless a certain group is present on the server
- Define ranks such that higher ranks players can "skip" over others in the login queue
- For those who use MCBans, this plugin was designed with MCBans in mind and runs before MCBans to avoid MCBans login spam when people are being queued
Additional Notes
In order to take advantage of the group login limits, you must have a permission framework plugin installed on your server: your choices are Vault or WorldEdit (using WorldEdit's WEPIF framework). This is because native Bukkit "Superperms" does not support the notion of offline permissions. Both Vault and WEPIF support offline permissions and both support just about every permission plugin out there.
Note that some (many/all?) permission plugins (I use and tested this with PEX) will propagate permissions up to higher ranks. So for example, if you want to restrict Guests, you might think to use a "group.Guest" permission. That's fine, but be sure to negate the permission at every higher rank, otherwise every rank will inherit "group.Guest" and your limits won't work like you'd expect.
config.yml
Changelog
下载 LoginLimiter
下载 LoginLimiter
下载 LoginLimiter
下载 LoginLimiter
下载 LoginLimiter
下载 LoginLimiter
v0.5.2 - 2012年9月12日
- 修复了与意外硬依赖 mcbans 相关的登录事件中的 NPE(空指针异常)
完整更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
创建用户友好的菜单以前往不同的世界
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧