Unban of players
#1

Hi i have the normal Ban player

But how i can unban a person without restarting the server? I tried to unban him as rcon admin but he is still in the samp.ban list

i tried /rcon unban IP
and /unban IP but both doesnt work

Have anyone a idea how to unban anyone without stop server?
Reply
#2

/rcon unbanip (their IP)
/rcon reloadbans

reloadbans reloads the samp.ban list.
Reply
#3

Okay the reload work, but the unban didnt work... I dont know why... He is in the samp.ban list

I hope anyone can help me
Reply
#4

Open samp.ban, delete him(her) IP adress, save, and type in console "reloadbans", or in the game "/rcon reloadbans" (You need to login first using "/rcon login rconpassword".
Reply
#5

Okay that i understood and that is working and is their any chance to make everything on a server or must i do it everytime this way?
Reply
#6

Yes. You can do it in the game, but using rcon in the game you can unban player only if you know his IP adress. Opening the samp.ban file (e.g. with simple Notepad) you can unban player even if you know nickname. Just find it and you will see a string with IP and nickname.
Reply
#7

Quote:
Originally Posted by Butilka
Yes. You can do it in the game, but using rcon in the game you can unban player only if you know his IP adress. Opening the samp.ban file (e.g. with simple Notepad) you can unban player even if you know nickname. Just find it and you will see a string with IP and nickname.
Yes but if i log in as rcon iG /rcon login pw

After that i write /rcon unban IP

it didnt work!

Maybe something wrong what i do?
Reply
#8

You did all right. Maybe IP is wrong or smth else.
Reply
#9

Why don't you create administration filterscript instead using the /rcon ban ?

look using dcmd

Код:
dcmd_unbanip(playerid,params[]) {
	if(PlayerData[playerid][Level] >= 3 || IsPlayerAdmin(playerid))
	{
	new adminname[MAX_PLAYER_NAME];
	GetPlayerName(playerid,adminname,sizeof(adminname));
	if(!strlen(params)) return msg(playerid,"Correct usage : /unbanip <IP>");
	new string[76];
	format(string,sizeof(string),"unbanip %s",params);
	SendRconCommand("string");
	printf("%s(ID:%d) used the command unbanip and unbanned ip %s",adminname,playerid,params);
	}
	return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)