Advent – Premium & Free Advent Calendars for FiveM (ESX / QBCore / vRP / Standalone)
Preview
![FiveM Advent Calendar Script [ESX/QBCore/VRP/Standalone]](https://img.youtube.com/vi/BOnq5HBbxYI/maxresdefault.jpg)
FiveM Advent Calendar Script [ESX/QBCore/VRP/Standalone]
Feature-Rich Advent Calendar System
- Tebex premium calendars
- Normal / free calendars
- Item or money based purchase
- Weighted rewards (cash, items, weapons, vehicles)
- React NUI with animations & toasts
- ESX / QBCore / vRP / Standalone support
Launch & Pricing
Escrow Version (Core protected, integration parts open)
24.99€ – currently on sale for 19.99€ (-20%)
Alva Scripts
Open-Source Version (Everything open, including React UI & server logic)
49.99€
Alva Scripts
Preview Video & Screenshots
(All product media is also visible on the Alva Scripts store pages.)
Description
as-advent adds a fully configurable Advent Calendar system to your FiveM server.
Players can own multiple calendars (normal or Tebex premium), open one door per day, and receive rewards from weighted loot tables.
The resource ships with:
- Framework adapters: ESX, QBCore, vRP & a custom adapter
- Database: MySQL (oxmysql or mysql-async) with cached lookups
- UI: Modern React + Tailwind NUI, animated and localized
- Tebex integration: Redeem payment references in-game to grant premium calendars
You decide if calendars are:
- Completely free
- Bought with a specific item
- Paid from bank money
It is up to you if you want to give back to your community or add a nice way to get extra support for your project.
The Open-Source edition gives you full access to all code (including React UI), ideal if you want to heavily integrate or modify everything.
The Escrow edition is cheaper and ready to plug in, with all integration-critical parts exposed.
Features
Calendar System
- Each player can own multiple calendars per year
- Supports normal calendars and Tebex premium calendars
- Open one door per day (1–24) with configurable logic
- Server tracks openings to guarantee one reward per door per calendar
- Command & item support to give calendars to players
Purchase Modes
Configurable via and Config
- Free calendars – just set the limits to 0 and the price to 0!
- Item-based – consume a calendar item from inventory
- Money-based – pay from bank account via framework adapter
- Both / Hybrid – It is up to you to decide what you want
You can also configure a separate premium calendar item if you want “special” calendars to be gated behind another item.
Tebex Premium Integration
- Players can redeem Tebex payment references (
tbx-XXXX) in-game
- Each Tebex package can be mapped to one or more premium calendars
- You can define how many calendars each Tebex package grants
- Tebex calendars use separate reward pools (
Config.TebexPools)
- No max limit for Tebex calendars (independent of normal
maxCalendars)
- Redemptions are stored in DB to prevent double-redeem of the same code
Perfect for:
- Selling premium Advent calendars on your Tebex store
- Bundles of multiple calendars (e.g. “Family Pack”)
- Donator / supporter calendar perks
Rewards & Pools
Config-driven reward system:
- Cash (any account: money, bank, black_money, etc.)
- Items (with optional metadata)
- Weapons (via framework weapon API or as inventory items)
- Vehicles (inserted into your
owned_vehicles / player_vehicles tables via adapter)
You can define:
- Normal pools (
Config.Pools)
- Premium pools (
Config.TebexPools)
- Optional helper functions (
Config.ResolvePool, Config.ResolveTebexPool) to choose pools based on:
- Calendar type
- Day
- Owner
- Custom logic
All pools use weighted selection, so rare rewards can stay rare.
React NUI & UX
- Built with React + Tailwind
- Animated doors, list of owned calendars, reward popups
- Toasts for errors and info (already opened, cooldown, no identifier, etc.)
- Only shows days that can be opened and their status:
- Available
- Not yet available (future day)
- Already opened
- Automatic language support via translation keys (
t("..."))
- Supports refreshing calendars when:
- A new calendar is purchased
- A Tebex code is redeemed
- Admin gives a calendar
Framework & Tech
- Frameworks: ESX, QBCore, vRP, plus a custom adapter
- Database: MySQL (oxmysql / mysql-async)
- Server-side caching for:
- Calendars per owner
- Opened days per calendar
- Lightweight logic – the script is basically idle most of the time
- Logging hook to Discord (optional) for opened doors and rewards
Escrow vs Open-Source
Escrow Version
- Core logic protected using FiveM asset escrow
- All important integration points (framework adapters, config, logging events) open
- Ideal if you just want to plug & play without touching React
Open-Source Version
- Everything open for you to read and modify
- Full React NUI source
- Perfect if you want to:
- Deeply integrate with your own systems
- Add custom pages, themes, or logic
- Use it as a reference / base for your own NUI projects
Script Details
- Code accessible:
- Escrow version: Partially (integration logic open)
- Open-source version: Fully
- Subscription-based: No
- Requirements:
- MySQL (oxmysql or mysql-async)
- ESX / QBCore / vRP / custom
- Support: Yes (via Alva Scripts)
Links
https://alva-scripts.tebex.io/category/2876175
Check out the Alva-Scripts community on Discord – hang out with 43 other members and enjoy free voice and text chat.
|
|
| Code is accessible |
Yes, Config + framework files + a fully open-sourced version including react project is available for purchase |
| Subscription-based |
No |
| Lines |
4000+ |
| Requirements & dependencies |
oxmysql, any framework |
| Support |
Yes |