LinuxFest Northwest 2013

Bellingham, WA April 27th & 28th

Platinum Sponsors

Hosting Your Own Minecraft Server (Vanilla and Bukkit)

brandonrc's picture

This presentation will cover the basics of what you need to know to host a small, local Minecraft server on an Ubuntu Server box as well as what my experiences have been with doing so over the past two years. I will cover the prerequisites for hardware and software, setting up configuring the server, some of the scripts I use to help with administration, lessons learned, and various other tid-bits.

Please note that I run a small server out of my home for my friends and do not have experience running hosted servers or servers for tens or hundreds of players at once. Some of my discussion could be scaled to larger communities, but I can't speak matter-of-factly on this. I am a user and want to share my experiences and help others get started.

You do not need to be an expert server admin to understand my presentation; however, I will be doing everything on the server-side from the command line and a base understanding of it will be beneficial to you.

Experience level: 

Intermediate

Speaker(s): 

brandonrc

Session Time Slot(s): 

Sunday, April 28, 2013 - 13:30 to 14:20

Track: 

Comments

General advice

Minecraft game servers are pretty much a worst case application; high cpu, high memory, latency sensitive, bandwidth sensitive; You can generally run even one of the FTB various mod pack servers for a few users off of a /good/ home internet connection.  Speaking of, you might look in to those mod packs: http://feed-the-beast.com/

 

If you are going to run your own server, use the Java7 JDK package if possible, also generally start with these invocation parameters:

# Configure your start and max memory according to your desires.

 

ionice -c2 -n1 \   nice -n 1 \   java \   -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC \   -XX:MaxGCPauseMillis=40  \   -XX:GCPauseIntervalMillis=150 \   -Xms768M -Xmx2048M \   -jar server.jar \   nogui \   2>&1 | \   tee -a "${LOGFILE}"   # You may be interested in this for spammy debug messages # grep --line-buffered -v 'ic2.core.block.machine.tileentity.TileEntityRecycler@' \

Slides

A friend wanted to go to this presentation but we had to leave early because I had a migraine. Would slides happen to be available for this? Thanks.