Browse docs
Coinsystem V2
Configuration
Configure Everything Online
All settings are managed through our config tool
Commands
Gives coins to a specified player.
/givecoins [playerId] [amount]
/givecoins 12 100
Generates a new redeem code with the specified amount.
/gencode [amount]
/gencode 100
Generates a new redeem code for the specified vip tier.
/genvipcode [tierId]
/genvipcode bronze
Creates a discount for a specific shop product or case. You can edit existing discounts by using this command again.
/discount [productLabel] [percentage] [expiresInHours]
/discount "Progen T20" 20 48
If the label contains spaces, it must be enclosed in double quotes (e.g.,
"Progen T20")Exports
Open the Shop Interface.
client.lua
exports.sky_coinsystem:open()
Give coins to a player.
server.lua
exports.sky_coinsystem:giveCoins(playerId, amount)
Remove coins from a player.
server.lua
exports.sky_coinsystem:removeCoins(playerId, amount)
Get coins of a player.
server.lua
exports.sky_coinsystem:getCoins(playerId)
Get the vip tier of a player. Returns the tier id or nil.
server.lua
exports.sky_coinsystem:getVipStatus(playerId)
Custom Rewards
Coinsystem supports custom shop rewards through the shared sky_base/config/sv_functions.lua reward hook.
See Custom Rewards for the full setup guide and examples.
Support
Need help? Our support team is always ready to assist
Join Discord