Skip to content

10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 1Server templatesServer templates

RPScripts

Monetization Tools & Scripts

Core Credits

FiveM Lootbox / Core Credits

Frameworks:
  • ESX

Checked by the RPScripts Lab

  • Static check: 1 resource read
What was checked
Check compatibility with your server

Details

Frameworks
ESX
Dependencies
mysql-async
File size
476.9 kB
Licence and support terms
  • Licence: for your own server or project. No resale or sharing.
  • Updates: when a newer file is available, it appears in your account downloads.
  • Support: download access and product-specific setup questions.
Licence and support terms

Description

Core Credits (core_credits) adds a separate credit balance to ESX servers. Players spend credits in a shop or on case openings and can earn them through tasks. The interface opens with the /credits command.

Features

  • Credit shop with categories for vehicles, weapons, money and items; every entry has its own credit price.
  • Case opening: players bet credits (minimum bet set in the config) and win rewards of the types car, credits, weapon, item or money.
  • Five rarity levels: supercommon, common, rare, superrare and import.
  • Won rewards can be redeemed or exchanged back into credits at a set value.
  • Tasks for running, driving and flying a set distance that reward credits.
  • Configurable link and text for buying credits in your own store.
  • All messages are set in config.lua.
  • Example images for the rewards and a PSD template for credit images are included.

Commands

  • /givecredits (id) (credits) and /setcredits (id) (credits)
  • Console only: /givecreditsrcon (identifier) (credits) and /setcreditsrcon (identifier) (credits)

Requirements

  • ESX
  • mysql-async

The example shop and case entries use vehicle models that are not part of the download; replace them with vehicles from your server.

Installation

  • Copy core_credits into your resources folder.
  • Import core_credits.sql; it adds the columns credits, tasks, tasks_completed and winnings to the users table.
  • Set shop items, case rewards, tasks and the buy link in config.lua.
  • Add ensure core_credits to your server config.

Server setup

Step-by-step guide: how to install a FiveM script

Checked: the only resource of this download.

FiveM Lootbox / Core Credits

In your downloads
  • CodeM mVIPSystem — VIP Membership & Subscription System FiveM resource preview
    • ESX
    • QBCore
    Not for your framework

    CodeM mVIPSystem — VIP Membership & Subscription System

    CodeM

    $14.49$10.14
  • ARS VIP Shop FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    ARS VIP Shop

    AmiRobin

    $34.99$24.49
  • FiveM Daily Lucky Wheel
    • ESX
    • QBCore
    Not for your framework

    Daily Lucky Wheel

    $14.00$9.80
  • Debux Battlepass (ESX/QB) FiveM resource preview
    • ESX
    • QBCore
    Not for your framework

    Debux Battlepass (ESX/QB)

    Debux

    $31.99$22.39
  • GFX Giveaway
    • ESX
    • QBCore
    Not for your framework

    GFX Advanced Giveaway Script

    GFX Scripts

    $18.00$12.60
  • Modern License Plate
    • ESX
    • QBCore
    Not for your framework

    Modern License Plate

    aw3rque

    $11.00$7.70
  • FiveM Playtime Script
    • ESX
    • QBCore
    Not for your framework

    FiveM Playtime Shop V2

    Ak4y

    $36.00$25.20
  • Daily Rewards
    • ESX
    • QBCore
    Not for your framework

    Daily Rewards

    Jakrino

    $15.00$10.50