Now that you've read about the project, it's time to set up a server to play with your friends! We'll walk through the "traditional" way of running a PGM server, similar to how you would run a Bukkit server. If you want to learn more about running servers, please see some additional documentation here.
- Select the folder where you want to store your server files.
cd /path/to/folder
- Download the latest version of SportPaper, a fork of the Minecraft 1.8 server.
curl https://pkg.ashcon.app/sportpaper -Lo sportpaper.jar
curl https://pkg.ashcon.app/sportpaper-config -Lo sportpaper.yml
- Create a plugins folder and download the latest version of PGM.
mkdir plugins
curl https://pkg.ashcon.app/pgm -Lo plugins/pgm.jar
- Run the server and enjoy playing PvP games with your friends!
java -jar sportpaper.jar nogui
You can also run an "out-of-the-box" PGM server as a container. This is a more advanced method of running a server and is only recommended if you have some basic knowledge about Docker.
- Pull the latest version of the PGM server.
docker pull electroid/pgm:latest # Gets the latest version
docker pull electroid/pgm:2019-10-25 # Gets the version on a specific date
- Run a PGM server with
1 GB
of RAM and2
CPUs. Read here for more detailed documentation.
docker run \
-dit \
-p 25565:25565 \
--restart=unless-stopped \
--memory-swappiness=100 \
--memory=1G \
--cpus=2 \
--name=myserver \
electroid/pgm:latest
- You can also run other
docker
commands to interact with the PGM server.
docker ps # List all servers
docker logs -f myserver # Tails the logs from the server
docker attach myserver # Access and run commands on the server
docker stop myserver # Stops the server, will not restart
docker start myserver # Starts a server, if stopped
docker restart myserver # Restarts the server
docker rm -f myserver # Stops and delete the server