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

AntiMapAbuse


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Sithranduil
Junior Member
Join Date: Oct 2014
Plugin ID:
4619
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Give you the possibility to block maps commands from the entity point_servercommand
    Old 05-01-2015 , 13:32   AntiMapAbuse
    Reply With Quote #1

    Description:
    This plugin enables to block map commands from the entity point_servercommand

    Installation:
    First install PointDetour : https://forums.alliedmods.net/showthread.php?t=184270
    Then, upload antimapabuse.smx file to addons/sourcemod/plugins
    Finally, upload the antimapabuse folder inside cfg/sourcemod

    Cvar:
    sm_antimapabuse_debug "0" : If it is set to 1, it shows all the commands sent by Point_ServerCommand entity

    Configuration :
    This plugin has only one configuration per map, so you need to create a file with the exact map name inside cfg/sourcemod/antimapabuse/maps

    Configuration example:
    WARNING ! In the case of westersand, apparently Stripper Source brokes the map, this is why it is unloaded.

    PHP Code:
    //First the more specific commands (meta unload)
    //After the more global commands (meta)

    "antimapabuse"
    {
        
    "Change"
        
    {
            
    "Value"            "exec westersand.cfg"
            "NewValue"        "exec cfg/sourcemod/antimapabuse/newmapcfg/westersand"
        
    }
        
    "Change"
        
    {
            
    "Value"            "meta unload stripper"
            "NewValue"        "say Don't touch Stripper Source ! ;sm_slay Sithranduil"
        
    }
        
    "Enable"
        
    {
            
    "Value"            "meta"
        
    }
        
        
    "Disable"
        
    {
            
    "Value"            "sm"
        
    }

    TODO:
    Later, I will make a script to search for all the commands inside the map.
    Attached Files
    File Type: sp Get Plugin or Get Source (antimapabuse.sp - 247 views - 5.6 KB)
    File Type: smx antimapabuse.smx (10.7 KB, 141 views)
    File Type: 7z AntiMapAbuse.7z (11.9 KB, 148 views)

    Last edited by Sithranduil; 05-01-2015 at 13:34.
    Sithranduil 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 18:34.


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