PlaceholderAPI

一个允许在几乎任何地方显示来自您最喜欢的插件的信息的资源!

资源图片
[![https://helpch.at/discord](https://i.imgur.com/ygDpg02.png)](https://helpch.at/discord) ![Header](https://i.imgur.com/gKzYqje.png) [![https://i.imgur.com/rA6OF6q.png](https://i.imgur.com/rA6OF6q.png)](https://wiki.placeholderapi.com/) [![https://i.imgur.com/WaECXL2.png](https://i.imgur.com/WaECXL2.png)](https://github.com/placeholderapi/placeholderapi/wiki/placeholders) [![https://i.imgur.com/MOeesRt.png](https://i.imgur.com/MOeesRt.png)](https://api.extendedclip.com/home/)
![Introduction](https://i.imgur.com/VOy4ikd.png) **PlaceholderAPI** 是一个 Spigot 服务器插件,允许服务器所有者使用统一格式显示来自各种插件的信息。 对特定插件的支持由插件本身或通过扩展提供。 扩展可以通过 PAPI 扩展云在游戏中下载。 目前有超过 230+ 扩展支持各种插件,例如 Essentials、Factions、LuckPerms 和 Vault。 如果您是开发人员,并且希望在您的插件中添加对 PlaceholderAPI 的支持,请访问我们的 [API 使用](https://github.com/placeholderapi/placeholderapi/wiki/hook-into-placeholderapi) 页面以获取更多信息。 **PlaceholderAPI** 已被下载超过 1,500,000 次,并在超过 40,000 个服务器上并发使用,使其成为任何类型或规模的服务器的必备插件。 ![Getting Started](https://i.imgur.com/pLYK9go.png)
![Steps to install](https://i.imgur.com/uPe3i2k.png)
![Configuration](https://i.imgur.com/F1bGTdf.png) `config.yml` 包含核心插件自定义设置,以及一个专门用于希望添加可配置选项的扩展的部分。 当加载特定扩展时,扩展允许您更改的任何设置都将添加到 `config.yml` 中。 ```yaml # PlaceholderAPI # Version: 2.11.4 # Created by: extended_clip # Contributors: https://github.com/PlaceholderAPI/PlaceholderAPI/graphs/contributors # Issues: https://github.com/PlaceholderAPI/PlaceholderAPI/issues # Expansions: https://api.extendedclip.com/all/ # Wiki: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki # Discord: https://helpch.at/discord # 默认情况下,此插件不提供任何占位符。 # 下载占位符: /papi ecloud check_updates: true cloud_enabled: true cloud_sorting: "name" cloud_allow_unverified_expansions: false boolean: 'true': 'yes' 'false': 'no' date_format: MM/dd/yy HH:mm:ss debug: false ``` ![Permissions](https://i.imgur.com/zdCsnoN.png) ```yaml permissions: placeholderapi.*: description: "Ability to use all PAPI commands" children: placeholderapi.admin: true placeholderapi.ecloud.*: true placeholderapi.admin: description: "Ability to use all PAPI commands" children: placeholderapi.help: true placeholderapi.info: true placeholderapi.list: true placeholderapi.parse: true placeholderapi.reload: true placeholderapi.version: true placeholderapi.register: true placeholderapi.unregister: true placeholderapi.updatenotify: true placeholderapi.ecloud.*: description: "Ability to use all PAPI ecloud commands" children: placeholderapi.ecloud: true placeholderapi.ecloud.info: true placeholderapi.ecloud.list: true placeholderapi.ecloud.clear: true placeholderapi.ecloud.status: true placeholderapi.ecloud.update: true placeholderapi.ecloud.refresh: true placeholderapi.ecloud.download: true placeholderapi.ecloud.placeholders: true placeholderapi.help: default: "op" description: "Allows you to view the list of PAPI commands" placeholderapi.info: default: "op" description: "Allows you to view expansion information" placeholderapi.list: default: "op" description: "Allows you to list active expansions" placeholderapi.ecloud: default: "op" description: "Allows you to access PAPI eCloud" placeholderapi.parse: default: "op" description: "Allows you to parse placeholders" placeholderapi.reload: default: "op" description: "Allows you to reload PAPI and its configuration" placeholderapi.version: default: "op" description: "Allows you to view the version of PAPI installed" placeholderapi.register: default: "op" description: "Allows you to register expansions" placeholderapi.unregister: default: "op" description: "Allows you to unregister expansions" placeholderapi.updatenotify: default: "op" description: "Notifies you when there is a PAPI update" placeholderapi.ecloud.info: default: "op" description: "Allows you to view cloud expansion information" placeholderapi.ecloud.list: default: "op" description: "Allows you to list eCloud expansions" placeholderapi.ecloud.clear: default: "op" description: "Allows you to clear the local eCloud expansion cache" placeholderapi.ecloud.status: default: "op" description: "Allows you to view the status of eCloud expansions" placeholderapi.ecloud.update: default: "op" description: "Allows you to update registered eCloud expansions" placeholderapi.ecloud.refresh: default: "op" description: "Allows you to refresh the local eCloud expansion cache" placeholderapi.ecloud.download: default: "op" description: "Allows you to download an expansion from the eCloud" placeholderapi.ecloud.placeholders: default: "op" description: "Allows you to view the placeholders of a eCloud expansion" ``` ![Commands](https://i.imgur.com/OxaefSw.png) **Parse 命令** `/papi bcparse ` `/papi cmdparse ` `/papi parse ` `/papi parserel ` **eCloud 命令** `/papi ecloud status` `/papi ecloud clear` `/papi ecloud download [version]` `/papi ecloud update ` `/papi ecloud info [version]` `/papi ecloud list |installed> [page]` `/papi ecloud placeholders ` `/papi ecloud refresh` **扩展 命令** `/papi info ` `/papi list` `/papi register ` `/papi unregister ` **实用 命令** `/papi dump` `/papi reload` `/papi version`
**一些有用的链接** [使用 PAPI 的插件](https://wiki.placeholderapi.com/users/plugins-using-placeholderapi/) - [API 使用](https://wiki.placeholderapi.com/developers/using-placeholderapi/) - [占位符列表](https://wiki.placeholderapi.com/users/placeholder-list/) - [Wiki](https://wiki.placeholderapi.com/) 如果您喜欢这个 **完全免费** 和 **强大的** 资源, 请好心点个赞并分享您的反馈! 本插件使用 bStats 收集匿名统计数据 ![https://bstats.org/signatures/bukkit/PlaceholderAPI.svg](https://bstats.org/signatures/bukkit/PlaceholderAPI.svg) [https://bstats.org/plugin/bukkit/PlaceholderAPI](https://bstats.org/plugin/bukkit/PlaceholderAPI)