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
-
Open txAdmin
Open the txAdmin web interface of your server and log in with your admin account. -
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. -
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
-
Open the player window
Open the window of the player as described above. -
Select Kick
Click Kick at the bottom of the window. -
Enter a reason
Type a reason or leave the field blank, then confirm with Send.
Ban a player
-
Open the player window
Open the window of the player and switch to the Ban tab. -
Enter a reason
Type the reason for the ban into the Reason field. The reason has to be at least three characters long. -
Choose a duration
Pick one of the presets under Duration:Option Meaning Custom (set below)your own duration 2 HOURS/8 HOURS2 or 8 hours 1 DAY/2 DAYS1 or 2 days 1 WEEK/2 WEEKS1 or 2 weeks Permanentpermanent With Custom (set below) you enter a number underneath and choose HOURS, DAYS, WEEKS or MONTHS as the unit.
-
Apply the ban
Click Apply Ban. If the player is currently connected, they are dropped from the server right away.
Revoke a ban
-
Open History
Click History in the top menu. All warnings and bans are listed there. -
Find the entry
Search for the ban by its Action ID (formatXXXX-XXXX), by Reason or by Player IDs. You can additionally filter by type and by the admin who issued it. -
Open the entry
Click the entry. A window opens with the tabs Info, IDs and Revoke. -
Revoke the ban
Switch to the Revoke tab and click Revoke Ban.
Kick a player via the server console
-
Open the console
Open the Live Console in txAdmin or – with txAdmin disabled – the console in your dashboard. -
Look up the player ID
List all connected players:statusThe output shows the server ID, the name, the primary identifier and the ping for every player.
-
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 playerplayers.warn– warn a playerplayers.ban– ban and unban a playerconsole.write– run commands in the Live Console
