New

EmeraldHost 2.0 is here: faster, more intuitive, and made for everyone - the new panel!

Learn more
Guides
How to Kick and Ban Players on Your Mordhau Server
MordhauMordhauKick & Ban Players

How to Kick and Ban Players on Your Mordhau Server

Kick and ban players on a Mordhau server

3 min read
Jul 30, 2026

You remove players from a Mordhau server through RCON. This lets you manage your server from your PC without being in the game yourself. RCON is disabled by default and has to be set up once.

Set up RCON

  1. Assign a port
    RCON needs a port of its own. Assign an additional port to your server in the dashboard and note the value.

  2. Stop the server
    Stop your server via the dashboard.

  3. Connect via SFTP
    Connect to your server via SFTP.

  4. Open the Game.ini
    Open the following file:

    /Mordhau/Saved/Config/LinuxServer/Game.ini
    
  5. Enable RCON
    In the section [/Script/Mordhau.MordhauGameSession] enter your RCON password and the assigned port:

    [/Script/Mordhau.MordhauGameSession]
    RconPassword=ASecurePassword
    RconPort=YourRconPort
    RconTimeout=120.000000
    
  6. Start the server
    Save the file and start your server.

  7. Connect via RCON
    Connect with an RCON tool that supports the Source RCON protocol. Enter the IP address of your server, the RCON port and the RCON password there.

List the players

For kicks and bans you need the player's PlayFab ID. The following command returns it:

playerlist

The server returns one line per player with the PlayFab ID and the player name.

Kick a player

kick <PlayFabID> <reason>

The player is disconnected from the server immediately but can rejoin at any time.

Ban a player

ban <PlayFabID> <duration> <reason>

The duration is given in minutes. If you enter 0, the ban is permanent.

Lift a ban

unban <PlayFabID>

With banlist you can check all active bans and their remaining duration beforehand.

Mute a player

mute <PlayFabID> <minutes>
unmute <PlayFabID>

With mutelist you get all currently muted players.

Command overview

Command Description
playerlist Shows all connected players with PlayFab ID and name
kick <ID> <reason> Disconnects a player from the server
ban <ID> <minutes> <reason> Bans a player, 0 means permanent
unban <ID> Lifts a ban
banlist Lists all active bans with their duration
mute <ID> <minutes> Mutes a player
unmute <ID> Unmutes a player
mutelist Lists all muted players
addadmin <ID> Adds a player as an admin
removeadmin <ID> Removes an admin
adminlist Shows all admins
say <text> Sends a message to all players
changelevel <map> Changes the map
killplayer <ID> Kills a player in the game
info Shows information about the server
Written byEmeraldHost Team
Last updated on Jul 30, 2026 Edit on GitHub

Did this article help you?

Your feedback helps us improve our guides.

Help shape the guides

€10.00 in credit for every new guide, €5.00 for every improvement.

Contact Support

Create a support ticket and our team will get back to you as soon as possible – personal and professional.

Go to Support
1257 members online

Discord Community

Connect with other players, get quick help from the community, and stay up to date with the latest news.

Join Discord
Mordhau

Ready to get started?

Rent your Mordhau Server now

Join our Discord community 1257 members online right now