HomeJavaModsJustClan [1.8.x] - [1.12.x] | API | SOURCE-CODE
JustClan [1.8.x] - [1.12.x] | API | SOURCE-CODE
ModsJava

JustClan [1.8.x] - [1.12.x] | API | SOURCE-CODE

Code (Text): Basic: prefix: '&6[&bClans&6]' //Prefix for the normal Chat prefixClan: '&6[&bClan-Chat&6] ' //Prefix for the ClanChat chatprefix: '#'…

⬇ Download on Spigot
[​IMG]
Code (Text):
Basic:
   prefix: '&6[&bClans&6]'  //Prefix for the normal Chat
   prefixClan: '&6[&bClan-Chat&6] ' //Prefix for the ClanChat
   chatprefix: '#' //Prefix to write in Clan Chat
   lang: 'en' //Available Languages: "en" and "de"
   scoreboard: false //Experimental. Bugs included ;)
   paysystem: ITEM //Which Paysystem: "MONEY" (Vault) or "Item"
   builtInChat: true //Use the BuiltinChat?
   shopname: '&cClanShop' //Name of the General Shop
   useTag: true //Should the players create a clan with a tag?
   tagSize: 5 //Max Length of the Tag
   nameSize: 10 //Max Length of the Name
   formatting: true //Use Chat Formatting -> German "ä" etc.
PvP:
   pvpinclan: false //Can hit clan members each other?
ClanWars:
   pointslose: -250 //Points Added / Removed at Losing a Wars
   pointswin: 250 //Points Added / Removed at Winning a Wars
ClanCreate:
   clanCreateCosts: true //Does Creating a Clan cost sth?
   clanCreateMoneyNeed: 1000 //Money for Creating -> Paysystem "MONEY"
   CreateItem: DIAMOND //Item for Creating -> Paysystem "ITEM"
   CreateAmount: 3 //Item Amount for Creating -> Paysystem "ITEM"
ClanJoin:
   clanJoinCosts: true //Does joining a clan cost sth?
   clanJoinMoneyNeed: 1000   //Money for Joining -> Paysystem "MONEY"
   JoinItem: DIAMOND  //Item for Joining -> Paysystem "ITEM"
   JoinAmount: 1 //Item Amount for Joining -> Paysystem "ITEM"
Chat:
   withclan:
      use: true //Use the Chat if you have a clan
      range: global //Range: "global" or "local"
      rangedistance: 100 //Range in Blocks for "local"
      format: '<tag>&r <clan> <job> <prefix> <player> <suffix> :&r <message>'
   noclan:
      use: true //Use the Chat if you have no clan
      range: global //Range: "global" or "local"
      rangedistance: 100 //Range in Blocks for "local
      format: '<job> <prefix> <player> <suffix> :&r <message>'
   clanchat:
      use: true //Use the Chat for clan chat
      range: global //Range: "global" or "local"
      rangedistance: 100 //Range in Blocks for "local
      format: '<job> <prefix> <player> >>&r <message>'
#RankColour
RankColour:
   Lvl0: '&f' //Colour for KD < 1
   Lvl1: '&e' //Colour for KD < 2
   Lvl2: '&d' //Colour for KD < 3
   Lvl3: '&c&o' //Colour for KD < 4
   Lvl4: '&b&l' //Colour for KD < 5
   Lvl5: '&a&l&o' //Colour for KD < 6
   Lvl6: '&4&l&o' //Colour for KD > 6

#RankLevel
RankLevel: //Points needed for the next Clan Level
   Lvl1: 1000
   Lvl2: 2000
   Lvl3: 3000
   Lvl4: 4000
   Lvl5: 5000
   Lvl6: 6000

MemberAmount: //Max Member for the Clan Level
   Lvl0: 2 //Member Amount at Creating
   Lvl1: 4 //After First Rankup
   Lvl2: 7 //.....
   Lvl3: 9
   Lvl4: 11
   Lvl5: 13
   Lvl6: 15
ClanRank:
   Newbie:
      Color: '&2' //Color for this Rank
      Kills: 0 //Kills needed for this Rank to apply
      Points: 0 //Points needed for this Rank to apply
   Member:
      Color: '&a'
      Kills: 100
      Points: 0
   Elite:
      Color: '&6'
      Kills: 1000
      Points: 2000
 
This Plugin has an API for Developers. You can get it with:

-> import me.loganbwde.util.Api

No initialization needed!


Then you can use the following functions:

Api.createClan(String clanName,String clanOwner,String clanTag)

-> Create a Clan

Api.getClanName(String playerName)

-> Get the Clan Name of an player (Can be null)

Api.getClanTag(String playerName)

-> Get the Clan Tag of an Clan by player (Can be null)

Api.getClanOwner(String clanName)


-> Get the Clan Owner from the Clan Name (Can be null)

Api.getClanMembers(String clanName)

-> Get all Clan Members as List from an Clan (Can be null)

Api.checkHaveClan(String playerName)

-> Check if a player has a clan (True or false)


Chat Placeholder you can use in your Chat Plugins:
Mvdwplaceholdersapi:
To-Do:
DONATIONS
Thanks for all Donations <3

If you like my work, you can donate me ;D

[​IMG]

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

JustClan [1.8.x] - [1.12.x] | API | SOURCE-CODE is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 8,842 times (via Spigot). Download it and open it directly in the game.

Explore more