Creating Custom Modes
/addons/counterstrikesharp/configs/plugins/Deathmatch/Deathmatch.json
When creating a custom mode, pay attention to the mode ID. Modes must be consecutive starting from 0, and no numbers should be skipped; otherwise, an error will occur.
Parameters for custom modes
Name
What will the mode be named?
YOUR MODE NAME
Interval
Duration of each mode? If Custom Modes is false, then the interval is disabled.
seconds
Armor
┌ What type of armor will players receive at spawn?
├ 0
None
0
├ 1
Armor Only
1
└ 2
Armor and Helmet
2
OnlyHS
Count the headshot only?
true
/ false
KnifeDamage
Will knife damage be enabled?
true
/ false
RandomWeapons
true
/ false
CenterMessageText
You can use HTML codes
PrimaryWeapons
List of available primary weapons for the custom mode Leave blank for disable primary weapons
[
"weapon_name1",
"weapon_name2"
]
SecondaryWeapons
List of available secondary weapons for the custom mode Leave blank for disable secondary weapons
[
"weapon_name1",
"weapon_name2"
]
Utilities
List of available utilities for the custom mode. e.g. Grenades, Taser, Healtshot, etc.. Leave blank if you don't want any utilities
[
"weapon_hegrenade",
"weapon_taser"
]
ExecuteCommands
List of commands that will be execited when the mode starts Leave blank if you don't want any commands
[
"say Helloo :)",
"mp_friendlyfire 0",
"mp_swapteams"
]
• Examples
Last updated