Minecraft: Difference between revisions

From miki
Jump to navigation Jump to search
Line 1: Line 1:
My page dedicated to minecraft.
My page dedicated to minecraft.

== Installation ==
=== Minecraft Client ===
* http://www.minecrafthasrunoutofmemory.com/13-ways-to-make-minecraft-run-faster/
** Install Optifine
** Allocate more memory<br/>''however there is conflicting recommendations there. Probably garbage collector introduce big latency if lots of memory is allocated, whereas smaller memory will trigger the gc more often but with less work. There is an option however to trigger the gc incrementally (-Xinggc)''
** Run in windowed mode<br/>''Sometimes MC freezes in fullscreen, but runs fine in window mode, even maximized!!!''
** Run 64-bit java / Change java provider

=== Minecraft Server ===
* Recommended line from http://forums.bukkit.org/threads/how-to-setup-a-ubuntu-craftbukkit-server-x64-running-java-x64.598/
<source lang=bash>
java -d64 -Xincgc -Xmx1024M -jar craftbukkit.jar nogui
</source>


== CraftBukkit Plugins ==
== CraftBukkit Plugins ==

Revision as of 17:14, 10 July 2013

My page dedicated to minecraft.

Installation

Minecraft Client

  • http://www.minecrafthasrunoutofmemory.com/13-ways-to-make-minecraft-run-faster/
    • Install Optifine
    • Allocate more memory
      however there is conflicting recommendations there. Probably garbage collector introduce big latency if lots of memory is allocated, whereas smaller memory will trigger the gc more often but with less work. There is an option however to trigger the gc incrementally (-Xinggc)
    • Run in windowed mode
      Sometimes MC freezes in fullscreen, but runs fine in window mode, even maximized!!!
    • Run 64-bit java / Change java provider

Minecraft Server

java -d64 -Xincgc -Xmx1024M -jar craftbukkit.jar nogui

CraftBukkit Plugins

CraftBukkit Troubleshoot

Cannot start the server

  • I had issue due to jline, which was parsing my /root/.inputrc file!!!
$ java -jar craftbukkit.jar help
229 recipes
27 achievements
Jul 10, 2013 3:00:24 AM net.minecraft.server.v1_5_R3.MinecraftServer main
SEVERE: Failed to start the minecraft server
java.lang.IllegalArgumentException: No enum constant org.bukkit.craftbukkit.libs.jline.console.Operation.DYNAMIC_COMPLETE_HISTORY
	at java.lang.Enum.valueOf(Enum.java:236)
	at org.bukkit.craftbukkit.libs.jline.console.Operation.valueOf(Operation.java:24)
	at org.bukkit.craftbukkit.libs.jline.console.ConsoleKeys.loadKeys(ConsoleKeys.java:245)
	at org.bukkit.craftbukkit.libs.jline.console.ConsoleKeys.loadKeys(ConsoleKeys.java:71)
	at org.bukkit.craftbukkit.libs.jline.console.ConsoleKeys.<init>(ConsoleKeys.java:43)
	at org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.<init>(ConsoleReader.java:146)
	at org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.<init>(ConsoleReader.java:126)
	at net.minecraft.server.v1_5_R3.MinecraftServer.<init>(MinecraftServer.java:106)
	at net.minecraft.server.v1_5_R3.DedicatedServer.<init>(DedicatedServer.java:34)
	at net.minecraft.server.v1_5_R3.MinecraftServer.main(MinecraftServer.java:653)
	at org.bukkit.craftbukkit.Main.main(Main.java:152)

The solution was simply to remove the binding to dynamic-complete-history in the .inputrc file.

Tips

Color on Signs

See [2].

TBC