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 FiveM Server
FiveMFiveMKick & Ban Players

How to Kick and Ban Players on Your FiveM Server

Kick and ban players on a FiveM server

5 min read
Aug 7, 2026

You have two ways to moderate your FiveM server: the txAdmin web interface and the server console. In txAdmin you can kick, warn and ban players with a few clicks and revoke bans later on. Via the console you can only kick players – FXServer does not ship with a built-in ban command.

Find a player in txAdmin

  1. Open txAdmin
    Open the txAdmin web interface of your server and log in with your admin account.

  2. Open the playerlist
    All connected players are listed in the playerlist on the right-hand side. Use the Filter by Name or ID field to narrow down the list.

  3. Open the player window
    Click the name of the player. A window opens with the tabs Info, History, IDs and Ban as well as the buttons DM, Kick and Warn.

Kick a player

  1. Open the player window
    Open the window of the player as described above.

  2. Select Kick
    Click Kick at the bottom of the window.

  3. Enter a reason
    Type a reason or leave the field blank, then confirm with Send.

Ban a player

  1. Open the player window
    Open the window of the player and switch to the Ban tab.

  2. Enter a reason
    Type the reason for the ban into the Reason field. The reason has to be at least three characters long.

  3. Choose a duration
    Pick one of the presets under Duration:

    Option Meaning
    Custom (set below) your own duration
    2 HOURS / 8 HOURS 2 or 8 hours
    1 DAY / 2 DAYS 1 or 2 days
    1 WEEK / 2 WEEKS 1 or 2 weeks
    Permanent permanent

    With Custom (set below) you enter a number underneath and choose HOURS, DAYS, WEEKS or MONTHS as the unit.

  4. Apply the ban
    Click Apply Ban. If the player is currently connected, they are dropped from the server right away.

Revoke a ban

  1. Open History
    Click History in the top menu. All warnings and bans are listed there.

  2. Find the entry
    Search for the ban by its Action ID (format XXXX-XXXX), by Reason or by Player IDs. You can additionally filter by type and by the admin who issued it.

  3. Open the entry
    Click the entry. A window opens with the tabs Info, IDs and Revoke.

  4. Revoke the ban
    Switch to the Revoke tab and click Revoke Ban.

Kick a player via the server console

  1. Open the console
    Open the Live Console in txAdmin or – with txAdmin disabled – the console in your dashboard.

  2. Look up the player ID
    List all connected players:

    status
    

    The output shows the server ID, the name, the primary identifier and the ping for every player.

  3. Kick the player
    Kick the player by their server ID and add a reason:

    clientkick 12 Breaking the rules
    

Permissions for your team

Which admin is allowed to kick or ban is defined under Admins in txAdmin. The relevant permissions are:

  • players.kick – kick a player
  • players.warn – warn a player
  • players.ban – ban and unban a player
  • console.write – run commands in the Live Console
Written byEmeraldHost Team
Last updated on Aug 7, 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
FiveM

Ready to get started?

Rent your FiveM Server now

Join our Discord community 1257 members online right now