Designed for CounterStrikeSharp framework
Main features
- Weapon Selection
- Creating Custom Modes
- Weapons Restrict
- Spawns Editor
- Configuration
- General Settings
- Gameplay Settings
- Sounds Settings
- Custom Commands
- Players Gameplay Settings
- Spawn Protection
- Respawn Time
- Refill Ammo
- Refill Health
- Client Preferences
- Kill Sound
- Headshot Kill Sound
- Knife Kill Sound
- Hit Sound
- New Mode Sound
- Only Headshot
- Hud Messages
- Damage Info
- VIP Support
- Admin & Players Commands
Installation
- Download the latest verison - https://github.com/NockyCZ/CS2-Deathmatch/releases
- Unzip into your servers
csgo/addons/counterstrikesharp/dir - Restart the server
- Configure the config files and custom modes
Sounds
Global settings (Sounds Settings)
Sounds Enabled- turns every sound of the plugin on/off.
Sound values - every sound (Weapon Cant Equip Sound, New Mode Sound and each Sound path in Client Preferences) accepts either:
- a file path, e.g.
sounds/music/3kliksphilip_01/bombtenseccount.vsnd_c- played on the client withplay. The sound cannot be stopped. - a soundevent name, e.g.
Music.BombTenSecCount.3kliksphilip_01- emitted by the server. TheNew Mode Soundis stopped when a new mode starts (no overlapping tracks) or when the server switches game mode or map.
Individual sounds - each sound in Client Preferences has its own Enabled (server side) and Default value (player default). Set Enabled to false to remove the sound and its menu toggle, or set a sound value to "" to disable it.
New Mode Sound - plays when a custom mode starts (map start, match start and every mode change), only in the Casual, Deathmatch and Custom game modes (never in e.g. Competitive). Players can toggle it in !dm -> Sounds.
Volume - music soundevents (like the default New Mode Sound) follow each player's own CS2 settings: Settings -> Audio -> Music -> Ten Second Warning Volume (snd_tensecondwarning_volume) and the music master volume. Players can also turn the sound off in !dm -> Sounds.
Configuration
{
"Save Players Weapons": false,
"Database Connection": {
"Host": "",
"Port": 3306,
"User": "",
"Database": "",
"Password": "",
"SslMode": "Preferred"
},
"Gameplay Settings": {
"Free For All": true,
"Custom Modes": true,
"Game Length": 30,
"Random Selection Of Modes": true,
"Map Start Custom Mode": 0,
"New Mode Countdown": 10,
"Hud Type": 1,
"Mode Message Duration": 10,
"Default Weapons": 2,
"Switch Weapons": true,
"Allow Buymenu": true,
"Respawn Players After New Mode": false,
"Fast Weapon Equip": true,
"Spawn Protection Color": "",
"Display All Kill Feed": false
},
"Spawn System": {
"Spawns Method": 0,
"Team Spawns Separation": true,
"Check Spawn Visibility": true,
"Distance From Enemies": 500
},
"General Settings": {
"Display Spawns Editor In Menu": true,
"Hide Round Seconds": true,
"Hide New Mode Countdown": false,
"Block Radio Messages": true,
"Block Player Ping": true,
"Block Player ChatWheel": true,
"Remove Breakable Entities": true,
"Remove Decals": true,
"Remove Kill Points Message": true,
"Remove Respawn Sound": true,
"Force Map End": false,
"Restart Map On Plugin Load": false
},
"Sounds Settings": {
"Sounds Enabled": true,
"Weapon Cant Equip Sound": "sounds/ui/weapon_cant_buy.vsnd_c",
"New Mode Sound": "Music.BombTenSecCount.3kliksphilip_01"
},
"Custom Commands": {
"Deatmatch Menu Commands": "dm,deathmatch",
"Weapons Select Commands": "gun,weapon,w,g",
"Weapons Select Shortcuts": {
"ak": "weapon_ak47",
"m4": "weapon_m4a1",
"m4a1": "weapon_m4a1_silencer",
"awp": "weapon_awp",
"usp": "weapon_usp_silencer",
"glock": "weapon_glock",
"deagle": "weapon_deagle"
}
},
"Players Gameplay Settings": {
"VIP Flag": "@css/vip",
"Non VIP Players": {
"Respawn Time": 1.5,
"Spawn Protection Time": 1.1,
"Refill Ammo Kill": false,
"Refill Ammo Headshot": false,
"Refill Ammo in All Weapons": false,
"Refill Health Kill": 20,
"Refill Health Headshot": 40
},
"VIP Players": {
"Respawn Time": 1.1,
"Spawn Protection Time": 1.2,
"Refill Ammo Kill": false,
"Refill Ammo Headshot": false,
"Refill Ammo in All Weapons": false,
"Refill Health Kill": 25,
"Refill Health Headshot": 50
}
},
"Client Preferences": {
"Kill Sound": {
"Enabled": true,
"Sound path": "sounds/ui/armsrace_kill_01.vsnd_c",
"Default value": false,
"Only for VIP": false,
"Command Shortcuts": []
},
"Headshot Kill Sound": {
"Enabled": true,
"Sound path": "sounds/buttons/bell1.vsnd_c",
"Default value": false,
"Only for VIP": false,
"Command Shortcuts": []
},
"Knife Kill Sound": {
"Enabled": true,
"Sound path": "sounds/ui/armsrace_final_kill_knife.vsnd_c",
"Default value": false,
"Only for VIP": false,
"Command Shortcuts": []
},
"Hit Sound": {
"Enabled": true,
"Sound path": "sounds/ui/csgo_ui_contract_type2.vsnd_c",
"Default value": false,
"Only for VIP": false,
"Command Shortcuts": []
},
"New Mode Sound": {
"Enabled": true,
"Default value": true,
"Only for VIP": false,
"Command Shortcuts": []
},
"No Primary": {
"Enabled": true,
"Default value": false,
"Only for VIP": false,
"Command Shortcuts": [
"noprimary",
"primary"
]
},
"Only Headshot": {
"Enabled": true,
"Default value": false,
"Only for VIP": false,
"Command Shortcuts": [
"hs",
"onlyhs"
]
},
"Hud Messages": {
"Enabled": true,
"Default value": true,
"Only for VIP": false,
"Command Shortcuts": [
"hud"
]
},
"Damage Info": {
"Enabled": true,
"Default value": true,
"Only for VIP": false,
"Command Shortcuts": [
"damage",
"dmg"
]
}
},
"Custom Modes": {
"0": {
"Name": "Default",
"Interval": 300,
"Armor": 1,
"OnlyHS": false,
"KnifeDamage": true,
"RandomWeapons": false,
"CenterMessageText": "",
"PrimaryWeapons": [
"weapon_aug",
"weapon_sg556",
"weapon_xm1014",
"weapon_ak47",
"weapon_famas",
"weapon_galilar",
"weapon_m4a1",
"weapon_m4a1_silencer",
"weapon_mp5sd",
"weapon_mp7",
"weapon_p90",
"weapon_awp",
"weapon_ssg08",
"weapon_scar20",
"weapon_g3sg1",
"weapon_m249",
"weapon_negev",
"weapon_nova",
"weapon_sawedoff",
"weapon_mag7",
"weapon_ump45",
"weapon_bizon",
"weapon_mac10",
"weapon_mp9"
],
"SecondaryWeapons": [
"weapon_usp_silencer",
"weapon_p250",
"weapon_glock",
"weapon_fiveseven",
"weapon_hkp2000",
"weapon_deagle",
"weapon_tec9",
"weapon_revolver",
"weapon_elite"
],
"Utilities": [
"weapon_flashbang"
],
"ExecuteCommands": []
},
"1": {
"Name": "Only Headshot",
"Interval": 300,
"Armor": 1,
"OnlyHS": true,
"KnifeDamage": false,
"RandomWeapons": false,
"CenterMessageText": "\u003Cfont class=\u0027fontSize-l\u0027 color=\u0027orange\u0027\u003EOnly Headshot\u003C/font\u003E\u003Cbr\u003ENext Mode: {NEXTMODE} in {REMAININGTIME}\u003Cbr\u003E",
"PrimaryWeapons": [
"weapon_aug",
"weapon_sg556",
"weapon_xm1014",
"weapon_ak47",
"weapon_famas",
"weapon_galilar",
"weapon_m4a1",
"weapon_m4a1_silencer",
"weapon_mp5sd",
"weapon_mp7",
"weapon_p90"
],
"SecondaryWeapons": [
"weapon_usp_silencer",
"weapon_p250",
"weapon_glock",
"weapon_fiveseven",
"weapon_hkp2000",
"weapon_deagle"
],
"Utilities": [],
"ExecuteCommands": []
},
"2": {
"Name": "Only Deagle",
"Interval": 120,
"Armor": 2,
"OnlyHS": false,
"KnifeDamage": true,
"RandomWeapons": false,
"CenterMessageText": "\u003Cfont class=\u0027fontSize-l\u0027 color=\u0027green\u0027\u003EOnly Deagle\u003C/font\u003E\u003Cbr\u003ENext Mode: {NEXTMODE} in {REMAININGTIME}\u003Cbr\u003E",
"PrimaryWeapons": [],
"SecondaryWeapons": [
"weapon_deagle"
],
"Utilities": [
"weapon_flashbang",
"weapon_healthshot"
],
"ExecuteCommands": []
},
"3": {
"Name": "Only Pistols",
"Interval": 180,
"Armor": 1,
"OnlyHS": false,
"KnifeDamage": true,
"RandomWeapons": false,
"CenterMessageText": "\u003Cfont class=\u0027fontSize-l\u0027 color=\u0027blue\u0027\u003EOnly Pistols\u003C/font\u003E\u003Cbr\u003ENext Mode: {NEXTMODE} in {REMAININGTIME}\u003Cbr\u003E",
"PrimaryWeapons": [],
"SecondaryWeapons": [
"weapon_usp_silencer",
"weapon_p250",
"weapon_glock",
"weapon_cz75a",
"weapon_elite",
"weapon_fiveseven",
"weapon_tec9",
"weapon_hkp2000"
],
"Utilities": [],
"ExecuteCommands": []
},
"4": {
"Name": "Only SMG",
"Interval": 200,
"Armor": 2,
"OnlyHS": false,
"KnifeDamage": true,
"RandomWeapons": true,
"CenterMessageText": "\u003Cfont class=\u0027fontSize-l\u0027 color=\u0027yellow\u0027\u003EOnly SMG (Random Weapons)\u003C/font\u003E\u003Cbr\u003ENext Mode: {NEXTMODE} in {REMAININGTIME}\u003Cbr\u003E",
"PrimaryWeapons": [
"weapon_p90",
"weapon_bizon",
"weapon_mp5sd",
"weapon_mp7",
"weapon_mp9",
"weapon_mac10",
"weapon_ump45"
],
"SecondaryWeapons": [],
"Utilities": [
"weapon_hegrenade",
"weapon_flashbang",
"weapon_healthshot"
],
"ExecuteCommands": []
}
},
"Weapons Restrict": {
"Global Restrict": true,
"Weapons": {
"weapon_ak47": {
"0": {
"VIP": {
"CT": 6,
"T": 6,
"Global": 12
},
"NonVIP": {
"CT": 5,
"T": 5,
"Global": 10
}
},
"1": {
"VIP": {
"CT": 5,
"T": 5,
"Global": 7
},
"NonVIP": {
"CT": 4,
"T": 4,
"Global": 5
}
}
},
"weapon_awp": {
"0": {
"VIP": {
"CT": 3,
"T": 3,
"Global": 4
},
"NonVIP": {
"CT": 2,
"T": 2,
"Global": 3
}
}
}
}
},
"ConfigVersion": 1
}