How to install

Put Battle Pass on your server in five minutes

1 min read · Updated Dec 3, 2026

A season pass with a free and a premium track, missions, a leaderboard, Tebex premium and an admin panel.

Requirements

  • ox_lib
  • oxmysql
  • TopXBridge started before this script
  • Qbox, QBCore or ESX

Steps

1. Put the folder in your resources

Copy TopXBattlepass to your resources folder, next to TopXBridge.

2. Import the database

  • INSTALL/sql/topx_battlepass.sql

NOTE

The script does not create its tables by itself. Import the file once, in your database tool.

3. Start the script

cfg
ensure ox_lib
ensure oxmysql
ensure TopXBridge
ensure TopXBattlepass

4. Give your admins the permission

cfg
add_ace group.admin command.battlepassadmin allow

Commands

  • /battlepass opens the pass (key F6).
  • /battlepassadmin opens the admin dashboard.
  • battlepass_premium {id} is for Tebex, only the server console can run it.

What is in the box

  • The folder TopXBattlepass
  • The SQL file topx_battlepass.sql

Next

  • Config, every option explained
  • Exports, call the script from your own code
  • Events, react to the pass from your own code