- Tested Minecraft Versions:
- Source Code:
- Languages Supported:
- English, French, German, Japanese, Korean, Dutch, Russian
The most powerful, configurable, open-source Discord to Minecraft bridging plugin available.
Yes: it's completely compatible with 1.15.
- Direct link to the latest dev build
- DiscordSRV's Discord channel - come here for quick support and to tell us feature requests
- Source at GitHub
Using this plugin, you are able to give players the ability to chat in-game to chat with players on your Discord server as well as having people on the Discord server be able to chat with people on the server- this is useful for the situation of someone not being at their computer and being able to talk in-game.
As well as that, this plugin also has a remote console feature. You can designate a text channel for the plugin to listen on where messages sent to that channel are run as commands by the server console. You should restrict sending this channel to a developer or high ranking role only. Due to how Discord's permissions work, though, you can have some server roles being able to see the console, yet not being able to send messages in that channel, thus creating a read-only console for trusted staff members.
Both the chat and console link are toggleable through the configuration file. Some, but not all, options can be refreshed with /discord reload, by an op. VanishNoPacket permissions like silent join/quit, fake join/quit and join without announcing are checked when sending player join messages in the chat channel.
Java 8+ is required. It's recommended to go to DiscordSRV's wiki at https://github.com/Scarsz/DiscordSRV/wiki/Installation for picture instructions or watch one of the vidoes below to walk you through the installation.
If you want a straight-forward install, though, you can just follow these steps:
Have only the best
- Create a new application at https://discordapp.com/developers/applications/
- On the application's page, go to the "Bot" tab, click "Add Bot", and confirm
- Optional: set your bot's avatar. If you don't do it now, you can later by command.
- Click the copy button under "Token" on the bot tab, we'll be using it later
- Install the plugin, run & stop the server, then open the configuration file
- Paste the token you copied earlier into the BotToken value
- Go to https://scarsz.me/authorize & paste your application's Client ID value to the page
- Find your client ID in the "General Information" tab
- In the config option labeled Channels, input the Discord channel ID you want to be for your chat under "global"- you can set more channels up here and their linked channels.
- If you are using TownyChat, change the channel to "general" instead of "global"
- For reference, to obtain a channel ID, go to the cog on the bottom left of Discord, go to the appearance tab, enable developer mode. From there you can right click a guild, channel, user, or role and there will be a "Copy ID" option
- Optionally add a console channels ID in the config to access your server console from Discord
- Run through all the config options, you'll be surprised with how many features this plugin has
See the comparison chart for DiscordSRV and DiscordMC available here: https://scarsz.me/comparison
DiscordSRV implements with a fair amount of plugins for chat and vanish functionality. We recommend you try VentureChat by Aust1n46 but plugins such as Herochat, VentureChat, Essentials, Premium/Super vanish, VanishNoPacket, and Multiverse all have functionality in DiscordSRV.
All of DiscordSRV's commands can be exposed from /discord. This includes but isn't limited to /discord toggle which toggles sending Discord messages back/forth for you- tell your players about this command!
How do I fix the error "Unsupported major.minor version 52.0?"
Update the server's Java JRE version to Java 8+. <1.8 is unsupported.
I reloaded the plugin/server and now it won't work
DON'T RELOAD THE PLUGIN. IT BREAKS IT.
When I join/quit my server, a message isn't sent in the chat channel for me. What gives?
You have one of DiscordSRV's permissions to join/quit silently. To disallow this, give yourself or the group one of the following depending on what you want to allow.
First off, thank you from the bottom of my heart for the pizza. If you would like to donate, go to https://scarsz.me/donate. $10 is the suggested amount but you can donate however much you would like- anything is a massive thank you from me. In the note put your Discord username and if you're in DiscordSRV's server you'll be set as a donator and you'll receive some neat perks in the future. If you donated without the note, send me a PM on Discord and I'll manually check it.
If you want to interface DiscordSRV with your plugin, you can do so by adding the Maven dependency or adding the plugin jar to your project. For an example of this, see https://github.com/Scarsz/DiscordSRV-ApiTest. Be sure to add "DiscordSRV" to your plugin's plugin.yml depends/softdepends list.
Anything and everything shown at https://bstats.org/plugin/bukkit/DiscordSRV will be visible to the public with your server included in the statistics. This is only for statistics, no private information of your server is sent. If you don't want your server included in this, specify the config option "MetricsDisabled" and set it to "true" in the config.
I have absolutely no clue why you would want to disable this, but if you do, set the "UpdateCheckDisabled" config option to "true".
A Minecraft to Discord and back linkage plugin.
I'm not sure if I can say anything bad about this plugin. It works. It does what it says it does and it's super customizable. The support system is ahead of it's time, quick and easy I was able to diagnose my configuration with other plugins with the help of the amazing staff. This is the plugin for any discord linking.
The plugin keeps saying this when i do a command plz help my server releases in 14 days
[WARNING] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[WARNING] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[WARNING] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[WARNING] at java.lang.reflect.Method.invoke(Method.java:498)
[WARNING] at github.scarsz.discordsrv.objects.managers.CommandManager.handle(CommandManager.java:97)
[WARNING] at github.scarsz.discordsrv.DiscordSRV.onCommand(DiscordSRV.java:783)
[WARNING] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[WARNING] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
[WARNING] at org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchCommand(CraftServer.java:646)
[WARNING] at net.minecraft.server.v1_10_R1.PlayerConnection.handleCommand(PlayerConnection.java:1348)
[WARNING] at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1183)
[WARNING] at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)
[WARNING] at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:1)
[WARNING] at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13)
[WARNING] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[WARNING] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[WARNING] at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45)
[WARNING] at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:733)
[WARNING] at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399)
[WARNING] at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:672)
[WARNING] at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:571)
[WARNING] at java.lang.Thread.run(Thread.java:813)
[WARNING] Caused by:
[WARNING] at github.scarsz.discordsrv.commands.CommandBroadcast.execute(CommandBroadcast.java:50)
[WARNING] ... 22 more