
Teams - by 2MBO 3.7
A minecraft competitive clans plugin you were looking for !
Teams is a minecraft plugin that allows players to create groups and invite their friends.
Created for pvp modalities.
FEATURES ABOUT:
- Team Statistics.
- Team Upgrades.
- Allies System.
- Leaderboards.
- Admin Commands.
- Hex Colors Supported.
- Vault Economy Supported.
- PlaceholderAPI Supported.
- API for Developers.
- Fully editable.


- <team>
- <team_name>
- <team_prefix>
- <team_tag>
Using PlaceholderAPI Plugin:
- %teams_name%
- %teams_tag%
- %teams_leader%
- %teams_balance%
- %teams_description%
- %teams_members_amount%
- %teams_members_online%
- %teams_members_max%
- %teams_description%
- %teams_kills_position_1|2|3...%
- %teams_deaths_position_1|2|3...%
TEAMS:
#CREATE-COST NEED VAULT ECONOMY SUPPORT
CREATE-COST: 5000
MIN-TEAM-LYRICS: 3
MAX-TEAM-LYRICS: 12
MIN-TAG-LYRICS: 3
MAX-TAG-LYRICS: 24
MIN-DESCRIPTION-LYRICS: 4
MAX-DESCRIPTION-LYRICS: 24
#_________________#
#This is the default settings of the teams.
#To disable a function, set it to 0.
MIN-MEMBERS: 3
MIN-ALLIES: 1
MIN-HOMES: 1
#Team leaders(upgrades) can increase the minimum number of members, allies and homes;
#You can configure or disable this option in the upgrades.yml file.
#_________________#
BLACKLIST-NAMES:
- '2MBO.420'
TEAM-MEMBERS-PREFIX: '&8 ▶ &f '
TEAM-ALLYS-PREFIX: '&8 ▶ &f '
#For the team name to appear in the chat use the variable "<team>"
#Example in EssentialsChat: "<team> {DISPLAYNAME}: {MESSAGE}"
TEAM-NAME-PREFIX: '&8[&9<team>&8] &r' #placeholders: <team>, <team_tag>
TEAM-CHAT-PREFIX: '&8[&2&lT-C&8] &a&l<player>&7: <message>'
ALLY-CHAT-PREFIX: '&8[&5&lA-C&8] &d[<team-name>] &l<player>&7: <message>'
NO-TEAM: '&7No Team'
NO-MEMBERS: '&7No Members'
NO-TAG: '&7No Tag'
NO-DESCRIPTION: '&7No Description :('
NO-HOMES: '&7No Homes'
NO-ALLIES: '&7No Allies'
ENABLED: '&aYes'
DISABLED: '&cNo'
HOLOGRAMS:
#UPDATE IN MINUTES
UPDATE-TIME: 6
KILLS:
LIMIT: 5
FORMAT: '&4#<top> &7(<team_tag>&7) &f<team>: <kills>' #placeholders: <team>, <team_tag>, <team_prefix>
LINES:
- '&b&lTEAMS LEADERBOARDS'
- '&7(next update <remaining>)'
- ''
- "&4&lKILLS"
- "<teams-kills-format>"
- ''
- '&e&lCLICK TO TOGGLE'
- '&f> &aKILLS&f, &7DEATHS&f, &7BALANCE &f<'
DEATHS:
LIMIT: 5
FORMAT: '&e#<top> &7(<team_tag>&7) &f<team>: <deaths>' #placeholders: <team>, <team_tag>, <team_prefix>
LINES:
- '&b&lTEAMS LEADERBOARDS'
- '&7(next update <remaining>)'
- ''
- "&6&lDEATHS"
- "<teams-deaths-format>"
- ''
- '&e&lCLICK TO TOGGLE'
- '&f> &7KILLS&f, &aDEATHS&f, &7BALANCE &f<'
BALANCE:
LIMIT: 5
FORMAT: '&a#<top> &7(<team_tag>&7) &f<team>: <balance>' #placeholders: <team>, <team_tag>, <team_prefix>
LINES:
- '&b&lTEAMS LEADERBOARDS'
- '&7(next update <remaining>)'
- ''
- "&2&lBALANCE"
- "<teams-balance-format>"
- ''
- '&e&lCLICK TO TOGGLE'
- '&f> &7KILLS&f, &7DEATHS&f, &aBALANCE &f<'
CREATE: '&a<player> &ehas created the &9<team> &eteam.'
DISBAND: '&a<player> &ehas disband the &9<team> &eteam.'
DEPOSIT: '&a<player> &ehas deposited &9$<money>&e in the team''s bank. there is now &d$<now>&e.'
WITHDRAW: '&a<player>&c has taken &e$<money>&c from the team''s bank, now &e$<now> remains.'
KICK: '&a<player> &ehas kicked &9<target> ðe team.'
JOIN: '&a<player> &ehas joined the team.'
LEAVE: '&c<player> &ehas left the team.'
FULL: '&cYour team is full.'
MONEY: '&b&lTeam Money: &a$<money>'
RENAME: '&eThe team name is now &9<name>&a.'
TAG: '&eThe team tag is now <name>&e.'
HOMES-DISABLED: '&cHomes is currently disabled.'
NEW-HOME: '&a<player> &ehas created the &9<home>&e home.'
DEL-HOME: '&c<player> has deleted the &9<home>&c home.'
PLAYER-INVITE: '&a<player> &ehas invited &9<target> &eto the team.'
PLAYER-DEINVITE: '&a<player> &ecanceled &c<target>''s &einvitation to the team.'
ALREADY-CREATE-TEAM: '&cYou have already created a team.'
ALREADY-IN-TEAM: '&cYou are already in a team.'
ALREADY-TEAM-NAME: '&cThe team is already called that.'
TEAM-ALREADY-CREATE: '&cThe <team> team already exists.'
PLAYER-ALREADY-INVITE: '&c<player> has already been invited to the team.'
PLAYER-ALREADY-TEAM: '&c<player> is already in a team.'
BLACKLIST-NAMES: '&cYou cannot create a team with that name.'
MIN-TEAM-LYRICS: '&cThe team name must have at least <min-lyrics> letters.'
MAX-TEAM-LYRICS: '&cThe team name cannot have more than <max-lyrics> letters.'
MIN-TAG-LYRICS: '&cThe team tag must have at least <min-lyrics> letters.'
MAX-TAG-LYRICS: '&cThe team tag cannot have more than <max-lyrics> letters.'
MIN-DESCRIPTION-LYRICS: '&cThe team description must have at least <min-lyrics> letters.'
MAX-DESCRIPTION-LYRICS: '&cThe team description cannot have more than <max-lyrics> letters.'
SET-LEADER: '&a<player> &egranted leadership to &9<target>&e.'
SET-DESCRIPTION: '&a<player> &echanged the team description to "&9<text>&e".'
NO-TEAM: '&c<player> is not in a team.'
NO-INVITE: '&c<player> has not been invited to the team.'
NO-MEMBER: '&c<player> is not a member of the team.'
NO-CREATE: '&cThe team <team> does not exists.'
NO-HOME: '&cYou cannot add more homes. &dUse (/team upgrades for more)&c.'
OPEN-ENABLED: '&a<player> &ehas &aenabled&e team open mode.'
OPEN-DISABLED: '&a<player> &ehas &cdisabled&e team open mode.'
PVP-ENABLED: '&a<player> &ehas set the team''s pvp mode to &aenabled&e.'
PVP-DISABLED: '&a<player> &eas set the team''s pvp mode to &cdisable&e.'
ALLY: #ALLY TEAM MESSAGES
DISABLED: '&cAllies is currently disabled.'
REQUEST: '&9<team> team &ehas requested an alliance between teams.'
SEND-REQUEST: '&a<player> &esent an alliance request to &9<team> &eteam.'
SEND-REQUEST-HOVER: '&eClick to accept the alliance of &9<team> &eteam.'
ALREADY-REQUEST: '&cYou have already requested an alliance towards the <team> team.'
REMOVE-REQUEST: '&cYou have removed the alliance request to <team> team.'
ACCEPT: '&d<team> team &ehas accepted the alliance.'
FULL: '&cThe team <team> has the maximum number of alliances'
NEW-ALLY: '&aYour team is now an ally of &d<team> &ateam.'
ALLY-REMOVE: '&c<player> has eliminated the alliance against <team> team.'
REMOVE-ALLY: '&cThe <team> team removed the alliance with your team.'
PLAYER: #MESSAGES RECEIVED BY THE PLAYER
INVITE: '&a<player> &ehas invited you to the &9<team> &eteam. &7&o(You have 1 minute to accept)'
INVITE-HOVER: '&eClick to join the &9<team> &eteam.'
JOIN: '&aYou have joined the &9<team> &ateam.'
MEMBER: '&c<player> is a member of your team.'
ALLY: '&c<player> is an ally of your team.'
KICK: '&c<player> &ehas kicked you out of the &9<team> &eteam.'
TELEPORTING-MOVED: '&cTeleport canceled, you have moved.'
TELEPORTING-HOME: '&eTeleporting home in 5 seconds.'
TELEPORTED-HOME: '&aYou have been teleported home.'
ALREADY-TELEPORT-HOME: '&cYou are already being teleported.'
NO-MONEY: '&cYou need &e<cost>$ &cto create a team.'
NO-INVITE: '&cYou have not been invited to the &9<team> &cteam.'
NO-TEAM: '&cYou are not in any team.'
NO-LEADER: '&cYou are not a team leader.'
NO-MEMBER: '&c<player> is not a member of your team.'
NO-DEPOSIT: '&cYou do not have $<money> of money.'
NO-WITHDRAW: '&cThe team does not have $<money> to draw.'
NO-ALLY: '&c<team> team is not an ally.'
NO-HOME: '&cYour team has no home :('
YES-HOME: '&cThe <home> home already exists.'
NO-EXIST-HOME: '&cThe <home> home not exists.'
NO-LEADER-YOURSELF: '&cYou are already leader of the team.'
NO-INVITE-YOURSELF: '&cYou cannot invite your own team.'
NO-LEAVE-YOURSELF: '&cYou can''t leave your own team.'
NO-KICK-YOURSELF: '&cYou can''t kick your own team.'
NO-ALLY-YOURSELF: '&cYou cannot request an alliance from your team.'
TEAM-FULL: '&cThe <team> team is full.'
ALREADY-TEAM: '&cYou are already in your team.'
ALREADY-ALLY: '&c<team> team is already an ally.'
ALREADY-OPEN-ENABLED: '&cTeam open mode is already enabled.'
ALREADY-OPEN-DISABLED: '&cTeam open mode is already disabled.'
ALREADY-PVP-ENABLED: '&cThe team''s pvp mode is already enabled.'
ALREADY-PVP-DISABLED: '&cThe team''s pvp mode is already disabled.'
FORCE-DISBAND: '&aYou have disband the <team> team.'
FORCE-JOIN: '&aYou have joined the <team> team.'
KILLS:
SET: '&9<team> &eteam kills were set at &a<kills>&e.'
ADD: '&a<kills> &ekills have been added to the &9<team> &eteam.'
RESET: '&eThe kills of &9<team> &eteam kills have been restarted.'
REMOVE: '&a<kills> &ekills have been removed to the &9<team> &eteam.'
RESET-ALL: '&cThe kills of all teams have been restarted.'
LIST:
NO-TEAMS: '&cNo teams found.'
FORMAT: "<ranking>. <team>"
MESSAGES:
- '&3&lTeams &f| List of online teams'
- '<teams-format>'
- '&7You are viewing page #<page>.'
HOVER: '&b&n<team>
<line>&fRanking: &9#<ranking>
<line>&f
<line>&f TAG: <tag>
<line>&f Created by &d<leader>
<line>&f Members: &6<size>
<line>&f Online: &a<online>
<line>&f Kills: &c<kills>
<line>&f Money: &2<money>
<line>&f
<line>&fClick to more info.'
CHAT:
PUBLIC:
ENABLED: '&aYou have enabled &9public chat&a.'
ALREADY: '&cYou are already in the &9public chat&c.'
TEAM:
ENABLED: '&aYou have enabled &2team chat&a.'
ALREADY: '&cYou are already in the &2team chat&c.'
ALLY:
ENABLED: '&aYou have enabled &dally chat&a.'
ALREADY: '&cYou are already in the &dally chat&c.'
SPY:
ENABLED: '&aYou have enabled &4spy chat&a.'
DISABLED: '&cYou have disabled &4spy chat&c.'
OTHERS:
USAGE:
CREATE: '&cUsage: /team create <name>.'
DISBAND: '&cUsage: /team disband.'
DEPOSIT: '&cUsage: /team deposit <money>'
WITHDRAW: '&cUsage: /team withdraw <money>'
LEAVE: '&cUsage: /team leave.'
SHOW: '&cUsage: /team show <player;team>.'
RENAME: '&cUsage: /team rename <name>.'
TAG: '&cUsage: /team tag <name>'
INVITE: '&cUsage: /team invite <player>.'
JOIN: '&cUsage: /team join <team>.'
DEINVITE: '&cUsage: /team unvite <player>.'
KILLS: '&cUsage /team editkill <set;add;remove;reset> <team> <kill>.'
ADD-KILLS: '&cUsage: /team editkill add <team> <kills>.'
REMOVE-KILLS: '&cUsage: /team editkill remove <team> <kills>.'
RESET-KILLS: '&cUsage: /team editkill reset <team;all>.'
SET-KILLS: '&cUsage: /team editkills set <team> <kills>.'
SET-LEADER: '&cUsage: /team setleader <player>.'
SET-OPEN: '&cUsage: /team setopen <on;off>'
SET-PVP: '&cUsage: /team setpvp <on;off>.'
SET-DESCRIPTION: '&cUsage: /team setdesc <text>.'
SET-HOME: '&cUsage: /team sethome <name>'
DEL-HOME: '&cUsage: /team delhome <name>'
KICK: '&cUsage: /team kick <player>.'
ALLY: '&cUsage: /team ally <team>.'
NEUTRAL: '&cUsage: /team neutral <team>.'
FORCE-DISBAND: '&cUsage: /team forcedisband <team>.'
FORCE-JOIN: '&cUsage: /team forcejoin <team>.'
CHAT: '&cUsage: /team chat <public;team;ally>.'
CHAT-SPY: '&cUsage: /team chatspy'
ALL:
NO-TEAM:
- '&3&lTeams &f| All commands list.'
- '&b -&f Team create <team>'
- '&b -&f Team join <team>'
- '&b -&f Team leaderboards'
- '&b -&f Team list <page>'
- '&b -&f Team show <team>'
HAS-TEAM:
- '&3&lTeams &f| Member commands list.'
- '&b -&f Team home <name>'
- '&b -&f Team chat <team;ally>'
- '&b -&f Team leaderboards'
- '&b -&f Team list <page>'
- '&b -&f Team show <team>'
- '&b -&f Team leave'
IS-LEADER:
- '&3&lTeams &f| Leader commands list.'
- '&b -&f Team home <name>'
- '&b -&f Team chat <team;ally>'
- '&b -&f Team leaderboards'
- '&b -&f Team list <page>'
- '&b -&f Team show <team>'
- '&b -&f Team invite <player>'
- '&b -&f Team unvite <player>'
- '&b -&f Team kick <player>'
- '&b -&f Team rename <name>'
- '&b -&f Team setTag <name>'
- '&b -&f Team setLeader <player>'
- '&b -&f Team setDesc <text>'
- '&b -&f Team setPvP <on;off>'
- '&b -&f Team setOpen <on;off>'
- '&b -&f Team ally <team>'
- '&b -&f Team neutral <team>'
- '&b -&f Team setHome <name>'
- '&b -&f Team delHome <name>'
- '&b -&f Team disband'
IS-OP:
- '&3&lTeams &f| Admin commands list.'
- '&b -&f Team leaderboards'
- '&b -&f Team list <page>'
- '&b -&f Team show <team>'
- '&b -&f Team chatSPY'
- '&b -&f Team forceJoin <team>'
- '&b -&f Team forceDisband <team>'
- '&b -&f Team editKills <add;remove;set;reset>'
- '&b -&f Team holograms <create;delete>'
- '&b -&f Team reload'
NO-ONLINE: '&c<player> is not online.'
NO-NUMBER: '&c"<error>" is not my number.'
NO-SYMBOLS: '&cYou cannot use rare symbols.'
NO-PERMISSIONS: '&cYou do not have permission to execute this command.'
INVENTORIES:
TEAM-SHOW:
TITLE: '&7Team | Showing'
SIZE: 9
ITEMS:
Team:
NAME: '&a&l<team>''s Team '
LORE:
- '&f You are invited: <invite>'
- '&f Alliance request: <alliance>'
- '&f Members Online: &a<online>&f/&c<max-online>'
MATERIAL: NAME_TAG
MATERIAL-DATA: 0
AMOUNT: 1
SLOT: 0
Leader:
NAME: '&eLeader'
LORE:
- '&8 ▶ &f<leader>'
MATERIAL: PLAYER_HEAD
MATERIAL-DATA: 3
MATERIAL-SKULL: '<leader>'
AMOUNT: 1
SLOT: 1
Members:
NAME: '&9Members'
LORE:
- '<members>'
MATERIAL: PAPER
MATERIAL-DATA: 0
AMOUNT: 1
SLOT: 2
Allies:
NAME: '&dAllies'
LORE:
- '<allys>'
MATERIAL: ANVIL
MATERIAL-DATA: 0
AMOUNT: 1
SLOT: 3
Open:
NAME: '&bOpen'
LORE:
- '&8 ▶ &f<open>'
MATERIAL: CHEST
MATERIAL-DATA: 0
AMOUNT: 1
SLOT: 4
Desc:
NAME: '&eDescription'
LORE:
- '&8 ▶ &f<description>'
MATERIAL: ITEM_FRAME
MATERIAL-DATA: 0
AMOUNT: 1
SLOT: 5
Pvp:
NAME: '&4PvP'
LORE:
- '&8 ▶ &f<pvp>'
MATERIAL: DIAMOND_CHESTPLATE
MATERIAL-DATA: 0
AMOUNT: 1
SLOT: 6
Kills:
NAME: '&cKills'
LORE:
- '&8 ▶ &f<kills>'
MATERIAL: DIAMOND_SWORD
MATERIAL-DATA: 0
AMOUNT: 1
SLOT: 7
Homes:
NAME: '&9Homes'
LORE:
- '&8 ▶ &f<homes>'
MATERIAL: BOW
MATERIAL-DATA: 0
AMOUNT: 1
SLOT: 8
UPGRADES:
TITLE: '&8<team>''s Team | Upgrades'
SIZE: 9
ITEMS:
MEMBERS:
NAME: '&aMembers'
MATERIAL: DIAMOND_CHESTPLATE
MATERIAL-DATA: 0
AMOUNT: 1
SLOT: 0
LORE:
SHOW:
- '&f Size: &e<members>&f/&a<max-members>'
- '&f Next Size: &d<next-members-size>'
- '&f Cost: &9$<cost>'
- ''
- '&bClick to upgrade'
NO-LEADER:
- ''
- '&cOnly the team leader can'
- '&cupdate the number of members.'
NO-MONEY:
- '&cYour team does not'
- '&chave $<cost> in the bank.'
- ''
- '&f <team> Has: &d$<team-money>'
- '&f Need: &a$<need-cost>'
- '&f Use: &e/team deposit'
NO-UPDATE:
- ''
- '&cYour team already has the'
- '&cmaximum number of members.'
UPDATED:
- '&f Size: &e<max-members>&f/&a<max-members>'
- '&f Next Size: &d<next-members-size>'
- '&f Cost: &9$<cost>'
- ''
- '&aSuccessfully updated'
- '&bClick to upgrade again'
ALLIES:
NAME: '&5Allies'
MATERIAL: BEACON
MATERIAL-DATA: 0
AMOUNT: 1
SLOT: 1
LORE:
SHOW:
- '&f Size: &e<allies>&f/&a<max-allies>'
- '&f Next Size: &d<next-allies-size>'
- '&f Cost: &9$<cost>'
- ''
- '&bClick to upgrade'
NO-LEADER:
- ''
- '&cOnly the team leader can'
- '&cupdate the number of allies.'
- ''
NO-MONEY:
- '&cYour team does not'
- '&chave $<cost> in the bank.'
- ''
- '&f <team> Has: &d$<team-money>'
- '&f Need: &a$<need-cost>'
- '&f Use: &e/team deposit'
NO-UPDATE:
- ''
- '&cYour team already has the'
- '&cmaximum number of allies.'
- ''
UPDATED:
- '&f Size: &e<allies>&f/&a<max-allies>'
- '&f Next Size: &d<next-allies-size>'
- '&f Cost: &9$<cost>'
- ''
- '&aSuccessfully updated'
- '&bClick to upgrade again'
HOMES:
NAME: '&9Homes'
MATERIAL: BOW
MATERIAL-DATA: 0
AMOUNT: 1
SLOT: 2
LORE:
SHOW:
- '&f Size: &e<homes>&f/&a<max-homes>'
- '&f Next Size: &d<next-homes-size>'
- '&f Cost: &9$<cost>'
- ''
- '&bClick to upgrade'
NO-LEADER:
- ''
- '&cOnly the team leader can'
- '&cupdate the number of homes.'
- ''
NO-MONEY:
- '&cYour team does not'
- '&chave $<cost> in the bank.'
- ''
- '&f <team> Has: &d$<team-money>'
- '&f Need: &a$<need-cost>'
- '&f Use: &e/team deposit'
NO-UPDATE:
- ''
- '&cYour team already has the'
- '&cmaximum number of homes.'
- ''
UPDATED:
- '&f Size: &e<homes>&f/&a<max-homes>'
- '&f Next Size: &d<next-homes-size>'
- '&f Cost: &9$<cost>'
- ''
- '&aSuccessfully updated'
- '&bClick to upgrade again'
LEADERBOARDS:
TITLE: '&8Teams Leaderboards.'
SIZE: 9
ITEMS:
Team:
NAME: '&b&lTOP 5 TEAMS KILLS'
LORE:
- '&8Leaderboards.'
- ''
- '<teams-kills-format>'
MATERIAL: DIAMOND_SWORD
MATERIAL-DATA: 0
AMOUNT: 1
SLOT: 4
HOMES:
#- 'homes_size;money_cost'
#to disable the upgrade, put this line '0;0'.
- '0;0'
MEMBERS:
#- 'members_size;money_cost'
#The number of members must be greater than the 'MIN-MEMBERS' setting in the settings.yml file.
- '4;1500'
- '5;2500'
- '6;3500'
ALLIES:
#- 'allies_size;money_cost'
#The number of allies must be greater than the 'MIN-ALLIES' setting in the settings.yml file.
- '2;3500'
- '3;6500'
- '4;8500'
/COMMAND & ( PERMISSION )
- /team create ( teams.command.create )
- /team upgrades ( teams.command.upgrades )
- /team leaderboards ( teams.command.leaderboards )
- /team rename ( teams.command.rename )
- /team disband ( teams.command.disband )
- /team invite ( teams.command.invite )
- /team unvite ( teams.command.unvite )
- /team join ( teams.command.join )
- /team leave ( teams.command.leave )
- /team kick ( teams.command.kick )
- /team chat ( teams.command.chat )
- /team home ( teams.command.home )
- /team setHome ( teams.command.sethome )
- /team setLeader ( teams.command.setleader )
- /team setPvP ( teams.command.setpvp )
- /team setOpen ( teams.command.setopen )
- /team setDescription ( teams.command.setdesc )
- /team ally ( teams.command.ally )
- /team neutral ( teams.command.neutral )
- /team forcejoin ( teams.command.forcejoin )
- /team forcedisband ( teams.command.forcedisband )
TEAMS-API FOR DEVELOPERS
//TeamManager Class
final TeamManager manager = Teams.get().manager();
manager.create(teamName, teamOwner);
manager...
//Team Class
final Team team = manager.team(teamName);
team.setDescription(text);
team...
//EVENTS LISTENER
@EventHandler
public void create(final PlayerTeamCreateEvent event) {
final Player player = event.getPlayer().get();
final Team team = event.getPlayer().getTeam();
//CREATE CODE
}
@EventHandler
public void disband(final PlayerTeamDisbandEvent event) {
final Player player = event.getPlayer().get();
final Team team = event.getPlayer().getTeam();
//CREATE CODE
}
@EventHandler
public void killed(final PlayerKillPlayer event) {
final Player killer = event.getPlayerKiller().get();
final Player dead = event.getPlayerDead().get();
final Team killerTeam = event.getPlayerKiller().hasTeam() ? event.getPlayerKiller().getTeam() : null;
final Team deadTeam = event.getPlayerDead().hasTeam() ? event.getPlayerDead().getTeam() : null;
//CREATE CODE
}