Raised This Month: $51 Target: $400
 12% 

[ANY] No Cheats


Post New Thread Reply   
 
Thread Tools Display Modes
Author
TinyDeskEngineer
Junior Member
Join Date: May 2023
Location: Inside your walls
Plugin ID:
8470
Plugin Version:
1.0
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Prevents sv_cheats from getting enabled.
    Old 05-28-2023 , 14:34   [ANY] No Cheats
    Reply With Quote #1

    I was having problems with cheats being enabled on a server for no obvious reason. I wasn't able to figure out what was causing it, so I made this small plugin to automatically disable cheats when they are enabled.
    The plugin, however, cannot tell why exactly cheats were enabled, be it via RCON, the server console, or another plugin changing the value.

    ConVars:
    sm_nocheats_enabled: When set, the plugin will start detecting when sv_cheats changes, and will reset the value if necessary.
    sm_nocheats_broadcast: When set, the plugin will broadcast a message to chat saying that No Cheats was triggered. The plugin will always write this message to the SourceMod logs regardless of the value, so server operators can see exactly when cheats get enabled.
    Attached Files
    File Type: sp Get Plugin or Get Source (nocheats.sp - 89 views - 1.1 KB)
    TinyDeskEngineer 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 22:01.


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