小任君呀 发表于 2024-6-20 16:26:55

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

介绍:非常基础的插件,主要提供占位符,比如说%time%,其他插件可以更改或创建一个占位符,给它赋予内容。所以有些插件的配置文件就有什么%death%之类的。很多插件都需要它,这个插件几乎不用管它的配置文件和权限,因为我们都用不到,顶多装新插件或调试的时候用。


下载:https://www.spigotmc.org/resources/placeholderapi.6245/
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>
/papi ecloud update <expansion/all>
/papi ecloud info <expansion>
/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



权限:
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"




页: [1]
查看完整版本: 【基础】【前置API】PlaceholderAPI——必备的占位符前置插件