- Регистрация
- 1 Мар 2015
- Сообщения
- 1,481
- Баллы
- 155
Overview
1. Create a VM Instance (or skip this and get a Linux Machine up)
update packages
sudo apt update && sudo apt upgrade -y
sudo apt install openjdk-17-jre-headless -y
downloading minecraft server, here paper for performance
mkdir minecraft && cd minecraft
curl -o paper.jar
java -Xms1G -Xmx2G -jar paper.jar
Optional : Enable Cracked Clients
edit server properties:
nano server.properties
online-mode=false
save with CTRL + X => Y => Enter
Re-Run the Server (Mandatory)
java -Xms1G -Xmx2G -jar paper.jar nogui
4. Expose the Port for Connections
sudo ufw allo 25565
note : if you are using a VM, you may need to configure the firewall/VPC to allow the traffic from the set port
5. Run it in Background
using screen
sudo apt install screen -y
screen -S mc
java -Xms1G -Xmx2G -jar paper.jar nogui
- Type : Vanilla/Spigot/Paper server (supports cracked with settings)
- Goal : Minimal setup to play with friends (cracked clients allowed)
- Instance Type : Any Linux Machine or a VM, 1-2 vCPUs & 8GB Ram would be enough for 5-10 people
1. Create a VM Instance (or skip this and get a Linux Machine up)
- personally using ubuntu
- allow http & https traffic
- connect via ssh
update packages
sudo apt update && sudo apt upgrade -y
sudo apt install openjdk-17-jre-headless -y
downloading minecraft server, here paper for performance
mkdir minecraft && cd minecraft
curl -o paper.jar
3. Getting the server runningReplace version/build with latest from
java -Xms1G -Xmx2G -jar paper.jar
echo "eula=true" > eula.txtIt will fail first time, asking you to accept EULA
Accept EULA
Optional : Enable Cracked Clients
edit server properties:
nano server.properties
setyou may need to install nano using sudo apt install bash or you may use vim as per the convenience
online-mode=false
save with CTRL + X => Y => Enter
Re-Run the Server (Mandatory)
java -Xms1G -Xmx2G -jar paper.jar nogui
4. Expose the Port for Connections
sudo ufw allo 25565
note : if you are using a VM, you may need to configure the firewall/VPC to allow the traffic from the set port
5. Run it in Background
using screen
sudo apt install screen -y
screen -S mc
java -Xms1G -Xmx2G -jar paper.jar nogui