diff --git a/src/com/massivecraft/factions/ConfServer.java b/src/com/massivecraft/factions/ConfServer.java index 5d0c8b2a..df1df9ca 100644 --- a/src/com/massivecraft/factions/ConfServer.java +++ b/src/com/massivecraft/factions/ConfServer.java @@ -11,6 +11,26 @@ import com.massivecraft.factions.struct.Rel; public class ConfServer { + // -------------------------------------------- // + // INSTANCE & CONSTRUCT + // -------------------------------------------- // + + private static transient ConfServer i = new ConfServer(); + public static ConfServer get() { return i; } + + public static void load() + { + Factions.get().persist.loadOrSaveDefault(i, ConfServer.class, "conf"); + } + public static void save() + { + Factions.get().persist.save(i); + } + + // -------------------------------------------- // + // FIELDS + // -------------------------------------------- // + public final static transient List baseCommandAliases = new ArrayList(); // Colors @@ -340,18 +360,5 @@ public class ConfServer spoutHealthBarColorUnderQuota.put(0.3d, "&c"); spoutHealthBarColorUnderQuota.put(0.2d, "&4"); } - - // -------------------------------------------- // - // Persistance - // -------------------------------------------- // - private static transient ConfServer i = new ConfServer(); - public static void load() - { - Factions.get().persist.loadOrSaveDefault(i, ConfServer.class, "conf"); - } - public static void save() - { - Factions.get().persist.save(i); - } }