Author Topic: Is there a command to ban someone through the console?  (Read 1491 times)

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.

commandtoserver('ban',0,ID,Time,"Multiple Word Reason");

commandtoserver('ban',0,5362,-1,"spamming everywhere");


So, that would perma ID 5632 for spamming everywhere??

commandtoserver('ban',0,ID,Time,"Multiple Word Reason");
So would it be like:
commandtoserver('ban',0,5214,-1,"I hate you");
And that would perma ban?

commandtoserver('ban',0,ID,Time,"Multiple Word Reason");
Note that this will not work on dedicated servers, which Bob had asked for.
BanBLID(ID, Time, "Reason"); will work for dedicated servers.

Note that this will not work on dedicated servers, which Bob had asked for.
BanBLID(ID, Time, "Reason"); will work for dedicated servers.

Hm, I didn't know it didn't work on dedi's.

commandToServer is a client sided command that sends the first arg as a command, which then the server calls serverCmdcommandhere(%client...

there is a add on that lets admins do /wrench, I have it on my server. Can't find it though :x


oshat how did that happen? :D

Note that this will not work on dedicated servers, which Bob had asked for.
BanBLID(ID, Time, "Reason"); will work for dedicated servers.

Thank you. Thanks for trying, regulith.

Note that this will not work on dedicated servers, which Bob had asked for.
BanBLID(ID, Time, "Reason"); will work for dedicated servers.
For some reason I can't get this to work. Can I have an example?

This is a total shot in the dark for xC's problem, but isn't there supposed to be an underscore between BL and ID? Just throwing that out there, please correct me if I'm wrong.