💿Installation

🛠 Installation Guide

Follow these steps to install and configure ZeroBug PlayTime Shop (Remastered) on your server.

📦 1. Download via Keymaster

This script is protected using FiveM’s Asset Escrow system.

  1. Visit your Keymaster dashboard.

  2. Go to the Granted Assets section.

  3. Find and download the script (zr-playtime.zip).

📁 2. Extract & Install

  1. Unzip the downloaded package.

  2. Place the zr-playtime folder into your server’s resources directory.

🧾 3. Add to server.cfg

In your server.cfg, add the following line after your framework and SQL dependencies:

ensure zr-playtime

🛠 4. Configuration Files

All configuration is handled in:

  • zr-config/zr-config.lua – reward intervals, coin values, shop items, deals, and notification integration.

  • zr-config/zr-token.lua – manages token-based systems like code redemption.

  • zr-config/zr-utils.lua – internal helpers (you typically don’t need to modify this).

📝 These files are fully editable, even with escrow protection.

💵 5. Tebex Integration

This video will clarify the next steps explained.

After having your FiveM Server linked to your Tebex Store you can go ahead and for each package, follow these instructions:


☑️ Setting Up the Coins Purchase Package

  1. Go to your Tebex Control Panel

  2. Create a new package for Earning 100 Coins for example

  3. Set a price (e.g., $10 for 100 Coins)

  4. Go to the “Package Settings” tab

  5. Choose "Game Server Commands" as the Deliverable Type

  6. Under "Game Command", add the following command:

ptr_generatecode {transaction}

The {transaction} parameter will automatically be replaced with the transaction ID

  1. When a player purchases the package:

  2. They will receive an email with the transaction ID

  3. They can enter that transaction id under the in-game menu

  4. They will receive the 100 Coins linked to your tebex package

🔍 6. Framework Auto-Detection

No need to specify your framework manually. The script detects and adapts to:

  • ✅ QBCore

  • ✅ QBox

  • ✅ ESX

Just ensure your framework resource is started before this script.

✅ 7. You're Ready!

Start your server — the system initializes automatically:

  • SQL tables are created on first run

  • Players start earning coins immediately

Last updated