AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Subplugin Submission HLDS SECURITY PLUGIN (updated) (https://forums.alliedmods.net/showthread.php?t=325512)

sayf118 06-25-2020 09:09

HLDS SECURITY PLUGIN (updated)
 
4 Attachment(s)
THIS IS THE BEST VERSION OF AN OLD (MODIFIED) SHIELD
I ADD AND FIX SO MANY OPTIONS........
added:
- ban command
- kick command
- colored chat.......
- anti cmd/zp command flood
- shield_destroy command // destroy a hacker
- shield_ip command // show ip list
- anti bad words
- .........

this shield will protect your server from any stupid thing......
you can make a test here : 23.97.212.37:27015

remember if you like it i am gonna post my second SHIELD + my ZPA 6.2 edited project...
i joined too late this game.. so i won't gain any good thing..... i am moving to csgo asap

alferd 06-26-2020 11:20

Re: HLDS SECURITY PLUGIN (updated)
 
PHP Code:

public client_putinserver(id)
{


        
set_task(1.0"Welcome_Message"id);
        
set_task1.0"welcome"id )
        if(
get_pcvar_num(enable_steam) == 0)
        {
                return
        } 
        new 
authid[32], szName[32]

        
get_user_authid(id,authid,31)
        
get_user_name(idszNamecharsmax(szName))
    
    if((
containi(authid,"STEAM_0:0:999999999") != -1) || (containi(authid,"VALVE_0:0:999999999") != -1) || (containi(authid,"STEAM_0:1:999999999") != -1))
        {
        

                
        switch(
get_pcvar_num(PunishType))
        {
    
            case 
3
            {
            

                if(
get_pcvar_num(enable_notifications))
                {
                if(
get_pcvar_num(enable_soundnotifications))
                
client_cmd(id,"spk ^"vox/bizwarn^"")
                
ColorChat(0print_chat"^4[Sayf's Shield]^1 Player ^3%s ^1Has Been kicked for using SteamID Changer!"szName)
                }

                
kickpunish_command(id,"SteamID Changer Detected")
                
log_to_file("sayf-shield.log""[sayf-shield] Player ( %s ) has been kicked for using SteamID Changer."szName);
            }
                
        }
        }


Code:

Has Been kicked for using SteamID Changer!
Code:

SteamID Changer Detected
!!!
Non-steam is not supported in this forum
You have provided a plugin that supports non-steam server
This is against the law

Department manager, Lock this post and delete the link to the files

sayf118 06-26-2020 11:44

Re: HLDS SECURITY PLUGIN (updated)
 
...... times of every server/forum rule and i DONT CARE

alferd 06-26-2020 12:01

Re: HLDS SECURITY PLUGIN (updated)
 
Remove the non-steam code, Or don't continue


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

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