Raised This Month: $ Target: $400
 0% 

[HL2DM] - No +use/+jump spam


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Peter Brev
Member
Join Date: Aug 2023
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.
    Old 11-23-2023 , 12:20   [HL2DM] - No +use/+jump spam
    Reply With Quote #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.
    Attached Files
    File Type: sp Get Plugin or Get Source (usenospam.sp - 85 views - 8.2 KB)

    Last edited by Peter Brev; 11-26-2023 at 05:11.
    Peter Brev is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 01:58.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode