Author
|
|
Member
|
Plugin ID:
|
8599
|
Plugin Version:
|
1.0.0
|
Plugin Category:
|
Server Management
|
Plugin Game:
|
Half-Life 2 Deathmatch
|
Plugin Dependencies:
|
|
Servers with this Plugin:
|
|
| |
Plugin Description:
|
Stops players from spamming +jump/+use to prevent potential exploits.
|
|
|
11-23-2023
, 12:20
[HL2DM] - No +use/+jump spam
|
#1
|
I used to play deathrun on a very popular deathrun server for HL2DM, which had ( and still has ) +jump/+use spam prevention. Limiting +jump spam could limit bunnyhopping ( not sure why you would do that, though ), or fix exploits ( none that I am aware of with +jump ). Limiting +use spam could stop people from exploiting multiple buttons rapidly for example. Use it as you will.
ConVars
sm_keybind_spam_enable [ Def 1 ] - Enable or disable plugin
sm_jump_spam_protection [ Def 1 ] - Enable or disable jump spam protection
sm_use_spam_protection [ Def 0 ] - Enable or disable use spam protection
sm_jump_threshold [ Def 100 ] - The limit of +jump commands registered in a given time ( basically, how many times you are using space bar, mwheel, etc. to perform a +jump operation ) at which it will kick the client.
sm_jump_threshold_reset [ Def 10.0 ] - How long in seconds will the threshold reset back to 0.
sm_use_threshold [ Def 20 ] - The limit of +use commands registered in a given time ( basically, how many times you are using your use key to perform a +use operation ) at which it will kick the client.
sm_use_threshold_reset [ Def 10.0 ] - How long in seconds will the threshold reset back to 0.
See plugin.usenospam.cfg ( after loading the plugin for the first time ) for configuration in cfg/sourcemod.
Admin Commands
sm_spam_reset <#userid|name> - Force a threshold reset. Use the command without any name behind to target yourself.
Last edited by Peter Brev; 11-26-2023 at 05:11.
|
|
|
|