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


Starting from v0.12, there is no need to install KotlinAPI.

自 v0.12 版本开始, 无需再安装 KotlinAPI.

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 | 配置文件:
  1. settings:
  2.   # Use the title instead for the title of the player outside the numerical range.
  3.   # 对超出数值范围玩家的称号使用该称号代替.
  4.   unknown-instead: '&7Unknown'

  5. # 使用变量 %playerranks_head_rank% 来显示这个头衔
  6. head_rank:
  7.   # count
  8.   # 数值
  9.   score: '%player_level%'
  10.   # Format: count: tag
  11.   # 格式: 数值: 对应称号
  12.   nodes:
  13.     - "0: &2新手"
  14.     - "50: &a猎手"
  15.     - "100: &d巫师"
  16.     - "200: &7&l守卫"
  17.     - "500: &3骑士"
  18.     - "1000: &b勇士"
  19.     - "1000: &e天使"
  20.     - "5000: &f&l天子"
  21.     - "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

Rinbin
抢沙发了啊~支持原创

名副其实
这个变量是用作计分数的变量
那么什么变量符做称号显示哇?

只有一个计分标准的话太少了吧
可以试着做多一点XD

鸽子安
针不戳 RPG等级可以安排上了

ew23153
本帖最后由 ew23153 于 2020-11-22 09:29 编辑

%player_level%没问题,显示的50。但/papi parse %playerranks_head_rank%它显示的还是%playerranks_head_rank%,/pr help  显示 未知指令,KotlinAPI  PlaceholderAPI有装,版本是1.12.2的

X836696023
ew23153 发表于 2020-11-22 09:20
%player_level%没问题,显示的50。但/papi parse %playerranks_head_rank%它显示的还是%playerranks_head_r ...

/papi list 看看列表是否有PlayerRanks

ew23153
本帖最后由 ew23153 于 2020-11-22 10:31 编辑
X836696023 发表于 2020-11-22 10:13
/papi list 看看列表是否有PlayerRanks

试了下PlaceholderAPI 2.9和2.10 的papi list里都没有

苏子峰
本帖最后由 苏子峰 于 2020-12-16 01:52 编辑

你好 , 可以写多个判断配置吗

X836696023
苏子峰 发表于 2020-12-16 01:50
你好 , 可以写多个判断配置吗
  • head_level:
  •   score: '%player_level%'

  • 可以,像你下面那部分用变量:%playerranks_head_exp% 就能使用.

    下一页 最后一页