2015-10-01

Merging Minecraft Server article back into the Minecraft article

← Older revision

Revision as of 18:23, 1 October 2015

Line 30:

Line 30:

===Minutor===

===Minutor===

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. {{AUR|minutor}}{{Broken package link|{{aur-mirror|minutor}}}} is available in the [[AUR]].

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. {{AUR|minutor}}{{Broken package link|{{aur-mirror|minutor}}}} is available in the [[AUR]].

+

+

== Minecraft Server ==

+

+

=== Installation ===

+

+

{{Note|Regardless of how you install the Minecraft server, it will need [[Java]] to run. Some people (apparently especially on ARMv7 machines) have reported that the server doesn't run well, if at all, using the OpenJDK packages and have reported success using the Oracle Java packages ({{aur|jdk}} or {{aur|jdk7}}) instead. Your mileage may vary.}}

+

+

The simplest way to install the Minecraft server on an Arch Linux system is by using the {{aur|minecraft-server}} package. It provides additional systemd unit files and includes a small control script.

+

+

=== Setup ===

+

+

In the installation process the {{ic|minecraft}} user and group is introduced. Establishing a Minecraft-specific user is recommended for security. 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 {{ic|minecraft}} group and add group write permission to the directory {{ic|/srv/minecraft}} to modify Minecraft server settings. Make sure that all files in the {{ic|/srv/minecraft}} directory are either owned by the {{ic|minecraft}} user, or have r/w permissions for all three groups (user,group,other), otherwise the server will error out.

+

+

To start the server you may either use systemd or run it directly from the command line. Eitherway it the server is encapsulated in a [[screen]] session which is owned by the {{ic|minecraft}} user. Using systemd you may [[start]] and enable the included {{ic|minecraftd.service}}. Alternatively run

+

+

# minecraftd start

+

+

{{Note|The first time you run the server, {{ic|/srv/minecraft/eula.txt}} will be created. You will need to edit this file to state that you have agreed to the EULA to run the server.}}

+

+

To easily control the server you may use the provided {{ic|minecraftd}} script. It is capable of doing the basic commands like {{ic|start}}, {{ic|stop}}, {{ic|restart}} or attaching to the session with {{ic|console}}. Moreover it may be used to display status information with {{ic|status}}, backup the server world directory with {{ic|backup}} or run single commands in the server console with {{ic|command <server command>}}.

+

+

{{Note|Regarding the server {{ic|console}}, remember that you can exit any screen session with {{ic|^A,D}}.}}

+

+

To tweak the default settings (e.g. the maximum RAM, number of threads etc.) edit the file {{ic|/etc/conf.c/minecraft}}.

+

+

=== Spigot (respectively Craftbukkit) ===

+

+

Spigot is the most widely-used '''modded''' Minecraft server software in the world, hence there is a {{AUR|spigot}} package in the [[AUR]]. The spigot PKGBUILD builds on top of the files from the {{AUR|minecraft-server}} 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 {{ic|spigot}} and is capable of fulfilling the same commands as {{ic|minecrafd}} and the configuration file resides under {{ic|/etc/conf.d/spigot}}. Please read [[Minecraft#Setup]] for some general information.

+

+

It is somewhat affiliated with [http://bukkit.org/ Bukkit] and has grwon in popularity since Bukkit's demise.

+

+

=== Additional Notes ===

+

+

* You may wish to modify your server, to provide additional features, e.g. http://www.minecraftwiki.net/wiki/Programs_and_editors#Server_Wrappers Server Wrappers]

+

* You might even set up a cron job with a [http://www.minecraftwiki.net/wiki/Programs_and_editors#Mappers mapper] to generate periodic maps of your world.

+

* ...or you could use [[rsync]] to perform routine backups.

== See also ==

== See also ==



* [
http
://www.minecraft.net/ Official Minecraft site]

+

* [
https
://www.minecraft.net/ Official Minecraft site]



* [
http
://www.minecraft.net/community Minecraft community links]

+

* [
https
://www.minecraft.net/community Minecraft community links
]

+

* [https://minecraft.net/download Minecraft Client and Server download link
]

* [http://www.minecraftwiki.net/wiki/Crafting Crafting Recipes]

* [http://www.minecraftwiki.net/wiki/Crafting Crafting Recipes]

* [http://www.minecraftwiki.net/wiki/Data_values Block and item data values]

* [http://www.minecraftwiki.net/wiki/Data_values Block and item data values]

* [http://www.reddit.com/r/minecraft Reddit Minecraft community]

* [http://www.reddit.com/r/minecraft Reddit Minecraft community]

Show more