Last updated on 26th July 2019
In one of my earlier guides I setup a vanilla Minecraft server, but I wanted to run some specific plugins such as Dynmap and Tree Capitator.
In order to do this we need to make some tweaks to our first vanilla setup. So first things first head over to that guide and set up your server.
Turning on the Spigot
Head on over to Getbukkit.org and download a version of Spigot that corresponds with the version of Minecraft you will be using, in my case I am running 1.13.1 so I grabbed that version.
Next you need to set the version of Minecraft your Docker container uses, if you don’t do this your server will automatically update each time it starts, this would mean Spigot would be overwritten each time a new Minecraft version is released.
Head into Docker, if your server is already running you will need to stop it, then highlight your Minecraft container and press ‘Edit’
On the screen that pops up click on the environment tab and look for the ‘Version’ variable you need to enter the version applicable to the version of Minecraft/Spigot you are going to use, in my case its 1.13.1
Press apply but do not start the container yet! Replacing the Server Jar The next bit is nice and easy, you can do this either directly within DSM’s FileStation or via the /Docker share. I will show you via the windows share. First of all you need to move the Spigot.jar to where your server files are located, this will depend on where you store your container files. In my case I use the standard /Docker share.
Next rename the ‘minecraft_server.1.13.1.jar’ to ‘minecraft_server.1.13.1.jar-BACKUP’ this is if everything goes wrong, you can just move back to the Vanilla server by renaming this file back again. Next rename the ‘Spigot-1.13.1.jar’ to ‘minecraft_server.1.13.1.jar’ this means when you start-up the container it will actually be using Spigot 🙂
Adding Plugins (Memory Requirements)
All you need to do now is decide what plugins you are going to add, if the folder is not already there just create one called ‘plugins’ as shown in the previous screenshot. One thing you need to keep in mind is how much memory the extra plugins will use and how they will impact your servers responsiveness. I am using the following quite successfully with little to no lag however I do have 16GB of RAM in my 1815+ Dynmap Dynmap-mobs Dynmap-Structures Healthbar Cristichi Tree Capitator LaggRemover
That’s it enjoy your server!