void LoadProperties() { SrvProperties.Load(); LoadGeneralProps(); LoadChatProps(); LoadIrcSqlProps(); LoadMiscProps(); LoadRankProps(); LoadSecurityProps(); zsSettings.LoadFromServer(); }
void SaveChanges() { SaveProperties(); SaveRanks(); SaveCommands(); SaveBlocks(); SaveGameProps(); try { ZSGame.Config.Save(); } catch { Logger.Log(LogType.Warning, "Error saving Zombie Survival settings!"); } SrvProperties.Load(); // loads when saving? CommandPerms.Load(); }
public static void LoadAllSettings() { SrvProperties.Load("properties/server.properties"); /*Updater.Load("properties/update.properties"); * Group.InitAll(); * Command.InitAll(); * GrpCommands.fillRanks(); * Block.SetBlocks(); * Awards.Load(); * Economy.Load(); * Warp.LOAD(); * CommandOtherPerms.Load(); * ProfanityFilter.Init();*/ }