本帖最后由 X836696023 于 2021-1-5 22:23 编辑
PlayerRanks - 玩家头衔

Features | 特性:
Commands | 命令:
Images | 图片:

Config | 配置文件:
复制代码
Releases | 发布:
Click to enter | 点击进入
Links | 链接:

来自群组: Server CT
PlayerRanks - 玩家头衔
Features | 特性:
- According to the numerical judgment, change the corresponding title of the player to realize the title.
- Support PlaceholderAPI as a data variable to promote title changes.
- The plugin has been running on the 1.16 server for 3 months without any performance problems.
- Configuration file nodes can ignore case.
- The plugin is open source on GitHub under the GPLv3.0 agreement, please make sure to use the plugin in compliance with the agreement.
- 根据数值判断改玩家对应称号, 实现头衔.
- 支持 PlaceholderAPI 作为数据变量推动头衔变动.
- 该插件在已有 1.16 服务器运行 3 个月之长, 无任何性能问题.
- 配置文件节点均可忽略大小写.
- 插件在 GitHub 以 GPLv3.0 协议开源, 请确保在遵守协议的情况下使用该插件.
Commands | 命令:
- /pr help - List all help information | 显示帮助列表
- /pr update - Update the title of the specified player | 对指定玩家更新头衔
- /pr reload - Reload configuration file | 重新载入配置文件
Images | 图片:

Config | 配置文件:
- settings:
- # Use the title instead for the title of the player outside the numerical range.
- # 对超出数值范围玩家的称号使用该称号代替.
- unknown-instead: '&7Unknown'
- # 使用变量 %playerranks_head_rank% 来显示这个头衔
- head_rank:
- # count
- # 数值
- score: '%player_level%'
- # Format: count: tag
- # 格式: 数值: 对应称号
- nodes:
- - "0: &2新手"
- - "50: &a猎手"
- - "100: &d巫师"
- - "200: &7&l守卫"
- - "500: &3骑士"
- - "1000: &b勇士"
- - "1000: &e天使"
- - "5000: &f&l天子"
- - "10000: &b&l冠军"
Releases | 发布:
Click to enter | 点击进入
Links | 链接:
If you have any questions or feature suggestions, please go to GitHub Issue for feedback.
如果有任何问题或者功能建议, 欢迎前往 GitHub Issue 反馈
本插件所用所有代码均为原创,不存在借用/抄袭等行为
来自群组: Server CT
抢沙发了啊~支持原创
这个变量是用作计分数的变量
那么什么变量符做称号显示哇?
只有一个计分标准的话太少了吧
可以试着做多一点XD
那么什么变量符做称号显示哇?
只有一个计分标准的话太少了吧
可以试着做多一点XD
针不戳 RPG等级可以安排上了
本帖最后由 ew23153 于 2020-11-22 09:29 编辑
%player_level%没问题,显示的50。但/papi parse %playerranks_head_rank%它显示的还是%playerranks_head_rank%,/pr help 显示 未知指令,KotlinAPI PlaceholderAPI有装,版本是1.12.2的
%player_level%没问题,显示的50。但/papi parse %playerranks_head_rank%它显示的还是%playerranks_head_rank%,/pr help 显示 未知指令,KotlinAPI PlaceholderAPI有装,版本是1.12.2的
ew23153 发表于 2020-11-22 09:20
%player_level%没问题,显示的50。但/papi parse %playerranks_head_rank%它显示的还是%playerranks_head_r ...
/papi list 看看列表是否有PlayerRanks
本帖最后由 ew23153 于 2020-11-22 10:31 编辑
试了下PlaceholderAPI 2.9和2.10 的papi list里都没有
X836696023 发表于 2020-11-22 10:13
/papi list 看看列表是否有PlayerRanks
试了下PlaceholderAPI 2.9和2.10 的papi list里都没有
本帖最后由 苏子峰 于 2020-12-16 01:52 编辑
你好 , 可以写多个判断配置吗
你好 , 可以写多个判断配置吗
- head_level:
- score: '%player_level%'
- nodes:
- - "0: &2新手"
- - "50: &a猎手"
- - "100: &d巫师"
- - "200: &7&l守卫"
- - "500: &3骑士"
- - "1000: &b勇士"
- - "1000: &e天使"
- - "5000: &f&l天子"
- - "10000: &b&l冠军"
- head_exp:
- score: '%player_exp%'
- nodes:
- - "0: &2新手"
- - "50: &a猎手"
- - "100: &d巫师"
- - "200: &7&l守卫"
- - "500: &3骑士"
- - "1000: &b勇士"
- - "1000: &e天使"
- - "5000: &f&l天子"
- - "10000: &b&l冠军"
苏子峰 发表于 2020-12-16 01:50
你好 , 可以写多个判断配置吗head_level: score: '%player_level%'
可以,像你下面那部分用变量:%playerranks_head_exp% 就能使用.