Skip to content

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

RPScripts

Monetization Tools & Scripts

FiveM Case Opening Script | Loot Box preview

FiveM Case Opening Script | Loot Box

Frameworks:
  • ESX
  • QBCore

Checked by the RPScripts Lab

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

Details

Frameworks
ESX, QBCore
Dependencies
mysql-async
File size
25.7 MB
Updated
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

Eyes Case is a case opening (loot box) script for ESX and QBCore servers with a responsive, fast UI and open source code. Players open cases with gold and win rewards.

Features

  • Gold as case currency, stored per player in the database.
  • Players can buy gold with their bank money, or redeem the transaction ID of a Tebex purchase for gold (requires the sv_tebexSecret convar and Config.Tebex enabled).
  • Standard and premium cases with many case designs (e.g. bronze, silver, gold, platinum, diamond, car, gun, money).
  • Rewards shown with item images (such as ammo), plus open, collect, sell and give buttons in the UI.
  • Sound effects for opening cases.

Requirements

  • ESX or QBCore — set with Config.Framework (ESX, NewESX, QBCore or OldQBCore)
  • mysql-async (loaded in the manifest)
  • Tebex, if you enable Config.Tebex: set the sv_tebexSecret convar so the Tebex webhook can credit purchases.
  • A Steam Web API key in the steam_webApiKey convar, used for the Steam profile lookup feature.

Installation

  • Import eyescase.sql (creates the eyes_case and eyes_purchase tables). Delete the example row with a sample Steam identifier afterwards.
  • Put the es-case folder in your resources and add ensure es-case to your server.cfg.
  • Set your framework, cases and rewards in main/shared.lua.

Server setup

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

Checked: 1 resource.

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