Author Topic: How to Ban People Outside of a Server?  (Read 2290 times)

first thing you need to do is get something like notepad++ or sublime text which reads the text file format right.
then i'tll be more clear
it's set up the same. i already use np++ for other stuff and it's not sorting that out like it usually does

[img width=800]http://puu.sh/kSJsl/d7a87f9322.jpg[/img]

sure about that?
That's because of how the server command is sent when you type it in the chat.
It should look like this to work properly:
Code: [Select]
commandToServer('ban', -1, 666, 666, "Testing multiple word ban");
But when you type it in the chat, it turns it into this:
Code: [Select]
commandToServer('ban', -1, 666, 666, "\"Testing", "multiple", "word", "ban");

it's set up the same. i already use np++ for other stuff and it's not sorting that out like it usually does
Just do it the easy way and
Start a server and do banBLID(BL_ID, TIME IN MINUTES(-1 for perma), "REASON");
« Last Edit: October 21, 2015, 09:59:41 PM by jes00 »

Just do it the easy way and
doing it that way is actually less convenient because you cant use spaces for the ban reason. you have to use underscores instead and that makes it end up looking super handicapped.

doing it that way is actually less convenient because you cant use spaces for the ban reason. you have to use underscores instead and that makes it end up looking super handicapped.
No. It's a console command. You don't need to use underscores as long as it's in quotations.

No. It's a console command. You don't need to use underscores as long as it's in quotations.
oh my bad

there are some add-ons that make this way easier


...like?
This is what I use for quoting things in the chat.
https://www.dropbox.com/s/m1dhjzvr4qm1nw2/Client_AdvancedChat.zip?dl=0
This fixes the ban command and the kick command as well, probably also fixing the spy command.

After this add-on try doing /ban 666 -1 "Devil!"
Edit: Basically it bans the ID 666 unless there's a player in the server that has 666 in their name. So this also tries to help search for players too.
« Last Edit: October 22, 2015, 07:20:10 PM by Kyuande »