Giter Site home page Giter Site logo

oqyh / cs2-game-manager Goto Github PK

View Code? Open in Web Editor NEW
37.0 1.0 2.0 2.58 MB

Block/Hide , Messages , Ping , Radio , Team , Connect , Disconnect , Sounds , Restart On Last Player Disconnect , Map Rotation cssharp

C# 100.00%
block counterstrikesharp cs2 csgo2 default hide message messages ping plugin

cs2-game-manager's Introduction

[CS2] Game-Manager (1.0.8)

Game Manager ( Block/Hide , Messages , Ping , Radio , Connect , Disconnect , Sounds , Restart On Last Player Disconnect , Map Rotation , And More )

3 2 1 4 111

.:[ Dependencies ]:.

Metamod:Source (2.x)

CounterStrikeSharp

.:[ Configuration ]:.

{
  "DisableBotRadio": false,
  
  "DisableRadio": 0, // (1) = Disable Radio Completely || (2) = Make it Cooldown [DisableRadioThreshold] + [DisableRadioTime]
  "DisableRadioThreshold": 2, // if DisableRadio (2) How Much Threshold Radio
  "DisableRadioTime": 5, // if DisableRadio (2) Time In Sec Give Cooldown
  
  "DisableChatWheel": 0, // (1) = Disable ChatWheel Completely || (2) = Make it Cooldown [DisableChatWheelThreshold] + [DisableChatWheelTime]
  "DisableChatWheelThreshold": 2, // if DisableChatWheel (2) How Much Threshold Radio
  "DisableChatWheelTime": 5, // if DisableChatWheel (2) Time In Sec Give Cooldown
  
  "DisableGrenadeRadio": false,
  "DisablePing": false,
  "DisableKillfeed": 0, // (1) = Disable Killfeed Completely || (2) = Disable Killfeed And Show Who I Killed Only
  "DisableRadar": false,
  "DisableMoneyHUD": false,
  "DisableTeamMateHeadTag": 0, // (1) = Remove Head Tag Only Behind Wall || (2) = Remove Head Tag Completely
  "DisableWinOrLosePanel": false,
  "DisableWinOrLoseSound": false,
  "DisableJumpLandSound": false,
  "DisableMPVSound": false,
  "DisableFallDamage": false,
  "DisableLegs": false,
  "DisableSvCheats": false, // Force sv_cheats 0
  "DisableRewardMoneyMessages": false,
  "DisableDeadBody": false,
  "DisableBomb": false,
//-----------------------------------------------------------------------------------------

  "AutoCleanDropWeaponsTimer": 1, // Time In Sec To Clean Drop Weapons
  
  //Whats Inside AutoCleanDropWeapons will be Auto Deleted
  //Add Many As You Like
  //1 = Weapons (AK,M4,Pistol, etc...)
  //2 = Grenades (Smoke,Molly, etc...)
  //3 = DefuserKit
  //4 = Taser
  //5 = HealthShot
  //6 = Knifes
  "AutoCleanDropWeapons": "1,2,3",
//-----------------------------------------------------------------------------------------

  "IgnoreDefaultDisconnectMessages": false,
  "IgnoreDefaultJoinTeamMessages": false,
  "IgnoreTeamMateAttackMessages": false,
//-----------------------------------------------------------------------------------------

  //Located in (..\counterstrikesharp\plugins\Game_Manager\lang)
  //1 = Enable Custom Join Team Messages
  //2 = Enable Custom Join Team Messages Without Bots
  "CustomJoinTeamMessages": 0,
//-----------------------------------------------------------------------------------------

  //Restart The Server If (RestartWhenXPlayersInServerORLess) After (RestartXTimerInMins)
  //RestartServerMode (1) = Restart Method
  //RestartServerMode (2) = Crash Method Sometimes Restart Will Not Work Use This Method Instead
  "RestartServerMode": 0,
  "RestartXTimerInMins": 5,
  "RestartWhenXPlayersInServerORLess": 0,
  
  //if RestartServerMode Is (1) Which Map After Restarting Would You Like To Be
  //Using ds: Means What map list in ds_workshop_listmaps
  //Using host: To Get Any Workshop Map example https://steamcommunity.com/sharedfiles/filedetails/?id=3112654794 Means host:3112654794
  //Using Without any ds: or host: means what inside /../csgo/maps/  de_dust2 de_mirage
  "RestartServerDefaultMap": "de_dust2",
//-----------------------------------------------------------------------------------------

  //Rotate Maps Server If (RotationWhenXPlayersInServerORLess) After (RotationXTimerInMins)
  //RotationServerMode (1) = Get Maps From Top To Bottom In RotationServerMapList.txt
  //RotationServerMode (2) = Get Random Maps In RotationServerMapList.txt
  "RotationServerMode": 0,
  "RotationXTimerInMins": 8,
  "RotationWhenXPlayersInServerORLess": 0,
//-----------------------------------------------------------------------------------------

  "ConfigVersion": 1
}

