Raised This Month: $32 Target: $400
 8% 

AntiHack Rcon ( Enable/Disable ) !!


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Admin Commands       
Amine Belokda
Senior Member
Join Date: Oct 2015
Location: ML_NOT_FOUND
Old 02-06-2017 , 17:19   AntiHack Rcon ( Enable/Disable ) !!
Reply With Quote #1

Anti-Hack Rcon ( Enable/Disable )


You can use this Plugin in the case there was a breakthrough in the private to server Rcon
---------------------------
Auto Exec Disable Rcon Command:
goto
Code:
cstrike/addons/amxmodx/configs/amxx.cfg
And Add This Command:
Code:
amx_disable_rcon
---------------------------
include'S


PHP Code:
#include <amxmodx>
#include <ColorChat> 
---------------------------
Commands:

PHP Code:
    register_clcmd("amx_disable_rcon""CmdDisableRcon")
    
register_clcmd("amx_enable_rcon""CmdEnableRcon"
---------------------------
Cvars

PHP Code:
        g_rcon_password1

/*-------------------------*/
    
g_rcon_password1=register_cvar("rcon_password""PasswordHere1"
This service is provided by the Plugin
This Plugin The arrest of the service Rcon in your server in order to avoid the hack.
Help: if you dont have include <ColorChat> You'll find Attached Files
Attached Files
File Type: sma Get Plugin or Get Source (pg_antihack_rcon.sma - 1073 views - 687 Bytes)
File Type: inc colorchat.inc (7.0 KB, 314 views)
__________________
Amine Belokda is offline
Send a message via MSN to Amine Belokda
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-06-2017 , 20:42   Re: AntiHack Rcon ( Enable/Disable ) !!
Reply With Quote #2

This doesn't make any sense. If someone wants to disable RCON, they would simply set their RCON password to "".
__________________
fysiks is offline
Amine Belokda
Senior Member
Join Date: Oct 2015
Location: ML_NOT_FOUND
Old 02-06-2017 , 22:29   Re: AntiHack Rcon ( Enable/Disable ) !!
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
This doesn't make any sense. If someone wants to disable RCON, they would simply set their RCON password to "".
But there needs to be carried out this task automatically it easier ;)
__________________
Amine Belokda is offline
Send a message via MSN to Amine Belokda
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-07-2017 , 07:45   Re: AntiHack Rcon ( Enable/Disable ) !!
Reply With Quote #4

It's easier to put a plugin and use other commands rather than directly change the cvar? U mad, bro?
Please tell me why do I need colorchat for this???

What is this supposed to do:

PHP Code:
public CmdEnableRcon(id){
    if( 
get_user_flags(id) & ADMIN_IMMUNITY)
    {
    
get_pcvar_num(g_rcon_password1)
}

???

Stop posting plugins that don't make any sense or don't work.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Amine Belokda
Senior Member
Join Date: Oct 2015
Location: ML_NOT_FOUND
Old 02-07-2017 , 08:36   Re: AntiHack Rcon ( Enable/Disable ) !!
Reply With Quote #5

Quote:
Originally Posted by OciXCrom View Post
It's easier to put a plugin and use other commands rather than directly change the cvar? U mad, bro?
Please tell me why do I need colorchat for this???

What is this supposed to do:

PHP Code:
public CmdEnableRcon(id){
    if( 
get_user_flags(id) & ADMIN_IMMUNITY)
    {
    
get_pcvar_num(g_rcon_password1)
}

???

Stop posting plugins that don't make any sense or don't work.
For me ColorChat just forget it because some changes
As the Cvar and easy to play the mother of the server
__________________
Amine Belokda is offline
Send a message via MSN to Amine Belokda
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 02-07-2017 , 09:13   Re: AntiHack Rcon ( Enable/Disable ) !!
Reply With Quote #6

cmdEnableRcon does nothing, lol.
__________________
HamletEagle is offline
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 02-07-2017 , 11:35   Re: AntiHack Rcon ( Enable/Disable ) !!
Reply With Quote #7

This is like digging out for a colorchat stock in the generations since colorchat inc was official.
redivcram is offline
Reply


Thread Tools
Display Modes

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 06:55.


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