Skip to content

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

RPScripts

Monetization Tools & Scripts

FiveM Battlepass

ESX Battlepass / XP Script

danny255
Frameworks:
  • ESX

Checked by the RPScripts Lab

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

Details

Frameworks
ESX
Version
1.0.0
Dependencies
mysql-async or ghmattimysqlNativeUILua_Reloaded
File size
6.9 kB
Creator
danny255
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

This BattlePass is a leveling and XP system for FiveM ESX servers, modelled on the GTA Online tier system and shown with NativeUI. All players start with 0 XP, earn XP for actions you choose, level up and receive rewards such as money, weapons or items.

Note: the script does not include missions. You add the XP event yourself on the server side wherever players should earn XP, and you set up the rewards and levels you want. A default set of levels is included as an example.

Features

  • Earn rewards by leveling up: money (cash, bank or black money), items, or weapons with ammo
  • Several rewards per level and your own number of levels and XP steps
  • XP can also be removed, for example as a punishment, with its own bar colours
  • Players check their own level and the full BattlePass: total levels, current level, progress, required XP, time remaining and rewards per level
  • Reset the BattlePass XP on a specific date
  • Configurable bar and circle colours

Commands

  • /bplvl – show your own level (also on the I key, changeable)
  • /mybp – show all BattlePass information (also on the O key, changeable)

Requirements

  • Database Manager: mysql-async or ghmattimysql
  • ESX 1.1, ESX 1.2 or EXM
  • NativeUI (NativeUILua_Reloaded)
  • Cron

Installation

  • Put the files into a resource folder, for example battlepass, and add ensure battlepass to your server.cfg.
  • Import sql.sql (adds an xp column to users).
  • Set your levels, rewards, reset date and database driver in config.lua.

Server setup

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

Checked: the only resource of this download.

ESX Battlepass / XP Script

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