2DWorlds Forums
How to moderate a server - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: 2DWorlds Discussion (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=10)
+---- Forum: Multiplayer Discussion (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=14)
+---- Thread: How to moderate a server (/showthread.php?tid=1165)

Pages: 1 2


How to moderate a server - BuildistGuard - 01-09-2011

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.


RE: How to moderate a server - Jacob__mybb_import1 - 01-09-2011

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)



RE: How to moderate a server - InternetGuy - 01-30-2011

Okay...


RE: How to moderate a server - ROBLOX - 01-30-2011

Awesome. That would help.


RE: How to moderate a server - Asai - 02-02-2011

True.


RE: How to moderate a server - Dignity - 03-12-2011

Yes it will help a lot. =D


RE: How to moderate a server - Elite - 04-02-2011

How about a chat script, so it can be used in game?

eg

Elite:Kick()

onchatted remove elite


RE: How to moderate a server - Ice - 04-03-2011

Wouldn't be hard to add a button.


RE: How to moderate a server - Duck - 04-03-2011

I could start translating the roblox admin commands if you all want.

It has kick, ban, jail, zombify, sparkles, punish e.t.c.


RE: How to moderate a server - Dude - 04-06-2011

maybe....