Kicking Players

1 view
Skip to first unread message

Ladna

unread,
Apr 8, 2009, 12:31:42 PM4/8/09
to ZDStack-users
A user (brettlem24, not sure who that is) asked how to kick players.
Well I'm not sure exactly what he meant, but there's many ways to kick
players in ZDaemon and ZDStack.

In ZDaemon you can either use the console or RCON (in-game server
console), but the command is the same:

kick <player_num> <reason>

If you're using RCON you need to use

rcon kick <player_num> <reason>

To get player numbers, just use the 'players' command, no RCON needed
for that.

In ZDStack, all RCON methods are available over RPC as well. So if
there's a player named 'Ladna' with player number '3' in server 'ZDCTF
8v8', you would use the 'zdrpc' utility included with ZDStack like
this:

./zdrpc -m kick -a 'ZDCTF 8v8, 3, ROFL'

Getting the list of players works much the same way:

./zdrpc -m players -a 'ZDCTF 8v8'

'zdrpc' returns the output from zserv without modifying it, so it's
much like using the server console.
Reply all
Reply to author
Forward
0 new messages