插件介绍:
此插件可以解除玩家身体/ 投掷道具的碰撞体积


Metamod:Source (2.x)
CounterStrikeSharp
Newtonsoft.Json
注意:配置文件位置在 ..\addons\counterstrikesharp\plugins\Anti-Block-GoldKingZ\config\config.json
{
//----------------------------[ ↓ BodyBlock Configs ↓ ]-------------------------------
//回合开始的一段时间里取消玩家间的碰撞体积
//(0) = Disabled
"AntiBodyBlock_OnStartRoundDurationXInSecs": true,
//----------------------------[ ↓ NadeBlock Configs ↓ ]-------------------------------
//是否开启队友之间的 投掷物 碰撞体积?
"AntiBlockNades_IfThrowToTeamMates": true,
//是否开启和敌人之间的 投掷物 碰撞体积?
"AntiBlockNades_IfThrowToEnemyTeam": false,
//你想要取消哪一种投掷物的碰撞体积
//hegrenade
//flashbang
//smokegrenade
//decoy
//molotov
"AntiBlockNades_TheseNades": "hegrenade,flashbang,smokegrenade,decoy,molotov",
//----------------------------[ ↓ Utilities ↓ ]----------------------------------------------
//是否开启debug信息,开启后将在服务器控制台打印调试信息
"EnableDebug": false,
}

{
//==========================
// Colors
//==========================
//{Yellow} {Gold} {Silver} {Blue} {DarkBlue} {BlueGrey} {Magenta} {LightRed}
//{LightBlue} {Olive} {Lime} {Red} {Purple} {Grey}
//{Default} {White} {Darkred} {Green} {LightYellow}
//==========================
// Other
//==========================
//{0} = Time Anti-BodyBlock
//{nextline} = Print On Next Line
//==========================
"PrintChatToAllPlayers.AntiBlock.Enabled": "{green}Gold KingZ {grey}| {grey}Anti-BodyBlock Is Now {lime}Enabled {grey}For {lime}{0} Secs",
"PrintChatToAllPlayers.AntiBlock.Disabled": "{green}Gold KingZ {grey}| {grey}Anti-BodyBlock Is Now {darkred}Disabled"
}
(1.0.1)
-Added AntiBodyBlock_OnStartRoundDurationXInSecs
(1.0.0)
-Initial Release
If this project help you reduce time to develop, you can give me a cup of coffee :)
oqyh/cs2-Anti-Block-GoldKingZ: Anti-Block Body/Nades
参考: