Garry's Mod
Connect your store to your Gmod server. The Tip4Serv plugin checks if a player has donated, then automatically delivers their order (money, rank, items, etc.) using console commands.
Last updated
Connect your store to your Gmod server. The Tip4Serv plugin checks if a player has donated, then automatically delivers their order (money, rank, items, etc.) using console commands.
Last updated
Create a Tip4Serv account: Sign up here
Add your Gmod server from your Tip4Serv dashboard and copy your API KEY
Download and drag and drop the tip4serv
folder into the garrysmod/addons
directory
Open garrysmod/data/tip4serv/config.json
and set your key
to the Tip4Serv API key
Restart your server
Run the following in your server console:
tip4serv connect
ā You should see: Server has been successfully connected
Commands are executed via server console, not in-game. You must have at least one player online during testing, or commands will not execute.
Set up your commands per product from your product editor. You can use any console command supported by your installed addons.
{steam_id2}
ā Example: STEAM_0:1:12345678
{steam_id64}
ā Example: 76561198000000000
These placeholders will be replaced automatically during command execution.
Give entity:
tip4serv giveid {steam_id2} entity-name
Give ammo:
tip4serv giveid {steam_id2} ammo-name quantity
Give armor:
tip4serv givearmor {steam_id2} quantity
Broadcast message:
tip4serv say Thank you {gmod_username} for your {total_paid} {currency} donation
š View all supported entities
Add to group:
ulx adduserid {steam_id2} group-name
Remove from group:
ulx removeuserid {steam_id2} group-name
Give money:
tip4serv addmoneyid {steam_id2} 100000
Change job:
tip4serv jobid {steam_id2} job-name
Set rank:
sam setrankid {steam_id2} VIP
Remove rank:
sam setrankid {steam_id2} user
Add to group:
sa Setrankid {steam_id2} group-name
Remove from group:
sa Removeuser {steam_id2} group-name
Give ammo:
sa Giveammo {steam_id2} ammo-name amount
Give entity:
sa Give {steam_id2} entity-name
Set group:
xadmin_setgroup {steam_id2} group-name
VoidCases is a sleek unboxing system with trading, marketplace, and in-game config.
Give item:
voidcases_giveitem {steam_id64} itemid amount
perm_sweps_add {steam_id2} swep_class1
š Steam Workshop
Give: pw_give {steam_id2} WEAPON_CLASS
Remove: pw_take {steam_id2} WEAPON_CLASS
š PermaWeapons on GmodStore
Recommended for subscription-based products.
Install MySQLOO
Edit garrysmod/data/tip4serv/config.json
:
Set mysql_enabled
to true
Fill out all mysql_
fields
Run tip4serv connect
in your console
Go to My Products and edit or create a product
Under your product, add a command with the option: Run each time the player spawns
Allow customers to select quantity and scale your commands dynamically:
Enable Allow Quantity Choice in your product settings
Use {quantity*value}
in your command:
Example:
tip4serv addmoneyid {steam_id2} {quantity*200}
If the customer buys it 4 times, the executed command would be:
tip4serv addmoneyid STEAM_0:1:35148628 800