
Adds Discord support to TigerReports plugin
Depends on TigerReports plugin
TigerReportsSupports adds supports to TigerReports plugin.
Currently, it is adding Discord support.
Alert of a new report:
In progress report:
Important report:
Processed report:
Commands:



)
https://discordapp.com/api/oauth2/authorize?client_id=<ID>&scope=bot&permissions=0

<ID> in the above link with your bot Client ID, then press Enter: 



The Discord bot is now created and is a member of your Discord server.
plugins folder of your server.If you have a BungeeCord network, you can install this plugin:
on only 1 Spigot server (recommended):
on all your Spigot servers (not recommended):
You need to set NotifyOnlyLocalReports setting to yes in the config.yml file of all your Spigot servers.
./plugins/TigerReportsSupports folder.Discord: Enabled.Discord: Token.
Copy the id:
Other way of getting the id: type the name of the text channel you want the bot to use with a "" before, then copy it (highlighted below)

Discord: Channel./tigerreports reload.That's it, the bot will now display all new reports in this channel.
You can change every message in messages.yml file and then reload with the previous command.
The plugin can be configured in config.yml file.
Discord:
Enabled: Define if the Discord support is used.
Token: Define the Token of the Discord bot.
Channel: Define the channel used by the Discord bot.
Managers: Define users who can use the /tigerreports command.
Remove the "none" and the "#" and replace "pseudo" with the Discord (unique) name of an user.
ServerInfo: Display or not the server field in alerts.
The default config.yml settings are here.
Messages are by default in french but all can be modified in messages.yml file.
Why? Because I'm french I don't want the default messages of the plugin to have bad english but I nevertheless wrote a base of english below if you don't have the time/motivation to translate them by yourself.
They are updated after all new versions.
In order to make the Discord bot tag(/mention) a Discord role, you can put <@&ROLE_ID> in messages.yml file with ROLE_ID replaced by the id of the role that you can get by typing \@ROLE_NAME in a Discord channel with ROLE_NAME replaced by the name of the role.
Important: If you use Minecraft 1.8 or less, you must encode messages.yml file with ANSI, else you must encode it with UTF-8.
If messages are not changed, it means that you encoded with wrong format.
Also, you can't put a comment (#Message) at first line of the file. If you do it messages will simply not be implemented.
If you recently updated TigerReportsSupports to the latest version, you can update your messages (in messages.yml file) with this online tool:
Click on your language below, then press CTRL and A keys to select all the messages and then copy/paste them (CTRL and C then CTRL and V).
(thanks to people who shared these translations, their pseudo is at the top of the file)
There are currently 2 commands for the Discord bot:
/tigerreports reload: Reloads the config files (config.yml and messages.yml)./tigerreports stop: Disconnect the bot.Please respect my work respecting these directions:
And that's all, thank you for reading this page.
If you want to look at sources, the plugin is on GitHub.
If you encounter any bug or have suggestions, let me know them here:
I will answer as soon as possible.
Please keep in mind that I made this plugin for free to help people who don't know how to create their own plugin, a like or feedback is highly appreciated. :)