XYZ Kill Reward is a lightweight FiveM script focused on automatically rewarding players for confirmed kills through a secure and server-validated system.
This resource detects valid player kills and rewards the killer with a configurable money item through ox_inventory. Instead of relying on a simple client event, the script uses rotating security tokens, session nonces, token acknowledgement, duplicate claim protection, victim validation, and multiple server-side checks to prevent event abuse and repeated reward claims.
Notifications are handled through ox_lib, while successful rewards, blocked attempts, and errors can be logged through a configurable Discord webhook.
Built to be lightweight, secure, practical, and easy to configure.
Features
Automatic player kill rewards
Configurable reward amount
Configurable money item
ox_lib notifications
ox_inventory integration
Server-side kill validation
Rotating security token system
Session nonce validation
Token acknowledgement system
Duplicate reward protection
Optional NPC reward mode
Discord webhook logging
Optional player notifications
Clean and simple config
Framework independent
Dependencies
ox_lib
ox_inventory