Преминете към основното съдържание

QGS Guard

QGS's own 4-in-1 protection plugin: Anti-VPN/Proxy, anti nickname-spam, anti-advertising (chat + nickname) and anti connect-flood — all configured from a single file.
Version: v3.1

⬇ Download QGS Guard

Installation​

Step 1) Open your console and select your Counter-Strike 1.6 server.

Step 2) Go to TOOLS → Plugins (the in-panel installer).

Step 3) Find QGS Guard in the list and click INSTALL — the panel downloads it and places every file for you automatically.

Step 4) Set the CVARs / configuration shown below (if any), then RESTART the server.

Manual installation (FTP / File Manager)​

Step 1) Download the archive above and unzip it. It already contains the addons/ folder structure.

Step 2) Open your console → File Manager (or FTP) and upload the extracted addons folder into your server's cstrike directory, merging it. The plugin lands in addons/amxmodx/plugins/ and its config in addons/amxmodx/configs/.

Step 3) Open cstrike/addons/amxmodx/configs/plugins.ini and add:

qgs_guard.amxx

Step 4) Restart the server.

Съвет

Need the basics first? See How to upload plugins and How to compile a plugin.

Configuration​

QGS Guard is configured entirely from qgs_guard.cfg (auto-created on first run, reloaded every map). Placeholders {WARN} {MAX} {SEC}; colours !g green, !t team, !y yellow. Main settings:

SettingDescription
gd_skip_admins1 = admins with the immunity (a) flag bypass all four modules. Set to 0 while testing on your own admin.
gd_prefix / gd_sound_warnChat prefix and warning sound.
av_enabled / av_providerAnti-VPN switch and provider: proxycheck (default), antivpn, or both.
av_proxycheckio_key / av_antivpnio_keyOptional API keys — empty proxycheck.io still gives 100 checks/day, a free key 1000/day.
av_kick_reason / av_timeout / av_ip_whitelistKick message, HTTP timeout, and IPs never checked (;-separated).
ns_enabled / ns_cooldown / ns_max_changes / ns_actionAnti name-spam: cooldown between name changes, allowed attempts, and punishment (0 revert, 1 kick, 2 ban id, 3 ban ip).
ad_enabled / ad_whitelist / ad_actionAnti-advertising: block website/IP ads in chat and names; ad_whitelist keeps your own domain (default qgshosting.com).
ic_enabled / ic_max_connects / ic_time / ic_ban_minutesAnti connect-flood: max connects per IP in a time window, then a temporary ban.

File: cstrike/addons/amxmodx/configs/qgs_guard.cfg — edit it in the File Manager, then change the map or restart the server to apply.

Notes​

Test the VPN check from the server console with amx_vpntest <ip>. Keep av_debug 1 only while setting up, then turn it off. See the QGS Guard overview for the upload flow.

QGS Hosting