Blockland Forums > Help
Is there a command to ban someone through the console?
BobSevenSevens:
Title says it all.
I need it because when I'm hosting my dedi and someone just told me that someone's spamming the server, I don't want to have to open up Blockland, Query LAN, join, and ban.
tl;dr good for dedicated servers.
Regulith:
commandtoserver('ban',0,ID,Time,"Multiple Word Reason");
BobSevenSevens:
--- Quote from: Regulith on August 28, 2009, 05:02:40 PM ---commandtoserver('ban',0,5362,-1,"spamming everywhere");
--- End quote ---
So, that would perma ID 5632 for spamming everywhere??
DaSord213:
--- Quote from: Regulith on August 28, 2009, 05:02:40 PM ---commandtoserver('ban',0,ID,Time,"Multiple Word Reason");
--- End quote ---
So would it be like:
commandtoserver('ban',0,5214,-1,"I hate you");
And that would perma ban?
Chrono:
--- Quote from: Regulith on August 28, 2009, 05:02:40 PM ---commandtoserver('ban',0,ID,Time,"Multiple Word Reason");
--- End quote ---
Note that this will not work on dedicated servers, which Bob had asked for.
BanBLID(ID, Time, "Reason"); will work for dedicated servers.