How do I kick or ban a player?

Post Reply
User avatar
Edge100x
Founder
Founder
Posts: 12945
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

How do I kick or ban a player?

Post by Edge100x »

Visit the "Server control" page in your NFO control panel, and use the rcon tool there with the command "status". It will respond with output like this:

Code: Select all

-----------------------------------------
Server Status:
name: 
ip: nfo-a27608d4517
version: 1.1.0.0
level: Wars/cw2_alien_vessel_small
gamerules: Assault
players: 1/16
time remaining: 1:56
 -----------------------------------------
Connection Status:
name: JohnDoe123  id: 0  ip: 11.22.33.44:64100  ping: 255  state: 3 profile: 12345678
Then, use the kick or ban command. The server will give usage information if you enter either command alone:

Code: Select all

kick
Usage: kick cx <connection id> | id <profile id> | <name>
e.g.: kick cx 0, kick id 12345678, kick ElCubo - see 'status'

Code: Select all

ban
Usage: ban <profile id> <minutes>
e.g.: ban 12345678 30
It's usually easiest to kick by connection ID. For instance, to kick "JohnDoe123", as seen in the above "status" output, use:

Code: Select all

kick cx 0
To ban him, we'd use his profile ID, instead. For instance:

Code: Select all

ban 12345678 30
User avatar
Edge100x
Founder
Founder
Posts: 12945
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: How do I kick or ban a player?

Post by Edge100x »

Please note that as of Crysis 1.2 (the current version on April 19, 2011), entering a ban with a length of "0" actually removes that player from the banlist. Also, restarting the server removes any bans, and there is no way to retain them across server restarts.
Post Reply