应广大玩家要求,RankDisplayNames 是一款用于根据玩家的分组或权限在聊天显示名称中添加头衔的插件。它最初设计为轻量级分组权限管理插件 GroupPermsLite 的附加组件,但也能与任何权限管理插件配合使用。
其理念很简单:你可以按照自己的喜好创建分组权限结构,然后定义带有颜色代码(如果需要)的头衔显示名称,接着为你希望拥有显示前缀的每个分组添加 "ranks.membership.[头衔ID]" 权限。将你添加到该分组的玩家,或被分配了该权限的玩家,都将获得该头衔。简单、易用、无需繁琐操作,只需设置好即可专心运行你的服务器。
重要提示:这是一个针对分组权限管理插件的附加组件,因此它本身不负责将玩家加入头衔。为此,你必须安装并了解如何使用权限插件来授予玩家对应头衔的 ranks.membership.[rank ID] 权限
如果你不熟悉 Bukkit 权限系统,可以在此处阅读相关内容:理解权限 以及 常见问题解答
如果遇到任何问题,你可以在 教程 中找到详细说明
- 简单且易于管理的头衔系统
- 清晰简洁的命令描述
- 支持在服务器运行时创建、编辑和删除头衔
- 高级用户可以使用配置文件 YAML 离线管理头衔
- 头衔与 Bukkit 权限系统集成,因此可以通过权限分配给玩家或分组
- 支持使用 % 符号及 § 符号为头衔添加 颜色代码
- 持有特定头衔的玩家将在其聊天显示名称前添加该头衔前缀
- 能在一秒内检测玩家头衔变化并相应更新其显示名称
- 设置玩家列表名称以匹配头衔颜色
- 如果安装了 TagAPI,还会将玩家头顶名称颜色设置为匹配头衔颜色
- 支持 LanguageAPI,适用于国际化和多语言服务器(请参阅 翻译文件)
- 对显示名称进行全面自定义,包括后缀以及可能的字符串变异功能
- 对列表标签页名称进行独立自定义,包括选择不干扰任一名称的选项,以便与其他插件兼容
| 命令 |
权限 |
描述 |
| /RankCreate [头衔ID] [显示名称] |
ranks.commands.rankcreate (默认 op) |
使用给定的 ID 和显示名称创建新头衔。显示名称可以包含颜色代码和空格,而 ID 不可以 |
| /RankDelete [头衔ID] |
ranks.commands.rankdelete (默认 op) |
删除现有头衔 |
| /RankEdit [头衔ID] [显示名称] |
ranks.commands.rankedit (默认 op) |
更改现有头衔的显示名称。显示名称可以包含颜色代码和空格 |
| /RankList |
ranks.commands.ranklist (默认 op) |
按优先级顺序显示所有头衔及其权限和显示名称 |
| /RankReload |
ranks.commands.rankreload (默认 op) |
从 config.yml 重新加载头衔配置,允许你在不重启服务器的情况下加载所做的更改 |
- ranks.admin (默认无) - 授予所有 ranks.commands 权限
- ranks.membership.[头衔ID] (默认无) - [头衔ID] 应替换为实际的头衔 ID,授予该头衔的成员资格
- 将 RankDisplayNames.zip 解压到你的 plugins 目录中
- (可选)如果你希望实现头顶显示名称颜色功能,请下载并安装 TagAPI
- (可选)如果你希望提供对其他语言的支持,请下载并安装 LanguageAPI
- 重启服务器
点击此处查看教程
本插件与任何会更改玩家显示名称、列表名称或头顶名称的其他插件不兼容。如果可以,请关闭这些功能,或在启用 RankDisplayNames 之前禁用其他相关插件。
本插件使用 Java 7
如果在安装此插件并启动服务器时出现以下错误:“Unsupported major.minor version 51.0”,则说明您使用的 Java 版本已过时。如果您不知道如何升级,请联系您的服务器托管提供商,请求他们协助升级到 Java 7,或联系 Oracle 客户支持。Mac OS X 用户需要 JDK 7,而非 JRE 7。
如果您希望为本项目的持续开发、支持和维护做出贡献,请考虑加入我的 Patreon,进行一次性或定期捐助。
如果您需要帮助,可以在下方留言,我会尽快回复您。您也可以通过以下链接加入我的 IRC 聊天室。请注意,我不一定随时在线!
By popular demand, RankDisplayNames is a means to add ranks to chat display names for players based on their group or permissions. This was designed as an add-on to the GroupPermsLite light-weight group permission management plugin, but should work with any permission management plugin.
The idea is simple, you create your group permission structure as you like it, then you create your Rank display names complete with colour codes (if you want them), and then add the "ranks.membership.[whatever the rank ID is]" permission to each group you want to have a display prefix. Any player you add to that group, or assign that permission will have that rank. Simple, easy, no fuss, just set it up and get on with running your server.
Important note: This is an ADD-ON for a group permission management plugin, as such it DOES NOT handle adding players to Ranks. For that you must have installed and know how to use a permissions plugin to grant players the ranks.membership.[rank ID] permission for that rank
If you are not familiar with Bukkit permissions, you can read up on them here: Understanding Permissions and in the FAQ
If you have any trouble, you can find detailed instructions in the Tutorial
- Simple and easy to manage ranks
- Clear and concise command descriptions
- Ability to create, edit and delete ranks while the server is running
- Advanced users can manage ranks offline using the config YAML
- Ranks tie in with the Bukkit permissions system, so can be assigned to players or groups using permissions
- Supports colour codes for ranks using the % sign as well as §
- Players holding to a rank will have it prefixed to their chat display name
- Detects rank changes for players within a second and updates their display names accordingly
- Sets player list names to match rank colour
- If the TagAPI is installed, also sets player overhead name colour to match the rank
- Supports LanguageAPI for international and multi-language servers (see Translations)
- Full customisation for display names, including suffixes and possibly string mutations
- Separate customisation for list tab names, including the option not to interfere with either name for compatibility with other plugins
| Command |
Permission |
Description |
| /RankCreate [rank ID] [display name] |
ranks.commands.rankcreate (default op) |
Creates a new rank with the given ID and display name. Display names can contain colour codes and spaces, IDs cannot |
| /RankDelete [rank ID] |
ranks.commands.rankdelete (default op) |
Deletes an existing rank |
| /RankEdit [rank ID] [display name] |
ranks.commands.rankedit (default op) |
Changes the display name for an existing rank. Display names may contain colour codes and spaces |
| /RankList |
ranks.commands.ranklist (default op) |
Displays all ranks with their permissions and display names in order of precedence |
| /RankReload |
ranks.commands.rankreload (default op) |
Reloads ranks from the config.yml, allowing you to load in changes to it without restarting the server |
- ranks.admin (default none) - Grants all ranks.commands permissions
- ranks.membership.[rank ID] (default none) - [rank ID] should be replaced with the rank ID, grants membership to a rank
- Unzip RankDisplayNames.zip into your plugins directory
- (Optional) If you want overhead display name colours, download and install TagAPI
- (Optional) If you want to provide support for other languages, download and install LanguageAPI
- Restart your server
Click here for Tutorial
Compatibility and Troubleshooting
This plugin will not be compatible with any other plugin that changes player display names, list names or overhead names. If you can, turn those features off, or disable those other plugins before enabling RankDisplayNames.
This plugin uses Java 7
If you get the followed error on starting up the server with this plugin installed "Unsupported major.minor version 51.0". This means you are using an out of date version of Java. If you don't know how to upgrade, please contact your server hosting provider and ask them for help in upgrading to Java 7, or contact Oracle customer support. Mac OS X users require JDK 7 instead of JRE 7.
If you'd like to contribute towards the continued development, support and maintenance of this project, please consider joining me on Patreon, and making a one-time or recurring pledge.
If you need help you can leave a comment below and I will get back to you as soon as I can. You can also join my IRC chatroom using the following link. Please note, I am not always at my keyboard!
评论 0
登录后参与评分
还没有评论,来抢沙发吧