VIP Integration
In order to configure VIP integration for your server, you can add all relevant code that checks if your player is VIP in:
cdev_lib/public/server/api.luaIn the function "isVIP" you are able to integrate code of your own liking below
IsVIP = function(source)
return true // integrate your code here
endAce Permission Example
IsVIP = function(source)
return IsPlayerAceAllowed(source, "vip")
endAutomating the VIP process using zDiscord
For server owners using zDiscord you can head to the config.js file on Line 59 include the following;
const AutoAcePermissions = {
"group.vip": "discordroleidhere", // You can create a VIP role and insert the role ID number here
};
Lastly you would add to your server.cfg
Congratz! Now your VIP feature is based off whether a user has a role or not!
Last updated