A bunch of simple scripts for initializing a Minecraft Java server in Termux (Paper, 1.21.11)
Run this to install the server:
curl -fsSL https://raw.githubusercontent.com/portanz/paper-initialization/refs/heads/main/init.sh | bash After running the command, you may want to kill the java process and start the server again (refer to the scripts below) if you are unable to access the server console
All other scripts are installed when init.sh is ran.
- start.sh - start the server.
- killserver.sh - kill all java processes (ending a session in Termux leaves Java processes hanging, which breaks start.sh afterwards)
The server runs on the local IP of your device and uses 25565 as the port.
All scripts are stored in the MinecraftServer folder in your home directory.
After ending the Termux session that had the server running, run killserver.sh!!!