- Install
curl
,jq
, and Java 17 (for PaperMC 1.18 and up). - Make a new directory for your server or cd into an existing server.
wget https://raw.githubusercontent.com/evan203/papermc-script/master/start.sh && chmod +x start.sh
- Open start.sh with text editor. Set the project, version, and ram variables.
sudo wget -O /etc/systemd/system/papermc.service https://raw.githubusercontent.com/evan203/papermc-script/master/papermc.service
- Sudo open
/etc/systemd/system/papermc.service
with a text editor and change the directories to where your server is and the user to your intended user. sudo systemctl enable papermc && sudo systemctl start papermc
tmux a
to attatch to the serverctrl b
-d
to detatch (but not stop the server) from the tmux shell