Commands

Commands list

• Version
• Scanner
• Help
• Clear Everything
• Clear vehicles
• Clear peds
• Clear objects
• Unban all
• Install event protection
• Install dump protection

Commands usage

Help

Command rachelp in server console will show you all the available commands:

racversion - The anticheat version that you are running on your server
racscan - Scan your server for backdoors
clearall - Clear vehicles, peds, objects
clearvehicles - Clear vehicles
clearpeds - Clear peds
clearobjects - Clear objects
racbans - Bans list
racunban <Id> - Unban player from anticheat 
racunbanall - Unban all players from anticheat
raceventprotection [install] [resource name] - Add event protection (Anti Trigger) - Make sure you create a backup of your resource you want to protect before use the command to add the event protection
racdumpprotection [install] [resource name] - Add dump protection (Anti Dump) - Make sure you create a backup of your resource you want to protect before use the command to add the dump protection

Version

Command racversion in server console will show the anticheat version that you are running on your server.

Scanner

Command racscan in server console will print backdoors such as hidden / obfuscated commands or cipher from your server which were found in your server resources that can have a risk to your server. If a backdoor has been found, you can contact support to give you more information about the found backdoor by inspecting found code.

Clear Everything

Command clearall in server console will delete every unused vehicles, peds and objects on the server. You can change this command from config file (Config.ClearAllCommand).

Clear vehicles

Command clearvehicles in server console will delete every unused vehicles on the server. You can change this command from config file (Config.ClearVehiclesCommand).

Clear ped

Command clearpeds in server console will delete every ped on the server. You can change this command from config file (Config.ClearPedsCommand).

Clear objects

Command clearobjects in server console will delete every object / prop on the server. You can change this command from config file (Config.ClearObjectsCommand).

Ban list

Command racbans in server console will print on console all bans from bans.json file. The result will show the Id, Player name, Reason and Date. You can change this command from config file (Config.BanListCommand)

Example of ban list result

Unban player from server console

Command racunban <Id> in server console will remove (unban) the player with the entered Id from the anticheat ban list. Before enter the Id to unban the player, you have to use the Ban list command (Config.BanListCommand) in order to get the Id you want to remove (unban) or check the bans.json file and get the "id". You can change the unban player command from config file (Config.UnbanCommand).

The Id you enter is not the player id from your server, the Id is the number of ban got in the ban list. You have get the Id by typing Ban list command (Config.BanListCommand) in server console and it will provide as first element for each ban or get it from bans.json file, the field "id"

As an example for the above ban list, if we want to remove the player with Id 3, we have to type racunban 3

Example of unban player

By unbanning a player from server console with Config.UnbanCommand, the file bans.json will also get updated.

Unban all players from server console

Command racunbanall will remove (unban) all players from the anticheat ban list. You can change this command from config file (Config.UnbanAllCommand)

By unbanning all players from server console with Config.UnbanAllCommand, the file bans.json will also get updated.

Event Protection

Command raceventprotection [install] [resource name] will add event protection automatically to all events registered in that resource. This feature will not allow players to call trigger events from executors. When a trigger is called for a player from scripts normally, there will not be any problem, but if the player tries to call the trigger from executor he will be detected and get him banned. When this command is executed in server console the fxmanifest and server scripts of your resource will be affected.

The event protection works on tokenizer principle, which means each protected event generates a token when a trigger server event is called from the server, and if the token does not match, the player will get banned.

Installation command for resource testresource
After server restart events from resource testresource have been protected
Showcase available on Anti trigger event protection category

Dump protection

Command racdumpprotection [install] [resource name] will add dump protection to the mentioned resource. This feature will not allow players to dump your client files. This command can be used in case you do not want to escrow your resource on keymaster and keep your resource open source in server. If a player dumps your resource or server he will not get banned, but he will not receive the client files if the resource is protected. We encourage you to use escrow system, but in case you do not want to use it, you can use this resource in order to prevent dumping your client file. When this command is executed in server console the fxmanifest of your resource will be affected and it creates a backup folder with all your client files in open source so you can modify your code.

Resource testresource before executing command
Execute command to add dump protection
Resource testresource after executing command
Showcase available on Anti dumper category

Last updated