Minecraft

From miki
Jump to navigation Jump to search

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
  • http://www.minecraftforum.net/topic/343030-minecraft-speedoptimization-guide-v-24-1-updated-on-mar-14-2013/
    • Play on "fast" and "tiny" graphics, turn off clouds, and use Advanced OpenGL
    • Don't Use texture packs bigger than 16x, which is the default resolution
    • Give minecraft more/less memory (384MB for vanilla, 512 when using lots of mods, 2048MB when 100 mods, lots of creatures, etc)
    • Update LWJGL! (LightWeight Java Game Library)

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