Skip to main content
Complete Redzone installation, game-mode, hook, theme, and API reference.
fnx-pvp-redzone runs instanced free-for-all combat zones with loadouts, boundaries, respawns, stats, and leaderboards.

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. Test every respawn, polygon, inventory item, return bucket, and optional map dependency.

Client configuration

Plugin

Commands, runtime, death, and respawn

Client hooks

Server configuration

Rewards

ServerCfg.Rewards controls item/account rewards. Rewards are given independently from Redzone loadouts, so they still work when Inventory.keepInventory is true.

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.

Reward commands

Game-mode schema

Weapon schema

Server hooks

Shared files

Private shared files contain internal helpers. There is no public shared cfg.

Theme system

Developer info

Client exports

Server exports

Common issues

Immediately outside the zone

Check polygon order, Z values, and thickness; enable debug temporarily.

Spawning inside objects

Test every respawnPoints entry and keep it inside the polygon.

Loadouts fail

Verify inventory mode plus weapon, ammo, and component item names.

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.

Deaths count twice

Use built-in detection or one custom reporter, and check CanReportDeath() first.

Common folders