colors

.:[ Language ]:.

{
	//==========================
	//        Colors
	//==========================
	//{Yellow} {Gold} {Silver} {Blue} {DarkBlue} {BlueGrey} {Magenta} {LightRed}
	//{LightBlue} {Olive} {Lime} {Red} {Purple} {Grey}
	//{Default} {White} {Darkred} {Green} {LightYellow}
	//==========================
	//==========================
	//    CustomJoinTeamMessages
	//{0} = Player Join Name
	//==========================
	//==========================
	//    WarningMessages
	//{0} = CooldownTimer
	//==========================
	"CustomJoinTeamMessages_SPEC": "{green}Gold KingZ {grey}| {purple}{0} {grey}is joining the {lime}Spectators",
	"CustomJoinTeamMessages_T": "{green}Gold KingZ {grey}| {purple}{0} {grey}is joining the {lime}Terrorists",
	"CustomJoinTeamMessages_CT": "{green}Gold KingZ {grey}| {purple}{0} {grey}is joining the {lime}Counter-Terrorists",
	"Radio_WarningCooldown": "{green}Gold KingZ {grey}| {darkred}Wait {0} Secs Cooldown For Spaming Radio",
	"ChatWheel_WarningCooldown": "{green}Gold KingZ {grey}| {darkred}Wait {0} Secs Cooldown For Spaming ChatWheel"
}

.:[ Change Log ]:.

(1.0.8)
-Fix RestartServerMode
-Fix RotationServerMode
-Added AutoCleanDropWeaponsTimer
-Added AutoCleanDropWeapons


(1.0.7)
-Added "RestartServerDefaultMap"
-Fix DisableDeadBody With AFK Plugin Any Plugin
-Fix RestartServerMode (1) Better Method

(1.0.6)
-Fix DisableDeadBody


(1.0.5)
-Added "DisableRadio": 0,// (1) = Disable Radio Completely || (2) = Make it Cooldown [DisableRadioThreshold] + [DisableRadioTime]
-Added "DisableRadioThreshold": 6, // if DisableRadio (2) How Much Threshold Radio
-Added "DisableRadioTime": 5, // if DisableRadio (2) Time In Sec Give Cooldown + added to lang "Radio_WarningCooldown"
  
-Added "DisableChatWheel": 0, // (1) = Disable ChatWheel Completely || (2) = Make it Cooldown [DisableChatWheelThreshold] + [DisableChatWheelTime]
-Added "DisableChatWheelThreshold": 6, // if DisableChatWheel (2) How Much Threshold Radio]
-Added "DisableChatWheelTime": 5, // if DisableChatWheel (2) Time In Sec Give Cooldown + added to lang "ChatWheel_WarningCooldown"

-Added "DisableKillfeed" // (1) = Disable Killfeed Completely || (2) = Disable Killfeed And Show Who I Killed Only
-Added "CustomJoinTeamMessages" To lang "CustomJoinTeamMessages_SPEC" "CustomJoinTeamMessages_T" "CustomJoinTeamMessages_CT"

-Added "DisableBotRadio"
-Added "DisableMPVSound"
-Added "DisableBomb"
-Added "DisableDeadBody"
-Added "IgnoreTeamMateAttackMessages"

-Fix "DisableSvCheats"

(1.0.4)
-Added "DisableTeamMateHeadTag"
-Added "DisableSvCheats"
-Added "CustomJoinTeamMessages"
-Added "CustomJoinTeamMessagesCT"
-Added "CustomJoinTeamMessagesT"
-Added "CustomJoinTeamMessagesSpec"
-Added "RotationServerMode"
-Added "RotationXTimerInMins"
-Added "RotationWhenXPlayersInServerORLess"

-Fix / Remove Some Bugs

