How to set up a Minecraft Paper server?

To install Paper, first determine the Java version that the target Minecraft version requires. Running the server in a separate directory makes it easier to manage files and backups.

Step by step

  1. Get the server jar file for the target version from the official Paper download page. Check which Java the terminal is actually running with java -version.

  2. Put the jar file in the empty directory with the name paper.jar. Example startup command java -Xms1G -Xmx3G -jar paper.jar --nogui. Edit memory values ​​according to machine capacity.

  3. Read the conditions in the eula.txt file created on first run. If you agree, make eula=true and restart the server. Wait until the console finishes booting.

  4. Enter with localhost from the same machine. Then set the whitelist and open the game port for external players only if necessary.

Keep in mind

Make sure clean install is turned on before moving your production world or plugins.

Source and tools