Utilizing Commands
Commands are a powerful tool to efficiently manage your anticheat and ensure a fair and secure gaming environment on your FiveM server. Here's a breakdown of the available commands and how to use them
ac_reloadconfig: Refreshing Configuration
Usage:
/ac_reloadconfig
Description: This command allows you to refresh the anticheat configuration without the need for restarting the entire script. It's handy when you make changes to the configuration and want them to take effect immediately.
ac_ban: Banning a Player
Usage:
/ac_ban [player_id] [reason]
Description: Use this command to ban a player by their in-game ID. Replace
[player_id]
with the target player's ID and provide a[reason]
for the ban. This ensures that players who violate the rules are prevented from accessing the server.
ac_unban: Unbanning a Player
Usage:
/ac_unban [discord_id]
Description: If a player has been banned but later deserves a second chance, you can unban them. Use this command by providing the
[discord_id]
associated with the player's Discord account.
ac_banlist: Viewing the Banlist
Usage:
/ac_banlist
Description: This command provides an easy way to view the list of banned players. It will print the banlist directly into the server console, allowing you to monitor who has been banned and why.
Last updated