(1.0.3)
-Added [RestartServerLastPlayerDisconnect]
-Added [RestartMethod]
-Added [RestartXTimerInMins]
-Added [RestartWhenXPlayersInServerORLess]

(1.0.2)
-Added [DisableLegs]
-Fix [IgnoreRewardMoneyMessages]
-Fix [IgnoreTeamMateAttackMessages]
-Fix [IgnorePlayerSavedYouByPlayerMessages]

(1.0.1)
-Added [DisableGrenadeRadio]
-Added [DisableRadar]
-Added [DisableMoneyHUD]
-Added [DisableJumpLandSound]
-Added [DisableFallDamage]
-Added [IgnoreRewardMoneyMessages]
-Added [IgnoreTeamMateAttackMessages]
-Added [IgnorePlayerSavedYouByPlayerMessages]

(1.0.0)
-Initial Release

.:[ Donation ]:.

If this project help you reduce time to develop, you can give me a cup of coffee :)

paypal

cs2-game-manager's People

Contributors

oqyh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cs2-game-manager's Issues

text output bug

This plugin breaks translations and text output of other plugins

your plugins shitting on servers

94.609259 UNEXPECTED LONG FRAME DETECTED: 18.21ms elapsed, 17.77ms sim time, 1 ticks, 6108..6108.
94.773136 UNEXPECTED LONG FRAME DETECTED: 23.11ms elapsed, 22.75ms sim time, 1 ticks, 6118..6118.
95.767658 UNEXPECTED LONG FRAME DETECTED: 25.63ms elapsed, 25.27ms sim time, 1 ticks, 6182..6182.
96.777739 UNEXPECTED LONG FRAME DETECTED: 25.64ms elapsed, 25.32ms sim time, 1 ticks, 6246..6246.
97.773521 UNEXPECTED LONG FRAME DETECTED: 26.89ms elapsed, 26.52ms sim time, 1 ticks, 6310..6310.
98.766564 UNEXPECTED LONG FRAME DETECTED: 24.16ms elapsed, 23.84ms sim time, 1 ticks, 6374..6374.
99.778964 UNEXPECTED LONG FRAME DETECTED: 27.89ms elapsed, 27.59ms sim time, 1 ticks, 6438..6438.
100.775062 UNEXPECTED LONG FRAME DETECTED: 27.21ms elapsed, 26.86ms sim time, 1 ticks, 6502..6502.
101.770075 UNEXPECTED LONG FRAME DETECTED: 26.12ms elapsed, 25.72ms sim time, 1 ticks, 6566..6566.
102.778356 UNEXPECTED LONG FRAME DETECTED: 23.78ms elapsed, 23.39ms sim time, 1 ticks, 6630..6630.
103.776950 UNEXPECTED LONG FRAME DETECTED: 29.70ms elapsed, 29.33ms sim time, 1 ticks, 6694..6694.
104.768619 UNEXPECTED LONG FRAME DETECTED: 22.80ms elapsed, 22.44ms sim time, 1 ticks, 6758..6758.
105.777137 UNEXPECTED LONG FRAME DETECTED: 24.02ms elapsed, 23.48ms sim time, 1 ticks, 6822..6822.
106.769607 UNEXPECTED LONG FRAME DETECTED: 23.54ms elapsed, 23.07ms sim time, 1 ticks, 6886..6886.
107.778971 UNEXPECTED LONG FRAME DETECTED: 24.86ms elapsed, 24.54ms sim time, 1 ticks, 6950..6950.
108.771146 UNEXPECTED LONG FRAME DETECTED: 23.28ms elapsed, 22.83ms sim time, 1 ticks, 7014..7014.
109.763355 UNEXPECTED LONG FRAME DETECTED: 23.31ms elapsed, 22.93ms sim time, 1 ticks, 7078..7078.
110.768085 UNEXPECTED LONG FRAME DETECTED: 20.22ms elapsed, 19.88ms sim time, 1 ticks, 7142..7142.

after disabling your plugin fixed this.

i cannot rotation the map

This is my vonfig

//-----------------------------------------------------------------------------------------

  //Restart The Server If (RestartWhenXPlayersInServerORLess) After (RestartXTimerInMins)
  //RestartServerMode (1) = Restart Method
  //RestartServerMode (2) = Crash Method Sometimes Restart Will Not Work Use This Method Instead
  "RestartServerMode": 2,
  "RestartXTimerInMins": 90,
  "RestartWhenXPlayersInServerORLess": 64,
  
