For the complete documentation index, see llms.txt. This page is also available as Markdown.

VIP Configuration

how to set up the VIP system for cdev_pets

If you need any help with this, please make a ticket, Ash can guide you through the process if you have any questions on the steps below

Step 1 - Create a discord bot

This is so the script can grab what players have what roles

Step 2 - Invite the bot to your discord server

Step 3 - Head to cdev_lib/public/server/api.lua and fill out the information at the top:

clib_API.DiscordGuildId is your servers guild id, ( you can get this by right clicking your server and pressing Copy Server ID ) clib_API.DiscordBotToken is the token from the bot you created ( you can find this on the bot tab of your bot )

Step 4 - Head to cdev_lib/public/config/config.lua

make sure thatUseVIPSystem = true add your role ID's in VIPRoleIds

Step 5 - Head to cdev_pets/public/config/config.lua

make sure that UseVIPSystem = true

Step 6 - You are done! Test it out!

Last updated