Minecraft: Difference between revisions
(→Macro / Key Bind: disable mathjax) |
|||
Line 33: | Line 33: | ||
java -d64 -Xincgc -Xmx1024M -jar craftbukkit.jar nogui |
java -d64 -Xincgc -Xmx1024M -jar craftbukkit.jar nogui |
||
</source> |
</source> |
||
=== Minecraft Server on Raspberry Pi === |
|||
* http://picraftbukkit.webs.com/pi-minecraft-server-how-to |
|||
* http://www.howtogeek.com/173044/how-to-run-low-cost-minecraft-on-a-raspberry-pi-for-block-building-on-the-cheap/ |
|||
* http://www.raspberrypi.org/forums/viewtopic.php?f=78&t=75882 |
|||
=== Client tuning === |
=== Client tuning === |
Revision as of 00:53, 15 July 2014
My page dedicated to minecraft.
References
- Game Guide
- Install Guides
- References
- Technical docs
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
- Recommended line from http://forums.bukkit.org/threads/how-to-setup-a-ubuntu-craftbukkit-server-x64-running-java-x64.598/
java -d64 -Xincgc -Xmx1024M -jar craftbukkit.jar nogui
Minecraft Server on Raspberry Pi
- http://picraftbukkit.webs.com/pi-minecraft-server-how-to
- http://www.howtogeek.com/173044/how-to-run-low-cost-minecraft-on-a-raspberry-pi-for-block-building-on-the-cheap/
- http://www.raspberrypi.org/forums/viewtopic.php?f=78&t=75882
Client tuning
See below for list of mods that improve FPS
CraftBukkit Plugins
- PlotMe (used on CraftyServ)
- InfinitePlots
- MultiVerse (used on CraftyServ)
- Lockette (used on CraftyServ)
- CombatTag (used on CraftyServ)
- BukkitBackup
- Essentials
- PermissionsBukkit (forum page [1])
- Some plugins from same source
- CoreProtect
- LogManager
- A small plugin to clear the server log from in-game, w/o need to restart the server (
/logclear
)
- This plugin allows for preventing / controling explosion.
# Enable TNT explosion as follows (note that tnt chain are allowed by default)
/acs tnt yield 80 # 80% of exploded blocks will be available back
/acb tnt damage player true # TNT will damage players...
/acb tnt damage mob true # ... and mobs
/acb tnt explodeblocks true # TNT will explode neighbouring blocks
# To protect a zone against TNT (even via TNT cannon)
/rg flag spawn tnt deny
- DynMap
- AntiBotUltra
- Edit plugins/AntiBotUltra/config.yml to change the white list message (use § for colors)
- AntiCheat
- X-Ray Detective (analyse mining behavior through statistical analysis)
- Problem with these statistical tool is that they only detect after damage is done (all diamonds have been removed), and that they require administration effort.
- Anti X-Ray (commands
/antixray
)
- Nice analysis of pro and con of other anti-X-ray tools (statistical, obfuscator), and how to detect xraying users.
- X-Ray informer (commands
/xcheck
) - X-Ray Catcher (inactive, based on pattern analysis)
- Rate of X-Ray (statistical, command
/rx
)
Commands
tphere <PLAYER> changepw <oldpwd> <newpwd>
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>
Maintenance
- Clear server log
- Use LogManager:
/logclear
- Clear core-protect db.
- On the console,
/co purge t:7d
(only data older than 24h can be purged from the console) - In game,
/co purge t:30d
(only data older than 30 days can be purged from in-game)
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 and Multi Player)
- !!! Some mods below are considered cheat !!!
- !!! Risk of BAN by servers !!!
- !!! Check the server rules (e.g. list on empire craft servers)
- Modloader
- Minecraft Forge (forum)
Since 1.6.1+, use the automatic installer to install. - (forge compat) liteloader
- Better FPS
- TODO : Compare with vanilla minecraft.jar (for which I get pretty amazing performance in fact)
- Optifine - Understanding Minecraft performance
- Optifine (forum link: [2])
Since U HD C5, install optifine jar by dropping it into forge mod folder. - FPSPlus Improve FPS (not tested yet)
- Better graphics (shaders)
- Mod that gives incredible realistic-looking graphics in minecraft, with dynamic shadows and water reflection.
- To install:
- Install optifine directly in minecraft.jar (don't load as FML mod)
- Install GLSL shaders mod as FML mod (make sure archive has .jar extension)
- Copy SEUS shader archives in .minecraft/shaderpacks
- Select the shader and select new block breaking
- Make sure you have a resource pack with specular mapping (see texture section, EN Packs)
- SPC-only
- SPC and MPC
- (forge mod) WMLL What's My Light Level
- (forge mod) rei's minimap
- zan's minimap (link, or also known as VoxelMap - author's page)
- (forge mod) bspkrs armorstatus / statuseffect/...
- (forge mod) Enchant View View enchantment that the enchanting table will give (requires server plugin)
- Chat bubbles
- matmos (environmental sound atmosphere simulator)
- Better controls
- (forge mod/compat) ControlPack Improve considerably key bindings (sprint key, fast item toggle, etc)
- (?) Better Sprinting Better sprinting (key, toggle)
- !!! RISK OF BAN !!! — Some servers detect the use of this mod, and ban users using it.
- The plugin is detected easily because it sends the identification string BSprint to the server.
- Work around — It is easy to work around the detection:
- Unzip the jar
- Open the file ./chylex/bettersprinting/mod/GuiSprint.class in an hexeditor (like hexedit)
- Find the string BSprint and change it to something else of same length (e.g. BBBBBBB)
- Update the jar
- (forge mod) Inventory Tweaks (official site) (github)
- Can be blocked / detected by NoCheatPlus (in particular "inventory.fastclick" and potentially "combined.improbable" have been reported to cause conflicts with the mod's rapid movement of items).
- (forge mod) Not Enough Items
- A better version of Too Many Items (handy to get block ID?).
- Bug-fixing mods
- Fullscreen Mouse Position Fix (1.3.2 only, but easy recompile? Workaround is to maximize window first and then fullscreen)
- Cheat (light and/or not detectable)
- (forge mod) Radarbro
- (forge mod?) rei's minimap bypass 1.5.2 (1.6.2 available via google cache)
- enable entities and cave mapping even if disabled by the server
- (forge mod) Material Detector
- (forge mod) CompassFinder
- Entity Proximity Detector
- Strongestcraft X-Ray texture pack
- Check the link above for helpful tips
- Check this link for advice to avoid being detected on multiplayer servers
- X-Ray (1.6.X and forge compat) (other link [3])
- Check this link for advice on how to avoid being detected on multiplayer servers
- Or try the old x-ray mod (download and instr)
- Highlight visible and invisible chests. Redundant with x-ray.
- Automatic Wheat Farmer
- CJB MOD, a bunch of useful mods and cheats (old versions, demo cheat pack)
- Cheat pack including No Damage, Infinite food
- This guy has lots of mods (including mod manager, an x-ray on rei's minimap...)
- Cheat (hard-core)
- To craft any items in survival single player, or in creative SMP, including any possible enchantments.
- Press r for Simply Hax Flying, i for Simply Hax Vision.
- Not great. Flying is detectable, and vision is mere clipping vision.
- A pack of several SSP / SMP cheating mods (chest finder, mob aura, fly, jump, no fall, step...)
- MobAura Automatically attack surrounding mobs
- KillAura
- Attack player automatically
- Forcefield
- Turn player and attack automatically (almost not detectable)
- http://www.minecraftforum.net/topic/1846552-152-un-detectable-x-rayforce-field/
- AimBot / ClickAimBot
- MoomanPack3 (Forcefield-alike incl. rei's minimap bypass)
- Forge mod (not full client!)
- Supposedly with noCheat workaround.
- Nodus 1.6.2 (not tested against virus! — more client on the same page)
- Well known old griefing client
- Griefing / cheating client (incl. forcefield)
See anti-cheat pluggin on Bukkit for counter-weapons ;-)
- OS Hack
- Simple linux tool to emulate lag on the client side using netem / tc.
sudo tc qdisc add dev eth0 root netem delay 250ms # to add 250ms lag (more complex scenario possible)
sudo tc qdisc del dev eth0 root netem # to remove
Macro / Key Bind
__NOMATHJAX__ (liteloader mods) macro / key bind mod 0.9.11 (requires liteloader)
- example scripts
- Note: LMETA key is not the left ALT key. Simply press Left-ALT key to configure macro for that key, even if not available on the keyboard.
- Sprint key, see [4]:
Key down: $${SPRINT}$$ Held: $${SPRINT}$$ Delay: 1ms Key up: $${UNSPRINT}$$
- Select previous slot on down, and back to previous slot on up (for instance key LMENU):
Macro[56].Macro=$${SET(#prevslot,%INVSLOT%); DEC(#prevslot); Slot(%#prevslot%)}$$ Macro[56].OnKeyUp=$${INC(#prevslot); Slot(%#prevslot%)}$$ Macro[56].Mode=keystate
- Select next slot on down, and back to previous slot on up (for instance key E):
Macro[18].Macro=$${SET(#nextslot,%INVSLOT%); INC(#nextslot); Slot(%#nextslot%)}$$ Macro[18].OnKeyUp=$${DEC(#nextslot); Slot(%#nextslot%)}$$ Macro[18].Mode=keystate
- Auto-select food and eat key (stop eating if releasing the key, but it will only eat one item):
Macro[30].Macro=$${set(#lastslot,%INVSLOT%); pick(360,364,322,357,350,366,391,297,393,260,319,363,320,282); set(#slotid,%ITEM%); LOG(Eating item id %#slotid%); do(32); key(use); while(%#slotid%=%ITEM%); }$$ Macro[30].OnKeyUp=$${slot(%#lastslot%);}$$ Macro[30].Mode=keystate
- Last selected slot logger (for debug):
Macro[30].Macro=$${set(#lastslot,%INVSLOT%); set(#slotid,%ITEM%); LOG(last slot %#lastslot% id %#slotid%); }$$ Macro[30].OnKeyUp=$${slot(%#lastslot%);}$$ Macro[30].Mode=keystate
- One can record last slot number before change by registering event onInventorySlotChange
- Example:
$
${SET(@#lastslot,%OLDINVSLOT%)}$
$
Hacked Client
- http://www.youtube.com/watch?v=DSLIxt5coTQ (not tested, not virus scanned)
- http://www.wizardhax.com/2013/06/29/minecraft-1-5-2-hacked-client-breakcraft-download/ (latest client on WizardHax re 1.5.2)
Look also:
- Regen hacking (see https://www.google.be/webhp?hl=en#hl=en&q=minecraft+hunger+games+killaura+1.5.2)
- Some says it's lag
- Auto-block
- Kill Aura player (cpu takes full control)
Textures
- R3D Craft (available in 32x-512x, suggested 64x)
- Pack K (64x64) (made by Kowze)
- EN Packs — high-quality and resolution texture packs for Minecraft (with specular mapping for GL shaders)
- Faithful 32x32 (with a considerable list of mods that have graphics made for them)
- Faithful 64x64
Tips
Color on Signs
See [5].
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.
- Use redstone block to trigger a TNT from a distance. Use a piston to push up to
- 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.
- Make walls in 1/2 obsidian, 1/2 water source. Each time an obsidian is broken (takes 7 TNT on CraftyServ), this will reveal a water source, adding to the water wall around obsidian.
- Ideally protect a single chunk, and claim the 8 chunks around (so that distance is at least 16 blocks, cannot be reached via Piston). Maybe 4 chunk around (n,s,e,w) is enough, but would need carefull thinking ;-)
Secret bases
- Build a transparent base very high in the sky, touching the y=255 limit.
- Base should be transparent (glass block) so that it does not cast a shadow on the floor.
- Ideally do it above ocean so that we can leave the base easily. It also makes the shadow (if any) harder to spot.
- If the base is really high, it should not be visible in normal render distance setting (limited to 128 blocks max). This is then better than building the base underground, since it is still visible if player has an x-ray texture pack or mod. However in far (max 256 blocks) the base becomes visibles when staying long enough in the chunk or neightbourhood
- Better solution, is to make the base out of chests only. Set all chest at y=255, and one at y=254. Sit on top of the latter, and set your home there.
- This works because chests are no longer rendered when away of ~64 blocks! This makes a really invisible base ;-) (see [6], this is not a bug but works as intended)
- Chest do not appear either on the rei's minimap at such height, so the base will not appear even on uniform landscape.
Hiding things
- Use paintings + door behind (or signs) to hide secret entrance
- Hide chest behind lava
- Click + jump
- Sign when clicked reacts like a button? --> hide behind lava
- Using hoe on dirt triggers a redstone signal (at least with a torch under it - see [7])
- Note: wood staircase can look like wood blocks, and seemingly block chest, when actually do not since they are non opaque blocks.
Other
- Use QWERTY keyboard
- Use QWERTY keyboard so that to switch fast between objects (direct access to keys 1, 2, 3...)
- Under Ubuntu, use English (US) keyboard. The keyboard must be the first listed in the layout list (seems that Minecraft engine uses the default layout for controls, not the currently selected layout).
- Escape
Commands to escape fast (pvp/monster)
/p h /p home /logout
Other ways to escape:
- Ender pearl (even better if escaping into no-pvp area)
Hunger games tips
- Master lava, water and flint and stone (both in attack and defense/avoid)
- Make a lava trap to defeat powerful opponents (like standard pits trap with piston, or staircase variant)
- Use Ghast Novice to rapidly finish an opponent (see Kowze)
PvP and Cheating
- Aimbot / forcefield cheaters
- Lag
- "god" mod: no damage, god mode, infinite health...
Questions:
- Use damage immunity to reduce amount of damage we can deal?
Player damage can also be cancelled by the server:
This may explain why some players have their health rolled back to maximum.
Long list of common hacks:
Guides and Game Tips
Enchanting
Brewing / Potions
- Minecraft Potions Poster
All the potions in one poster
Factions
PvP and Hunger Games
- Excellent guides from Kowze on how to survive and win hunger games.
- Organize the controls and use hot keys:
- middle finger for forward, backward, item 2; index for strafe left and item 1; 3rd finger for strage right and items 3 to 6.
- item 1 for your sword, slot 2 for kit item, slot 9 for active block / pickaxe / compass.
- Block hitting
- don't spam hit button. Instead always block (this halves the damage), and only release block, and then attack instantly and block back instantly. This way we can only be hit at full force while hitting ourselves.
- Block hitting while souping
- Hit once, then while blocking, press slot 2. When soup is eaten, instantly press slot 1.
- Idem with slot 2, etc (so pattern is like 1 2 1; 1 3 1; 1 4 1;
- Refill techniques
- Shift + click
- Crafting
- Quick drop (this means assign drop key as the slot 1 key — ! CAUTION ! pressing slot 1 key twice would mean you drop your sword)
Servers
- Minecraft Hungergame
- http://www.minecraft-hg.net/
- Use Kit cultivateur to get a bucket.
- CraftyServ
- 94.23.19.180:26045
- DreamServ
- 193.107.59.145:25565
- ZK Games ([http://www.youtube.com/watch?v=Y-jonbyyeoI Kowze's server)
- Survivia Hunger Games
- Minecraft-PvP
- MineSkora HG / PvP / Factions
- Minecraft Survival Games
- HiveMC
- Use custom block ID for chest: Block id is 33 (same as piston)
Name of cheaters:
- JooKrrX
- AL_7Rby
- Mart208222 (hit many times, by several players, life gauge going down to red, then each time life rolled back to green)
- BastonField
- Hunger Games & Balls of Steel
- Hungergames-mc.fr
- Homepage: http://www.hungergames-mc.fr/
- HG Servers (max 200 slots): 1.hungergames-mc.fr → 12.hungergames-mc.fr
- Other server: event.hungergames-mc.fr
- Other server: pvp.hungergames-mc.fr
- HG servers have 200 slots. Some servers have random events, like explosive or instant death, etc.
- Other useful links
Ideas
Some bad / good ideas I'm thinking off, and should try someday if they work:
- Hunger games - harvest gold and create a golden apple.
- Hunger games - harvest lot of gold and create an enchanted gold apple
- Hunger games - Create a geant lava tower, and hide underneath
- SMP (!grief) - Make a gigantic lava pyramid by using lava / water bucket alternatively. One can possibly grow a pyramid even within area he has no permission. This can be used to grief, but also to attack a faction base (if said faction is under water for instance).
- SMP - Water can be placed at level 256, but cannot be removed. How about lava? Also can admin remove the water?
Skins
- totally_spice
Bugs - workaround
- Mouse pointer not centered when in fullscreen
- Install mod Fullscreen Mouse Position Fix
- Or maximize window first, and then enable full screen (code takes width/height of window to position the pointer)
- Sticky key (movement key)
- Use a wired keyboard, not the wireless keyboard!
- Unsupported keys with foreign keyboard on Linux (also with keybind / macro mods)
- See LWJGL bug on Mojang.