FiveM
Connect your store to your FiveM server. The Tip4Serv script checks if a player has donated, then automatically delivers their order (money, rank, vehicle, items, etc.) using console commands.
Installation
Go to My Settings and complete your profile
Add a FiveM server via My Servers and follow the setup instructions
✅ On successful connection, your console will show:
Server has been successfully connected
🔄 To check the connection later, run this command on your FiveM server console:
restart tip4servHow Donations Work
The player donates through your Tip4Serv store
Their purchase is automatically delivered in-game
Players can also run:
/checkdonateto force-check their donation delivery.
Setting Up Commands
Before you set up commands:
All commands run from the server console (not in-game as admin).
If your framework does not support console commands, you must create them manually (see below).
You can configure your commands from the product editor.
📣 In-Game Donation Announcements
Use the built-in t4s_announce command:
t4s_announce [STORE] Thanks to {discord_username} for donating on mystore.tip4serv.com
t4s_announce [STORE] Thanks to {steam_username} for donating on mystore.tip4serv.com🔧 Commands for ESX Framework
✅ Requires ESX and es_extended
Give Money
giveaccountmoney {fivem_live_id} bank 5000Give Item
giveitem {fivem_live_id} milk 1Give Weapon
giveweapon {fivem_live_id} WEAPON_STUNGUN 32Set Group
setgroup {fivem_live_id} vipSet Job and Grade
setjob {fivem_live_id} police 1Give Vehicle Requires: esx_givevehicle Console prefix is
__givecar {fivem_live_id} t20
🛠️ Commands for QBCore Framework
✅ Requires QBCore
Set Config.enable_custom_command = true in config.lua
These commands are located in this file: /server/commands.lua
Give Money
giveaccountmoney {fivem_live_id} bank 5000Set Gang
setplayergang {fivem_live_id} ballas 1Set Job
setplayerjob {fivem_live_id} police 1Set Permission
setplayerpermission {fivem_live_id} vipRemove All Permissions
removeplayerpermission {fivem_live_id}Give Item
giveinventoryitem {fivem_live_id} WEAPON_KNIFE 1Give Vehicle Requires: HH Vehextras
givevehicletoplayer {fivem_live_id} t20
➗ Quantity Multiplier
Let customers choose how much they want to buy.
Enable “Allow quantity choice” in the product settings.
Example:
giveaccountmoney {fivem_live_id} bank {quantity*100}If a player buys it 4 times:
giveaccountmoney 14 bank 400Commands also run automatically
Useful if you are creating subscriptions with expiration commands.
Example: if the player unsubscribes, his VIP group will be removed.
To ensure player data is fully loaded, commands with {fivem_live_id} will only execute if the player has moved at least once since connecting to the server. This is to ensure that the player is not in the loading screen or in the character choice.
Custom Console-Compatible Commands
If your framework lacks console commands, you can write your own using:
RegisterCommand(...)Guide: FiveM Command Docs
Example from Tip4Serv: Tip4Serv GitHub – commands.lua (line 10)
Last updated