Sueta

Clans-API for Spigot/Clan tag in chat

1.0.23

Includes an API of clans for spigot plugins and sets the clan tag as display name

·Plugin

Clans-API for Spigot

This is an API of Clans for Spigot plugins (useful for matchmaking or getting in which clan a player is). It is not only an API, it sets also the display name for players if "API-Only" is set to false. Also it adds the MVdWPlaceholder placeholder and PlaceHolderAPI placeholder. A list of the placeholders can be found in this description under "Valid Placeholders". This plugin depends on Spigot Friend API for Party and Friends for Bungeecord. The JavaDoc can be found here.

Valid Placeholders

  • MVdWPlaceholder:
    • {clantag}
    • {clantag_custom_design} (This placeholder can be customized in the config under "PlaceholderCustomDesign")
    • {clanname}
  • PlaceholderAPI:
    • %clantagprovider_clantag%
    • %clantagprovider_clantag_custom_design% (This placeholder can be customized in the config under "PlaceholderCustomDesign")
    • %clantagprovider_clanname%
    • %clantagprovider_colored_clanname%
    • %clantagprovider_clan_color%
Config
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
<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>

Similar projects

Plugin →