Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for Jens98

The ultimate clan experience for Minecraft 1.21.6

Report ClanSystem-v1?

This plugin allows you to integrate a powerful and flexible clan system into your server.

πŸ”— Discord: https://discord.com/invite/FaHcQnunFp


πŸ“› Placeholders (PlaceholderAPI)

%clansystem_member_rank% - Displays the clan rank of a member.
%clansystem_tag% - Displays the clan tag.
%clansystem_name% - Displays the clan name.
%clansystem_member_count% - Displays the clan member count.

πŸ“¦ API Integration

⚠️ Don't forget to depend my plugin in your plugin.yml if you want to use the API:

name: YourPlugin
main: path
version: 1.0
description: Info
depend: [ClanSystem]

πŸ’» Code Example

// Example usage of the ClanCreator class
ClanCreator clanCreator = new ClanCreator();

clanCreator.setClanName("Warriors");
clanCreator.setClanMaxMemberSize(50);
clanCreator.setClanMaxModeratorSize(5);
clanCreator.setClanOwner("player-uuid", 123);
clanCreator.setTag("WRR");

ClanCreatorStatus status = clanCreator.create();

switch (status) {
    case SUCCESS:
        System.out.println("Clan created successfully!");
        break;
    case PLAYER_HAS_OWN_CLAN:
        System.out.println("Player already owns a clan.");
        break;
    case PLAYER_IS_INSIDE_A_CLAN:
        System.out.println("Player is already part of another clan.");
        break;
    case CLAN_ALREADY_EXIST:
        System.out.println("A clan with this name or tag already exists.");
        break;
    case ERROR:
        System.out.println("An error occurred while creating the clan.");
        break;
}

βš™οΈ Commands

Command Permission
/clan create <name> system.commands.clan.create
/clan invite <player> system.commands.clan.invite
/clan kick <player> system.commands.clan.kick
/clan leave system.commands.clan.leave
/clan info [name] system.commands.clan.info & system.commands.clan.info.others
/clan config reload system.commands.clan.reload.config
/clan admin system.commands.clan.admin

βœ… Features

  • βœ… MySQL & JSON file support
  • βœ… PlaceholderAPI integration
  • βœ… Clean and fast Clan API
  • βœ… Fully customizable messages
  • βœ… Auto-config update after plugin updates
  • βœ… Pay limit, tag system & member caps

πŸ§ͺ Event Example

@EventHandler
public void onClanCreated(ClanCreatedEvent event) {
    Bukkit.getConsoleSender().sendMessage("ClanCreatedEvent triggered!");

    Clan clan = event.getClan();
    Player owner = Bukkit.getPlayer(event.getOwnerUUID());

    Bukkit.getConsoleSender().sendMessage("[LOG] Clan '" + clan.getName() + "' created by " + owner.getName() + ".");
}

πŸ“Ή Video Tutorials

Tutorial 1
Tutorial 2
Tutorial 3


πŸ“œ Terms of Service

  • ❌ You are not allowed to publish my code in any other form.
  • ❌ Do not report issues via reviews – use Discord or discussion.
  • ❌ You are not permitted to sell, give or redistribute this plugin.
  • ❌ You can't claim this plugin as your own.