Paper: Minecraft Server

Paper is a Minecraft game server based on Spigot, designed to greatly improve performance and offer more advanced features and API.

Software Included

Package Version License
Paper 1.20.4-496 GNU General Public License

Creating an App using the Control Panel

Click the Deploy to DigitalOcean button to create a Droplet based on this 1-Click App. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.

Deploy to DO

Creating an App using the API

In addition to creating a Droplet from the Paper: Minecraft Server 1-Click App using the control panel, you can also use the DigitalOcean API. As an example, to create a 4GB Paper: Minecraft Server Droplet in the SFO2 region, you can use the following curl command. You need to either save your API access token) to an environment variable or substitute it in the command below.

curl -X POST -H 'Content-Type: application/json' \
         -H 'Authorization: Bearer '$TOKEN'' -d \
        '{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image": "sharklabs-paperminecraftse"}' \
        "https://api.digitalocean.com/v2/droplets"

Getting Started After Deploying Paper: Minecraft Server

Paper Minecraft

At least 4GB RAM and 2 Cores are needed to run a PaperMC server.

NOTE: After a droplet is created it will start world generation. This can take ~5 minutes depending on the droplet’s size. If you are getting Timed out errors, make sure to give your server a minute.

Paper does not require any special clients to play and is compatible with regular Minecraft clients, so long as the client’s version matches the server’s version.

A few minutes after droplet creation, you can access your server and play with your friends:

  1. First copy the public IPv4 address from your newly created droplet from the DigitalOcean control panel (https://cloud.digitalocean.com/projects)
  2. Start the Minecraft application on your device, click “Play”, and then “Multiplayer”
  3. Then click “Add Server”
  4. Then paste the IP address of the droplet into the Server Address field and then “Done” to save
  5. Finally, click “Join Server” and enjoy!

Configuring the Server

A server admin can configure settings, user permissions, and whitelisting by editing server files. PaperMC offers additional configuration options for fine-tuning server performance on a per-world basis. For additional information, see the PaperMC documentation.

Paper also supports plugins. For information on installing plugins, see the PaperMC documentation.

SSH into your droplet and navigate to /opt/minecraft to view server files.

Running Server Commands

To run server commands:

  1. SSH into your droplet
$ ssh root@your_droplet_public_ipv4
  1. Login to the Minecraft user
$ su - minecraft -s /bin/bash
  1. Use screen to access the server terminal and run commands
$ screen -r

To exit the screen session without ending the process, detach from it with Ctrl+a d

We recommend using a whitelist if you are playing with a group of friends. To whitelist a player:

  1. Follow the above steps to access the server terminal
  2. Turn on the whitelist, if you have not yet done this
$ whitelist on
  1. Add the player’s name to the whitelist
$ whitelist add <playername>

About Paper Minecraft Droplet 1-Click

  • The server runs Minecraft version 1.20.4.
  • Server files are installed under /opt/minecraft
  • The server runs on a systemd service. Read MOTD (message after SSHing) to find the name of the service.
  • The server uses 75% of the droplet’s RAM.
  • On shutdown, the systemd Minecraft service will save the game world.

Paper is an open-source project based on Spigot, managed by PaperMC. The source can be found here. Minecraft is a trademark of Mojang Synergies AB and Microsoft Corporation. We refer to these names for referential purposes only and not to indicate any sponsorship, endorsement, or affiliation between these companies and DigitalOcean. We offer this one-click app for your convenience, but you are solely responsible for creating, using, and maintaining your server in accordance with all applicable terms and conditions.