menu MineCraft爱好者
【Bukkit】PlaceholderAPI —— 占位符一个API,一个万能的变量插件[全版本]
search more_vert
MineCraft爱好者
MineCraft-我的世界热爱者是我的世界服主资源分享交流站为MC服主提供最新最全的游戏资料Bukkit插件Sponge插件服务端整合包等打造国内最大的Minecraft插件基地和精品资源分享平台
【Bukkit】PlaceholderAPI —— 占位符一个API,一个万能的变量插件[全版本]

Logo2.png

简介

占位符api是一个插件/库,它允许服务器使用来自您喜爱的插件的占位符。必需品,派系,路卡,保险库,汽车销售,防暴等。。。。您可以在任何支持占位符API的插件中显示来自您喜爱的插件的信息。请参阅下面的占位符和支持的插件的完整列表。通过使用扩展云,PAPI高效地允许您选择要安装的占位符。扩展云允许您接收新的占位符、对现有占位符扩展的更新,以及更直接地从服务器接收,而无需更新实际的插件。下载量超过100000次,占位符api是任何类型或规模的服务器的必备组件。


PlaceholderAPI is a plugin/library that allows servers the use of placeholders from a wide range of your favorite plugins collectively. Essentials, Factions, LuckPerms, Vault, AutoSell, GriefPrevention, etc.... You can display information from your favorite plugins in any plugin that supports PlaceholderAPI. See a full list of placeholders and supported plugins below. Through the use of the Expansion cloud, PAPI effectively and efficiently allows you to pick and choose which placeholders you want to install. The Expansion cloud allows you to receive new placeholders, updates to existing placeholder expansions, and much more directly from your server without updating the actual plugin. With over 100,000 downloads, PlaceholderAPI is a must have for a server of any type or scale.

相关网站

wikiwiki文档

placeholders占位符

eCloud

eCloud

laceholderAPI是一个基于模块的系统,其中特定函数、对象或插件的占位符通常被编译成称为扩展的单个.jar文件。

这些扩展类似于服务器上的实际插件的工作方式。
为了加载和启用扩展,expansion_name.jar文件必须位于/plugins/PlaceholderAPI/expansions/文件夹中,并且必须安装该插件才能使用它们。例如,要使用派系占位符,需要在服务器上正确安装并运行派系插件。

此扩展系统允许占位符api的核心插件尽可能轻且无依赖性,同时也允许扩展开发人员具有很大的灵活性,因为每个占位符集都包含在自己的环境中。更新是非常容易的,占位符后面的代码可以被整齐地组织起来,而且它不会用大量无用的代码或从未使用过的函数来膨胀实际的插件!

所有官方扩展可以在游戏中通过命令 /papi ecloud或通过本网站下载。

如果您是一名开发人员,并且有您所做的扩展,并且希望为官方占位符api扩展云贡献内容供其他人下载和使用,请随意创建一个帐户并上载您的扩展。

注意:有些插件可能以上述扩展系统以外的方式向占位符api添加占位符。例如,插件可以在插件内部包含占位符,并在插件启用时注册占位符。


PlaceholderAPI is a module based system where placeholders for a specific function, object, or plugin are usually compiled into individual .jar files called Expansions.

These expansions are similar to how actual plugins on your server work.
In order for an expansion to be loaded and enabled, the expansion_name.jar file must be located in the /plugins/PlaceholderAPI/expansions/ folder and you must also that plugin installed to use them. For example, to use Factions placeholders, you will need the Factions plugin installed and running properly on your server.

This expansion system allows the core plugin of PlaceholderAPI to be as light and dependency free as possible while also allowing the expansion developer much flexibility as each set of placeholders is contained within its own environment. Updating is super easy, the code behind the placeholders can be organized neatly, and it doesn't bloat the actual plugin with tons of useless code or functions that are never used!

All official expansions can be downloaded either in game via the command /papi ecloud or through this website.

If you are a developer and have expansions that you have made and would like to contribute to the official PlaceholderAPI expansion cloud for others to download and use, feel free to create an account and upload your expansions.

NOTE: Some plugins may add placeholders to PlaceholderAPI in ways other than the expansion system stated above. For example, the plugin could include the placeholders inside the plugin itself, and register the placeholders when the plugin is enabled.

指令/权限

/placeholderapi #查看placeholderapi版本
/placeholderapi list #查看挂钩的插件
/placeholderapi reload #重载配置

placeholderapi.admin #全部指令的权限

评论

1条评论

    微雨时影
    微雨时影 访客
    2020-06-06 22:29

    下下下