Move Constants to common

This commit is contained in:
samczsun 2017-01-11 16:10:06 -05:00 committed by cnr
parent e72d1e51a2
commit 132036bd17
9 changed files with 10 additions and 9 deletions

View File

@ -1,4 +1,4 @@
package mineplex.core; package mineplex.core.common;
public class Constants public class Constants
{ {

View File

@ -2,6 +2,7 @@ package mineplex.core.common.util;
import com.google.common.collect.Lists; import com.google.common.collect.Lists;
import mineplex.core.common.Constants;
import mineplex.core.common.events.PlayerRecieveBroadcastEvent; import mineplex.core.common.events.PlayerRecieveBroadcastEvent;
import mineplex.serverdata.Region; import mineplex.serverdata.Region;
@ -209,7 +210,7 @@ public class UtilServer
public static String getWebServerURL() public static String getWebServerURL()
{ {
return getPlugin().getConfig().getString("webServer"); return getPlugin().getConfig().getString(Constants.WEB_CONFIG_KEY);
} }
public static BukkitTask runAsync(Runnable runnable) public static BukkitTask runAsync(Runnable runnable)

View File

@ -1,6 +1,6 @@
package mineplex.enjinTranslator; package mineplex.enjinTranslator;
import mineplex.core.Constants; import mineplex.core.common.Constants;
import mineplex.core.account.CoreClientManager; import mineplex.core.account.CoreClientManager;
import mineplex.core.command.CommandCenter; import mineplex.core.command.CommandCenter;
import mineplex.core.donation.DonationManager; import mineplex.core.donation.DonationManager;

View File

@ -10,7 +10,7 @@ import org.bukkit.craftbukkit.v1_8_R3.CraftWorld;
import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.plugin.java.JavaPlugin;
import org.spigotmc.SpigotConfig; import org.spigotmc.SpigotConfig;
import mineplex.core.Constants; import mineplex.core.common.Constants;
import mineplex.core.CustomTagFix; import mineplex.core.CustomTagFix;
import mineplex.core.FoodDupeFix; import mineplex.core.FoodDupeFix;
import mineplex.core.TimingsFix; import mineplex.core.TimingsFix;

View File

@ -4,7 +4,7 @@ import org.bukkit.Bukkit;
import org.bukkit.Location; import org.bukkit.Location;
import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.plugin.java.JavaPlugin;
import mineplex.core.Constants; import mineplex.core.common.Constants;
import mineplex.core.CustomTagFix; import mineplex.core.CustomTagFix;
import mineplex.core.PacketsInteractionFix; import mineplex.core.PacketsInteractionFix;
import mineplex.core.account.CoreClientManager; import mineplex.core.account.CoreClientManager;

View File

@ -5,7 +5,7 @@ import org.bukkit.Location;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.plugin.java.JavaPlugin;
import mineplex.core.Constants; import mineplex.core.common.Constants;
import mineplex.core.CustomTagFix; import mineplex.core.CustomTagFix;
import mineplex.core.PacketsInteractionFix; import mineplex.core.PacketsInteractionFix;
import mineplex.core.account.CoreClientManager; import mineplex.core.account.CoreClientManager;

View File

@ -2,7 +2,7 @@ package mineplex.staffServer;
import com.mojang.authlib.GameProfile; import com.mojang.authlib.GameProfile;
import mineplex.core.Constants; import mineplex.core.common.Constants;
import mineplex.core.account.CoreClientManager; import mineplex.core.account.CoreClientManager;
import mineplex.core.achievement.AchievementManager; import mineplex.core.achievement.AchievementManager;
import mineplex.core.chat.Chat; import mineplex.core.chat.Chat;

View File

@ -10,7 +10,7 @@ import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.plugin.java.JavaPlugin;
import org.spigotmc.SpigotConfig; import org.spigotmc.SpigotConfig;
import mineplex.core.Constants; import mineplex.core.common.Constants;
import mineplex.core.CustomTagFix; import mineplex.core.CustomTagFix;
import mineplex.core.FoodDupeFix; import mineplex.core.FoodDupeFix;
import mineplex.core.PacketsInteractionFix; import mineplex.core.PacketsInteractionFix;

View File

@ -3,7 +3,7 @@ package mineplex.mavericks.review;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.plugin.java.JavaPlugin;
import mineplex.core.Constants; import mineplex.core.common.Constants;
import mineplex.core.CustomTagFix; import mineplex.core.CustomTagFix;
import mineplex.core.FoodDupeFix; import mineplex.core.FoodDupeFix;
import mineplex.core.PacketsInteractionFix; import mineplex.core.PacketsInteractionFix;