protected override void LoadDefaultConfig() { Config.Set("settings", Settings.CreateDefault()); }
protected override void LoadDefaultConfig() { if (Config["Steak"] == null) { Config.Set("Steak", 1); } if (Config["FreshOwrong"] == null) { Config.Set("FreshOwrong", 1); } if (Config["Dynamite"] == null) { Config.Set("Dynamite", 5); } if (Config["C4"] == null) { Config.Set("C4", 1); } if (Config["Paints"] == null) { Config.Set("Paints", 1); } if (Config["PoisonTrap"] == null) { Config.Set("PoisonTrap", 1); } if (Config["CarParts"] == null) { Config.Set("CarParts", 1); } if (Config["CarPanels"] == null) { Config.Set("CarPanels", 1); } if (Config["Wheels"] == null) { Config.Set("Wheels", 1); } if (Config["Designs"] == null) { Config.Set("Designs", 1); } if (Config["Drills"] == null) { Config.Set("Drills", 1); } if (Config["Wrench"] == null) { Config.Set("Wrench", 1); } if (Config["OwnershipStake"] == null) { Config.Set("OwnershipStake", 1); } if (Config["ConstructionHammer"] == null) { Config.Set("ConstructionHammer", 1); } if (Config["BlastFurnace"] == null) { Config.Set("BlastFurnace", 1); } if (Config["Backpacks"] == null) { Config.Set("Backpacks", 1); } if (Config["LandcrabMine"] == null) { Config.Set("LandcrabMine", 1); } if (Config["Sign"] == null) { Config.Set("Sign", 1); } SaveConfig(); }
protected override void LoadDefaultConfig() { if (Config["ShowConsoleMsg"] == null) { Config.Set("ShowConsoleMsg", false); } if (Config["KillingInGodBan"] == null) { Config.Set("KillingInGodBan", false); } if (Config["KillingInGodKick"] == null) { Config.Set("KillingInGodKick", false); } if (Config["LogKicks"] == null) { Config.Set("LogKicks", false); } if (Config["LogBans"] == null) { Config.Set("LogBans", false); } if (Config["LogTempBans"] == null) { Config.Set("LogTempBans", false); } if (Config["LogUnban"] == null) { Config.Set("LogUnban", false); } if (Config["LogGodMode"] == null) { Config.Set("LogGodMode", false); } if (Config["LogMute"] == null) { Config.Set("LogMute", false); } if (Config["LogNoClip"] == null) { Config.Set("LogNoClip", false); } if (Config["LogHeal"] == null) { Config.Set("LogHeal", false); } if (Config["LogInfamy"] == null) { Config.Set("LogInfamy", false); } if (Config["LogFreeze"] == null) { Config.Set("LogFreeze", false); } if (Config["LogKillingInGodMode"] == null) { Config.Set("LogKillingInGodMode", false); } SaveConfig(); }
protected override void LoadDefaultConfig() { Config.Set("showDistanceCommand", true); }