PlaceholderAPI
作者:HelpChat
发布时间:2015年4月20日
原生版本:未知
测试支持:1.8,1.9,1.10,1.11,1.12,1.13,1.14,1.15,1.16,1.17,1.18,1.19,1.20
一个资源,可以让你最喜欢的插件的信息显示在几乎任何地方!
点此下载插件详细介绍
✨PlaceholderAPI
PlaceholderAPI 是一个 Spigot 服务器插件,它允许服务器所有者以统一的格式显示来自各种插件的信息。通过插件本身或扩展提供对特定插件的支持。 扩展可以通过 PAPI 扩展云在游戏中下载。 目前有 230 多个扩展支持各种插件,例如 Essentials、Factions、LuckPerms 和 Vault。 如果您是开发人员并且想要在您的插件中添加对 PlaceholderAPI 的支持,请访问我们的 API 用法页面以获取更多信息。
⚙️配置 (config.yml)
config.yml 文件包含核心插件的自定义设置,以及一个专门为希望添加可配置选项的扩展而设的部分。任何扩展允许您更改的设置将在加载该特定扩展时添加到 config.yml 中。
# 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://wiki.placeholderapi.com/
# Discord: https://helpch.at/discord
# No placeholders are provided with this plugin by default.
# Download placeholders: /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:
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"
⌨️命令
解析命令
/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> [page]/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