Skip to content

A simple minecraft plugin running on Spigot 1.18.1 using a Discord bot to play with your friends.

License

Notifications You must be signed in to change notification settings

ollprogram/Minecraft-DiscordLinkedPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minecraft-DiscordLinkedPlugin

A simple minecraft plugin running on Spigot 1.18.1 using a Discord bot to play with your friends.

Author and licence :

Hi I'm ollprogram and I am the author of this project. Thanks for using it. Please don't be afraid to report bugs or mistakes to me. I'll try to fix them. By the way, english isn't my main language, so I'm sorry for english mistakes but I'm open if you find some. Find information about the licence used for this project here. You need to know the licence before using my project. It gives information about how you can use it.

Description :

This is a simple minecraft plugin using a Discord bot. It can be used as an example of a minecraft plugin linked with Discord, or to play with friends. This plugin shows the minecraft server status on Discord. You will also be able to send in-game locations to Discord.

Download :

You can download it here on Github or on spigotmc.org.

Setup :

First of all you will need to create a discord bot with The Discord Developper Portal and add it into your server with at least those permissions :

When this is done, follow these steps :
  1. Download the plugin
  2. Put the plugin jar file into your plugin directory in your Spigot server.
  3. Run your server
  4. You will have a warning because the plugin isn't yet configurated. Then stop your server.
  5. Open the config.yml file of this plugin (available in your plugin directory) with an editor. There are 4 variables :

    You will need add to at least your discord bot Token.

  6. Now you should be good. Restart your server, and if there are no warnings/errors the plugin should be installed correctly.

Fonctions and usage:

When the plugin is enabled (when the server starts), the Discord bot will rename his log channel like this :

Or when disabled (server shutdown) :

The command savelocation will send the location of the player who called this command to the discord channel log.
The sythax is /savelocation <location_name> <description ....
Example: /savelocation portal this is my first portal

Dependencies for developpers :

You can directly use this pom.xml if you want to use Maven. You will probably want to change some fields. I'm using two different APIs: