Minecraft is a game about breaking and placing blocks. At first, people built structures to protect against nocturnal monsters, but as the game grew players worked together to create wonderful, imaginative things.
If you installed Minecraft from the AUR, you can use the included script:
Otherwise, you will need to manually launch Minecraft:
$ java -jar Minecraft.jar
There are several programs and editors which can make your Minecraft experience a little easier to navigate. The most common of these programs are map generators. Using one of these programs will allow you to load up a Minecraft world file and render it as a 2D image, providing you with a top-down map of the world.
- AMIDST (Advanced Minecraft Interface and Data/Structure Tracking) is a program that aids in the process of finding structures, biomes, and players in Minecraft worlds. It can draw the biomes of a world out and show where points of interest are likely to be by either giving it a seed, telling it to make a random seed, or having it read the seed from an existing world (in which case it can also show where players in that world are). AUR. Bear in mind that AMIDST is currently unmaintained due to its main author being busy with work and other real life obligations. The primary fork is "Amidst Exporter" and has an AUR package at AUR. This is notably updated to include a patch for calculating Ocean Monument locations in 1.8+ worlds. AUR is available in the
- Mapcrafter is a high performance Minecraft map renderer which renders worlds to maps with an 3D-isometric perspective. You can view these maps in any webbrowser and you can host them with a webserver for example for the players of your server. Mapcrafter has a simple configuration file format to specify worlds to render, different rendermodes such as day/night/cave and can also render worlds from different rotations. AUR. AUR is available in the
- Minutor is described as a minimalistic map generator for Minecraft. Do not let this mislead you, it generates maps of existing worlds, not the other way around. You are provided with a simple GTK+ based interface for viewing your world. Several rendering modes are available, as well as custom coloring modes and the ability to slice through z-levels. broken link: archived in aur-mirror] is available in the AUR. AUR[
The simplest way to install the Minecraft server on an Arch Linux system is by using theAUR package. It provides additional systemd unit files and includes a small control script.
In the installation process the
minecraft user and group is introduced. Establishing a Minecraft-specific user is recommended for security reasons. By running Minecraft under an unprivileged user account, anyone who successfully exploits your Minecraft server will only get access to that user account, and not yours.
However you may safely add your user to the
minecraft group and add group write permission to the directory
/srv/minecraft to modify Minecraft server settings. Make sure that all files in the
/srv/minecraft directory are either owned by the
minecraft user, or that the user has by other means r/w permissions. The server will error out if it is unable to access certain files and might even have insufficient rights to write an according error message to the log.
To start the server you may either use systemd or run it directly from the command line. Either way the server is encapsulated in a screen session which is owned by the
minecraft user. Using systemd you may start and enable the included
minecraftd.service. Alternatively run
# minecraftd start
To easily control the server you may use the provided
minecraftd script. It is capable of doing the basic commands like
restart or attaching to the session with
console. Moreover it may be used to display status information with
status, backup the server world directory with
backup, restore world data from backups
restore or run single commands in the server console with
command <server command>.
To tweak the default settings (e.g. the maximum RAM, number of threads etc.) edit the file
The server provides a service and timer for systemd to take automatic backups. The backups are located in the
backup folder under the server root directory. The related systemd files reside under
/usr/lib/systemd/system/minecraftd-backup.service. They may easily be adapted to your liking, e.g. a custom backup interval.
Spigot (respectively Craftbukkit)
Spigot is the most widely-used modded Minecraft server in the world, hence there is a AUR. The spigot PKGBUILD builds on top of the files from the AUR package. This means that the spigot server as well provides its own systemd unit files, spigot script and the corresponding script configuration file. The binary is called
spigot and is capable of fulfilling the same commands as
minecraftd and the configuration file resides under
It is somewhat affiliated with Bukkit and has grown in popularity since Bukkit's demise.
- You may wish to modify your server, to provide additional features, e.g. Server Wrappers
- You might even set up a cron job with a mapper to generate periodic maps of your world.
- ...or you could use rsync to perform routine backups.