Configuration Guide
Config.Discord
Enabled: By default this will be disabled, the value must be a boolean. Only enable this if you plan to utilize discord features.
Token: By default this will be blank, the value must be a string. You need to input the token of your servers discord bot that has permissions to view members and roles. If you do not know how to create a bot and invite it to your discord server with permissions, there are plenty of guides on Youtube and Google. IMPORTANT: Do NOT share your bot token with anyone, ever!
Guild: By default this will be blank, the value must be a string. You need to input the guild id of your discord server. This can be done by enabling "Discord Developer Mode", then right clicking on your servers icon and clicking "Copy ID", the guild ID needs to match the same server that your bot is in.
Webhook: This will work regardless if the discord feature is enabled, if there is a webhook inserted into this option, once a crate is opened it will send a discord embed containing all the information, such as: what tier, the rewards, and the requirements.
Config.Notify
This is a function allowing you to do whatever you wish with the notification text provided, you can change the notifications by simply adding an export. If you would like more support with this, feel free to ask for help in my discord.
Config.Tiers
Allows to add as many tiers that you want to have. To add cash/money use the following as "items" in the rewards section: "cash, bank, or dirty".
Config.Locations
Allows to add/spawn the crates and the tier on the map.
Config.Hovertext
Drawdist: By default this will be 5, the value must be a number. This is the distance the text will draw on the box. Increasing this can make performance usage increase.
Text: The value must be a string, this will be the text that will be drawn upon the lootboxes.
Last updated