how to disable rcon ? is possible ?
#1

how to disable the rcon ? is possible ?

i tried, write in my server.cfg

rcon 0

but dosent work
Reply
#2

[quote = wiki]
If 0 is specified the rcon Remote Console feature is disabled.
[/quote]
Reply
#3

Well then try using this.
This snippet won't allow players to login and kicks every player who logs in as RCON.
pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
{
    if(!success)
    {
     Kick(playerid);
     }
     return 1;
}
Idk whether there are mistakes because it isn't tested and also scripted through mobile.
Reply
#4

add
rcon 0
in Server.cfg

//Edit: nvm i didnt read ur post
Reply
#5

The snippet actually kicks every player who's entering a wrong password.
If you enter the right password you will still be able to log in.

This would kick every player who successfully logs in as RCON:
Код:
public OnRconLoginAttempt(ip[], password[], success) {
    if(success)
        Kick(playerid);

    return 1;
}
Reply
#6

pawn Код:
public OnRconLoginAttempt(ip[], password[], success) {
    SendClientMessage(playerid,-1,"RCON Disabled.");
    Kick(playerid);
    return 1;
}
You could just try returning 0;.
Reply
#7

If i put in server.cfg rcon 0 , does it block outside of server rcon commands to? I mean does it block consol to?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)