AntiCheat Installation
This section covers how to setup and install WX AntiCheat.
After you purchased the AntiCheat, you need to install it on your server. This section will guide you through the installation process.
Setup
- Download the latest release from your keymaster.
- Extract the
wx_anticheat.pack.zip
file. - Drag the
wx_anticheat
folder into yourresources/
folder on your server. - Download screenshot-basic from here and place it in your
resources/
folder.
SQL Setup
- In the
0 SQL/
folder, you will find aINSERT-ME.sql
file. Insert this file to your SQL database. You can use tools like HeidiSQL or phpMyAdmin to do this.
CREATE TABLE IF NOT EXISTS wx_anticheat (
banID varchar(9) COLLATE utf8mb4_bin NOT NULL,
playerName varchar(25) COLLATE utf8mb4_bin NOT NULL,
steamid varchar(40) COLLATE utf8mb4_bin DEFAULT NULL,
ip varchar(40) COLLATE utf8mb4_bin DEFAULT NULL,
license varchar(100) COLLATE utf8mb4_bin DEFAULT NULL,
discordid varchar(100) COLLATE utf8mb4_bin DEFAULT NULL,
reason varchar(255) COLLATE utf8mb4_bin NOT NULL,
HWID varchar(130) COLLATE utf8mb4_bin NOT NULL,
HWID2 varchar(130) COLLATE utf8mb4_bin NOT NULL,
HWID3 varchar(130) COLLATE utf8mb4_bin NOT NULL,
HWID4 varchar(130) COLLATE utf8mb4_bin NOT NULL,
HWID5 varchar(130) COLLATE utf8mb4_bin NOT NULL,
PRIMARY KEY (HWID)
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_bin;
Configuration
Important configuration files can be found in the configs/
folder. This folder contains the following files:
anticheat_config.lua
: This file contains the main configuration for the AntiCheat.anticheat_webhooks.lua
: This file contains the configuration for the Discord webhooks logs.
Webhook Setup
- Open the
anticheat_webhooks.lua
file in a text editor. - Create a new webhook for each of the following webhooks:
Webhooks.Webhook
: This webhook is the main webhook for the AntiCheat. It is used to send detection logsWebhooks.WebhookConnect
: This webhook is used to send notifications when a player joins or leaves the server.Webhooks.OCR
: This webhook is used to send OCR logs. The OCR will send a screenshot of every player every few seconds (configurable) for the anticheat to search for suspicious content, it's recommended to mute the channel for this webhook, as you will get a lot of notifications.Webhooks.ExplosionWebhook
: This webhook is used to send explosion logs.Webhooks.AdminMenuLogs
: This webhook is used to log activity from the Admin Panel used by your admins.Webhooks.UnbanWebhook
: This webhook is used to log player unbans.
- It also contains the following variables:
Webhooks.WebhookUsername
: The username of the webhook.Webhooks.WebhookAvatar
: The avatar URL of the webhook.Webhooks.WebhookColor
: Decimal color code of the webhook.Webhooks.WebhookInlines
: Whether to use inline fields for the webhook. If false, all fields will be sent as separate fields. Otherwise, if possible, fields will be sent as inline fields (on the same line).
How to create a webhook
- Go to any Discord server, create a log channel and right click it to show it's options.
- Select "Edit Channel" and navigate to the "Integrations" tab.
- Select "Webhooks" and click "New Webhook".
- Your webhook should now be created! You can now copy the webhook URL and assign it to any of the webhooks in the
anticheat_webhooks.lua
file.
Main AntiCheat Configuration
The main configuration file is located in the anticheat_config.lua
file.
This file contains a lot of configuration options for the AntiCheat.
It is recommended to go through them all to understand how the AntiCheat works.
Every option is explained with a comment in the file.
It is not recommended to leave the file as is, as it is highly recommended to change the options to your liking.
Not doing so will result in a lot of false positive detections.
You can also join the Support Discord Server and look in the #anticheat-configs channel, where other users have shared their configurations - please note that if you decide to use these configurations, make sure to test them first and make sure they're made for the same version of the AntiCheat as you are using.