PINE64
Minecraft Server - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Pine A64 Projects, Ideas and Tutorials (https://forum.pine64.org/forumdisplay.php?fid=19)
+--- Thread: Minecraft Server (/showthread.php?tid=137)

Pages: 1 2


Minecraft Server - chrislink14 - 01-19-2016

Will I be able to turn this pine64 into a minecraft server for me and my friends to use. I am very new to the world of single-board computing.


RE: Minecraft Server - hazerty - 01-19-2016

yes if you install ubuntu on the board, you can install minecraft server, be sure that it has (at a minimum)1GB of RAM, preferably at least 2GB.

then fallow instruction on the web, it is easy to install minecraft server on ubuntu.


RE: Minecraft Server - Dizzy49 - 01-22-2016

(01-19-2016, 08:54 AM)hazerty Wrote: yes if you install ubuntu on the board, you can install minecraft server, be sure that it has (at a minimum)1GB of RAM, preferably at least 2GB.

then fallow instruction on the web, it is easy to install minecraft server on ubuntu.

My kids are freaking CRAZY about Minecraft and we play together as a family, this would be awesome!

The world files can get quite large can't they? I have a 120GB SSD sitting around, if I could use that to help with speed and world size that would be very cool.

hazerty, do you have a link for instructions?


RE: Minecraft Server - hazerty - 01-23-2016

search on google ubuntu minecraft server. There are in my language( french) for instructions.


RE: Minecraft Server - LMHansen - 04-09-2016

I have my Pine64 set up as a minecraft server. Basic steps are:
1. Install Ubuntu
2. Update
3. Install Java
4. Download the minecraft jar file
5. Tune the server.properties file a little bit
6. Run it.

I found that I had to reduce the render distance in the server.properties file from 10 to 6, or there would be a lot of lag, and the server couldn't keep up generating chunks.

There's a handy script at the minecraft wiki for getting it set up as a service.

If anyone wants to have a look at my Pine64 minecraft server, send me a PM and I'll give you the connection info.


RE: Minecraft Server - androsch - 04-09-2016

(04-09-2016, 06:37 AM)LMHansen Wrote: I found that I had to reduce the render distance in the server.properties file from 10 to 6, or there would be a lot of lag, and the server couldn't keep up generating chunks.
Cool, got my own minecraft server running also. While i'm not familiar with playing (my son plays it all the time) but interested in tuning the server.properties for him, can you kindly give some hints what you exactly did?
Keep mining.... Wink


RE: Minecraft Server - LMHansen - 04-10-2016

(04-09-2016, 04:31 PM)androsch Wrote:
(04-09-2016, 06:37 AM)LMHansen Wrote: I found that I had to reduce the render distance in the server.properties file from 10 to 6, or there would be a lot of lag, and the server couldn't keep up generating chunks.
Cool, got my own minecraft server running also. While i'm not familiar with playing (my son plays it all the time) but interested in tuning the server.properties for him, can you kindly give some hints what you exactly did?
Keep mining.... Wink

You need to edit the server.properties file in the folder where the .jar file lives. There's a line "view-distance=10", which defines how far a player can see. Default is 10 chunks. This is too much for the server to handle, even for a single player. I reduced this value to "6", and that removed all the lagging and complaints from the server. 

Additionally, some tuning is needed for java to get the best out of it ... I start it like this:

java -server -d64 -Xmx1536M -Xms1024M -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+CMSIncrementalPacing -XXTonguearallelGCThreads=1 -XX:+AggressiveOpts 
-jar minecraft_server_1.9.2.jar nogui 



I'm not sure of -d64 is needed as -server is specified, but it won't hurt. Most of the rest of the options deals with memory management and garbage collection.

I also used this to set up minecraft as a service: http://minecraft.gamepedia.com/Tutorials/Server_startup_script


RE: Minecraft Server - androsch - 04-10-2016

(04-10-2016, 05:32 AM)LMHansen Wrote: You need to edit the server.properties file in the folder where the .jar file lives. There's a line "view-distance=10", which defines how far a player can see. Default is 10 chunks. This is too much for the server to handle, even for a single player. I reduced this value to "6", and that removed all the lagging and complaints from the server. 

Additionally, some tuning is needed for java to get the best out of it ... I start it like this:

java -server -d64 -Xmx1536M -Xms1024M -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+CMSIncrementalPacing -XXTonguearallelGCThreads=1 -XX:+AggressiveOpts 
-jar minecraft_server_1.9.2.jar nogui

Perfect, view-distance was already reduced, this was just what i figured out of your recent post.

Thanks for the additional settings for the java order, i run mine in a screen session, so i don't need the startup-script.

BTW: What java version do you use? I use java8:

openjdk version "1.8.0_02-Ubuntu"
OpenJDK Runtime Environment (build 1.8.0_02-Ubuntu-8u77-b03-3ubuntu2-b03)
OpenJDK 64-Bit Server VM (build 25.02-b03, mixed mode)


Thanks for the support Smile


RE: Minecraft Server - LMHansen - 04-10-2016

I'm running 1.8.0_01-ubuntu


RE: Minecraft Server - damikeh - 04-12-2016

I got a Minecraft server (Spigot) running on it today, seems to perform much better than the "vanilla" server jarfile. 

Only had 2 people running around on it so far, but it ran brilliantly with none of the usual "did the clock change? trying to keep up" messages.

Takes a little time to build it (my P64 2GB took around 15mins) but very happy with the results. 

This was on the ubuntu image.

dm