//-----------------------------------------------------------------------------------------

  //Rotate Maps Server If (RotationWhenXPlayersInServerORLess) After (RotationXTimerInMins)
  //RotationServerMode (1) = Get Maps From Top To Bottom In RotationServerMapList.txt
  //RotationServerMode (2) = Get Random Maps In RotationServerMapList.txt
  "RotationServerMode": 2,
  "RotationXTimerInMins": 30,
  "RotationWhenXPlayersInServerORLess": 64,

and in maplist.txt is

ds:surf_beginner
ds:surf_mads
ds:surf_kitsune
ds:surf_deathstar
ds:surf_ace
ds:surf_rgb
ds:surf_benevolent
ds:surf_momentum
ds:surf_glass9
ds:surf_hyzer
ds:surf_ing
ds:surf_lockdown
ds:surf_mellow
ds:surf_saturday
ds:surf_teho_v1
ds:surf_nyx
ds:surf_atrium
ds:surf_tranquil

suggestion

Can you add some cfg to remove these as well?

"#Player_Cash_Award_Bomb_Planted",
"#Player_Cash_Award_Bomb_Defused",
"#Player_Cash_Award_Killed_VIP",
"#Player_Cash_Award_Killed_Enemy",
"#Player_Cash_Award_Killed_Enemy_Generic",
"#Player_Cash_Award_Rescued_Hostage",
"#Player_Cash_Award_Interact_Hostage",
"#Player_Cash_Award_Respawn",
"#Player_Cash_Award_Get_Killed",
"#Player_Cash_Award_Kill_Teammate",
"#Player_Cash_Award_Damage_Hostage",
"#Player_Cash_Award_Kill_Hostage",

"#Player_Point_Award_Killed_Enemy",
"#Player_Point_Award_Killed_Enemy_Plural",
"#Player_Point_Award_Killed_Enemy_NoWeapon",
"#Player_Point_Award_Killed_Enemy_NoWeapon_Plural",
"#Player_Point_Award_Assist_Enemy",
"#Player_Point_Award_Assist_Enemy_Plural",
"#Player_Point_Award_Picked_Up_Dogtag",
"#Player_Point_Award_Picked_Up_Dogtag_Plural",

"#Player_Team_Award_Killed_Enemy",
"#Player_Team_Award_Killed_Enemy_Plural",
"#Player_Team_Award_Bonus_Weapon",
"#Player_Team_Award_Bonus_Weapon_Plural",
"#Player_Team_Award_Picked_Up_Dogtag",
"#Player_Team_Award_Picked_Up_Dogtag_Plural",
"#Player_Team_Award_Picked_Up_Dogtag_Friendly",

"#Player_Cash_Award_ExplainSuicide_YouGotCash",
"#Player_Cash_Award_ExplainSuicide_TeammateGotCash",
"#Player_Cash_Award_ExplainSuicide_EnemyGotCash",
"#Player_Cash_Award_ExplainSuicide_Spectators",

"#Team_Cash_Award_T_Win_Bomb",
"#Team_Cash_Award_Elim_Hostage",
"#Team_Cash_Award_Elim_Bomb",
"#Team_Cash_Award_Win_Time",
"#Team_Cash_Award_Win_Defuse_Bomb",
"#Team_Cash_Award_Win_Hostages_Rescue",
"#Team_Cash_Award_Win_Hostage_Rescue",
"#Team_Cash_Award_Loser_Bonus",
"#Team_Cash_Award_Bonus_Shorthanded",
"#Team_Cash_Award_Loser_Bonus_Neg",
"#Team_Cash_Award_Loser_Zero",
"#Team_Cash_Award_Rescued_Hostage",
"#Team_Cash_Award_Hostage_Interaction",
"#Team_Cash_Award_Hostage_Alive",
"#Team_Cash_Award_Planted_Bomb_But_Defused",
"#Team_Cash_Award_Survive_GuardianMode_Wave",
"#Team_Cash_Award_CT_VIP_Escaped",
"#Team_Cash_Award_T_VIP_Killed",
"#Team_Cash_Award_no_income",
"#Team_Cash_Award_no_income_suicide",
"#Team_Cash_Award_Generic",
"#Team_Cash_Award_Custom",
"#Cstrike_TitlesTXT_Game_teammate_attack"

Logging in for observers

When the player dies, it throws it to the observers for a second and then back, while losing money.
image
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.