Difference between revisions of "Minecraft"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
(Linux)
(Set up Minecraft server on Ubuntu)
Line 43: Line 43:
  
 
Start server
 
Start server
  java -Xms1G -Xmx1G -jar minecraft_server.jar nogui
+
  java -Xms1G -Xmx1G -jar /usr/local/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

Revision as of 13:01, 5 August 2015

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_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