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

Create PlotMe world

/mv create plotworld normal -g PlotMe           # Must use 'plotworld', or see PlotMe/config.yml
/mangaddp Default creativegates.use             # In the PlotMe world, or user can't use creative gates anymore
/mangaddp Default plotme.use                    # Give user access to plotme commands
/mangaddp Default plotme.limit.1                # Limit to 1 plot / user
/plotme weanywhere                              # To use worldedit anywhere (protection against grief)
/mvm set monsters false                         # To prevent mobs spawning
/mvm set animals false                          # To prevent animals spawning

Edit file plugins/Multiverse-Core/config.yml:

  prefixchat: 'false'

Permissions in Multiverse

/manuadd histerical Default plotworld           # Change group of a user in a given world

CraftBukkit Troubleshoot

Essentials / permissions debug

To debug permission issues easily, set plugins/Essentials/config.yml:

# More output to the console.
debug: true

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.

Mods (Single Player)

Tips

Color on Signs

See [2].

TBC