
关于
一款与 bPermissions 配合使用的简易权限组管理插件。
bPermsRank 是一款旨在与 bPermissions 协同工作并实现便捷的用户组切换及切换通知的简单插件。该插件使用 bPermissions 内置的 API,但为用户切换玩家所属用户组提供了更友好的操作体验。此外,此插件允许服务器管理员为每个用户组设置权限,从而限制不同玩家只能晋升到指定的用户组。这类似于 bPermissions 的 /promote 命令,但 bPermsRank 会提供更多选项,并在你操作失误时提供更具友好性的反馈提示。
下载
依赖项
主要功能
- 支持通过权限限制谁能设置单个用户的用户组
- 输入无效数据时提供友好的反馈提示
- 支持按世界单独更改用户组
- 支持通过单一命令在所有世界中更改用户组
- 如果目标玩家不在线,会提示你使用 /rankoffline 命令
- 所有命令均可在服务器控制台执行
- 可以查询任何玩家(无论在线或离线)的用户组信息。
- 如果你输入了无效的世界名称,会收到通知
- 如果你没有指定用户组的权限,会收到通知
- (可选)在 config.yml 中自定义消息
- (可选)当玩家等级变更时,向全服广播通知
- (可选)通知被更改等级的玩家其等级变更情况、操作者以及变更后的等级。
- (可选)通知发送命令的玩家等级变更成功
命令
| 命令 | 用法 |
|---|---|
| /rank (player) (group) | 将指定玩家在 config.yml 中配置的所有世界中的用户组设置为你指定的值 |
| /rank (player) (group) (world) | 仅将指定玩家在指定世界中的用户组设置为你指定的值。 |
| /rankoffline (player) (group) | 将指定离线玩家在 config.yml 中配置的所有世界中的用户组设置为你指定的值 |
| /rankoffline (player) (group) (world) | 仅将指定离线玩家在指定世界中的用户组设置为你指定的值。 |
| /rankinfo (player) (group) (world) | 显示指定玩家的用户组信息。如果该玩家在你的权限文件中不存在,则显示默认用户组。如果存在,则列出该玩家所属的所有用户组。 |
| /bpermsrank | 显示 bPermsRank 的命令及其用法 |
| /bpermsrank reload | 重新加载 config.yml,以便你在服务器运行时手动更改设置。 |
权限
本插件的权限设置非常简单。所有需要使用本插件的人都需要拥有 bpermsrank.rank 权限,并且每个你想要允许玩家晋升到的用户组都必须拥有各自独立的权限节点。
| 节点 | 用法 |
|---|---|
| bpermsrank.reload | 重新加载 config.yml |
| bpermsrank.rank | 允许使用 /rank 命令 |
| bpermsrank.rankoffline | 允许使用 /rankoffline 命令 |
| bpermsrank.rank.[group] | 晋升到指定用户组 |
| bpermsrank.norank | 如果将此权限赋予某玩家,除非使用 rankoffline 命令,否则其等级无法更改 |
| bpermsrank.rankinfo | 检查玩家的用户组 |
配置
首次运行 bPermsRank 时,插件会生成一个默认的 config.yml,你几乎肯定需要对其进行修改以符合你的需求。config.yml 中包含注释,会告诉你各项配置应如何填写。编辑时请务必保持与默认文件相同的格式。
安装
- 将 bPermsRank 放入你的 plugins 文件夹
- 启动服务器以生成默认 config.yml
- 关闭服务器
- 编辑位于 /plugins/bPermsRank/ 下的 config.yml
- 为你希望的用户组添加相应的权限
- 启动服务器
即将推出的功能:
- 欢迎提出建议
添加开启/关闭通知的选项v1.1添加用于更改离线玩家等级的权限节点v1.2通用代码清理v1.3添加查询离线/在线玩家用户组的命令v1.4添加在配置文件中定义自定义消息的功能v1.5
需要帮助或只是想聊聊? 请在 EsperNet 上的 #MutinyDev 或 #MutinyCraft 找到我
注意:本项目与 bPermissions 无关

