
Type -installServer to complete the command. Type java -jar forge and press the " Tab" key to automatically complete the the filename. Once again, right click on the " Skip" button after the timer runs out and use " Copy Link Location". Go to the Forge download page, select your version of Minecraft, and hunt down the build number found in the last step. Once you've finished that, return to the previous folder. Take note of the number after the Minecraft version in the URL. Go back to your SSH session and paste the URL in a wget command. Instead of downloading the file, right click on the download link and click " Copy Link Location". For this tutorial, we'll be using version 1.10.2. Visit the SpongeForge download page and find a build that matches the version of Minecraft you'll be using for your server. $ mkdir minecraft & cd minecraftĬreate another folder called mods and cd into that. SpongeĬreate a new folder for the server files with the mkdir command and cd into it. Your prompt will now look something like this. # adduser minecraftĬreate a password and work your way through the prompts.Īfter that's been done, logout of the SSH client and reconnect using your new username and password. While this isn't required, it's recommended to mitigate damage in the event of a security exploit.įirst, we will create our new user named minecraft. It's generally a good idea to create a non-privileged user when running servers. When asked if you want to continue, type " y" and press " Enter". # apt update & apt upgrade & apt install default-jre screen Note: The # and $ symbols at the beginning of these lines are not meant to be typed, they are visual indicators of the command prompt. While we're at it, we'll also update the whole system. To install both of these at once, we'll use Debian's apt command. We also need a tool called screen that we'll be using later. In order for the Minecraft server to run, we're going to need Java.

RequirementsĪ 1GB RAM VPS or higher with Debian 9 圆4Īn SSH client and optionally an SFTP client (Refer here for instructions) If you choose to install any mods like that, be sure to give your players a heads-up. Note: While Sponge plugins only need to be installed on the server, Forge mods will often require any players on your server to also have the mod installed. In this tutorial, you will learn to setup a Minecraft server with both Forge and Sponge on a Vultr instance. Combined with the modding API Forge, server hosts can create a highly unique experience for their players.


Sponge is an open-source project that expands the capabilities of Minecraft servers through plugins.
