Skip to content

Commit

Permalink
2.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
oqyh authored Nov 6, 2024
1 parent 16869c5 commit 2cb5cfa
Show file tree
Hide file tree
Showing 5 changed files with 240 additions and 330 deletions.
61 changes: 30 additions & 31 deletions Config/Configs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,18 +90,15 @@ private static void SaveConfigData(ConfigData configData)
public class ConfigData
{
public bool Enable_UseMySql { get; set; }

public bool DisableRadio { get; set; }
public bool DisableBotRadio { get; set; }
public bool DisableChatWheel { get; set; }
public bool DisablePing { get; set; }
public bool DisableGrenadeRadio { get; set; }
public bool DisableRadar { get; set; }

public bool DisableFallDamage { get; set; }
public bool DisableSvCheats { get; set; }
public bool DisableC4 { get; set; }

public bool DisableBloodAndHsSpark { get; set; }
public int DisableKillfeedMode { get; set; }
public int DisableTeamMateHeadTag { get; set; }
Expand All @@ -121,37 +118,38 @@ public class ConfigData
public int Toggle_AutoRemovePlayerCookieOlderThanXDays { get; set; }
public int Toggle_AutoRemovePlayerMySqlOlderThanXDays { get; set; }
public string empty { get; set; }
public bool DisableMPVSound { get; set; }
public bool DisableJumpLandSound { get; set; }
public int Sounds_MuteGunShotsMode { get; set; }
public uint Mode4_Sounds_GunShots_weapon_id { get; set; }
public int Mode4_Sounds_GunShots_sound_type { get; set; }
public uint Mode4_Sounds_GunShots_item_def_index { get; set; }
public bool Sounds_MuteMVP { get; set; }
public bool Sounds_MuteJumpLand { get; set; }
public int Sounds_MuteKnifesMode { get; set; }
public bool Sounds_MutePlayersFootSteps { get; set; }
public bool Sounds_MuteHeadShot { get; set; }
public bool Sounds_MuteBodyShot { get; set; }
public bool Sounds_MutePlayerDeathVoice { get; set; }
public bool Sounds_MuteAfterDeathCrackling { get; set; }
public bool Sounds_MuteSwitchModeSemiToAuto { get; set; }
public string Sounds_MuteDropWeapons { get; set; }
public string empty1 { get; set; }
public bool IgnoreDefaultBombPlantedAnnounce { get; set; }
public bool IgnoreDefaultTeamMateAttackMessages { get; set; }
public bool IgnoreDefaultAwardsMoneyMessages { get; set; }
public bool IgnorePlayerSavedYouByPlayerMessages { get; set; }
public bool IgnoreChickenKilledMessages { get; set; }
public bool IgnoreDefaultJoinTeamMessages { get; set; }
public int IgnoreDefaultDisconnectMessagesMode { get; set; }
public bool Ignore_BombPlantedHUDMessages { get; set; }
public bool Ignore_TeamMateAttackMessages { get; set; }
public bool Ignore_AwardsMoneyMessages { get; set; }
public bool Ignore_PlayerSavedYouByPlayerMessages { get; set; }
public bool Ignore_ChickenKilledMessages { get; set; }
public bool Ignore_JoinTeamMessages { get; set; }
public bool Ignore_PlantingBombMessages { get; set; }
public bool Ignore_DefusingBombMessages { get; set; }
public int Ignore_DisconnectMessagesMode { get; set; }

public string empty2 { get; set; }
public int CustomJoinTeamMessagesMode { get; set; }
public int CustomThrowNadeMessagesMode { get; set; }
public string empty3 { get; set; }
public int AutoCleanDropWeaponsMode { get; set; }
public string AutoCleanTheseDroppedWeaponsOnly { get; set; }
public float Mode1_TimeXSecsDelayClean { get; set; }
public float Mode2_TimeXSecsDelayClean { get; set; }
public float Mode3_EveryTimeXSecs { get; set; }
public int AutoClean_DropWeaponsMode { get; set; }
public string AutoClean_TheseDroppedWeaponsOnly { get; set; }
public int AutoClean_WhenXWeaponsInGround { get; set; }
public string empty4 { get; set; }
public bool EnableDebug { get; set; }
public string empty5 { get; set; }
Expand Down Expand Up @@ -188,36 +186,37 @@ public ConfigData()
Toggle_AutoRemovePlayerCookieOlderThanXDays = 7;
Toggle_AutoRemovePlayerMySqlOlderThanXDays = 7;
empty = "----------------------------[ ↓ Default CS2 Sounds ↓ ]---------------------------------";
DisableMPVSound = false;
DisableJumpLandSound = false;
Sounds_MuteGunShotsMode = 0;
Mode4_Sounds_GunShots_weapon_id = 0;
Mode4_Sounds_GunShots_sound_type = 9;
Mode4_Sounds_GunShots_item_def_index = 61;
Sounds_MuteMVP = false;
Sounds_MuteJumpLand = false;
Sounds_MuteKnifesMode = 0;
Sounds_MutePlayersFootSteps = false;
Sounds_MuteHeadShot = false;
Sounds_MuteBodyShot = false;
Sounds_MutePlayerDeathVoice = false;
Sounds_MuteAfterDeathCrackling = false;
Sounds_MuteSwitchModeSemiToAuto = false;
Sounds_MuteDropWeapons = "";
empty1 = "----------------------------[ ↓ Default CS2 Messages ↓ ]-------------------------------";
IgnoreDefaultBombPlantedAnnounce = false;
IgnoreDefaultTeamMateAttackMessages = false;
IgnoreDefaultAwardsMoneyMessages = false;
IgnorePlayerSavedYouByPlayerMessages = false;
IgnoreChickenKilledMessages = false;
IgnoreDefaultJoinTeamMessages = false;
IgnoreDefaultDisconnectMessagesMode = 0;
Ignore_BombPlantedHUDMessages = false;
Ignore_TeamMateAttackMessages = false;
Ignore_AwardsMoneyMessages = false;
Ignore_PlayerSavedYouByPlayerMessages = false;
Ignore_ChickenKilledMessages = false;
Ignore_JoinTeamMessages = false;
Ignore_PlantingBombMessages = false;
Ignore_DefusingBombMessages = false;
Ignore_DisconnectMessagesMode = 0;
empty2 = "----------------------------[ ↓ Custom Messages ↓ ]------------------------------------";
CustomJoinTeamMessagesMode = 0;
CustomThrowNadeMessagesMode = 0;
empty3 = "----------------------------[ ↓ Auto Clean Drop Weapons ↓ ]----------------------------";
AutoCleanDropWeaponsMode = 0;
AutoCleanTheseDroppedWeaponsOnly = "1,2,3";
Mode1_TimeXSecsDelayClean = 10;
Mode2_TimeXSecsDelayClean = 10;
Mode3_EveryTimeXSecs = 10;
AutoClean_DropWeaponsMode = 0;
AutoClean_TheseDroppedWeaponsOnly = "A,B,C,D,weapon_hegrenade";
AutoClean_WhenXWeaponsInGround = 5;
empty4 = "----------------------------[ ↓ Debug ↓ ]----------------------------------------------";
EnableDebug = false;
empty5 = "----------------------------[ ↓ Info For All Configs Above ↓ ]----------------------------";
Expand Down
3 changes: 2 additions & 1 deletion Config/Globals.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ namespace Game_Manager_GoldKingZ;

public class Globals
{
public static List<CBaseEntity> CbaseWeapons = new List<CBaseEntity>();

public static bool onetimeclean = false;
public static uint HIDEWEAPONS = 64;
public static uint HIDECHAT = 128;
Expand All @@ -15,7 +17,6 @@ public class Globals
public static Dictionary<ulong, bool> Toggle_OnDisableWeapons = new Dictionary<ulong, bool>();
public static Dictionary<ulong, int> Toggle_DisableLegs = new Dictionary<ulong, int>();
public static Dictionary<ulong, bool> Remove_Icon = new Dictionary<ulong, bool>();
public static CounterStrikeSharp.API.Modules.Timers.Timer? CleanerTimer;
public static Dictionary<CCSPlayerController, CounterStrikeSharp.API.Modules.Timers.Timer> TimerRemoveDeadBody = new Dictionary<CCSPlayerController, CounterStrikeSharp.API.Modules.Timers.Timer>();

public static Dictionary<CCSPlayerController, int> PlayerAlpha = new Dictionary<CCSPlayerController, int>();
Expand Down
Loading

0 comments on commit 2cb5cfa

Please sign in to comment.