I have Minecraft and it works perfectly but I want to make a server so I can play with my friends. I tried doing it the way you would do it for Mac OS but it won't work. Is there a specific way for elementary OS?
You can host your server like this:
- Create a directory for your server.
cd && mkdir Server
Change your active directory to the new folder.
Let's download the latest minecraft server (in this case 1.8.8).
wget https://s3.amazonaws.com/Minecraft.Download/versions/1.8.8/minecraft_server.1.8.8.jar -O minecraft_server.jar
- We need to have openjre installed (you probably already have this for the mc client).
sudo apt-get install openjdk-7-jre
- Create a bash script to run your server.
touch server.sh && chmod +x server.sh
- Time to edit our script
Paste this and save
#!/bin/bash - #title :server.sh #=================================== java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
- Run our server with:
You'll have to agree with the EULA but since you've already done it under Mac I'll trust you don't need help with that.
Under normal operation, just
cd Server and