About
Simple ranking plugin for use with bPermissions.
bPermsRank was created as a simple plugin to work alongside bPermissions and allow easy group changing and group change notifications. This plugin uses the bPermissions built in API, but it adds a more user friendly feel to changing the group of a player. This plugin also allows a server admin to set permissions for each group so that different players can rank to different groups. This is similar to the bPermissions /promote command, but bPermsRank will provide you with more options and user friendly feedback if you make a mistake.
Download
Dependencies
Main Features
- Permissions support to limit who can set individual groups
- User friendly feedback when invalid data is entered
- Group changes per world
- Group changes in all worlds via a single command
- If a player is not online it will tell you to use the /rankoffline command
- All of the commands also work from the server console
- Will let you check the group(s) of any player whether they are offline or online.
- Will notify you if the world you entered is invalid
- Will notify you if you do not have permission for a given group
- (Optional) Custom messages defined by you in the config.yml
- (Optional) Notifies the entire server via a broadcast message when the rank of a player is changed
- (Optional) Notifies the player that was ranked of his/her rank change, who ranked them, and what they were ranked to.
- (Optional) Notifies the player that sent the command of the successful rank change
Commands
| Command | Usage |
|---|---|
| /rank (player) (group) | Sets the group of the provided player to what you specify in all the worlds you entered in the config.yml |
| /rank (player) (group) (world) | Sets the group of the provided player to what you specify only in the world you specify. |
| /rankoffline (player) (group) | Sets the group of the provided offline player to what you specify in all the worlds you entered in the config.yml |
| /rankoffline (player) (group) (world) | Sets the group of the provided offline player to what you specify only in the world you specify. |
| /rankinfo (player) (group) (world) | Shows the group(s) of the player that is specified. If the player does not exist in your permissions file it will show default group. If the player does exist it will list all groups that the player belongs to. |
| /bpermsrank | Displays commands and their usage for bPermsRank |
| /bpermsrank reload | Reloads the config.yml so you may manually change the settings while the server is running. |
Permissions
The permissions for this plugin are very simple. Everyone that is going to use this plugin will need the bpermsrank.rank permission and each group that you want to be able to rank to must have it's own permission node.
| Node | Usage |
|---|---|
| bpermsrank.reload | Reloads the config.yml |
| bpermsrank.rank | Allows the use of the /rank command |
| bpermsrank.rankoffline | Allows the use of the /rankoffline command |
| bpermsrank.rank.[group] | Rank to specified group |
| bpermsrank.norank | If this permission is give to a player their rank cannot be changed unless you use the rankoffline command |
| bpermsrank.rankinfo | Check the group(s) of a player |
Configuration
When you first run bPermsRank the plugin will generate a default config.yml that you will almost positively need to modify to fit your needs. There are comments in the config.yml that will tell you what should go where. Make sure to use the same formatting that is in the default one when you edit it.
Installation
- Put bPermsRank in your plugin folder
- Start server to generate default config.yml
- Shut down server
- Edit the config.yml that is found in /plugins/bPermsRank/
- Add the proper permissions to you desired groups
- Start server
Upcoming Features:
- Feel free to make a request
Add the option to turn on/off notificationsv1.1Add a permission node to rank offline playersv1.2General code cleanupv1.3Add command to check offline/online player's groupv1.4Add custom messages defined in configv1.5
Need help or just want to chat? Find me on EsperNet on #MutinyDev or #MutinyCraft
Note: This project is not affiliated with bPermissions
下载 bPermsRank
下载 bPermsRank
下载 bPermsRank
下载 bPermsRank
下载 bPermsRank
下载 bPermsRank
下载 bPermsRank
下载 bPermsRank
下载 bPermsRank
下载 bPermsRank
v1.9
- 添加了权限节点,可防止玩家被更改等级。(bpermsrank.norank)
v1.8
- 移除了 v1.7 中用于在更改等级时更新权限的临时方案。(此问题已在 bPermissions v2.9.17 中得到修复)
v1.7
- 修复了在使用 bPermissions v2.9.13 或更高版本时,bPermissions 未同步更新组别变更的问题。
v1.6
- 更新了 1.3.1 版本的引用说明
- 无代码变更
v1.5
- 重写了大量代码以提高效率
- 添加了可在 config.yml 中自定义的消息
- 自定义消息支持通过 "&" 符号后跟对应颜色值来使用颜色代码。例如 &c 表示红色。
注意:若要使用自定义消息,您需要删除现有的 config.yml 并让插件生成一个新的配置文件;或者您可以在新的默认 config.yml 底部添加这三行。点击此处查看。 此操作完全可选,如果您愿意也可以保留原有配置不变。如果在配置文件中未找到自定义消息,插件将自动使用默认消息。
v1.4
- 所有命令均可从控制台执行
- 新增了命令 "/rankinfo"
- 新增了权限节点:"bpermsrank.rankinfo"
v1.3
- 现使用 bPermmisions API
v1.2
- 增加了对离线玩家进行排名的功能
- 新增了命令 "/rankoffline"
- 新增了权限节点 "bpermsrank.rankoffline"
- 进行了常规代码清理
v1.1
- 修复了与 Java 1.6 的不兼容问题。
- bPermsRank 现兼容 Java 1.6 和 1.7
- 在 config.yml 中增加了 "broadcast" 选项
- 在 config.yml 中增加了 "notifyranked" 选项
- 在 config.yml 中增加了 "nofitysender" 选项
- 新增命令 "/bpermsrank",用于显示帮助信息和命令用法
- 服务器运行时重载 config.yml。使用方法:"/bpermsrank reload"
v1.0
- 首次发布
目前已知的问题:无
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
创建用户友好的菜单以前往不同的世界
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