Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Help
»
How do I Disconnect/kick someone using the console?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How do I Disconnect/kick someone using the console? (Read 2735 times)
Grimreaperx15
April 24, 2007, 07:59:44 PM
Is there a way to disconnect/kick someone using a console command?
Ad Bot
Advertisement
Badspot
Administrator
April 24, 2007, 08:03:37 PM
listclients(); to get a list of client ID numbers.
kick(<clientID>); or ban(<clientID>);
Not very convenient, but whatever
Grimreaperx15
April 24, 2007, 08:21:20 PM
Sadly that doesn't work, when I tried it I got the "<imput> <0>:Unable to find the function kick" error. Is this because I can only the the kick(<clientID>); in-game and not through the Dedicated console? Sorry about not being specific.
DarkKnight
April 25, 2007, 12:27:50 AM
listclients();
kick(7391);
Ephialtes
April 25, 2007, 02:40:25 AM
You can only use those types of commands through the dedicated console, or yours if you run the server.
Grimreaperx15
April 25, 2007, 06:45:54 AM
I tried it though the dedicated console, it is unable to find the function "kick".
DarkKnight
April 25, 2007, 03:44:41 PM
%client.delete("You have been kicked");
Mr. Wallet
June 08, 2007, 08:46:04 PM
Confirmed that kick(); and ban(); are not found D=
deleting a client works but the "text inside" isn't shown to them. I would prefer a cleaner method that could list a reason, but for anyone interested, the deletion method at least works.
Badspot
Administrator
June 09, 2007, 12:13:38 AM
it's kickID(7391); and banID(7391);
Mr. Wallet
June 10, 2007, 08:08:18 PM
Thanks!
Mr. Wallet
July 18, 2007, 08:33:40 AM
BUMP for question: How would I ban temporarily (say 5 minutes) from the console? Does BanID(); have more parameters or what?
TheCannon187
July 18, 2007, 09:17:18 AM
I think that the bantime is measured in
seconds
, but I don't know the parameter.
Mr. Wallet
August 14, 2007, 10:44:28 PM
BanID(); is actually not working at all. I've tried all sorts of stuff and no one gets banned.
The function isn't coming up not found, but there's no message and the unban list lacks anything new.
Badspot
Administrator
August 15, 2007, 02:00:08 PM
Yeah it doesn't work. Fixed in next version.
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Help
»
How do I Disconnect/kick someone using the console?