Move config classes to configuration sub-package
This commit is contained in:
parent
ea061e55e6
commit
c1a34875cf
@ -4,7 +4,7 @@ import net.mindoverflow.network.uhccore.commands.UhcCoreCommand;
|
||||
import net.mindoverflow.network.uhccore.completers.InfoCompleter;
|
||||
import net.mindoverflow.network.uhccore.listeners.*;
|
||||
import net.mindoverflow.network.uhccore.utils.Debugger;
|
||||
import net.mindoverflow.network.uhccore.utils.FileUtils;
|
||||
import net.mindoverflow.network.uhccore.utils.configuration.FileUtils;
|
||||
import net.mindoverflow.network.uhccore.utils.MessageUtils;
|
||||
import org.bukkit.plugin.PluginManager;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
@ -4,7 +4,7 @@ import net.mindoverflow.network.uhccore.UhcCore;
|
||||
import net.mindoverflow.network.uhccore.commands.uhccommands.*;
|
||||
import net.mindoverflow.network.uhccore.utils.Debugger;
|
||||
import net.mindoverflow.network.uhccore.utils.MessageUtils;
|
||||
import net.mindoverflow.network.uhccore.utils.LocalizedMessages;
|
||||
import net.mindoverflow.network.uhccore.utils.configuration.LocalizedMessages;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandExecutor;
|
||||
import org.bukkit.command.CommandSender;
|
||||
|
@ -1,7 +1,7 @@
|
||||
package net.mindoverflow.network.uhccore.commands.uhccommands;
|
||||
|
||||
import net.mindoverflow.network.uhccore.utils.Debugger;
|
||||
import net.mindoverflow.network.uhccore.utils.FileUtils;
|
||||
import net.mindoverflow.network.uhccore.utils.configuration.FileUtils;
|
||||
import org.bukkit.command.CommandSender;
|
||||
|
||||
import java.util.logging.Level;
|
||||
|
@ -1,9 +1,9 @@
|
||||
package net.mindoverflow.network.uhccore.commands.uhccommands;
|
||||
|
||||
import net.mindoverflow.network.uhccore.utils.CommonValues;
|
||||
import net.mindoverflow.network.uhccore.utils.ConfigEntries;
|
||||
import net.mindoverflow.network.uhccore.utils.configuration.ConfigEntries;
|
||||
import net.mindoverflow.network.uhccore.utils.Debugger;
|
||||
import net.mindoverflow.network.uhccore.utils.FileUtils;
|
||||
import net.mindoverflow.network.uhccore.utils.configuration.FileUtils;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.configuration.file.YamlConfiguration;
|
||||
|
@ -1,8 +1,8 @@
|
||||
package net.mindoverflow.network.uhccore.commands.uhccommands;
|
||||
|
||||
import net.mindoverflow.network.uhccore.utils.CommonValues;
|
||||
import net.mindoverflow.network.uhccore.utils.ConfigEntries;
|
||||
import net.mindoverflow.network.uhccore.utils.FileUtils;
|
||||
import net.mindoverflow.network.uhccore.utils.configuration.ConfigEntries;
|
||||
import net.mindoverflow.network.uhccore.utils.configuration.FileUtils;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.configuration.file.YamlConfiguration;
|
||||
|
@ -2,16 +2,13 @@ package net.mindoverflow.network.uhccore.commands.uhccommands;
|
||||
|
||||
import net.mindoverflow.network.uhccore.UhcCore;
|
||||
import net.mindoverflow.network.uhccore.utils.CommonValues;
|
||||
import net.mindoverflow.network.uhccore.utils.ConfigEntries;
|
||||
import net.mindoverflow.network.uhccore.utils.Debugger;
|
||||
import net.mindoverflow.network.uhccore.utils.FileUtils;
|
||||
import net.mindoverflow.network.uhccore.utils.math.NumberUtils;
|
||||
import org.bukkit.*;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Random;
|
||||
import java.util.logging.Level;
|
||||
|
||||
|
||||
|
@ -2,6 +2,8 @@ package net.mindoverflow.network.uhccore.utils;
|
||||
|
||||
|
||||
import net.mindoverflow.network.uhccore.UhcCore;
|
||||
import net.mindoverflow.network.uhccore.utils.configuration.FileUtils;
|
||||
import net.mindoverflow.network.uhccore.utils.configuration.LocalizedMessages;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.configuration.file.YamlConfiguration;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.mindoverflow.network.uhccore.utils;
|
||||
package net.mindoverflow.network.uhccore.utils.configuration;
|
||||
|
||||
public enum ConfigEntries
|
||||
{
|
@ -1,21 +1,19 @@
|
||||
package net.mindoverflow.network.uhccore.utils;
|
||||
package net.mindoverflow.network.uhccore.utils.configuration;
|
||||
|
||||
import net.mindoverflow.network.uhccore.UhcCore;
|
||||
import net.mindoverflow.network.uhccore.listeners.TeamsSelectorGUI;
|
||||
import net.mindoverflow.network.uhccore.utils.CommonValues;
|
||||
import net.mindoverflow.network.uhccore.utils.Debugger;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.World;
|
||||
import org.bukkit.configuration.file.YamlConfiguration;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.inventory.meta.ItemMeta;
|
||||
import sun.security.krb5.Config;
|
||||
|
||||
import java.io.*;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Paths;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
import java.util.logging.Level;
|
||||
|
||||
public class FileUtils
|
@ -1,4 +1,4 @@
|
||||
package net.mindoverflow.network.uhccore.utils;
|
||||
package net.mindoverflow.network.uhccore.utils.configuration;
|
||||
|
||||
public enum LocalizedMessages {
|
||||
|
Loading…
Reference in New Issue
Block a user