Forum
Servers
how to ban someone only in my server
how to ban someone only in my server
10 replies
1

banip
banname
banusgnUse these commands to ban people from your server.
Script with:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2
3
4
5
6
7
8
9
10
11
12
13
14
15
owner = {114940}
addhook("say","s")
function s(id,message)
	for _,usgn in ipairs(owner) do
		if player(id,"usgn")==usgn then
if string.sub(message,1,9) == "!banname " then
parse("banname "..string.sub(message,9,string.len(message))))
elseif string.sub(message,1,9) == "!banusgn " then
parse("banusgn "..(string.sub(message,10,string.len(message))))
elseif string.sub(message,1,7) == "!banip " then
parse("banip "..(string.sub(message,8,string.len(message))))
		end
	end
end
!banip <id> (ban player by ip)
!banusgn <id> (ban player by usgn)
!banname <id> (ban player by name)
also you can do do,
!banname player
and it will work.
edited 1×, last 08.07.14 01:32:57 pm
The title goes: "How to ban someone only in my server."
Is it possible to ban someone from other servers.. From ur server.
Crabby: Yes it is. The servers need to have access to same file where ban data is located.
Rainoth: I mean like unknown servers.
Crabby: Not possible. Imagine what a mess would be if it was
Well, technically it is kind of possible with current CS2D but I wouldn't say it's a clean, easy way to do it.
Re: how to ban someone only in my server
Deleted User
Rainoth: I think you're missing the point here.
Title: "how to ban someone only in my server".
It sounds like he can only ban people in other servers but not in his own. Or if he bans someone in his server then players gets banned everywhere. That's what he wanted to point out.
Infinite Rain: Don't play with words. It's obvious that he couldn't phrase what he needed properly. My first reply was more than enough (you can see it by how he replied after that). The rest is meant for
Crabby.
Re: how to ban someone only in my server
Deleted User
Rainoth has written@
Infinite Rain: Don't play with words.
Infinite Rain: Don't play with words.I do not play with them.
Rainoth has writtenIt's obvious that he couldn't phrase what he needed properly. My first reply was more than enough (you can see it by how he replied after that). The rest is meant for
Crabby
CrabbyDid I deny any of those facts?
Infinite Rain has writtenThat's what he wanted to point out.
By "he" in my message I meant
Crabby, sorry if that wasn't clear enough.
1

how to ban someone only in my server
Offline