In this article, we will be covering the process of installing Sponge, a type of\u00a0Minecraft<\/strong>\u00a0server. Sponge is a project that aims to provide the ability to add mods and plug-ins to Minecraft.<\/p>\n For this article, we will need the following:<\/p>\n The first thing we’ll do is install Java and screen:<\/p>\n When it prompts you to accept the installation, type “y” and hit enter.<\/p>\n Then, if you don’t already have a text editor, install one:<\/p>\n This step involves you creating another user for the game server to run as and creating any required directories. First, create your unprivileged user:<\/p>\n Now, log into the user account:<\/p>\n Create a directory for your server and enter the directory:<\/p>\n Assuming you’re already logged into your server, download the “jar” file that Sponge uses. A\u00a0 Download the file for the 1.8 version of Minecraft:<\/p>\n At the time of which this article was written, the above will download a Minecraft 1.8 Forge server.<\/p>\n Great, now that we have Forge, let’s install it.<\/p>\n If you’re using the 1.8 version, execute the following command to install the server and start it for the first time:<\/p>\nStep 1: Gather prerequisites<\/strong><\/h2>\n
\n
screen<\/code>\u00a0utility<\/li>\n
yum install java screen\r\n<\/code><\/pre>\n
yum install nano\r\n<\/code><\/pre>\n
Step 2: Prepare your system<\/strong><\/h2>\n
useradd minecraft\r\n<\/code><\/pre>\n
su minecraft\r\n<\/code><\/pre>\n
mkdir minecraftserver && cd minecraftserver\r\n<\/code><\/pre>\n
Step 3: Download Sponge and Forge<\/strong><\/h2>\n
.jar<\/code>\u00a0file is essentially an executable file that Java will run.<\/p>\n
wget http:\/\/files.minecraftforge.net\/maven\/net\/minecraftforge\/forge\/1.8.9-11.15.1.1902-1.8.9\/forge-1.8.9-11.15.1.1902-1.8.9-installer.jar\r\n<\/code><\/pre>\n
Step 4: Installing the Sponge server along with Forge<\/strong><\/h2>\n
java -jar forge-1.8.9-11.15.1.1902-1.8.9-installer.jar --installServer\r\n<\/code><\/pre>\n