SlotGroups
一种不同的槽位管理方法。
描述
SlotGroups 允许你创建多个独立的槽位组。每个组都有各自的最大玩家数量和满员踢出消息,从而实现比典型预留槽位更高级的槽位管理。
例如,你可以为你的 10 名管理员和版主创建一个包含 10 个槽位的槽位组,并将默认槽位组设置为 30 个槽位。这将允许所有 10 名版主和管理员同时在线,而不会占用普通玩家组的 30 个槽位,同时仍将服务器上的总人数上限保持在 40 人。
你可以配置任意数量的槽位组,创造出许多有趣的可能性。最近实现了槽位继承功能,进一步增加了可能性。
我制作这个插件是为了满足我服务器上非常特定的需求,因此它目前仍然相当专业化。我正在努力添加更多功能以使其更具普遍吸引力,并且非常欢迎功能请求!如果你希望添加某些功能,请在 SlotGroups Redmine 上提交请求或在此处发布。
功能
- 创建多个独立或继承的槽位组。
- 为不同玩家或组设置不同的最大槽位数。
- 使槽位分配更加公平。
- 让某些槽位组“溢出”到其他组中。
- 用户可自动被放入“默认”槽位组。
- 在游戏中管理用户槽位组成员身份。
- 将服务器置于锁定模式,除特定用户外阻止所有人加入。
- 在配置文件中添加/编辑/删除槽位组,然后使用 `/slotgroups reload` 在游戏中应用更改。
- 游戏内槽位组列表。
- 需要 Vault >=1.2.8
- 建议使用 Vault >=1.2.15
使用方法
- 下载并解压 .zip 包。
- 将 .zip 中的内容放入你的 Plugins 文件夹。
- 根据需要配置 SlotGroups.yml。
- 将 server.properties 中的 max-players 设置为所有槽位组的槽位总数。
- 根据需要向组或用户添加相关的 SlotGroups 命令和槽位组权限。
- 享受吧!
命令
- /slotgroups (/sg)
- /sg list
- /sg reload
- /sg version
- 向用户显示版本信息。拥有 slotgroups.version 权限的用户在运行此命令时还会收到新版本通知。(更新检查通过连接到 api.curseforge.com 完成)
- /sg lockdown
- 锁定所有未设置 override 为 true 的槽位。
- /sg unlock
- /slotgroupsuser (/sguser)
- /sguser set <user> <group>
- /sguser remove <user> <group>
- 将 <user> 从槽位组 <group> 中移除。
- /sguser info <user>
权限
- slotgroups.list
- slotgroups.version
- 允许版本命令对 api.curseforge.com 执行更新检查
- slotgroups.reload
- slotgroups.lockdown
- 授予访问 `/sg lockdown` 和 `/sg unlock` 的权限。
- slotgroups.user.set
- slotgroups.user.remove
- 授予访问 `/sguser remove` 的权限。
- slotgroups.user.info
- slotgroups.group.<group>
链接
待办事项
- 添加按组配置的登录队列。
- 添加可选的按组 AFK 设置。
- 为槽位组和计数创建公共 API。
- 添加用于操作槽位组的游戏内命令。
- 添加用于操作槽位组权限组成员身份的游戏内命令。
- 发布配套的 /who 插件,支持显示槽位组槽位数。
- 添加更多配置选项。
- 添加在游戏内锁定/解锁特定槽位的命令。
图片
- `/slotgroups list` 输出:
冲突
已知限制/错误
- 你应该将 server.properties 中的 max-players 设置为等于所有槽位组中的槽位数量,以防止出现问题。
- 现有插件不了解槽位组,将报告你在 server.properties 中设置的 max-players 数量。我将发布我在服务器上使用的 /who 插件,该插件了解槽位组。
- 更改权限组的槽位组后,需要执行 /sg reload 或重启服务器才能生效。
SlotGroups
A different approach to slot management.
Description
SlotGroups gives you the ability to create multiple independent slot groups. Each one has their own maximum player count and group full kick messages, enabling more advanced slot management than is possible with typical reserved slots.
For example, you could give your 10 admins and moderators a slot group with 10 slots and set the default slot group to be 30 slots. This would allow all of the 10 moderators and admins to be on the server without taking up any of the 30 slots in the normal player group, while still keeping an overall cap of 40 players on the server.
You can configure as many slot groups as you like, creating some interesting possibilities. Slot inheritance has been implemented recently, increasing the possibilities even further.
I made this plugin to fill a very specific need on my server, and as such it is still pretty specialized. I'm working on adding more features to give it more general appeal, and am definitely looking for feature requests! If there's something you'd like to see added, please request it on the SlotGroups Redmine or post it here.
Features
- Create multiple independent or inherited slot groups.
- Have different maximum slot counts for different players or groups.
- Make slot distribution more fair.
- Have certain slot groups 'overflow' into others.
- Users can automatically be put in a 'Default' slot group.
- Manage user slot group membership from within the game.
- Put the server in lockdown mode, preventing all but specific users from being able to join.
- Add/Edit/Remove slot groups in the config file, then apply in-game using `/slotgroups reload`.
- Slot group in-game list.
- Requires Vault >=1.2.8
- Recommended to use Vault >=1.2.15
How to Use
- Download and extract the .zip package.
- Place the contents of the .zip in your Plugins folder.
- Configure SlotGroups.yml to your liking.
- Set your max-players in your server.properties to the total number of slots in all slot groups.
- Add relevant SlotGroups command and slot group permissions to groups or users as desired.
- Enjoy!
Commands
- /slotgroups (/sg)
- Shows the main command syntax.
- /sg list
- Lists all loaded slot groups plus their current and max players.
- /sg reload
- Reloads the configuration file from disk.
- /sg version
- Displays version information to users. Users with the slotgroups.version permission will also be notified of new versions when running this command. (Update check done by a connection to api.curseforge.com)
- /sg lockdown
- Locks all slots that do not have override set to true.
- /sg unlock
- /slotgroupsuser (/sguser)
- Shows the syntax for user management commands.
- /sguser set <user> <group>
- Puts <user> into slot group <group>.
- /sguser remove <user> <group>
- Removes <user> from slot group <group>.
- /sguser info <user>
- Shows slot group information for <user>.
Permissions
- slotgroups.list
- Gives access to `/sg list`.
- slotgroups.version
- Allows the version command to perform an update check against api.curseforge.com
- slotgroups.reload
- Gives access to `/sg reload`.
- slotgroups.lockdown
- Gives access to `/sg lockdown` and `/sg unlock`.
- slotgroups.user.set
- Gives access to `/sguser set`.
- slotgroups.user.remove
- Gives access to `/sguser remove`.
- slotgroups.user.info
- Gives access to `/sguser info`.
- slotgroups.group.<group>
- Puts a group or user in slot group <group>.
Links
To Do
- Add per-group configurable login queue.
- Add optional per-group AFK settings.
- Create public API for slot groups and counts.
- Add in-game commands for manipulating slot groups.
- Add in-game commands for manipulating slot groups Permissions group membership.
- Release accompanying /who plugin with support for displaying slot group slot counts.
- Add more configuration options.
- Add command to lock/unlock specific slots while in-game.
Images
- `/slotgroups list` output:
Conflicts
- Any slot reservation plugin.
Known Limitations/Bugs
- You should set your server.properties max-players to equal the number of slots in all your slot groups to prevent issues.
- Existing plugins are not slot group aware and will report the number of max-players in your server.properties. I will be releasing the /who plugin I use on my server that is slot group aware.
- Changing a Permissions group's slot group won't take effect until /sg reload or the server restarts.
评论 0
登录后参与评分
还没有评论,来抢沙发吧