Hey FiveM community!
I’m excited to share shiny-moneylimit, a lightweight and flexible money limiter script that works seamlessly with multiple popular frameworks: ESX, QBCore, Qbox, and Oxcore.
Features
Enforces a configurable money cap on players.
Automatically checks players’ money when they join and periodically during gameplay.
Allows bypassing trusted players by Discord, Steam, license IDs, etc.
Sends detailed logs to a Discord webhook whenever a player exceeds the limit.
Provides a customizable function so you decide how to handle players over the limit.
Supports ESX, QBCore, Qbox, and Oxcore in a single unified script.
Why use shiny-moneylimit?
Keeping an eye on player money helps maintain economy balance and prevents exploits. This script is easy to configure and adapt to your server’s framework and needs, with reliable Discord logging for moderation.
Config
Config = {}
-- Money limit configuration (changeable per framework if needed)
Config.MoneyLimit = 1000000
Config.Framework = 'esx' -- options: 'esx', 'qbcore', 'qbox', 'oxcore'
-- Interval in seconds to check all players' money
Config.CheckInterval = 300
-- Webhook for logging
Config.Webhook = 'https://discord.com/api/webhooks/YOUR_WEBHOOK_URL_HERE'
-- Bypass list (can be any identifier type: discord: steam: license: etc)
Config.BypassIdentifiers = {
["discord:123456789012345678"] = true,
["steam:110000112345678"] = true,
["license:abcd1234efgh5678"] = true
}
-- Custom action when player hits limit
Config.OnLimitReached = function(src, currentAmount, limitAmount)
DropPlayer(src, "💰 | You have been kicked because you gone over the money limit.")
end
Free Github Download
For support you can always send me a message on discord @Shiny5m