Description:
Valve lets you limit which gamemodes can be played on your server, but not which difficulties for the coop gamemode. This plugin lets you do that!
Because we can not hide the server from the lobby based on difficulty, this plugin does the next best thing (which is still rather crude). If it detects a disallowed difficulty, it simply kicks everyone before they connect to the server with a message similar to "Easy mode is disallowed on this server".
Cvars: l4d_difficulty.cfg is created in cfg/sourcemod/
l4d_difficulty_version - Shows the version
l4d_allow_easy - Allow easy games?
Default=1(yes)
l4d_allow_normal - Allow normal games?
Default=1(yes)
l4d_allow_advanced - Allow advanced games?
Default=1(yes)
l4d_allow_expert - Allow expert games?
Default=1(yes)
Changelog:
Code:
1.1
- Fixed Advanced + Expert restrictions not working
1.0
- Initial Release