Getting Started - LucFr1746/Minecraft-Coding GitHub Wiki
TIP
With the release of Minecraft 1.18, Paper now requires Java 17 to run. If you don't already have Java 17, it's easy to download and install.
| Paper Version | Recommended Java Version |
|---|---|
| 1.8 to 1.11 | Java 8 |
| 1.12 to 1.16.4 | Java 11 |
| 1.16.5 | Java 16 |
| 1.17.1-1.18.1+ | Java 17 |
Migrating from Vanilla is easy, but there are some differences, namely in world saves. Paper (and CraftBukkit and Spigot) separate out each dimension of a world (nether, the end, etc.) into separate world folders.
Paper will handle this conversion for you automatically. No additional consideration is required.
Paper is a drop-in replacement for both CraftBukkit and Spigot, you don't need to make any changes.
Paper provides runnable server jars directly from our website's downloads page.
Click on the build number to download a file.
To run the server, simply start it up like any other Java application.
Open your terminal, navigate to the saved location, and then run java -Xms2G -Xmx2G -jar paper.jar --nogui. Ensure you replace paper.jar with the name of the jar you have downloaded.
The amount of RAM can be set by changing the numbers in the -Xms and -Xmx arguments. --nogui disables Vanilla's GUI, so you don't get double interfaces when using the command line.
For more advanced Java tuning, see Aikar's Flags.
To configure your server, see the Global Configuration and Per World Configuration pages.
Example
@echo off
java -Xms1G -Xmx1G -jar paper.jar -nogui
pause
Updating Paper is simple! See our Update Tutorial for more information.
- Download Java 17 from this and install it.
- Download paper.jar from this by clicking on
#383button, the blue button belowActive development for Minecraft 1.19.3, then you will get a jar similar to thispaper-1.19.3-383, then rename that file topaperand put it into a new empty folder. - At that new folder, create a text file
.txtand paste this code into it.
@echo off
java -Xms1G -Xmx1G -jar paper.jar -nogui
pause
- Choose File ➜ Save as ➜ name that to
Run.batand asSave as typechoose all files ➜ ClickSaveorenter. - Click the file named
Run.batthen wait until an acceptEulapop up. - Press any button and go to
eulafile, changeeula=falsetoeula=true. - Open
server.properties, changeonline-modetofalsethen save and close it. - Run your server by clicking the file named
Run.bat. - Open Minecraft and choose
1.19.3orlastest releaseand clickPLAY. - When you are on the Minecraft screen, click
MultiplayerorChơi mạng. - Click to
Add serverorThêm máy chủ. - Type
localhostand clickDoneorĐã xong. - Join that server and you are good to go.