😎Getting Started
Last updated
Last updated
If you don't have the SecureCache bot in your discord guild already please invite it with the link provided.
After inviting the bot to your discord guild that you would like to use the bot in, the owner will recieve a direct message from the bot with the guild uuid and api key. If you are not the discord guild owner you may have to ask the owner to send you the api key and guild uuid.
Do not share this API Key as it's a key part to your SecureCache security, if anyone obtains the key you need to reset it using the /resetapikey
command. You may share the guild uuid as it's just a identifier.
You will then probably want to configure your permissions, there are two types and the list explaining them both are below.
Create products
Delete products
Add whitelists
Delete whitelists
Lock whitelists
Unlock whitelists
Add blacklists
Remove blacklists
Add whitelists
Remove whitelists
Pick the permission role that is most suited for you and select the discord role you want it linked too. That's all from the permissions side.
Next you are wanting to create a product using the /createproduct
command.
Enter your product name, description and product type. There are currently 2 types of products;
Whitelist
Loadstring
If you are more advanced and have the knowledge you can select loadstring, for now just select whitelist as that's the simplest option.
You will be given product uuid, save this for the next part. Now you want to copy the roblox whitelist code below and paste it into a roblox script.
Paste the product uuid and guild uuid into the brackets and your done! To verify the whitelist works run the script, using roblox studio won't work so you will need to publish and join the game.
If you see whitelisted in console you can now paste your code within the if statement on the top (not else). You can customise what happens to the game if the product isn't whitelisted.