====== Minecraft ======
[[minecraft_commands|Useful Minecraft Commands]] | [[https://wolfotopia.de/mc/|Wolfotopia Map]]
===== Resources =====
* [[http://mineatlas.com/?levelName=Wolfotopia&seed=4020737962532998296|MineAtlas with Wolfotopia seed]]
* [[https://papermc.io/downloads|Paper Downloads]]
* [[https://www.spigotmc.org/resources/dynmap.274/history|Dynmap Version History]]
* [[https://minecraft.gamepedia.com/Version_history|Minecraft Version History (Gamepedia)]]
* [[https://www.reddit.com/r/feedthebeast/comments/9739w9/best_java_arguments_for_modded_mc/|Reddit - Discussion of Best java arguments for modded MC]]
* [[https://aikar.co/2018/07/02/tuning-the-jvm-g1gc-garbage-collector-flags-for-minecraft/|Tuning the JVM – G1GC Garbage Collector Flags for Minecraft]]
===== Tools =====
* [[http://www.realtimerendering.com/erich/minecraft/public/mineways/|Mineways]] - Export 3D Models from Minecraft Saves for printing or rendering
* [[https://github.com/Querz/mcaselector|mcaselector]] - A tool to select chunks from Minecraft worlds for deletion or export.
===== System-level commands =====
=== Invocation of paper ===
''java -Xms3584M -Xmx3584M -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:G1MixedGCLiveThresholdPercent=35 -XX:+AlwaysPreTouch -XX:+ParallelRefProcEnabled -Dusing.aikars.flags=mcflags.emc.gs -jar build/paper-88.jar nogui;push Minecraft "Server process stopped"''
=== Downloading a new build of Paper ===
''for i in 88;curl -o /mnt/minsunluks/mc/build/paper-$i.jar https://papermc.io/api/v1/paper/1.15.2/$i/download''
=== Backup script (as of 2020-02-01) ===
#!/bin/bash
MC_DATUM=$(date '+%Y%m%d')
MC_WORLD=Wolfotopia
if [ $HOST=minsun ]
then
MC_KNOWNHOST=1
MC_FOLDER=/home/wolfo/mc
MC_TEMP=/backup/tmp
MC_BACKUP=/backup
elif [ $HOST=clyde ]
then
MC_KNOWNHOST=1
MC_FOLDER=/home/wolfo/mc
MC_TEMP=/mnt/backup/tmp
MC_BACKUP=/mnt/backup
elif [ $HOST=neptun ]
then
MC_KNOWNHOST=1
MC_FOLDER=/ext/minecraft
MC_TEMP=/ext/tmp
MC_BACKUP=/ext/backup
else
MC_KNOWNHOST=0
fi
if [ $KNOWNHOST=1 ]
then
if [[ -e ${MC_BACKUP}/${MC_WORLD}.${MC_DATUM}.tar.7z ]]
then
MC_SEP="."
i=1
while [[ -e ${MC_BACKUP}/${MC_WORLD}.${MC_DATUM}-${i}.tar.7z ]]
do
let i++
done
fi
tar cf - ${MC_FOLDER}/${MC_WORLD} ${MC_FOLDER}/${MC_WORLD}_nether ${MC_FOLDER}/${MC_WORLD}_the_end | 7za a -si -mx=9 ${MC_BACKUP}/${MC_WORLD}.${MC_DATUM}${MC_SEP}${i}.tar.7z
else
echo "This backup script hasn't been verified for this host yet."
echo "You should edit it and set the environment variables as appropriate."
fi
=== Generate chunks with Chunky ===
chunky center -700 -2300
chunky shape circle
chunky radius 6500
chunky start