public static void Configure() { Enabled = ServerConfiguration.GetSetting("factions.enabled", false); if (Enabled) { GenericPersistence.Register("Factions", Serialize, Deserialize); } }
// This does not do the actual work of creating faction stuff, only turns on the persistence. public static void Enable() { if (Enabled) { return; } GenericPersistence.Register("Factions", Serialize, Deserialize); Enabled = true; ServerConfiguration.SetSetting("factions.enabled", true); }
public static void Configure() { GenericPersistence.Register("StealableArtifacts", Serialize, Deserialize); }
public static void Configure() { GenericPersistence.Register("AchievementSystem", Serialize, Deserialize); }