ADVANCED TWEAKS
As you become more comfortable with Minecraft, or if you’re already an experienced player, you may find the basic configuration options in ‘server.
SERVER SLOWDOWN
Your configuration may now be tweaked to your heart’s content, but as more players join, and more complex structures are created, you may find Minecraft slowing down. One way to make sure there is plenty of free space is to move the ‘minecraft’ folder to an external drive. The syntax of the necessary command is $ sudo mv ~/minecraft /media/pi/MYUSB , where MYUSB is the name of your USB stick.
Bear in mind that the above commands for running the software include the cd command, which refers to the ‘minecraft’ directory in the ‘home’ folder, so make sure to modify the commands accordingly — cd ~/ minecraft becomes cd /media/ pi/MYUSB/minecraft , for example.
If you’re still having trouble, try starting the server with the following command which, without going into technical details, instructs Java to make better use of your processor:
$ cd ~/minecraft && java -jar -Xms512M -Xmx1008M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -jar spigot-1.x.x.jar nogui
For even better performance, consider editing the ‘server.properties’ file once again, this time reducing
view-distance from 10 to 5. This determines how much of the map has to load as you move around. You can also alter max-players to change the number of people who can be logged in at the same time.