GOLIATH Scripts for FiveM

Back to Escrow

Refund System FiveM script, screenshot 1
Refund System FiveM script, screenshot 2
Refund System FiveM script, screenshot 3
Refund System FiveM script, screenshot 4
Refund System FiveM script, screenshot 5
Refund System FiveM script, screenshot 6
1 / 7

About this script

Hand back what players lost. Safely, in game, never twice.

Your staff puts together what a player lost: items with metadata, money and vehicles, all in one refund. The player claims it from their own window or with a voucher code, as soon as there is room in the inventory. Every payout is locked, checked and logged.

No more giving items by command. Goliath Refunds gives your whole team one clean process, from the ticket to the audit log.

How it works

1. Staff opens /refundadmin and builds the refund from items, money and vehicles.

2. They pick an online player or any character by identifier and add a reason.

3. The player opens /refund, checks the contents and claims it with one confirmation.

4. Everything lands on the character, the refund is closed in the log.

For players

• Own refund window: Open refunds, code redemption and the full history in one place.

• Everything at a glance: Contents, validity and support code, before anything is booked.

• Voucher codes: Every refund has its own code. It only works for the character it was made for.

• Metadata restored: Serial numbers, ammo and attachments come back exactly as they were.

• Space check first: Weight and slots of all items are checked together. The player sees exactly what is missing.

For staff

• Live item catalog: Every item of your inventory with image, searchable, items and weapons separated.

• Money and vehicles: Any account of your framework. Cars go straight into the player garage, with your plate or a random one.

• Online or offline: Pick a player on the server or any character by identifier. Unknown identifiers are rejected.

• Delivery your way: Into the player window or by code only, valid for a set number of days or forever.

• Overview with search: All refunds grouped by state, searchable by player, code, identifier or reason.

• Stuck payouts flagged: Shown at the top, resolved by hand after checking, with a note in the log.

• Full audit log: Every step with time and staff member. Revoke or duplicate any refund.

• Online players: Open refunds per player, start a new refund in one click.

• Copy code: One click puts the code into your ticket or Discord.

• Discord webhook: Created, claimed and revoked refunds, plus every critical case.

Never paid twice

• The window only sends a refund number or code. What gets paid comes from the database.

• Atomic lock: double clicks and parallel requests pay nothing twice.

• Verified rollback: if one entry fails, everything handed out is taken back and checked.

• If a rollback is not possible, the refund stays locked for your staff. It never reopens on its own.

• Items, accounts, spawn names and plates are validated on the server.

• Permissions are checked on the server only. Redeem attempts are rate limited.

Compatibility

• Frameworks: ESX Legacy, QBCore, Qbox, custom bridge

• Inventories: ox_inventory, qb-inventory, ps-inventory, lj-inventory, qs-inventory, codem-inventory, tgiann-inventory, origen_inventory, core_inventory, ak47_inventory, jaksam_inventory, chezza_inventory, ESX default, custom bridge

• Vehicles: owned_vehicles on ESX, player_vehicles on QBCore and Qbox

• Requires: ox_lib and oxmysql

• Auto setup: framework and inventory are detected, database tables are created on first start

• Languages: English and German included, every text editable

For developers

• Export CreateRefund (server): create refunds from your log viewer, ticket bot or anticheat.

• Exports Open and Close (client).

• Hooks: CanUseAdmin, CanUsePlayer, OnCreated, OnRedeemed, OnLog and your own notifications.

Installation

1. Put goliath_refunds into your resources folder.

2. Add "ensure goliath_refunds" after your framework, inventory, oxmysql and ox_lib.

3. Start the server. The tables are created on their own.

4. Give your staff access in config.lua or with "add_ace group.admin goliath.refunds allow".

Escrow edition

Protected core through Tebex escrow. Open to edit: config.lua, locales, bridges, client and server editable.lua, sv_config.lua (Discord webhook, server only) and the SQL file. An Open Source edition with the complete source code is available in the Open category.

Support

Questions? The Goliath Scripts support on Discord helps you out. Join the Discord