References System is an invitation menu for QBCore. Your players invite their friends to your server with a personal code and get rewards in return.
Features
- Personal invite codes with a configurable prefix and length (default
DX+ 6 characters) - Reward levels: the inviter gets a configurable money reward for each invite level (11 levels in the default config)
- Invite codes are checked against the Rockstar license, so you cannot bug your own code by creating a new character; the menu appears once (option
Config.Login) - Optional check that the player has played on the server before (
Config.License) - Menu opens with the
/referencesmenucommand, or automatically after loading (Config.LoadedTrigger) - Responsive, modern menu design; everything can be edited in
shared/config.lua
Requirements
- QBCore (the package contains a NEW and an OLD QBCore version)
- mysql-async (loaded in the manifest; the config also lists ghmattimysql and oxmysql)
Installation
- Import
insertme.sql(creates thedebux_referencestable; replaceYOUR_DATABASE_NAMEfirst). - Copy the
BakiTelli_referencesfolder from[QB]/[NEW]or[QB]/[OLD]into your resources folder. - Add
ensure BakiTelli_referencesto your server.cfg.