Kicking and banning in HumanitZ works through RCON. There are no chat commands for it – the matching commands are RCON commands only. So you have to set up RCON once before you can remove players.
Set up RCON
-
Check the port
RCON requires its own TCP port. You can see which port is available for your server in the dashboard in the port overview. If no additional port is assigned there, you can request one via a support ticket. -
Stop the server
Stop your server via the dashboard. -
Connect via SFTP
Connect to your server via SFTP. -
Open the configuration file
Open the following file:/HumanitZServer/GameServerSettings.ini -
Enable RCON
Enter the following values in the[Host Settings]section:[Host Settings] RCONEnabled=true RConPort=<RCON port from the dashboard> RCONPass="YourRconPassword" -
Start the server
Save the file and start your server.
Connect with an RCON tool
HumanitZ uses an RCON implementation compatible with Valve's. You can therefore use any common RCON client.
-
Open an RCON tool
Open an RCON tool such as mcrcon or a comparable RCON client. -
Enter the connection details
- Host: the IP address of your server (without port)
- Port: the RCON port from the dashboard
- Password: the password from
RCONPass
-
Run commands
Once connected you can run the commands listed below.
Find the player ID
To kick and ban you need the Steam ID of the player. The following command provides it:
Players
The output lists all connected players with their name and Steam ID.
Kick a player
kick <SteamID>
The player is disconnected from the server but can rejoin at any time.
Ban a player
ban <SteamID>
The player is immediately kicked from the server, added to the ban list and can no longer connect.
Remove a ban
unban <SteamID>
With fetchbanned you can retrieve the list of all banned Steam IDs beforehand.
Command overview
| Command | Description |
|---|---|
Players |
Shows all connected players with name and Steam ID |
kick <SteamID> |
Disconnects a player from the server |
ban <SteamID> |
Bans a player and kicks them from the server |
unban <SteamID> |
Removes the ban of a player |
fetchbanned |
Shows the list of all banned Steam IDs |
admin <message> |
Sends a chat message with the admin tag |
Edit the ban list as a file
The bans of your server are additionally stored in a text file inside the project folder:
/HumanitZServer/F_BannedPlayers.txt
It contains one Steam ID per line. If the file does not exist yet, you can create it yourself.
-
Stop the server
Stop your server via the dashboard. -
Edit the file
OpenF_BannedPlayers.txtvia SFTP and enter one Steam ID per line – or remove a line to lift a ban:76561198012345678 76561198087654321 -
Start the server
Save the file and start your server.
Block globally banned players
In the [Host Settings] section you can additionally enable the global ban list:
UseGlobalBanList=true
Your server then rejects players who were banned on the official servers.
Set up a whitelist
If you want to restrict your server to certain players, enable the following in the [Host Settings] section:
OnlyAllowedPlayers=1
You then enter the allowed players with one Steam ID per line into the following file:
/HumanitZServer/F_MVPAccess.txt
