Author Topic: Dedicated server console  (Read 1129 times)

can you use it to make commands, like see whose in your server?

To see who is in your server, type this in this console:
Code: [Select]
listClients();Use this command to send a message to everybody:
Code: [Select]
talk("Hello everybody! This is a message.");
Those are just a few, there's tons of commands you can use. Any other ones you're wondering about?

Ah, well, which ones would be useful?

can you ban/kick form the console? or add admin or change save?

can you ban/kick form the console? or add admin or change save?
Kick: findclientbyname("<name>").delete("Reasons");

Ban: BanBLID(<ID>, 0, <time>, "<reason>"); - At least I think those are the arguments...

Kick: findclientbyname("<name>").delete("Reasons");
That's one way to do it.. I think you can do kickBLID() too.



or forcekill
i think it's like
findClientByName("name").player.kill();
i may be wrong, haven't done anything like that in a long time

In short, you can use almost any function as a console command..

can you admin from it?
findclientbyname("<name>").isadmin=true;