Clans-API for Spigot 不仅是一个用于获取玩家所在公会信息的 API,也集成了多种实用功能。当配置中的 API-Only 设为 false 时,它会自动设置玩家的显示名称。此外,它还支持 MVdWPlaceholder 和 PlaceholderAPI,为其他插件提供了丰富的公会数据占位符。
以下是本插件提供的所有占位符列表。
{clantag}{clantag_custom_design} (此占位符的外观可在配置文件的 PlaceholderCustomDesign 部分自定义){clanname}%clantagprovider_clantag%%clantagprovider_clantag_custom_design% (此占位符的外观可在配置文件的 PlaceholderCustomDesign 部分自定义)%clantagprovider_clanname%%clantagprovider_colored_clanname%%clantagprovider_clan_color%以下是配置文件的示例内容,你可以根据需要进行调整。
API-Only: false
new-display-name: '&e<[%CLAN_TAG%]> [%PLAYER_DISPLAY_NAME%]&r'
PlaceholderCustomDesign:
Placeholder: '&e<[%CLAN_TAG%]> '
OnEmpty: ''
ClanName:
Placeholder: '&e<[%CLAN_NAME%]> '
OnEmpty: ''若要在你的插件项目中使用此 API,请在 pom.xml 中添加以下仓库和依赖配置。
<repositories>
<repository>
<id>simonsators-repo</id>
<url>https://simonsator.de/repo/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>de.simonsator</groupId>
<artifactId>Clans-Spigot-Part</artifactId>
<version>1.0.22</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>be.maximvdw</groupId>
<artifactId>MVdWPlaceholderAPI</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>友情链接: 网易我的世界 | 泰拉瑞亚 | ocent云计算 | 米饭Minecraft插件文档 | 友链合作
历史访问人数:2,688,215 | 历史访问人次:3,259,514
今日访问人数:7,781 | 今日访问人次:8,918
昨日访问人数:26,372 | 昨日访问人次:31,574
Copyright © 2019-2026 我的世界服务器列表站. All rights reserved.
❤ Powered by GermMC 京ICP备17023959号-6