Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/moba
This commit is contained in:
commit
edfadde239
@ -20,6 +20,7 @@ public enum Rank
|
|||||||
CMOD("C.Mod", "cmod", ChatColor.GOLD, "Clans Moderators are members of the Clans Management Senior Mod team. \nTheir duties include moderation and support within the Clans servers. \n\nFor assistance, contact them using " + F.elem("/a <message>") + ".", 32, DyeColor.ORANGE),
|
CMOD("C.Mod", "cmod", ChatColor.GOLD, "Clans Moderators are members of the Clans Management Senior Mod team. \nTheir duties include moderation and support within the Clans servers. \n\nFor assistance, contact them using " + F.elem("/a <message>") + ".", 32, DyeColor.ORANGE),
|
||||||
EVENT_MODERATOR("Sr.Mod", "srmod_event", ChatColor.GOLD, "Senior Moderators are members of a special \nSenior Moderator team where they have to fulfill specific tasks. \nJust like Moderators, you can always ask them for help. \n\nFor assistance, contact them using " + F.elem("/a <message>") + ".", 44, DyeColor.ORANGE),
|
EVENT_MODERATOR("Sr.Mod", "srmod_event", ChatColor.GOLD, "Senior Moderators are members of a special \nSenior Moderator team where they have to fulfill specific tasks. \nJust like Moderators, you can always ask them for help. \n\nFor assistance, contact them using " + F.elem("/a <message>") + ".", 44, DyeColor.ORANGE),
|
||||||
SNR_MODERATOR("Sr.Mod", "srmod", ChatColor.GOLD, "Senior Moderators are members of a special \nSenior Moderator team where they have to fulfill specific tasks. \nJust like Moderators, you can always ask them for help. \n\nFor assistance, contact them using " + F.elem("/a <message>") + ".", 44, DyeColor.ORANGE),
|
SNR_MODERATOR("Sr.Mod", "srmod", ChatColor.GOLD, "Senior Moderators are members of a special \nSenior Moderator team where they have to fulfill specific tasks. \nJust like Moderators, you can always ask them for help. \n\nFor assistance, contact them using " + F.elem("/a <message>") + ".", 44, DyeColor.ORANGE),
|
||||||
|
CMA("Mod", "mod_cma", ChatColor.GOLD, "Moderators enforce rules and provide help to \nanyone with questions or concerns. \n\nFor assistance, contact them using " + F.elem("/a <message>") + ".", 32, DyeColor.ORANGE),
|
||||||
MODERATOR("Mod", "mod", ChatColor.GOLD, "Moderators enforce rules and provide help to \nanyone with questions or concerns. \n\nFor assistance, contact them using " + F.elem("/a <message>") + ".", 32, DyeColor.ORANGE),
|
MODERATOR("Mod", "mod", ChatColor.GOLD, "Moderators enforce rules and provide help to \nanyone with questions or concerns. \n\nFor assistance, contact them using " + F.elem("/a <message>") + ".", 32, DyeColor.ORANGE),
|
||||||
HELPER("Trainee", "train", ChatColor.GOLD, "Trainees are moderators-in-training. \nTheir duties include enforcing the rules and \nproviding help to anyone with questions or concerns. \n\nFor assistance, contact them using " + F.elem("/a <message>") + ".", 24, DyeColor.ORANGE),
|
HELPER("Trainee", "train", ChatColor.GOLD, "Trainees are moderators-in-training. \nTheir duties include enforcing the rules and \nproviding help to anyone with questions or concerns. \n\nFor assistance, contact them using " + F.elem("/a <message>") + ".", 24, DyeColor.ORANGE),
|
||||||
MAPLEAD("MapLead", "mapl", ChatColor.BLUE, "Map Leaders are leaders of the Mineplex Build Team. \nThey oversee the creation of new maps and manage Builders.", 25, DyeColor.BLUE),
|
MAPLEAD("MapLead", "mapl", ChatColor.BLUE, "Map Leaders are leaders of the Mineplex Build Team. \nThey oversee the creation of new maps and manage Builders.", 25, DyeColor.BLUE),
|
||||||
|
@ -412,8 +412,8 @@ public enum Achievement
|
|||||||
new String[]{"Earn Kill Streak Rewards"},
|
new String[]{"Earn Kill Streak Rewards"},
|
||||||
new int[][]{new int[]{0, 50, 500}, new int[]{0, 100, 750}, new int[]{0, 150, 1000}, new int[]{0, 200, 1500}, new int[]{0, 400, 2000}, new int[]{0, 500, 2500}, new int[]{0, 1000, 3000}, new int[]{0, 1500, 3500}, new int[]{0, 2000, 4000}, new int[]{0, 5000, 100000}},
|
new int[][]{new int[]{0, 50, 500}, new int[]{0, 100, 750}, new int[]{0, 150, 1000}, new int[]{0, 200, 1500}, new int[]{0, 400, 2000}, new int[]{0, 500, 2500}, new int[]{0, 1000, 3000}, new int[]{0, 1500, 3500}, new int[]{0, 2000, 4000}, new int[]{0, 5000, 100000}},
|
||||||
new int[]{10, 20, 50, 100, 200, 250, 500, 750, 1000, 2000},
|
new int[]{10, 20, 50, 100, 200, 250, 500, 750, 1000, 2000},
|
||||||
"Novice I",
|
"Initiate",
|
||||||
new String[]{"Novice II", "Novice III", "Novice IV", "Novice V", "Master I", "Master II", "Master III", "Master IV", "GRANDMASTER"},
|
new String[]{"Novice I", "Novice II", "Novice III", "Novice IV", "Novice V", "Master I", "Master II", "Master III", "Master IV", "GRANDMASTER"},
|
||||||
AchievementCategory.CASTLE_ASSAULT),
|
AchievementCategory.CASTLE_ASSAULT),
|
||||||
|
|
||||||
CASTLE_ASSAULT_FIRST_BLOOD("First Blood", 0,
|
CASTLE_ASSAULT_FIRST_BLOOD("First Blood", 0,
|
||||||
@ -421,8 +421,8 @@ public enum Achievement
|
|||||||
new String[]{"Obtain the first kill in a Match"},
|
new String[]{"Obtain the first kill in a Match"},
|
||||||
new int[][]{new int[]{0, 100, 100}, new int[]{0, 150, 200}, new int[]{0, 200, 300}, new int[]{0, 250, 400}, new int[]{0, 500, 500}},
|
new int[][]{new int[]{0, 100, 100}, new int[]{0, 150, 200}, new int[]{0, 200, 300}, new int[]{0, 250, 400}, new int[]{0, 500, 500}},
|
||||||
new int[]{2, 5, 10, 25, 50},
|
new int[]{2, 5, 10, 25, 50},
|
||||||
"Novice I",
|
"Initiate",
|
||||||
new String[]{"Novice II", "Novice III", "Novice IV", "Novice V"},
|
new String[]{"Novice I", "Novice II", "Novice III", "Novice IV", "Novice V"},
|
||||||
AchievementCategory.CASTLE_ASSAULT),
|
AchievementCategory.CASTLE_ASSAULT),
|
||||||
|
|
||||||
CASTLE_ASSAULT_FIGHTER_KIT("Fighter", 0,
|
CASTLE_ASSAULT_FIGHTER_KIT("Fighter", 0,
|
||||||
@ -430,8 +430,8 @@ public enum Achievement
|
|||||||
new String[]{"Kill opponents while wearing the Fighter Kit"},
|
new String[]{"Kill opponents while wearing the Fighter Kit"},
|
||||||
new int[][]{new int[]{0, 100, 500}, new int[]{0, 150, 750}, new int[]{0, 250, 1000}, new int[]{0, 500, 1500}, new int[]{0, 1000, 2500}, new int[]{0, 1500, 3500}, new int[]{0, 2000, 4500}, new int[]{0, 3000, 6000}, new int[]{0, 5000, 10000}, new int[]{0, 10000, 100000}},
|
new int[][]{new int[]{0, 100, 500}, new int[]{0, 150, 750}, new int[]{0, 250, 1000}, new int[]{0, 500, 1500}, new int[]{0, 1000, 2500}, new int[]{0, 1500, 3500}, new int[]{0, 2000, 4500}, new int[]{0, 3000, 6000}, new int[]{0, 5000, 10000}, new int[]{0, 10000, 100000}},
|
||||||
new int[]{50, 100, 250, 500, 1000, 1500, 3000, 5000, 10000, 20000},
|
new int[]{50, 100, 250, 500, 1000, 1500, 3000, 5000, 10000, 20000},
|
||||||
"Novice I",
|
"Initiate",
|
||||||
new String[]{"Novice II", "Novice III", "Novice IV", "Novice V", "Master I", "Master II", "Master III", "Master IV", "GRANDMASTER"},
|
new String[]{"Novice I", "Novice II", "Novice III", "Novice IV", "Novice V", "Master I", "Master II", "Master III", "Master IV", "GRANDMASTER"},
|
||||||
AchievementCategory.CASTLE_ASSAULT),
|
AchievementCategory.CASTLE_ASSAULT),
|
||||||
|
|
||||||
CASTLE_ASSAULT_TANK_KIT("Tank", 0,
|
CASTLE_ASSAULT_TANK_KIT("Tank", 0,
|
||||||
@ -439,8 +439,8 @@ public enum Achievement
|
|||||||
new String[]{"Kill opponents while wearing the Tank Kit"},
|
new String[]{"Kill opponents while wearing the Tank Kit"},
|
||||||
new int[][]{new int[]{0, 100, 500}, new int[]{0, 150, 750}, new int[]{0, 250, 1000}, new int[]{0, 500, 1500}, new int[]{0, 1000, 2500}, new int[]{0, 1500, 3500}, new int[]{0, 2000, 4500}, new int[]{0, 3000, 6000}, new int[]{0, 5000, 10000}, new int[]{0, 10000, 100000}},
|
new int[][]{new int[]{0, 100, 500}, new int[]{0, 150, 750}, new int[]{0, 250, 1000}, new int[]{0, 500, 1500}, new int[]{0, 1000, 2500}, new int[]{0, 1500, 3500}, new int[]{0, 2000, 4500}, new int[]{0, 3000, 6000}, new int[]{0, 5000, 10000}, new int[]{0, 10000, 100000}},
|
||||||
new int[]{50, 100, 250, 500, 1000, 1500, 3000, 5000, 10000, 20000},
|
new int[]{50, 100, 250, 500, 1000, 1500, 3000, 5000, 10000, 20000},
|
||||||
"Novice I",
|
"Initiate",
|
||||||
new String[]{"Novice II", "Novice III", "Novice IV", "Novice V", "Master I", "Master II", "Master III", "Master IV", "GRANDMASTER"},
|
new String[]{"Novice I", "Novice II", "Novice III", "Novice IV", "Novice V", "Master I", "Master II", "Master III", "Master IV", "GRANDMASTER"},
|
||||||
AchievementCategory.CASTLE_ASSAULT),
|
AchievementCategory.CASTLE_ASSAULT),
|
||||||
|
|
||||||
CASTLE_ASSAULT_ARCHER_KIT("Archer", 0,
|
CASTLE_ASSAULT_ARCHER_KIT("Archer", 0,
|
||||||
@ -448,8 +448,8 @@ public enum Achievement
|
|||||||
new String[]{"Kill opponents while wearing the Archer Kit"},
|
new String[]{"Kill opponents while wearing the Archer Kit"},
|
||||||
new int[][]{new int[]{0, 100, 500}, new int[]{0, 150, 750}, new int[]{0, 250, 1000}, new int[]{0, 500, 1500}, new int[]{0, 1000, 2500}, new int[]{0, 1500, 3500}, new int[]{0, 2000, 4500}, new int[]{0, 3000, 6000}, new int[]{0, 5000, 10000}, new int[]{0, 10000, 100000}},
|
new int[][]{new int[]{0, 100, 500}, new int[]{0, 150, 750}, new int[]{0, 250, 1000}, new int[]{0, 500, 1500}, new int[]{0, 1000, 2500}, new int[]{0, 1500, 3500}, new int[]{0, 2000, 4500}, new int[]{0, 3000, 6000}, new int[]{0, 5000, 10000}, new int[]{0, 10000, 100000}},
|
||||||
new int[]{50, 100, 250, 500, 1000, 1500, 3000, 5000, 10000, 20000},
|
new int[]{50, 100, 250, 500, 1000, 1500, 3000, 5000, 10000, 20000},
|
||||||
"Novice I",
|
"Initiate",
|
||||||
new String[]{"Novice II", "Novice III", "Novice IV", "Novice V", "Master I", "Master II", "Master III", "Master IV", "GRANDMASTER"},
|
new String[]{"Novice I", "Novice II", "Novice III", "Novice IV", "Novice V", "Master I", "Master II", "Master III", "Master IV", "GRANDMASTER"},
|
||||||
AchievementCategory.CASTLE_ASSAULT),
|
AchievementCategory.CASTLE_ASSAULT),
|
||||||
|
|
||||||
CASTLE_ASSAULT_DEMOLITIONIST_KIT("Demolitionist", 0,
|
CASTLE_ASSAULT_DEMOLITIONIST_KIT("Demolitionist", 0,
|
||||||
@ -457,8 +457,8 @@ public enum Achievement
|
|||||||
new String[]{"Kill opponents while wearing the Demolitionist Kit"},
|
new String[]{"Kill opponents while wearing the Demolitionist Kit"},
|
||||||
new int[][]{new int[]{0, 100, 500}, new int[]{0, 150, 750}, new int[]{0, 250, 1000}, new int[]{0, 500, 1500}, new int[]{0, 1000, 2500}, new int[]{0, 1500, 3500}, new int[]{0, 2000, 4500}, new int[]{0, 3000, 6000}, new int[]{0, 5000, 10000}, new int[]{0, 10000, 100000}},
|
new int[][]{new int[]{0, 100, 500}, new int[]{0, 150, 750}, new int[]{0, 250, 1000}, new int[]{0, 500, 1500}, new int[]{0, 1000, 2500}, new int[]{0, 1500, 3500}, new int[]{0, 2000, 4500}, new int[]{0, 3000, 6000}, new int[]{0, 5000, 10000}, new int[]{0, 10000, 100000}},
|
||||||
new int[]{50, 100, 250, 500, 1000, 1500, 3000, 5000, 10000, 20000},
|
new int[]{50, 100, 250, 500, 1000, 1500, 3000, 5000, 10000, 20000},
|
||||||
"Novice I",
|
"Initiate",
|
||||||
new String[]{"Novice II", "Novice III", "Novice IV", "Novice V", "Master I", "Master II", "Master III", "Master IV", "GRANDMASTER"},
|
new String[]{"Novice I", "Novice II", "Novice III", "Novice IV", "Novice V", "Master I", "Master II", "Master III", "Master IV", "GRANDMASTER"},
|
||||||
AchievementCategory.CASTLE_ASSAULT),
|
AchievementCategory.CASTLE_ASSAULT),
|
||||||
|
|
||||||
CASTLE_ASSAULT_WINNER("Assault", 0,
|
CASTLE_ASSAULT_WINNER("Assault", 0,
|
||||||
@ -466,8 +466,8 @@ public enum Achievement
|
|||||||
new String[]{"Win games of Castle Assault"},
|
new String[]{"Win games of Castle Assault"},
|
||||||
new int[][]{new int[]{0, 100, 500}, new int[]{0, 150, 750}, new int[]{0, 250, 1000}, new int[]{0, 500, 1500}, new int[]{0, 1000, 2500}, new int[]{0, 1500, 3500}, new int[]{0, 2000, 4500}, new int[]{0, 3000, 6000}, new int[]{0, 5000, 10000}, new int[]{0, 10000, 100000}},
|
new int[][]{new int[]{0, 100, 500}, new int[]{0, 150, 750}, new int[]{0, 250, 1000}, new int[]{0, 500, 1500}, new int[]{0, 1000, 2500}, new int[]{0, 1500, 3500}, new int[]{0, 2000, 4500}, new int[]{0, 3000, 6000}, new int[]{0, 5000, 10000}, new int[]{0, 10000, 100000}},
|
||||||
new int[]{2, 5, 25, 50, 100, 150, 250, 500, 1000, 2000},
|
new int[]{2, 5, 25, 50, 100, 150, 250, 500, 1000, 2000},
|
||||||
"Novice I",
|
"Initiate",
|
||||||
new String[]{"Novice II", "Novice III", "Novice IV", "Novice V", "Master I", "Master II", "Master III", "Master IV", "GRANDMASTER"},
|
new String[]{"Novice I", "Novice II", "Novice III", "Novice IV", "Novice V", "Master I", "Master II", "Master III", "Master IV", "GRANDMASTER"},
|
||||||
AchievementCategory.CASTLE_ASSAULT),
|
AchievementCategory.CASTLE_ASSAULT),
|
||||||
|
|
||||||
//Champions
|
//Champions
|
||||||
|
@ -117,7 +117,7 @@ public class ClansBanManager extends MiniPlugin
|
|||||||
event.getPlayer().removePotionEffect(PotionEffectType.JUMP);
|
event.getPlayer().removePotionEffect(PotionEffectType.JUMP);
|
||||||
for (Player staff : UtilServer.GetPlayers())
|
for (Player staff : UtilServer.GetPlayers())
|
||||||
{
|
{
|
||||||
if (_clientManager.hasRank(staff, Rank.CMOD))
|
if (_clientManager.Get(staff).GetRank().has(null, Rank.ADMIN, new Rank[] {Rank.CMOD, Rank.CMA}, false))
|
||||||
{
|
{
|
||||||
UtilPlayer.message(staff, F.main(getName(), F.elem(event.getPlayer().getName()) + " has logged out while frozen!"));
|
UtilPlayer.message(staff, F.main(getName(), F.elem(event.getPlayer().getName()) + " has logged out while frozen!"));
|
||||||
}
|
}
|
||||||
@ -266,7 +266,7 @@ public class ClansBanManager extends MiniPlugin
|
|||||||
player.addPotionEffect(new PotionEffect(PotionEffectType.JUMP, 999999, -10));
|
player.addPotionEffect(new PotionEffect(PotionEffectType.JUMP, 999999, -10));
|
||||||
for (Player alert : UtilServer.GetPlayers())
|
for (Player alert : UtilServer.GetPlayers())
|
||||||
{
|
{
|
||||||
if (_clientManager.hasRank(alert, Rank.CMOD))
|
if (_clientManager.Get(staff).GetRank().has(null, Rank.ADMIN, new Rank[] {Rank.CMOD, Rank.CMA}, false))
|
||||||
{
|
{
|
||||||
UtilPlayer.message(alert, F.main(getName(), F.elem(player.getName()) + " has been frozen by " + F.elem(staff.getName()) + "!"));
|
UtilPlayer.message(alert, F.main(getName(), F.elem(player.getName()) + " has been frozen by " + F.elem(staff.getName()) + "!"));
|
||||||
}
|
}
|
||||||
@ -287,7 +287,7 @@ public class ClansBanManager extends MiniPlugin
|
|||||||
player.removePotionEffect(PotionEffectType.JUMP);
|
player.removePotionEffect(PotionEffectType.JUMP);
|
||||||
for (Player alert : UtilServer.GetPlayers())
|
for (Player alert : UtilServer.GetPlayers())
|
||||||
{
|
{
|
||||||
if (_clientManager.hasRank(alert, Rank.CMOD))
|
if (_clientManager.Get(staff).GetRank().has(null, Rank.ADMIN, new Rank[] {Rank.CMOD, Rank.CMA}, false))
|
||||||
{
|
{
|
||||||
UtilPlayer.message(alert, F.main(getName(), F.elem(player.getName()) + " has been unfrozen by " + F.elem(staff.getName()) + "!"));
|
UtilPlayer.message(alert, F.main(getName(), F.elem(player.getName()) + " has been unfrozen by " + F.elem(staff.getName()) + "!"));
|
||||||
continue;
|
continue;
|
||||||
|
@ -13,7 +13,7 @@ public class ClansBanCommand extends CommandBase<ClansBanManager>
|
|||||||
{
|
{
|
||||||
public ClansBanCommand(ClansBanManager plugin)
|
public ClansBanCommand(ClansBanManager plugin)
|
||||||
{
|
{
|
||||||
super(plugin, Rank.CMOD, "cbans", "cb", "cban", "cp", "cpunish", "clanspunish", "clanpunish");
|
super(plugin, Rank.ADMIN, new Rank[] {Rank.CMOD, Rank.CMA}, "cbans", "cb", "cban", "cp", "cpunish", "clanspunish", "clanpunish");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -16,7 +16,7 @@ public class FreezeCommand extends CommandBase<ClansBanManager>
|
|||||||
{
|
{
|
||||||
public FreezeCommand(ClansBanManager plugin)
|
public FreezeCommand(ClansBanManager plugin)
|
||||||
{
|
{
|
||||||
super(plugin, Rank.CMOD, "freeze");
|
super(plugin, Rank.ADMIN, new Rank[] {Rank.CMOD, Rank.CMA}, "freeze");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -16,7 +16,7 @@ public class UnfreezeCommand extends CommandBase<ClansBanManager>
|
|||||||
{
|
{
|
||||||
public UnfreezeCommand(ClansBanManager plugin)
|
public UnfreezeCommand(ClansBanManager plugin)
|
||||||
{
|
{
|
||||||
super(plugin, Rank.CMOD, "unfreeze");
|
super(plugin, Rank.ADMIN, new Rank[] {Rank.CMOD, Rank.CMA}, "unfreeze");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
package mineplex.hub;
|
package mineplex.hub;
|
||||||
|
|
||||||
import mineplex.hub.modules.AlienInvasion;
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
@ -248,7 +247,6 @@ public class Hub extends JavaPlugin implements IRelation
|
|||||||
require(AprilFoolsTreasureHunt.class);
|
require(AprilFoolsTreasureHunt.class);
|
||||||
}
|
}
|
||||||
require(TwitchIntegrationFix.class);
|
require(TwitchIntegrationFix.class);
|
||||||
require(AlienInvasion.class);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -259,7 +259,7 @@ public abstract class Game extends ListenerComponent implements Lifetimed
|
|||||||
public boolean PrepareAutoAnnounce = true;
|
public boolean PrepareAutoAnnounce = true;
|
||||||
public boolean PlaySoundGameStart = true;
|
public boolean PlaySoundGameStart = true;
|
||||||
|
|
||||||
public double XpMult = 2;
|
public double XpMult = 1;
|
||||||
|
|
||||||
public boolean SpeedMeasurement = false;
|
public boolean SpeedMeasurement = false;
|
||||||
|
|
||||||
@ -281,7 +281,7 @@ public abstract class Game extends ListenerComponent implements Lifetimed
|
|||||||
// Gems
|
// Gems
|
||||||
public boolean CrownsEnabled = false;
|
public boolean CrownsEnabled = false;
|
||||||
|
|
||||||
public double GemMultiplier = 2;
|
public double GemMultiplier = 1;
|
||||||
public boolean GemHunterEnabled = true;
|
public boolean GemHunterEnabled = true;
|
||||||
public boolean GemBoosterEnabled = true;
|
public boolean GemBoosterEnabled = true;
|
||||||
public boolean GemDoubleEnabled = true;
|
public boolean GemDoubleEnabled = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user