Minecraft: Difference between revisions

From miki
Jump to navigation Jump to search
 
(127 intermediate revisions by the same user not shown)
Line 1: Line 1:
My page dedicated to minecraft.
My page dedicated to minecraft.

== Links ==
; On this wiki
* [[Minecraft server]]

;Launchers
* [https://files.multimc.org/downloads/multimc_1.6-1.deb MultiMC], support multi version of minecraft in parallel.

;Modder API
* [https://fabricmc.net/wiki/installhttps://fabricmc.net/wiki/install FabricMC]

;Game Guide
* [http://www.minecraftforum.net/topic/970503- The Ultimate Guide to Factions]

;Install Guides
* [http://www.minecraftforum.net/topic/158692-howto-optimize-minecraft-for-linux/ Optimize Minecraft for Linux]

;References
* [http://www.umluex.at/bilder/minecraft/mc_server_commands.html Minecraft command list]
* [http://minecraft.gamepedia.com/Commands Minecraft server command list wiki]

;Technical docs
* [http://optifog.blogspot.be/2011/08/understanding-minecraft-performance.html Optifine - Understanding Minecraft performance]


== Installation ==
== Installation ==
=== Minecraft Client ===
=== Linux - recent client ===
* Install Debian package {{deb|minecraft}} from [https://www.minecraft.net/en-us/download minecraft].

=== Minecraft Client >= 1.8===
;Install
* '''Java 8''' mandatory.

;Forge
* [https://files.minecraftforge.net/ Minecraft forge]
:* Download the recommended installer, and run it with
<source lang="bash">
java -jar forge-1.12.2-14.23.2.2611-installer.jar
</source>

;Optifine
* [https://optifine.net/home Optifine].

;Liteloader
* http://www.liteloader.com/
* Install with <code>java -jar liteloader-installer-1.12.2-00-SNAPSHOT.jar</code>, then '''choose the Forge profile'''.

;Mods
* [http://www.9minecraft.net/liteloader/ LiteLoader 1.12.2], a lightweight mod bootstrap requires by many mod.
* ArmorStatusHUD
:* [https://minecraft.curseforge.com/projects/armors-hud-revived-liteloader-only Armors HUD Revived (Liteloader Only)]
:: A simple mode displaying the status of current armor.
:* [https://minecraft.curseforge.com/projects/huds-armor-status-damage-indicators Huds - Armor Status & Damage Indicators]
:: Does what it says. Show armor status (in number of hits), and monster health indicator.
:* [https://minecraft.curseforge.com/projects/better-hud Better HUD], an alternative? (found [http://www.mc-mod.net/better-hud-mod/ here])
:: Lot of indicators, maybe too verbose. Nice monster health indicator.
:* [http://www.mc-mod.net/durability-show-mod/] An alternative?
* StatusEffectHUD
* InventoryTweaks
:* [https://minecraft.curseforge.com/projects/inventory-tweaks Inventory Tweaks] (found [http://www.mc-mod.net/inventory-tweaks-mod/ here])
:: The usual inventory-tweak, with many nice features, like prevent-break item changer.
:* [https://minecraft.curseforge.com/projects/inventory-sorte Inventory Sorter], an alternative? (found [rhttp://www.mc-mod.net/inventory-sorter-mod/ here]).
:: A simple inventory '''and''' any container (including chest) sorter. No much configuration it seems.
* Macros/KeyBinding
:* [https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/1275039-macro-keybind-mod macro/keybind], same as in 1.7.2.
* X-Ray (see list on [http://www.9minecraft.net/tag/x-ray-mods/ minecraft9.net]).
:* [https://minecraft.curseforge.com/projects/advanced-xray Advanced X-Ray], can also show chests. (found [http://www.mc-mod.net/advanced-xray-mod/ here]).
:: Nice X-ray. Can show chests. Distance can be changed, as well as the type of ore/block.
:* [http://www.9minecraft.net/xray-mod/ X-Ray Mod 1.12.2]
:* [http://www.9minecraft.net/julialys-x-ray-mod/ Julialy's X-Ray Mod 1.12.2]
* [https://minecraft.curseforge.com/projects/finder-compass Finder Compass], a "fair" X-rayer? (found [https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/1272511-1-12-2-finder-compass-turns-the-vanilla-item-into here])
:: The usual finder. No indication of height, so a bit annoying of course.
* Minimap mod (see list on [http://www.9minecraft.net/tag/minimap-mods/ 9minecraft.net]):
:* [https://www.curseforge.com/minecraft/mc-mods/xaeros-minimap Xaeros minimap]
::a mod I installed on MC 1.16, with Fabric API using Multi MC. First install MultiMC. Create a new instance. Edit it, and add Fabric loader. Download the Fabric API mod and the Xaeros mod (fabric version), and add these two mods.
:* [https://minecraft.curseforge.com/projects/voxelmap VoxelMap 1.12.2], fork of original Zan's minimap. Difference with original? The mod we used in 1.7.2 (found [http://www.9minecraft.net/voxelmap-mod/ here]).
:: {{kb|Z}} Zoom in/out, {{kb|M}} options, {{kb|X}} togle full screen map; {{kb|N}} Quickly add waypoint.
:: Changes compared to 1.7.2: support and detect multi-world; no waypoint beacon. Waypoint label shown only when hovering onto it. Full screen map.
:* [http://www.9minecraft.net/zans-minimap-mod/ Zan's Minimap 1.12.2], the original.
:* [https://minecraft.curseforge.com/projects/xaeros-minimap Xaero's minimap] Like VoxelMap but also display items (chests for instance).
:: Nice minimap. Does *not* show chest, but shows items and entities.
:* [https://minecraft.curseforge.com/projects/journeymap JourneyMap Mod 1.12.2], a very powerful mod that builds the map in real-time. (found [http://www.9minecraft.net/journeymap-mod/ here]).
:: Nice mapping feature. But cannot teleport to waypoints, it seems to be a permission problem.

;Resource pack
* [https://minecraft.curseforge.com/projects/faithful-32x FaithFul 32x32]
* [https://www.curseforge.com/minecraft/texture-packs/r3d-craft-64px '''R3D Craft 64px'''] (up to 512px [https://minecraft-resourcepacks.com/r3d-craft-resource-pack/])

;Mods to try:
* [http://www.mc-mod.net/better-fps-mod/ Better FPS], can live along Optifine.
* [http://www.9minecraft.net/better-pvp-mod/ Better PVP 1.12.2], including quick eat.

=== Minecraft Client < 1.8===
;Install
* '''Do not use Java 8''' &mdash; Use java 7 instead!
<source lang="bash">
sudo apt install oracle-java7-installer
</source>
* Download {{file|Minecraft.jar}} and start it with
<source lang="bash">
java -jar Minecraft.jar
</source>
;Optimize
* http://www.minecrafthasrunoutofmemory.com/13-ways-to-make-minecraft-run-faster/
* http://www.minecrafthasrunoutofmemory.com/13-ways-to-make-minecraft-run-faster/
** Install Optifine
** Install Optifine
Line 14: Line 113:
** Update [http://www.lwjgl.org/ LWJGL]! (LightWeight Java Game Library)
** Update [http://www.lwjgl.org/ LWJGL]! (LightWeight Java Game Library)


=== Minecraft Server ===
=== Client tuning ===
See below for list of mods that improve FPS
* 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 ==
=== Minecraft server ===
See [[Minecraft server]].


== Mods (Single and Multi Player) ==
* [http://dev.bukkit.org/bukkit-plugins/plotme/ PlotMe] (used on CraftyServ)
* [http://dev.bukkit.org/bukkit-plugins/infiniteplots/ InfinitePlots]
* [http://dev.bukkit.org/bukkit-plugins/multiverse/ MultiVerse] (used on CraftyServ)
* [http://forums.bukkit.org/threads/sec-lockette-v1-7-4-simple-chest-and-door-lock-no-databases-1848-2317-1-3-1-r1.4336/page-117 Lockette] (used on CraftyServ)
* [http://dev.bukkit.org/bukkit-plugins/combat-tag/ CombatTag] (used on CraftyServ)
* [http://bukkitbackup.com/ BukkitBackup]
* [http://wiki.ess3.net/wiki/Main_Page Essentials]
** [http://ess.khhq.net/wiki/Backup Essentials Backup]
** [http://wiki.ess3.net/wiki/Group_Manager Group Manager]
** [http://wiki.ess3.net/mc/ Colored sign code]
* [http://dev.bukkit.org/bukkit-plugins/permbukkit/ PermissionsBukkit] (forum page [http://forums.bukkit.org/threads/admn-dev-permissionsbukkit-v2-0-official-default-groups-plugin-1-5-1-r0-2.26785/])
* Some plugins from same source
** [http://wiki.sk89q.com/wiki/CommandBook CommandBook]
** [http://wiki.sk89q.com/wiki/CraftBook CraftBook]
** [http://wiki.sk89q.com/wiki/WorldGuard WorldGuard]
** [http://wiki.sk89q.com/wiki/WorldEdit WorldEdit]
** [http://wiki.sk89q.com/wiki/CommandHelper CommandHelper]
* [http://www.curse.com/bukkit-plugins/minecraft/coreprotect CoreProtect]
* [http://dev.bukkit.org/bukkit-plugins/logmanager-keep-your-log-file-cl/ LogManager]
:A small plugin to clear the server log from in-game, w/o need to restart the server (<code>/logclear</code>)
* [http://dev.bukkit.org/bukkit-plugins/dynmap/ DynMap]
* AntiBotUltra
** Edit <tt>plugins/AntiBotUltra/config.yml</tt> to change the white list message (use § for colors)
* AntiCheat
** [http://dev.bukkit.org/bukkit-plugins/x-ray-detective/ 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.
** [http://dev.bukkit.org/bukkit-plugins/anti-x-ray/ Anti X-Ray] (commands <code>/antixray</code>)
*:Nice analysis of pro and con of other anti-X-ray tools (statistical, obfuscator), and how to detect xraying users.
** [http://dev.bukkit.org/bukkit-plugins/xray-informer/ X-Ray informer] (commands <code>/xcheck</code>)
** [http://dev.bukkit.org/bukkit-plugins/xray-catcher/ X-Ray Catcher] (''inactive'', based on pattern analysis)
** [http://dev.bukkit.org/bukkit-plugins/rate-xray/ Rate of X-Ray] (statistical, command <code>/rx</code>)


;!!! Some mods below are considered cheat !!!
=== Create PlotMe world ===
;!!! Risk of BAN by servers !!!
;!!! Check the server rules (e.g. list on ''[http://empireminecraft.com/wiki/approved-mods/ empire craft servers]'')


;Modloader
<source lang=bash>
* [http://www.minecraftforge.net/wiki/ Minecraft Forge] ([http://www.minecraftforge.net/forum/index.php forum])<br/>Since 1.6.1+, use the automatic installer to install.
/mv create plotworld normal -g PlotMe # Must use 'plotworld', or see PlotMe/config.yml
* (forge compat) [http://www.minecraftforum.net/topic/1868280- liteloader]
/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
</source>


;Better FPS
Edit file <tt>plugins/Multiverse-Core/config.yml</tt>:
:'''{{red|TODO''' : Compare with vanilla minecraft.jar (for which I get pretty amazing performance in fact)}}
<source lang=text>
:[http://optifog.blogspot.be/2011/08/understanding-minecraft-performance.html Optifine - Understanding Minecraft performance]
prefixchat: 'false'
* [http://optifine.net/home.php Optifine] (forum link: [http://www.minecraftforum.net/topic/249637-])<br/>Since U HD C5, install optifine jar by dropping it into forge mod folder.
</source>
* [http://www.minecraftforum.net/topic/1904538- FPSPlus] Improve FPS (not tested yet)


;Better graphics (shaders)
=== Permissions in Multiverse ===
* [http://www.minecraftforum.net/topic/940974-162sonic-ethers-unbelievable-shaders-and-glsl-shaders-mod/ '''SEUS and GLSL Shaders Mod''']
: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
<source lang=bash>
* [http://www.minecraftforum.net/topic/94310- Single Player Command]
/manuadd histerical Default plotworld # Change group of a user in a given world
* [http://www.minecraftforum.net/topic/1743004- XCommands]
</source>


;SPC and MPC
=== Essentials kits ===
* (forge mod) [http://www.minecraftforum.net/topic/170739- WMLL What's My Light Level]
To enable kits via signs, give to user the following permissions:
* (forge mod) [http://www.minecraftforum.net/topic/482147- rei's minimap]
<source lang=text>
* [http://www.planetminecraft.com/mod/zans-minimap/ zan's minimap] ([http://www.6minecraft.net/zans-minimap/2nd link], or also known as VoxelMap - [http://www.planetminecraft.com/member/mamiyaotaru/ author's page])
essentials.signs.kit.use
* (forge mod) [http://www.minecraftforum.net/topic/1114612- bspkrs armorstatus / statuseffect/...]
essentials.kits.<kitname>
* (forge mod) [http://www.minecraftforum.net/topic/753030-162- Enchant View] View enchantment that the enchanting table will give (requires server plugin)
</source>
* [http://www.planetminecraft.com/mod/chat-bubbles/ Chat bubbles]
* [http://www.minecraftforum.net/topic/379925- matmos] (environmental sound atmosphere simulator)


;Better controls:
To enable kits via '''/kit''' command, give the following permissions to the users:
* (forge mod/compat) [http://www.minecraftforum.net/topic/355537- ControlPack] Improve considerably key bindings (sprint key, fast item toggle, etc)
<source lang=text>
* (?) [http://www.minecraftforum.net/topic/1451360- Better Sprinting] Better sprinting (key, toggle)
essentials.kit
: '''{{red|!!! RISK OF BAN !!!}}''' &mdash; Some servers detect the use of this mod, and ban users using it.
essentials.kits.<kitname>
: The plugin is detected easily because it sends the identification string ''BSprint'' to the server.
</source>
: '''{{green|Work around}}''' &mdash; 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) [http://www.minecraftforum.net/topic/1720872- Inventory Tweaks] ([http://inventory-tweaks.readthedocs.org/en/latest/#getting-started official site]) ([https://github.com/Kobata/inventory-tweaks 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) [http://www.minecraftforum.net/topic/909223-164-smp-chickenbones-mods/ Not Enough Items]
:* A better version of Too Many Items (handy to get block ID?).


;Bug-fixing mods:
=== Maintenance ===
* [http://www.minecraftforum.net/topic/1069325- Fullscreen Mouse Position Fix] (1.3.2 only, but easy recompile? Workaround is to maximize window first and then fullscreen)
* Clear server log
:Use ''LogManager'': <code>/logclear</code>
* Clear core-protect db.
:On the console, <code>/co purge t:7d</code> (only data older than 24h can be purged from the console)
:In game, <code>/co purge t:30d</code> (only data older than 30 days can be purged from in-game)


;Cheat (light and/or not detectable)
== CraftBukkit Troubleshoot ==
* (forge mod) [http://www.minecraftforum.net/topic/1040810- Radarbro]
=== Essentials / permissions debug ===
* (forge mod?) [http://www.techresx.com/hacks/minecraft/minecraft-reis-minimap-entity-and-cave-mapping-hack/ rei's minimap bypass 1.5.2] ([http://www.hackforums.net/showthread.php?tid=2156787&page=18 1.6.2] available via google cache)
To debug permission issues easily, set <tt>plugins/Essentials/config.yml</tt>:
: enable entities and cave mapping even if disabled by the server
<source lang=bash>
* (forge mod) [http://www.minecraftforum.net/topic/193443-v162-ellians-materialdetector-v27/ Material Detector]
# More output to the console.
debug: true
</source>
=== Cannot start the server ===
* I had issue due to '''jline''', which was parsing my <tt>/root/.inputrc</tt> file!!!

<source lang=text>
$ 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)
</source>
The solution was simply to remove the binding to ''dynamic-complete-history'' in the <tt>.inputrc</tt> file.

== Mods (Single Player) ==
* [http://www.minecraftforge.net/wiki/ Minecraft Forge] ([http://www.minecraftforge.net/forum/index.php forum])
* [http://optifine.net/home.php Optifine] (forum link: [http://www.minecraftforum.net/topic/249637-])
* [http://www.minecraftforum.net/topic/94310-152-single-player-commands-v48-official-download-spc-noclip/ Single Player Command]
* [http://www.minecraftforum.net/topic/1743004-15220-xcommands-public-release-last-updated-15th-june/ XCommands]
* (forge compat) [http://www.minecraftforum.net/topic/170739- WMLL What's My Light Level]

Almost-Cheat:
* (forge mod) [http://www.minecraftforum.net/topic/189739- CompassFinder]
* (forge mod) [http://www.minecraftforum.net/topic/189739- CompassFinder]
* (forge mod) [http://www.minecraftforum.net/topic/193443-v162-ellians-materialdetector-v27/ Material Detector]
* [http://www.minecraftforum.net/topic/765730-v162-entity-proximitydetector-v24/ Entity Proximity Detector]
* [http://www.minecraftforum.net/topic/765730-v162-entity-proximitydetector-v24/ Entity Proximity Detector]

Cheat:
* [http://www.minecraftforum.net/topic/158611- Strongestcraft X-Ray texture pack]
* [http://www.minecraftforum.net/topic/158611- Strongestcraft X-Ray texture pack]
:Check the link above for helpful tips
: Check the link above for helpful tips
:Check this [http://www.minecraftdl.com/x-ray-texture-pack-strongestcraft/ link] for advice to avoid being detected on multiplayer servers
: Check this [http://www.minecraftdl.com/x-ray-texture-pack-strongestcraft/ link] for advice to avoid being detected on multiplayer servers
* [http://www.minecraftforum.net/topic/867079- X-Ray Mod] ([http://nikcraft.com/mods/xray/#dlv042 download and instr])
*[http://www.minecraftforum.net/topic/1921866- X-Ray (1.6.X and forge compat)] (other link [http://www.skydaz.com/x-ray-mod-installer-for-minecraft-1-6-2-forge/])
:Check this [http://www.minecraftdl.com/x-ray-mod/ link] for advice on how to avoid being detected on multiplayer servers
: Check this [http://www.minecraftdl.com/x-ray-mod/ link] for advice on how to avoid being detected on multiplayer servers
: Or try the old x-ray [http://www.minecraftforum.net/topic/867079- mod] ([http://nikcraft.com/mods/xray/#dlv042 download and instr])
* [http://www.minecraftdl.com/chest-finder-mod/ ChestFinder]
: Highlight visible and invisible chests. Redundant with x-ray.
* [http://www.minecraftforum.net/topic/1116564- Automatic Wheat Farmer]
* [http://www.minecraftforum.net/topic/1613697- CJB MOD], a bunch of useful mods and cheats ([http://www.minecraftforum.net/topic/1688539- old versions], [http://www.youtube.com/watch?v=Fc9yJcb92Ew demo cheat pack])
** Cheat pack including ''No Damage'', ''Infinite food''
* [http://www.minecraftforum.net/topic/1688539-15x-cjb-mods-rebirth-21-05-13-x-ray-pre-release-3/page__st__40#entry20931460 This guy has lots of mods] (including mod manager, an x-ray on rei's minimap...)

;Cheat (hard-core)
* [http://www.minecraftforum.net/topic/1787033- All-U-Want-Inventory-Editor]
:To craft any items in survival single player, or in creative SMP, including any possible enchantments.
* [http://www.atomicstryker.net/simplyhax.html SimplyHax]
* [http://www.atomicstryker.net/simplyhax.html SimplyHax]
: Press {{kb|r}} for Simply Hax Flying, {{kb|i}} for Simply Hax Vision.
: Press {{kb|r}} for Simply Hax Flying, {{kb|i}} for Simply Hax Vision.
: Not great. Flying is detectable, and vision is mere clipping vision.
: Not great. Flying is detectable, and vision is mere clipping vision.
* [http://www.minecraftforum.net/topic/1846289- Cheating Essentials]
: A pack of several SSP / SMP cheating mods (chest finder, mob aura, fly, jump, no fall, step...)
* [http://www.minecraftforum.net/topic/753030-162- 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
* [http://www.mpgh.net/forum/384-minecraft-mods/418574-smp-advanced-combat-reis-minimap-bypass.html MoomanPack3] (Forcefield-alike incl. rei's minimap bypass)
:Forge mod (not full client!)
;Supposedly with noCheat workaround.
* [http://www.wizardhax.com/2013/08/08/minecraft-1-6-2-hacked-client-nodus-download/ Nodus 1.6.2] (not tested against virus! &mdash; more client on the same page)
: Well known old griefing client
* [http://www.mpgh.net/forum/335-minecraft-hacks/377497-griefcraft-v1-6-forcefield-1-client-1-8-1-hack-client.html GriefCraft 1.6]
: Griefing / cheating client (incl. forcefield)


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

;OS Hack
* [https://calomel.org/network_loss_emulation.html Emulate client lag]
:Simple linux tool to emulate lag on the client side using netem / tc.
<source lang=bash>
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
</source>

=== Macro / Key Bind ===
__NOMATHJAX__
(liteloader mods) [http://www.minecraftforum.net/topic/467504- macro / key bind mod 0.9.11] (requires [http://www.minecraftforum.net/topic/1868280- liteloader])
* [http://www.minecraftforum.net/topic/1107415- example scripts]
* README: http://eq2.co.uk/minecraft/mods/mod_macros_0.8.5_readme.txt
* Note: ''LMETA'' key is not the left ALT key. Simply press {{kb|Left-ALT}} key to configure macro for that key, even if not available on the keyboard.
* Sprint key, see [http://www.minecraftforum.net/topic/467504-164-macro-keybind-mod-0911/page__view__findpost__p__13200226]:
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 {{kb|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 {{kb|E}}):
Macro[18].Macro=$${SET(#nextslot,%INVSLOT%); INC(#nextslot); Slot(%#nextslot%)}$$
Macro[18].OnKeyUp=$${DEC(#nextslot); Slot(%#nextslot%)}$$
Macro[18].Mode=keystate
* '''(For 1.7.2)''' Auto-select food and eat key (stop eating if releasing the key, but it will only eat one item):
# KEY_A
Macro[30].Macro=$${set(#lastslot,%INVSLOT%); pick(mushroom_stew,cooked_beef,cooked_porkchop,cooked_chicken,bread,cooked_fish,cookie,cake,beef,carrot,potato,porkchop); set(#newslot,%INVSLOT%); do(32); key(use); while(%INVSLOT%=%#newslot%);}$$
Macro[30].OnKeyUp=$${slot(%#lastslot%);}$$
Macro[30].Mode=keystate
* (Before 1.7.2) 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: <code>$</code><code>${SET(@#lastslot,%OLDINVSLOT%)}$</code><code>$</code>
* Command like <code>pick(...)</code> now takes an item '''NAME''' id. Numeric id no longer works. To get the name id, just bind a key to the following command and press that key:
log($$i)

=== 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 ==
* [https://r3dcraft.net/ '''R3D Craft'''] available in 32x-512x, suggested 64x (also on [http://www.minecraftforum.net/topic/1182714- minecraftforum.net]).
* [http://www.minecraftforum.net/topic/72747- '''Faithful 32x32'''] (with a [http://www.faithful32x32.com/modsupport.html considerable list] of mods that have graphics made for them)
* [http://www.minecraftforum.net/topic/1397079- Faithful 64x64]
* [http://www.partage-facile.com/RPR5RBY1KD/le_pack_k____64_x_64_.zip.html Pack K (64x64)] (made by [http://www.youtube.com/user/KowzeTV Kowze])
* [http://enpacks.com/ EN Packs] &mdash; high-quality and resolution texture packs for Minecraft (with specular mapping for GL shaders)


== Tips ==
== Tips ==
Line 208: Line 338:
* Note: wood staircase can look like wood blocks, and seemingly block chest, when actually do not since they are non opaque blocks.
* Note: wood staircase can look like wood blocks, and seemingly block chest, when actually do not since they are non opaque blocks.


== Game Tips ==
=== Other ===
;Use QWERTY keyboard
*Use QWERTY keyboard so that to switch fast between objects (direct access to keys {{kb|1}}, {{kb|2}}, {{kb|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 [http://www.youtube.com/watch?v=sLpq68OFoPU Kowze])

== PvP and Cheating ==
* Aimbot / forcefield cheaters
* Lag
* "god" mod: no damage, god mode, infinite health...

Questions:
* Use ''[http://minecraft.gamepedia.com/Critical_hit#Damage_immunity damage immunity]'' to reduce amount of damage we can deal?


Player damage can also be cancelled by the server:
* By '''No-Cheat-Plus''' (see [http://dev.bukkit.org/bukkit-plugins/nocheatplus/tickets/484-hits-get-cancelled/])
* or '''Essentials''' (see [http://www.spigotmc.org/threads/nocheat-plus-pvp-lag.219/] or [http://www.spigotmc.org/threads/playerdamageevent-cancelled-for-a-few-seconds.6032/])
This may explain why some players have their health rolled back to maximum.

Long list of common hacks:
* [http://www.mclava.com/forum/m/4599636/viewthread/7345486-hack-identifying-tips-all-hacks-included Hack identifying tips &mdash; all hacks included]

== Guides and Game Tips ==


=== Enchanting ===
=== Enchanting ===
Line 214: Line 381:
* [http://www.minecraftenchantmentcalculator.com/ Minecraft Enchantment Calculator]
* [http://www.minecraftenchantmentcalculator.com/ Minecraft Enchantment Calculator]
* [http://www.minecraft-enchantments.net/items/1.6.1/ Table of Minecraft Enchantment Probabilities]
* [http://www.minecraft-enchantments.net/items/1.6.1/ Table of Minecraft Enchantment Probabilities]
* [http://pernsteiner.org/minecraft/enchant/leveltables/ Enchant tables]



=== Brewing / Potions ===
=== Brewing / Potions ===


* [http://media-mcw.cursecdn.com/1/12/MinecraftPotionsClean.png Minecraft Potions Poster]<br/>All the potions in one poster
* [http://media-mcw.cursecdn.com/1/12/MinecraftPotionsClean.png Minecraft Potions Poster]<br/>All the potions in one poster

=== Factions ===
* [http://www.minecraftforum.net/topic/970503- Ultimate Guide to Factions]

=== PvP and Hunger Games ===
* [http://www.youtube.com/user/KowzeTV/videos Kowze on YouTube]
:Excellent guides from Kowze on how to survive and win hunger games.
* [http://theplumecraftbros.hubpages.com/hub/How-to-Soup-in-Minecraft-Pvp How to Soup in Minecraft Pvp]
: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 &mdash; ! CAUTION ! pressing slot 1 key twice would mean you drop your sword)

=== Farm Slime ball ===
[https://minecraft.gamepedia.com/Slime Slime] spawns naturally:
* At night in swamp biomes. Their spawn rate is maximum during [https://minecraft.gamepedia.com/Moon Full Moon].
* In specific chunk in some y-range.

;Attacking slimes in swamp biomes
* Go to a swamp biome.
* Set Full Moon with <code>time set 110000</code> [https://www.reddit.com/r/minecraftsuggestions/comments/5hx9q2/command_to_set_moon_phase/]
* Use a sword with ''Looting III'' to maximize drop.
* Keep moving in the swamp biome to trigger monster spawn/despawn cycles.

More advanced farms in minecraft wiki.

== 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)
* http://zkgames.com/

;Survivia Hunger Games
* http://hg.survivia.net/

;Minecraft-PvP
* http://minecraft-pvp.fr/

;MineSkora HG / PvP / Factions
* http://mineskora.fr/

;Minecraft Survival Games
* http://www.minecraftsurvivalgames.com/servers/

;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
* http://www.minefield.fr/bastonfield
:Hunger Games & Balls of Steel

;Hungergames-mc.fr
* Homepage: http://www.hungergames-mc.fr/
* HG Servers (max 200 slots): '''1.hungergames-mc.fr''' &rarr; '''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:
* http://minecraft.fr/compilation-de-serveurs-hunger-games/

== 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 ==
* http://www.minecraftskins.net
* http://www.needcoolshoes.com/

;totally_spice
*http://www.minecraftskins.net/iceprincess

== Tools ==

=== [http://docs.overviewer.org/en/latest/ Overviewer] ===
A 3D world mapper

=== [https://github.com/akudeukie/pigmap pigmap] ===
Like ''Overviewer'', but fancier / faster.

=== [https://www.spigotmc.org/resources/dynmap.274/ dynmap] ===
dynmap is a server-side '''plugin'''. See [[Minecraft server]].

=== [http://seancode.com/minutor/ Minutor] ===
Another Minecraft mapping tool, fast, portable and expandable (win, linux). Not tried yet. See also [https://github.com/mrkite/minutor Github page].

=== [https://github.com/toolbox4minecraft/amidst/wiki/Using-Amidst Amidst] ===
Amidst allow to display an overview of a minecraft world from the seed, without the need of creating it. It can locate structures like villages, stronghold, fortresses...

Some limitations in v4.3 beta 2:
* Not all villages are shown. Miss villages in some biomed, since MC 1.10 ([https://github.com/toolbox4minecraft/amidst/issues/177 Issue #177]).
* Woodland mansions not yet merged ([https://github.com/toolbox4minecraft/amidst/pull/370 Pull request #370]).

== Bugs - workaround ==
=== Game launch issue ===
;Game closes immediately after launches.
Possibly giving the following messages in the log:
<source lang="c">
[21:44:44: ERROR]: java.io.IOException: Stream closed
[21:44:44: INFO]: Game ended with no troubles detected (exit code 0)
</source>
Solutions:
* '''Do not use java 8''' &mdash; Must use Java 7 instead. Uninstall all version of java 8, and install
<source lang="bash">
sudo apt install oracle-java7-installer
</source>

;Error about bad Minor/Major in Minecraft 1.12+
* '''Install java 8'''.

;Can't play online, java error <code>java.security.InvalidAlgorithmParameterException</code>
When launching the game, version '''1.7.2''', with '''oracle-7-jvm''', we get the following errors:
<source lang=text>
Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma
Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
...
[15:24:59 ERROR]: Unexpected exception refreshing version list
javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
</source>
As a result, launcher only allows to play ''offline''. This seems to be an issue with an empty cacerts [https://stackoverflow.com/questions/4764611/java-security-invalidalgorithmparameterexception-the-trustanchors-parameter-mus].

Tried
<source lang=bash>
update-ca-certificates -f
</source>
but to no avail. Maybe because it was not done for the correct java version? Let's look further:
<source lang=bash>
locate cacerts
# ...
# /usr/lib/jvm/java-7-oracle/jre/lib/security/cacerts
# /usr/lib/jvm/java-7-oracle/jre/lib/security/cacerts.original
# /usr/lib/jvm/java-8-oracle/jre/lib/security/cacerts
# ...

l /usr/lib/jvm/java-7-oracle/jre/lib/security/cacerts
# lrwxrwxrwx 1 root root 27 Mar 5 2017 /usr/lib/jvm/java-7-oracle/jre/lib/security/cacerts -> /etc/ssl/certs/java/cacerts
# --> ... BUT /etc/ssl/certs/java/cacerts does not exists!

l /usr/lib/jvm/java-8-oracle/jre/lib/security/cacerts
# -rw-r--r-- 1 root root 111K Nov 4 11:51 /usr/lib/jvm/java-8-oracle/jre/lib/security/cacerts
# ... Let's use this one...

sudo rm /usr/lib/jvm/java-7-oracle/jre/lib/security/cacerts
sudo ln -sf /usr/lib/jvm/java-8-oracle/jre/lib/security/cacerts /usr/lib/jvm/java-7-oracle/jre/lib/security/cacerts
</source>
Problem solved!

=== Other issues ===
;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 [https://mojang.atlassian.net/browse/MC-30704 LWJGL bug] on Mojang.

;Minecraft minimizing and losing focus on media key press (volume up/down)
* This is minecraft bug [https://bugs.mojang.com/browse/MC-69793 MC-69793].
* See [https://askubuntu.com/questions/682459/what-do-i-do-when-minecraft-in-fullscreen-loses-focus askubuntu.com] - Suggests to use '''Launcher keyboard shortcuts''' to select back Minecraft application.
* ... or suggests to use <code>wmctrl</code>.
* Similar issue in Minecraft 1.12. But using {{kb|Super+Tab}} until selecting back Minecraft allows to return to Minecraft.
:* For this to work, in Compiz config manager, ubuntu Unity plugin, launcher, make sure that {{kb|Super+Tab}} is mapped to Launcher Application Switcher (and reverse with Shift).

Latest revision as of 23:25, 13 February 2022

My page dedicated to minecraft.

Links

On this wiki
Launchers
  • MultiMC, support multi version of minecraft in parallel.
Modder API
Game Guide
Install Guides
References
Technical docs

Installation

Linux - recent client

  • Install Debian package minecraft from minecraft.

Minecraft Client >= 1.8

Install
  • Java 8 mandatory.
Forge
  • Download the recommended installer, and run it with
java -jar forge-1.12.2-14.23.2.2611-installer.jar
Optifine
Liteloader
Mods
A simple mode displaying the status of current armor.
Does what it says. Show armor status (in number of hits), and monster health indicator.
Lot of indicators, maybe too verbose. Nice monster health indicator.
  • [1] An alternative?
  • StatusEffectHUD
  • InventoryTweaks
The usual inventory-tweak, with many nice features, like prevent-break item changer.
  • Inventory Sorter, an alternative? (found [rhttp://www.mc-mod.net/inventory-sorter-mod/ here]).
A simple inventory and any container (including chest) sorter. No much configuration it seems.
  • Macros/KeyBinding
Nice X-ray. Can show chests. Distance can be changed, as well as the type of ore/block.
The usual finder. No indication of height, so a bit annoying of course.
a mod I installed on MC 1.16, with Fabric API using Multi MC. First install MultiMC. Create a new instance. Edit it, and add Fabric loader. Download the Fabric API mod and the Xaeros mod (fabric version), and add these two mods.
  • VoxelMap 1.12.2, fork of original Zan's minimap. Difference with original? The mod we used in 1.7.2 (found here).
Z Zoom in/out, M options, X togle full screen map; N Quickly add waypoint.
Changes compared to 1.7.2: support and detect multi-world; no waypoint beacon. Waypoint label shown only when hovering onto it. Full screen map.
Nice minimap. Does *not* show chest, but shows items and entities.
Nice mapping feature. But cannot teleport to waypoints, it seems to be a permission problem.
Resource pack
Mods to try

Minecraft Client < 1.8

Install
  • Do not use Java 8 — Use java 7 instead!
sudo apt install oracle-java7-installer
  • Download Minecraft.jar and start it with
java -jar Minecraft.jar
Optimize
  • 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)

Client tuning

See below for list of mods that improve FPS

Minecraft server

See Minecraft server.

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
Better FPS
TODO : Compare with vanilla minecraft.jar (for which I get pretty amazing performance in fact)
Optifine - Understanding Minecraft performance
  • Optifine (forum link: [3])
    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
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
  • 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).
  • A better version of Too Many Items (handy to get block ID?).
Bug-fixing mods
Cheat (light and/or not detectable)
enable entities and cave mapping even if disabled by the server
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
Or try the old x-ray mod (download and instr)
Highlight visible and invisible chests. Redundant with x-ray.
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)

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
  • (For 1.7.2) Auto-select food and eat key (stop eating if releasing the key, but it will only eat one item):
# KEY_A
Macro[30].Macro=$${set(#lastslot,%INVSLOT%); pick(mushroom_stew,cooked_beef,cooked_porkchop,cooked_chicken,bread,cooked_fish,cookie,cake,beef,carrot,potato,porkchop); set(#newslot,%INVSLOT%); do(32); key(use); while(%INVSLOT%=%#newslot%);}$$
Macro[30].OnKeyUp=$${slot(%#lastslot%);}$$
Macro[30].Mode=keystate
  • (Before 1.7.2) 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%)}$$
  • Command like pick(...) now takes an item NAME id. Numeric id no longer works. To get the name id, just bind a key to the following command and press that key:
log($$i)

Hacked Client

Look also:

Some says it's lag
  • Auto-block
  • Kill Aura player (cpu takes full control)

Textures

Tips

Color on Signs

See [6].

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 [7], 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 [8])


  • 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:


Player damage can also be cancelled by the server:

  • By No-Cheat-Plus (see [9])
  • or Essentials (see [10] or [11])

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

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)

Farm Slime ball

Slime spawns naturally:

  • At night in swamp biomes. Their spawn rate is maximum during Full Moon.
  • In specific chunk in some y-range.
Attacking slimes in swamp biomes
  • Go to a swamp biome.
  • Set Full Moon with time set 110000 [12]
  • Use a sword with Looting III to maximize drop.
  • Keep moving in the swamp biome to trigger monster spawn/despawn cycles.

More advanced farms in minecraft wiki.

Servers

Minecraft Hungergame
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.fr12.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

Tools

Overviewer

A 3D world mapper

pigmap

Like Overviewer, but fancier / faster.

dynmap

dynmap is a server-side plugin. See Minecraft server.

Minutor

Another Minecraft mapping tool, fast, portable and expandable (win, linux). Not tried yet. See also Github page.

Amidst

Amidst allow to display an overview of a minecraft world from the seed, without the need of creating it. It can locate structures like villages, stronghold, fortresses...

Some limitations in v4.3 beta 2:

  • Not all villages are shown. Miss villages in some biomed, since MC 1.10 (Issue #177).
  • Woodland mansions not yet merged (Pull request #370).

Bugs - workaround

Game launch issue

Game closes immediately after launches.

Possibly giving the following messages in the log:

[21:44:44: ERROR]: java.io.IOException: Stream closed
[21:44:44: INFO]: Game ended with no troubles detected (exit code 0)

Solutions:

  • Do not use java 8 — Must use Java 7 instead. Uninstall all version of java 8, and install
sudo apt install oracle-java7-installer
Error about bad Minor/Major in Minecraft 1.12+
  • Install java 8.
Can't play online, java error java.security.InvalidAlgorithmParameterException

When launching the game, version 1.7.2, with oracle-7-jvm, we get the following errors:

Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma
Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
...
[15:24:59 ERROR]: Unexpected exception refreshing version list
javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

As a result, launcher only allows to play offline. This seems to be an issue with an empty cacerts [13].

Tried

update-ca-certificates -f

but to no avail. Maybe because it was not done for the correct java version? Let's look further:

locate cacerts
# ...
# /usr/lib/jvm/java-7-oracle/jre/lib/security/cacerts
# /usr/lib/jvm/java-7-oracle/jre/lib/security/cacerts.original
# /usr/lib/jvm/java-8-oracle/jre/lib/security/cacerts
# ...

l /usr/lib/jvm/java-7-oracle/jre/lib/security/cacerts
# lrwxrwxrwx 1 root root 27 Mar  5  2017 /usr/lib/jvm/java-7-oracle/jre/lib/security/cacerts -> /etc/ssl/certs/java/cacerts
# --> ... BUT /etc/ssl/certs/java/cacerts does not exists!

l /usr/lib/jvm/java-8-oracle/jre/lib/security/cacerts
# -rw-r--r-- 1 root root 111K Nov  4 11:51 /usr/lib/jvm/java-8-oracle/jre/lib/security/cacerts
# ... Let's use this one...

sudo rm /usr/lib/jvm/java-7-oracle/jre/lib/security/cacerts
sudo ln -sf /usr/lib/jvm/java-8-oracle/jre/lib/security/cacerts /usr/lib/jvm/java-7-oracle/jre/lib/security/cacerts

Problem solved!

Other issues

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)
Minecraft minimizing and losing focus on media key press (volume up/down)
  • This is minecraft bug MC-69793.
  • See askubuntu.com - Suggests to use Launcher keyboard shortcuts to select back Minecraft application.
  • ... or suggests to use wmctrl.
  • Similar issue in Minecraft 1.12. But using Super+Tab until selecting back Minecraft allows to return to Minecraft.
  • For this to work, in Compiz config manager, ubuntu Unity plugin, launcher, make sure that Super+Tab is mapped to Launcher Application Switcher (and reverse with Shift).