config.json: The config only needs to be configured in one server. If you use bungeecord, just configure it in the proxy, if you dont use bungee you need to configure it in the spigot server.
The plugin will be initialized when someone enters the server, this is in this way to check if a bungee proxy is being used. If it detects that a proxy is used, it will ask for a private "hash", and it will only accept data from proxies using this hash, this works this way to ensure nobody hacks the plugin. If it doesnt detect any bungee
Configuration Options: - Entry_commands; A list of commands that will be executed when someone links its discord account (while boosting server) with the server It will be also triggered when an admin uses /brforce enter.
- Exit_commands; A list of commands that will be executed when someone stops boosting the discord server. It will be also triggered when an admin uses /brforce exit.
- GiveOnLink; If true Entry commands will be executed when someone starts boosting, else Entry commands will only be executed when an admin uses /brforce enter.
Messages.json: The messages only need to be configured in one server. If you use bungeecord, just configure it in the proxy, if you dont use bungee you need to configure it in the spigot server.
- Discord_Message; Message sent to users that are boosting the server.
- CM_Link_Help; /link help message.
- CM_Link_Success; Message sent when /link (id) works.
- CM_Link_Error; Message sent when /link doesn't work because the id doesn't exist.
- CM_Link_UsedIDError; Message sent when /link doesn't work because the id is being used.
·EXAMPLE MESSAGES: { "Discord_Message": "Your id is **{id}**. Please type */link {id}* in game.", "CM_Link_Help": "&aUse &o/link your_id&f&a to link your discord with this account.", "CM_Link_Success": "&aYou have successfully linked your discord account with this account. &l{discord_tag}", "CM_Link_Error": "&4&lError, That id does not exist.", "CM_Link_UsedIDError": "&4&lError, There is already someone linked with that id." }
playerData.json The player data is created by the plugin, it stores all the info about the players, their discord and if they are boosting.
- Discord id: - Private hash (auto-generated).
- minecraft_name; Minecraft username.
- IsBoosting; Variable that defines if the user is boosting th server.
- Hash_Sended; Variable that defines if the hash has been sended to that user.