How to moderate a server
#1
When multiplayer comes out, we should be able to script "kick" and "ban" people from our place. You should ban them for a certain time like not letting them in and in a jail. Share scripts that would teach us how to moderate a server.
[Image: 1te6tmtu01m.png]
the dogs will take over these countries.
Reply
#2
Code:
banned = {"NameHere", "AnotherNameHere"}

function in_table ( e, t )
    for _,v in pairs(t) do
        if (v==e) then return true end
    end
    return false
end

link(game.Players.ChildAdded, function(p)
    if in_table(p.Name, banned) then
        p:message("You're banned!'")
        p:remove()
        game:message(p.Name.." tried to join, but is banned.")
        sleep(3)
        game:message()
    end
end)
Reply
#3
Okay...
I'm an admin for the Wiki.
I own the most visited game in Buildism. Smile
[Image: epic1.png]
Reply
#4
Awesome. That would help.
Reply
#5
True.
Reply
#6
Yes it will help a lot. =D
Reply
#7
How about a chat script, so it can be used in game?

eg

Elite:Kick()

onchatted remove elite
Reply
#8
Wouldn't be hard to add a button.
Reply
#9
I could start translating the roblox admin commands if you all want.

It has kick, ban, jail, zombify, sparkles, punish e.t.c.
Reply
#10
maybe....
[Image: 238336.gif?dateline=1279338850]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)