Minecraft

From Free Knowledge Base- The DUCK Project: information for everyone
Revision as of 13:06, 5 August 2015 by Admin (Talk | contribs)

Jump to: navigation, search

Minecraft was purchased by Micro$oft. When you pay to play Minecraft you are no longer supporting an independent developer. Do not pay for Minecraft because you will be paying Micro$oft.

Play Minecraft for free

Use Mineshafter. This allows you to play Minecraft on a PC for free with most of the features and latest version.


Linux

Ubuntu

Troubleshooting:

Minecraft running slow - my linux minecraft was running on 12 to 14 fps. i have installed hava 7,java 8, openjdk 7 and everything requires but minecraft stil slow

This command should tell you what is currently providing the Java virtual machine (java) and the Java compiler (javac):

file /etc/alternatives/java /etc/alternatives/javac

This assumes the "alternatives" system is working properly, which might not be the case, depending on how Java has been "messed up" in the past. To check this, run:

file `which java javac`

If the alternatives system is working correctly and being used by Java, then you should see:

/usr/bin/java: symbolic link to `/etc/alternatives/java' /usr/bin/javac: symbolic link to `/etc/alternatives/javac'

Set up Minecraft server on Ubuntu

First install Oracle Java

Run the following commands in this order to add the PPA, update the source list and then install java:

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

Then run this to check what version you have installed:

java -version

Start server

java -Xms1G -Xmx1G -jar /usr/local/minecraft/minecraft_server.1.8.8.jar nogui

You will see

[11:41:12] [Server thread/INFO]: Starting minecraft server version 1.8.8
[11:41:12] [Server thread/INFO]: Loading properties
[11:41:12] [Server thread/WARN]: server.properties does not exist
[11:41:12] [Server thread/INFO]: Generating new properties file
[11:41:12] [Server thread/WARN]: Failed to load eula.txt
[11:41:12] [Server thread/INFO]: You need to agree to the EULA in order to run the server. Go to eula.txt for more info.
[11:41:12] [Server thread/INFO]: Stopping server
[11:41:12] [Server Shutdown Thread/INFO]: Stopping server

The latest version has a stupid eula hoop you have to jump though

vi eula.txt

change

#By changing the setting below to TRUE you are indicating your agreement to our EULA (https://account.mojang.com/documents/minecraft

_eula).

#Wed Aug 05 11:41:12 CDT 2015
eula=true

The eula.txt was created by the server the first time you tried to run it. Now that you changed the value to "true" save the text file, get out, and run the server again.