-
Notifications
You must be signed in to change notification settings - Fork 8
Discord
ChatControl can use its channel functionality to hook into your Discord server and display messages on Discord in your respective channels. You need the plugin DiscordSRV to integrate it.
NOTICE: DiscordSRV updates frequently and tends to break the API. If you get any errors please open a ticket soon so we can check if ChatControl needs to update.
Important: Before continuing, set "Debug" key in settings.yml to "[discord]" and restart. This will save you HOURS and print out what is happening to the console. After you are finished with your setup, you can remove the value.
You can send messages to Discord from your chat, channels, admin or bungee chat, join/quit/death messages and more. Here's how:
-
Copy the channel ID of your channel to which you want to send chat messages. Open up Discord client, right click your channel and select Copy ID.
-
Open up config.yml in your server's plugins/DiscordSRV. Insert
, "channel-name": "channel-id"
at the end of Channels or without the initial ',' in case your Channels are empty. In this case the channel-name is staff-chat, in your case this will be the Discord channel you want DiscordSRV to register so you can use it in ChatControl. Set the channel-id to the one from above.
- Now it's time to link the channel in ChatControl. Open the desired location in our settings where you want to use that channel and set it to the same channel-name, in this case, 'staff-chat'.
The same approach applies for other places in ChatControl such as your main chat:
Special note for channels: Make sure you channels on ChatControl and DiscordSRV have exact names (case sensitive), and it should be running automatically. Also ensure to have Discord option in there on true otherwise the message won't show.
You can also find a tutorial on how to hook DiscordSRV with your discord at their Overview page on Spigot.
You also must link your Discord channels in DiscordSRV's config.yml, see https://github.com/DiscordSRV/DiscordSRV/blob/master/src/main/resources/config/en.yml
© MineAcademy | Code Unique Minecraft Plugins & Servers In 20 Days
About
Free version
Basics
Understanding
- Channels
- Formatting
- Rules / Filters
- Handlers
- Groups
- JSON
- Discord
- Toggle ignoring swears
- Variables
- JavaScript Variables
Tweaking
Solving Issues
Miscellaneous