Example #1
0
    public static void Configure()
    {
        Enabled = ServerConfiguration.GetSetting("factions.enabled", false);

        if (Enabled)
        {
            GenericPersistence.Register("Factions", Serialize, Deserialize);
        }
    }
Example #2
0
    // 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);
    }
Example #3
0
 public static void Configure()
 {
     GenericPersistence.Register("StealableArtifacts", Serialize, Deserialize);
 }
Example #4
0
 public static void Configure()
 {
     GenericPersistence.Register("AchievementSystem", Serialize, Deserialize);
 }