Added a discord bot functionallity to the plugin it can be enabled from the config
Note: If you have any problems with this it is most likely due to you not setting the bot up correctly. If you need support on this feature join my discord:
https://discord.gg/mUKjWZByzQ
Note: due to me adding this the jar file size has increased significantly if you don't need this feature i would recommend staying on v1.2 for now.
Example of how/what the bot does exactly: (You will need to give the bot the send messages permission on your discord)
You can also send messages to in-game chat this way as well.
Config Changes
This goes above STAFFCHAT-SYMBOL
Code (YAML):
# This is so you can sync a discord bot to your minecraft server (chat from in-game or from discord)
Discord:
ENABLED
: false
# The BOT Token located in Your Bot Application > Bot > Token > Copy
# Never share your BOT-TOKEN with anyone
BOT-TOKEN
: '1234'
CHAT-CHANNEL-ID
: '1234'
# This will be sent to Discord, this cannot contain color codes as it will not be translated
# {player}/{displayname} is not supported here
# PlaceholderAPI is also not supported here
DISCORDCHAT-FORMAT
:
"SC (In-Game): {message}"
# This will be sent In-Game
STAFFCHAT-FORMAT
:
"&4&lSC &7(D) &f{player}&7: &f{message}"