/rcon reloadbans?
#1

If i do /rcon unbanip, then i do /rcon reloadbans, all old banned players get unban? or just the unbanned player?
Because i need to unban a player in game, then reloadbans, but not unbanning all others, it will work?
Reply
#2

No, it just reloads the samp.ban file. You do NOT need to reload bans after unbanning an IP in-game or through RCON. It is typically used when the samp.ban file is modified outside of the server.
Reply
#3

So i do just /rcon unbanip and not /rcon reloadbank after it?
Reply
#4

Yes. Unless you modify samp.bans outside of the server you don't need to reloadbans, though you can, it won't affect anything unless you actually make changes to the samp.bans file.
Reply
#5

you have to /unbanip [PLAYERBANNEDIP]
And then /reloadbans
reload bans just refreshes the ban list if you did any update
rconn unbanip unbans a certain player ip you give
Reply
#6

CMD:unbanip(playerid, params[]){
if(PlayerInfo[playerid][Level] >= 10 || IsPlayerAdmin(playerid)) {
new type[128], string[128];
if(sscanf(params, "s[128]", type)) SendClientMessage(playerid, red, "USAGE: /unbanip [IP]");
else
{
format(string, sizeof(string),"unbanip %s", type);
SendRconCommand(string);
//DO I NEED TO PUT RCON RELOADBANS, OR THE PLAYER CAN LOG AFTER UNBANIP WITHOUT RELOAD?
}
} else return SendClientMessage(playerid,red,"ERROR: You need to be level 10 to use this command");
return 1;
}





READ ABOVE THE SENDRCONCOMMAND, othwerise Thanks
Reply
#7

Yes but watch:


/rcon reloadbans - reloads the samp.ban where the banned IP addresses are stored. This will clear all the IP-addresses.

IT WILL DELETE ALL OTHER BANNEDs PLAYERS, THIS IS WROTE HERE
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)