Changes

Minecraft

10,588 bytes added, 18:01, 17 January 2023
/* File Locations */
The following lines were added (+) and removed (-):
A cracked launcher downloads the offical libraries from Mojang/Microsoft and the game runs in “offline mode” and doesn’t authenticate.  Most are able to play online in any "cracked" server but not the official Mojang/Microsoft servers.Update February 2021: TLauncher is different from Terramining Launcher and offers Forge Compatibility.Both TLauncher and Terramining Launcher both still work.  TLauncher supports the latest minecraft build as of this posting, which is 1.16.5 verified.  See the [[TLauncher for Minecraft]] page.Update December 2017: Terramining_Launcher_v9.2.jar compatible with Minecraft 1.12.2 using Java8.<big>Update April 2017: Terramining Launcher works, tested and verified with version 1.8.9 * using: Terramining_Launcher_v9.2.jar </big>Update February 6 2016:  Mineshafter no longer works.  All tested solutions fail.  Use Mineshafter.  This allows you to play Minecraft on a PC for free with most of the features and latest version.<del>Use Mineshafter.  This allows you to play Minecraft on a PC for free with most of the features and latest version.</del> * <del>http://mineshafter.info/</del> Update June 2020:  Terramining_Launcher is still valid.  It somewhat relies on Internet connectivity. Another launcher for free Minecraft is called TLauncher.  https://tlauncher.org/en/ === April 2017 ===Working on a new solution for playing Minecraft.  Goals:* must work offline / does not use any external connection or authentication* must support lan server / multiplayer* must support Minecraft 1.8.9 or newer RESOURCES:* http://www.mpgh.net/forum/forumdisplay.php?f=335* http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-tools/1262734-minecraft-custom-name-offline-servers* http://terraminingmc.com/Launcher.html* http://www.planetminecraft.com/blog/offline-modecracked-servers---what-are-they/ === June 2020 ===A launcher that works well with Forge and newer versions of Minecraft.* https://tlauncher.org/en/ TLauncher: Latest version: Minecraft 1.16.1 (July 2020) Windows, Mac, Linux How safe is TLauncher?  Unverified.  Russian made.  Contains Ads.* http://mineshafter.info/The Google Play store has a Tlauncher App that has been approved.  It does contain Ads.# Start -> Run -> type "%appdata%\.minecraft\" and press enter# Start -> Run -> type "%appdata%\.minecraft\" or "~/.minecraft" and press enter=== Ubuntu ====== Ubuntu / Mint Client === The minecraft launcher works well with OpenJDK 8 and Oracle JDK 8 It does not seem to get along well with OpenJDK 11 You can have more than one JDK version on the system.  * See also: [[Default Java on Mint Linux]] === minecraft game ended with bad state linux === Some different things can cause this, such as an invalid character in your <s>windows</s> username that creates a problem for Java in accessing your home folder.  However, I have never experienced that.  What it always comes down to for me is the wrong blasted version of Java.  OpenJDK 11 aka java-11-openjdk-amd64 aka Fake Java hates minecraft.  After upgrading to Linux Mint 19.2 minecraft refused to run.  To fix the problem it was necessary to install OpenJDK 8 aka java-8-openjdk-amd64 aka less crappy fake java.   Another way it was solved successfully was to install real Java... from Oracle.  However the folks over at Oracle are butts and make you jump though a heap of registration hoops before they let you download their precious Oracle Java.  If you get your hands on jre-8u181-linux-x64.tar.gz from Oracle, it works well for minecraft.  See also: [[Oracle Java for Linux]] Yet, like I said before, other things can also cause the bad state exit, which is just minecraft saying that something is wrong.  You will have to do some digging in logs if the Java version was not the culprit of the problem for you.=== upgrade minecraft server to latest version ===first make a backup of minecraft server. tar -sp -zcvf minecraft1-8-8.tgz /usr/local/minecraftWe are going to upgrade from 1.8.8 to 1.12.2.  Download the latest minecraft server from [https://minecraft.net/en-us/download/server JAVA EDITION SERVER] downloads. *Navigate to the path of the minecraft server and download with wget cd /usr/local/minecraft wget https://s3.amazonaws.com/Minecraft.Download/versions/1.12.2/minecraft_server.1.12.2.jar*fix owner and permissions with chown and chmod*update runme script java -Xms1G -Xmx1G -jar /usr/local/minecraft/minecraft_server.1.12.2.jar nogui & #java -Xms1G -Xmx1G -jar /usr/local/minecraft/minecraft_server.1.8.8.jar nogui &Minecraft server 1.12.2 requires Java 8 or higher.  If you see this error: Unsupported major.minor version 52.0Then the java version on the server is too old.  The newer java needs installed along with updating some simlinks. add-apt-repository ppa:webupd8team/java apt-get update apt-get install oracle-java8-installerIf this doesnt resolve the problem then check the symlinks with the whereis java command.=== rcon with mcrcon ===choose a place to install mcrcon, which is an open source rcon client used to connect to remote minecraft server.  cd ~/username/gamesTools necessaryDownload source by clone from github git clone https://github.com/Tiiffi/mcrcon.gitCompile gcc -std=gnu11 -pedantic -Wall -Wextra -O2 -s -o mcrcon mcrcon.ctest ./mcrcon -hconnect Rcon commands with arguments must be enclosed in quotes.Example (issue a specific command to remote server): mcrcon -H my.minecraft.server -p password "say Server is restarting!" save-all stopExample (open a remote console to issue commands directly at > prompt) mircon -H my.minecraft.server -p password -t''Note that in some versions of micron the -t (for terminal) was not required.''=== Install Java RTE on Mint ===The OpenJTE seems to work well enough. OpenJDK and not Oracle (Sun) Java. sudo apt install openjdk-8-jreref: https://sites.google.com/site/easylinuxtipsproject/java#TOC-Install-JRE-64-bit-     ==== Particular player crashes server shortly after joining ====Symptoms: The specific player joins the minecraft server. The server starts throwing errors like: [00:00:09] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 25677ms behind, skipping 513 tick(s)or [00:07:15] [Server thread/WARN]: Invalid statistic in ./world/stats/217011de-e1ae-3ef0-ba2a-91e3677f1313.json: Don't know what achievement.cookFish is An incompatibility with the player profile due to corruption in the .dat file or data in the .dat file being from a different version of minecraft can cause this. Player .dat files are the player profile data including inventory, achievements, and related that are stored on the server. minecraft/world/playerdataThe .dat files look like: 217011de-e1ae-3ef0-ba3a-91e3607f1313.dat If you are able to identify which .dat file goes to the offending player, and after deleting it the server no longer crashes, thenyou have found the problem.  You might have to backup and delete all .dat files for a test run.  Matching a dat file to a player is difficult without 3rd party tools.  It can be done based on time/date or by process of elimination. == Mac / Macintosh == Where is the .minecraft folder? /Users/username/Library/Application Support/minecraftMods /Users/username/Library/Application Support/minecraft/mods /give @p planks 1 4                    give nearest player qty 1 of acacia planks /effect @p 6 1 5                      give full health to nearest player== Brief List of some Recommended Mods ==Spigot, Forge, and otherwise.  Tested.* [https://www.curseforge.com/minecraft/mc-mods/realistic-horse-genetics Realistic Horse Genetics] : Forge : [[Microsoft Ruined Minecraft Horses]] with the release of 1.13 and while looking for a mod to restore the beautiful horses of the past this particular mod was found.  It will restore the old models but it does more, it provides many colors and breeds to be more realistic.  However, it DOES NOT RESTORE the horse mouth animations of pre-1.13* https://mapcrafter.org/downloads=== Minutor ===* Cross Platform* Tested, Verified - works very well to generate world map and export PNG. Compatible with Minecraft 1.8 and multiplayer maps.* http://seancode.com/minutor/=== NBTExplorer ===Available for Windows, Linux, and Mac.  Open player .dat files to view contents, determine player name, and etc.* http://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-tools/1262665-nbtexplorer-nbt-editor-for-windows-and-mac=== uNmINeD ===Map viewer and Google Maps generator.* https://unmined.intro.hu/featuresRequires .Net== File Locations ==This is just a reference.  The following shows common file locations related to the game and server.  Configurations may vary.  use only as reference.  * C:\Documents and Settings\username\Application Data\.minecraft* C:\wa\minecraft\Mineshafter-launcher.jar* /home/nicolep/minecraft* /home/username/Desktop/Terramining_Launcher_v9.2.jar* /usr/lib/jvm/java-7-oracle/bin/java* /usr/local/minecraft/world/playerdata* /home/username/.minecraft/launcher_profiles.json== Save / Restore Player Data ==Use a UUID lookup tool, like http://minecraft-techworld.com/uuid-lookup-tool to determine the UUID of the player.  This tool works for registered online players.The UUID (Universally Unique Identifier) replaces your Minecraft username to verify your identity.I think that /home/username/.minecraft/launcher_profiles.json is the file that needs modified by injecting the UUID string to restore access to the player profile.  The player profile itself is on the server.  Here we need to point it that-a-way.Offline Mode:  Offline UUID and usernames are stored in* minecraft/usercache.jsonEach players profile is stored as a file named by the UUID with the .dat extension located in* minecraft/world/playerdataReplace "world" with the name of your world.  The playerdata files DO NOT contain the username.  If you are trying to determine which offline server player the file belongs to, knowing only the UUID, you will need to reference usercache.jsonYou can delete usercache.json without consequences to your world.If an op player gets a custom head another user created, even though the owner of the head has never joined your world an entry will be created in the usercache.json file.Usernames of a different case, such as Nicole and nicole will generate different UUID player files.  Usernames are case sensitive.=== system migration === cp -adv /home/nicolep/.minecraft /mnt/xxx cp /home/nicolep/Desktop/Terramining_Launcher_v9.2.jar /mnt/xxx== Online Resources ==* [http://www.minecraftmods.com/version/1-8/ Minecraft 1.8 Mods] These require [http://files.minecraftforge.net/ Minecraft Forge]* [http://terraminingmc.com/ TerraminingMC: Cracked Minecraft Launcher]* [http://journeymap.info/Home JourneyMap] Also requires [http://files.minecraftforge.net/ Minecraft Forge][[Category:PC Gaming]]
Administrator
652
edits