public abstract class Factions
extends java.lang.Object
Constructor and Description |
---|
Factions() |
Modifier and Type | Method and Description |
---|---|
abstract Faction |
createFaction() |
abstract void |
forceSave() |
abstract void |
forceSave(boolean sync) |
abstract java.util.ArrayList<Faction> |
getAllFactions() |
abstract Faction |
getBestTagMatch(java.lang.String start) |
abstract Faction |
getByTag(java.lang.String str) |
abstract Faction |
getFactionById(java.lang.String id) |
abstract java.util.Set<java.lang.String> |
getFactionTags() |
static Factions |
getInstance() |
abstract Faction |
getNone()
Deprecated.
|
abstract Faction |
getSafeZone() |
abstract Faction |
getWarZone() |
abstract Faction |
getWilderness() |
abstract boolean |
isTagTaken(java.lang.String str) |
abstract boolean |
isValidFactionId(java.lang.String id) |
abstract void |
load() |
abstract void |
removeFaction(java.lang.String id) |
protected static Factions instance
public static Factions getInstance()
public abstract Faction getFactionById(java.lang.String id)
public abstract Faction getByTag(java.lang.String str)
public abstract Faction getBestTagMatch(java.lang.String start)
public abstract boolean isTagTaken(java.lang.String str)
public abstract boolean isValidFactionId(java.lang.String id)
public abstract Faction createFaction()
public abstract void removeFaction(java.lang.String id)
public abstract java.util.Set<java.lang.String> getFactionTags()
public abstract java.util.ArrayList<Faction> getAllFactions()
@Deprecated public abstract Faction getNone()
public abstract Faction getWilderness()
public abstract Faction getSafeZone()
public abstract Faction getWarZone()
public abstract void forceSave()
public abstract void forceSave(boolean sync)
public abstract void load()