diff --git a/pom.xml b/pom.xml index 4f0e60df..de0373c3 100644 --- a/pom.xml +++ b/pom.xml @@ -15,20 +15,6 @@ UTF-8 - - - nexus - Lumine Releases - https://mvn.lumine.io/repository/maven-releases/ - - - nexus - Lumine Snapshots - https://mvn.lumine.io/repository/maven-snapshots/ - - - - ${project.name}-${project.version} @@ -81,13 +67,13 @@ - lumine - https://mvn.lumine.io/repository/maven/ + nexus + https://mvn.lumine.io/repository/maven-public/ - placeholderapi - https://repo.extendedclip.com/content/repositories/placeholderapi/ + phoenix + http://la-grange-evasion.pro.dns-orange.fr:8081/repository/maven-public/ @@ -160,8 +146,8 @@ me.clip - placeholderapi - 2.9.2 + PlaceholderAPI + 2.11.1 provided @@ -182,7 +168,7 @@ net.citizensnpcs Citizens - 2.0.25 + 2.0.30-b2571 provided diff --git a/src/main/java/net/Indyuce/mmocore/manager/ConfigManager.java b/src/main/java/net/Indyuce/mmocore/manager/ConfigManager.java index da56b890..bbf3ce55 100644 --- a/src/main/java/net/Indyuce/mmocore/manager/ConfigManager.java +++ b/src/main/java/net/Indyuce/mmocore/manager/ConfigManager.java @@ -28,6 +28,7 @@ public class ConfigManager { public ChatColor staminaFull, staminaHalf, staminaEmpty; public long combatLogTimer, lootChestExpireTime, lootChestPlayerCooldown, globalSkillCooldown; public double lootChestsChanceWeight; + public int maxPartyLevelDifference; private final FileConfiguration messages; private final boolean chatInput; @@ -99,6 +100,7 @@ public class ConfigManager { globalSkillCooldown = MMOCore.plugin.getConfig().getLong("global-skill-cooldown") * 50; noSkillBoundPlaceholder = getSimpleMessage("no-skill-placeholder").message(); lootChestsChanceWeight = MMOCore.plugin.getConfig().getDouble("chance-stat-weight.loot-chests"); + maxPartyLevelDifference = MMOCore.plugin.getConfig().getInt("party.max-level-difference"); staminaFull = getColorOrDefault("stamina-whole", ChatColor.GREEN); staminaHalf = getColorOrDefault("stamina-half", ChatColor.DARK_GREEN);