Skip to main content
Complete installation, modes, hooks, theme, and API reference for fnx-pvp-aimlab.
fnx-pvp-aimlab provides instanced target-training modes with loadouts, records, Elo, and leaderboard integration.

First installation

The resource creates its required database tables automatically. You do not need to import an SQL file.

First setup

Edit both public cfg files. For every mode, test player spawns, polygon, targets, timing, and inventory item names before opening it to players.

Client configuration

Plugin

Commands and runtime

Client hooks

Server configuration

Inventory, join, and routing

Logs

Each log category supports enabled, username, avatar, webhooks, and embed. webhooks is an array, so one category can send to multiple Discord webhooks. embed is a Lua function and can be fully customized per server.

Mode schema

Weapon schema

Server hooks

Shared files

Private shared files contain internal constants and helpers. Aimlab has no public shared cfg.

Theme system

Colors accept CSS strings; radii are pixels; fonts are CSS font stacks.

Developer info

Server exports

Common issues

Targets do not appear

Check model, points, target mode, and timing. Keep every point inside the polygon.

The player is outside the area

Check spawn points, polygon order, and thickness; temporarily enable area.debug.

Loadouts fail

Verify inventory mode and every itemsData name.

Some configured weapons are not given

Each weapon is applied with its ammunition and components as one package. If a complete package does not fit, only that weapon is skipped. Other weapons are still given and the player receives one notification showing how many weapons were skipped.

Stats count twice

Use one report path per action; do not duplicate automatic damage handling.

Folder structure

Common folders