Clans-API for Spigot/Clan tag in chat

Clans-API for Spigot/Clan tag in chat - Clans-API - 团队聊天标签插件

包含适用于Spigot插件的家族API,并将家族标签设置为显示名称
Bukkit / Spigot 作者 simonsator 支持版本 1.7 - 1.20
服务器使用量
未统计
服务玩家数
未统计
下载量
13,431
插件详细介绍

简介

Clans-API for Spigot 不仅是一个用于获取玩家所在公会信息的 API,也集成了多种实用功能。当配置中的 API-Only 设为 false 时,它会自动设置玩家的显示名称。此外,它还支持 MVdWPlaceholder 和 PlaceholderAPI,为其他插件提供了丰富的公会数据占位符。

有效占位符

以下是本插件提供的所有占位符列表。

MVdWPlaceholder

  • {clantag}
  • {clantag_custom_design} (此占位符的外观可在配置文件的 PlaceholderCustomDesign 部分自定义)
  • {clanname}

PlaceholderAPI

  • %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: ''

Maven 依赖

若要在你的插件项目中使用此 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>

依赖与链接

测试支持版本
1.7 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
版本分布
基本信息
插件名称 Clans-API for Spigot/Clan tag in chat
作者 simonsator
平台 Bukkit / Spigot
支持版本 1.7 - 1.20
点赞数 未统计
最近版本
暂无数据 -

友情链接: 网易我的世界 | 泰拉瑞亚 | 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