An automated VIP system for your FiveM server, connected to your web store. It does not depend on a framework, so you can use it on roleplay, PvP or zombie servers running ESX, vRP, Qbus and others. Once configured, purchases are handled without manual work from your staff.
Features
- Standalone: no framework required.
- Automated: when a player buys a VIP package in your web store, the code is sent to your Discord channel and inserted into your database. The player joins the server and redeems it with
/vip_code [transaction_id]. - Status command:
/vipshows a notification with the player’s current VIP level and expiration date. - Identifiers: works with Steam or license identifiers.
- Gift cards: admins create codes with
/giftcard [months] [level]and give them to players, who can redeem them anytime. - Exports: read a player’s VIP status and level from any other resource with the client/server exports, for example to create a shop only for certain VIP levels or to add extra character slots in your multicharacter script.
- Stacking expiration: months add up. If a player redeems 1 month today and 4 months tomorrow, they get 5 months in total; nobody has to wait for the expiration date before redeeming another code.
- Unlimited levels: add as many VIP levels as you want.
- Discord logs: every action is logged, so you can see which admin created a gift card and who redeemed it.
- Command names, texts and your own notification system are set in
config.lua.
Requirements
- A web store for your server
- MySQL with mysql-async
Installation
- Copy the
av_vipfolder into your resources. - Import
DATABASE.sql(creates the transaction and VIP tables). - Set the identifier and commands in
config.lua; Discord and gift card settings are inserver/main.lua. The includedHOW TO.luaexplains the setup and the exports. - Add
ensure av_vipto your server.cfg.