This is a Forge version of a plugin I made for a friend of mine, does the same thing, but then on Spigot, the Spigot version is not released (yet?).
What does it do then?
Well, it links a discord chat, with Minecraft's in-game chat!
HOW?!
I use a library called JDA, by DV8tion (github), to do everything on the Discord side of things. (all the libraries are shaded into the mod, so don't worry about that :) )
The Whitelist System
This feature was added in version 1.1
How does that work then?
You can whitelist someone based on if they're in the discord server, and if they have a role there. If someone is in the discord server, and has the correct role, configurable,
they will be able to run <prefix>whitelist, where prefix is configurable in the config aswell, then, the bot will take their nickname for that server, and whitelist the person.
If they do not have the role, nothing will happen.
Well how do I install it?
1. Download the correct version of DiscordChatMod.
2. Put it in your mods folder.
3. Fire up your Forge server, it will give errors, this is expected!
4. Go into the config folder, and open up discordchatmod.cfg with your favourite text editor.
5. In the 'token' field, enter the token of your bot
6. In the 'channelId' field, enter the ID of the channel, you can get this by enabling developer mode in your discord settings, then right clicking a channel, and selecting copy ID.
7. Save the file
8. Fire up the server!
Don't forget to invite the bot to your server!