Class Factions

  • Direct Known Subclasses:
    MemoryFactions

    public abstract class Factions
    extends java.lang.Object
    • Field Detail

      • instance

        protected static Factions instance
    • Constructor Detail

      • Factions

        public Factions()
    • Method Detail

      • getInstance

        public static Factions getInstance()
      • getFactionById

        public abstract Faction getFactionById​(java.lang.String id)
      • getByTag

        public abstract Faction getByTag​(java.lang.String str)
      • getBestTagMatch

        public abstract Faction getBestTagMatch​(java.lang.String start)
      • isTagTaken

        public abstract boolean isTagTaken​(java.lang.String str)
      • isValidFactionId

        public abstract boolean isValidFactionId​(java.lang.String id)
      • createFaction

        public abstract Faction createFaction()
      • removeFaction

        public abstract void removeFaction​(java.lang.String id)
      • getFactionTags

        public abstract java.util.Set<java.lang.String> getFactionTags()
      • getAllFactions

        public abstract java.util.ArrayList<Faction> getAllFactions()
      • getNone

        @Deprecated
        public abstract Faction getNone()
        Deprecated.
      • getWilderness

        public abstract Faction getWilderness()
      • getSafeZone

        public abstract Faction getSafeZone()
      • getWarZone

        public abstract Faction getWarZone()
      • forceSave

        public abstract void forceSave()
      • forceSave

        public abstract void forceSave​(boolean sync)
      • load

        public abstract void load()