Commands

Commands list

• Version
• Scanner
• Scan and delete malware
• Refresh config
• Help
• Clear everything
• Clear vehicles
• Clear peds
• Clear objects
• Bans
• Unban
• Unban all
• Install anti lua inject
• Uninstall anti lua inject

Commands usage

Help

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

Version

Scanner

Delete malware

circle-info

Use this command only if needed (only if the anticheat resource has found a suspicious resource inside your artifacts or cipher raid your server), otherwise the command racscan and remove all backdoors found is enough

circle-info

In order to make the command fully work, you need to add in your server.cfg the following permission: add_ace resource.rac command allow

triangle-exclamation
circle-info

If there are no backdoors left after two restarts, your server is safe. From now, whenever you add a resource, either from backup, either shared resources, analyse them manually by checking if they contain any harmful content

circle-info

In windows, some malware files are hidden, so in order to see them you have to enable the hidden files

Refresh config

circle-info

We recommend to use racrefreshconfig in the console to apply changes to your config file instead of restarting/ensuring the anticheat resource. Avoid restarting the resource while players are online, as the live map feature causes long load times and cache saving delays due to large amount of files.

Clear Everything

Clear vehicles

Clear ped

Clear objects

Ban list

Example of ban list result

Unban player from server console

circle-exclamation
Example of unban player
circle-info

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

Unban all players from server console

circle-info

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

Install anti lua inject feature automatically

Uninstall anti lua inject feature automatically

Event Protection

circle-exclamation
circle-info

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

circle-info

In order to install the event protection for your script, you have to add it manually. To add event protection for specific events, you have to add the event you want to protect in config on SecuredServerEvents or SecuredClientEvents and add in fxmanifest of the resource you want to protect (from where the trigger belongs to) the following lines:

After restart server, the events from resource testresource have been protected

Dump protection

circle-exclamation
circle-exclamation
Resource testresource before implementing the dump protection
Resource testresource after adding backup folder
Resource testresource after placing client, NUI files, index.json list of client and NUI files, and index.html file that need to be secured
triangle-exclamation
triangle-exclamation

Last updated