Last active
October 19, 2020 23:13
-
-
Save shwang/c5cd5f0cbc874da1db478c7800e8299b to your computer and use it in GitHub Desktop.
MineRL server / Minecraft client install notes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Ubuntu install notes without IDE: | |
# Get our custom mc-unified branch. Contains Minecraft server code. | |
git clone https://github.com/HumanCompatibleAI/mc-unified | |
cd mc-unified | |
git fetch -v | |
git checkout neel/cavesexperiment | |
# Building and running the custom Minecraft server plugin. | |
sudo apt install -y maven | |
pushd mcplugin | |
mvn install | |
popd | |
# Run server in foreground. | |
# (Will occupy your shell, maybe consider running in a tmux pane.) | |
pushd mcserver | |
java -jar paperclip.jar | |
popd | |
# To connect and record trajectories, you will need a | |
# 1.12.2-compatible client. Buy Minecraft, and | |
# in the Minecraft Launcher, select and install the 1.12.2 client. | |
# Now patch your Minecraft client with trajectory-recording mod. | |
# You can save this anywhere, and can delete after successfully installing. | |
wget 'minerl.io/downloads/minerl_installer.jar' | |
java -jar minerl_installer.jar | |
# Restart the Minecraft Launcher and launch the "forge" Minecraft client. | |
# Connect to `localhost` in the Minecraft client's multiplayer mode. | |
# Now you are connected to your custom server! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment