Docs

kyoVipShop

Commands and exports

Commands

CommandWhoWhat it does
/setvip [id]Admins, consoleGive VIP status to a player. Saved in the database
/removevip [id]Admins, consoleRemove VIP status
/checkmyvipPlayersShow whether you are VIP

Command names can be changed in Config.Commands. /setvip is the command kyoRoulette runs for its VIP prize (Config.VipCommand = 'setvip %s').

Server exports

IsVip

local vip = exports.kyoVipShop:IsVip(source)

Returns true if the player is VIP.

SetVip

exports.kyoVipShop:SetVip(source, true)  -- give VIP
exports.kyoVipShop:SetVip(source, false) -- remove VIP

Returns true if it was saved.

The export name uses the resource folder name. If you rename the folder, use the new name.