Minecraft

From miki
Revision as of 09:45, 24 July 2013 by Mip (talk | contribs) (→‎Tips)
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

Essentials kits

To enable kits via signs, give to user the following permissions:

essentials.signs.kit.use
essentials.kits.<kitname>

To enable kits via /kit command, give the following permissions to the users:

essentials.kit
essentials.kits.<kitname>

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)

Almost-Cheat:

Cheat:

Check the link above for helpful tips
Check this link for advice to avoid being detected on multiplayer servers
Check this link for advice on how to avoid being detected on multiplayer servers
Press r for Simply Hax Flying, i for Simply Hax Vision.
Not great. Flying is detectable, and vision is mere clipping vision.

See anti-cheat pluggin on Bukkit for counter-weapons ;-)

Tips

Color on Signs

See [3].

TBC

PvP Tips

Faction bases and TNT

Some techniques and counter-techniques to protect faction bases on PvP server:

  • Regular base can be attacked via regular TNT cannon
  • Usual counter-technique is to use a water wall around the base
  • Hybrid cannon can be used to destroy water wall, although only at the base of the wall.
  • If water wall is at the border of the faction claimed chunk, one can use pistons instead to push blocks in the water. Eg. Push 1 glass block, 1 TNT block on top, and yet another block on top to protect from falling water.
TODO
  • If TNT & sand is falling while overlapping, and TNT explodes while still being overlapped, will the engine consider the TNT be in a water block or in the overlapping sand block?
NOTES
  • Falling sand is not longer a regular block, but an entity handled by the physical engine.
  • Falling sand that hits a slab or similar will break.
IDEAS
  • Foresee an intrusion detection mechanism that will trigger a chest transport system. Like moving the content of the chest to another location. Eg: explode the chest, collect result deep down, use hoppers to move items around, then TNT everything afterwards.