查看: 359|回复: 0

【基础】【前置API】PlaceholderAPI——必备的占位符前置插件

[复制链接]

16

威望

3

铁锭

59

主题

管理员

威望
16
煤矿
1422
金粒
548
铁锭
3
人气
34
在线时间
176 小时

镇站之宝

发表于 2024-6-20 16:26:55 | 显示全部楼层 |阅读模式 IP属地: 中国
插件
名称: PlaceholderAPI占位符
英文名称: PlaceholderAPI
来源: 转载
类型: 基础 前置API 
支持版本: 1.20.X 1.19.X 1.18.X 1.17.X 1.16.X 1.15.X 1.14.X 1.13.X 1.12.2 1.12.1 1.12 1.11.X 1.10.X 1.9.X 1.8.9 1.8.8 1.8 
支持服务端:  Spigot Paper Purpur Folia 其他 
前置插件:
原帖地址: https://www.spigotmc.org/resources/placeholderapi.6245/
下载: https://www.spigotmc.org/resources/placeholderapi.6245/
支持语言:
介绍:非常基础的插件,主要提供占位符,比如说%time%,其他插件可以更改或创建一个占位符,给它赋予内容。所以有些插件的配置文件就有什么%death%之类的。很多插件都需要它,这个插件几乎不用管它的配置文件和权限,因为我们都用不到,顶多装新插件或调试的时候用。




Folia官方并不支持,这里提供第三方适配版本



指令:

/papi bcparse <player|--null|me> <string>
/papi cmdparse <player|me> <string>
/papi parse <player|--null|me> <string>
/papi parserel <player> <player> <string>

eCloud
/papi ecloud status
/papi ecloud clear
/papi ecloud download <expansion> [version]
/papi ecloud update <expansion/all>
/papi ecloud info <expansion> [version]
/papi ecloud list <all|<author>|installed>
/papi ecloud placeholders <expansion>
/papi ecloud refresh


/papi info <expansion>
/papi list
/papi register <jar file>
/papi unregister <jar file>

其他
/papi dump
/papi reload
/papi version



权限:
  1. permissions:
  2.   placeholderapi.*:
  3.     description: "Ability to use all PAPI commands"
  4.     children:
  5.       placeholderapi.admin: true
  6.       placeholderapi.ecloud.*: true
  7.   placeholderapi.admin:
  8.     description: "Ability to use all PAPI commands"
  9.     children:
  10.       placeholderapi.help: true
  11.       placeholderapi.info: true
  12.       placeholderapi.list: true
  13.       placeholderapi.parse: true
  14.       placeholderapi.reload: true
  15.       placeholderapi.version: true
  16.       placeholderapi.register: true
  17.       placeholderapi.unregister: true
  18.       placeholderapi.updatenotify: true
  19.   placeholderapi.ecloud.*:
  20.     description: "Ability to use all PAPI ecloud commands"
  21.     children:
  22.       placeholderapi.ecloud: true
  23.       placeholderapi.ecloud.info: true
  24.       placeholderapi.ecloud.list: true
  25.       placeholderapi.ecloud.clear: true
  26.       placeholderapi.ecloud.status: true
  27.       placeholderapi.ecloud.update: true
  28.       placeholderapi.ecloud.refresh: true
  29.       placeholderapi.ecloud.download: true
  30.       placeholderapi.ecloud.placeholders: true
  31.   placeholderapi.help:
  32.     default: "op"
  33.     description: "Allows you to view the list of PAPI commands"
  34.   placeholderapi.info:
  35.     default: "op"
  36.     description: "Allows you to view expansion information"
  37.   placeholderapi.list:
  38.     default: "op"
  39.     description: "Allows you to list active expansions"
  40.   placeholderapi.ecloud:
  41.     default: "op"
  42.     description: "Allows you to access PAPI eCloud"
  43.   placeholderapi.parse:
  44.     default: "op"
  45.     description: "Allows you to parse placeholders"
  46.   placeholderapi.reload:
  47.     default: "op"
  48.     description: "Allows you to reload PAPI and its configuration"
  49.   placeholderapi.version:
  50.     default: "op"
  51.     description: "Allows you to view the version of PAPI installed"
  52.   placeholderapi.register:
  53.     default: "op"
  54.     description: "Allows you to register expansions"
  55.   placeholderapi.unregister:
  56.     default: "op"
  57.     description: "Allows you to unregister expansions"
  58.   placeholderapi.updatenotify:
  59.     default: "op"
  60.     description: "Notifies you when there is a PAPI update"
  61.   placeholderapi.ecloud.info:
  62.     default: "op"
  63.     description: "Allows you to view cloud expansion information"
  64.   placeholderapi.ecloud.list:
  65.     default: "op"
  66.     description: "Allows you to list eCloud expansions"
  67.   placeholderapi.ecloud.clear:
  68.     default: "op"
  69.     description: "Allows you to clear the local eCloud expansion cache"
  70.   placeholderapi.ecloud.status:
  71.     default: "op"
  72.     description: "Allows you to view the status of eCloud expansions"
  73.   placeholderapi.ecloud.update:
  74.     default: "op"
  75.     description: "Allows you to update registered eCloud expansions"
  76.   placeholderapi.ecloud.refresh:
  77.     default: "op"
  78.     description: "Allows you to refresh the local eCloud expansion cache"
  79.   placeholderapi.ecloud.download:
  80.     default: "op"
  81.     description: "Allows you to download an expansion from the eCloud"
  82.   placeholderapi.ecloud.placeholders:
  83.     default: "op"
  84.     description: "Allows you to view the placeholders of a eCloud expansion"
复制代码




本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
文明发言,和谐互动
文明发言,和谐互动
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|黑曜石论坛 ( 鄂ICP备2024086021号 )  鄂公网安备42050302000448号|网站地图

GMT+8, 2024-12-28 16:45 , Processed in 0.191533 second(s), 42 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz Team.

快速回复 返回顶部 返回列表