Minecraft Linux Setup

1. Client setup:
# To begin with, a number of writers insist that you need to use Oracle’s java,
# not the open-source equivalent. The following commands did this:

sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

# Verify that the commercial version of Java is installed:
java -version
# NOTE! Standard ubu12.10 minecraft-player will not work with Oracle Java.
# So: change the LightWeight Java Game Library (lwjgl) to run w/ OracleJava7:
http://lwjgl.org/download.php
# Extract the .zip file to: ~/Documents/Minecraft/lwjgl-2.8.5
# Then open /lwjgl-2.8.5/jar/; select these:

jinput.jar
lwjgl.jar
lwjgl_util.jar

# overwrite the same files in: ./minecraft/bin/
# Then open /lwjgl-2.8.5/native/linux/; select all “*.so” files;
# overwrite all the “*.so” files in: ./minecraft/bin/natives/
————————————————————
Adding mods to MC Linux:
The general idea is that you download a .zip archive, and open it;
then also open: Home/.minecraft/bin/minecraft.jar with Archive Manager;
Also, delete the /META-INF folder before sunning MC again.
Begin with:
minecraftforge-universal-1.5.1-7.7.1.611
Go to this MC Forum page and scroll down to the “Downloads” area.
Then install “Minecraft comes alive”
MCA v3.3.0
And “Single player commands”:
SinglePlayerCommands-MC1.5.1_V4.7
————————————————————
For the server, start again by installing Oracle Java:
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
# Next, install MinecraftServerManager (MSM). REF:
http://msmhq.com/docs/installation.html
wget -q http://git.io/Sxpr9g -O /tmp/msm && bash /tmp/msm
# install with this username:
minecraft
## Future plugins will need “minecraft” as the owner for default permissions to work correctly.
#* sudo chown minecraft:minecraft -R /opt/msm
# Next, create a jar group to manage current and future Minecraft versions:
sudo msm jargroup create craftbukkit http://dl.bukkit.org/latest-rb/craftbukkit.jar
# Now create a new server called “gworld”:
sudo msm server create gworld
# Tell “gworld” to use latest .jar files:
sudo msm gworld jar craftbukkit
# Start “gworld” a first time to populate the config files:
msm gworld start
# NOTE! msm returns this warning:
[MSM Info: Assuming ‘minecraft/1.3.0’ for this server.You should override this value by adding ‘msm-version=minecraft/x.x.x’ to ‘/opt/msm/servers/gworld/server.properties’ to make this message go away]
# now stop the server the first time:
msm gworld stop
# Now configure the server.properties file for gworld:
sudo gedit /opt/msm/servers/gworld/server.properties
# assign the Hamachi “rockethippo” IP address to the server:
# at line “server-ip=” add this value:
25.159.56.224
# also assign the mc version to eliminate the warning above:
msm-version=craftbukkit/1.2.5
# save, the exit.
# start the server with:
msm gworld start

Leave a Comment

Scroll to Top