Last active
May 29, 2020 19:41
-
-
Save rtm516/e3e07d6595ee41e05a38b03c0f4d7a80 to your computer and use it in GitHub Desktop.
GeyserMC Setup
This file contains hidden or 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
| pkg install -y proot wget | |
| mkdir ~/ubuntu_directory | |
| cd ~/ubuntu_directory | |
| wget https://raw.githubusercontent.com/Neo-Oli/termux-ubuntu/master/ubuntu.sh | |
| sed -i 's/disco/focal/g' ubuntu.sh | |
| bash ubuntu.sh | |
| sed -i 's/#command+=" -b \/data/command+=" -b \/data/g' start-ubuntu.sh | |
| #termux-setup-storage | |
| #mkdir ~/storage/shared/Geyser/ | |
| #ln -s ~/storage/shared/Geyser/ ~/Geyser | |
| mkdir ~/Geyser/ | |
| cd ~/Geyser/ | |
| wget https://ci.nukkitx.com/job/GeyserMC/job/Geyser/job/master/lastSuccessfulBuild/artifact/bootstrap/standalone/target/Geyser.jar | |
| cd ~ | |
| cat >.profile <<EOM | |
| apt update | |
| apt install -y default-jre | |
| echo | |
| echo Geyser has been installed! | |
| #echo You can access the config file using your phones file manager, there should be a folder called 'Geyser'. | |
| echo You can now start Geyser at any time using | |
| echo ./ubuntu_directory/start-ubuntu.sh | |
| echo cd Geyser | |
| echo java -jar Geyser.jar | |
| rm -rf .profile | |
| exit | |
| EOM | |
| ./ubuntu_directory/start-ubuntu.sh |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run
curl https://gist.githubusercontent.com/rtm516/e3e07d6595ee41e05a38b03c0f4d7a80/raw/install.sh | bashin Termux to start the install/setup