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
#383
button, 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 topaper
and put it into a new empty folder. - At that new folder, create a text file
.txt
and paste this code into it.
@echo off
java -Xms1G -Xmx1G -jar paper.jar -nogui
pause
- Choose File ➜ Save as ➜ name that to
Run.bat
and asSave as type
choose all files ➜ ClickSave
orenter
. - Click the file named
Run.bat
then wait until an acceptEula
pop up. - Press any button and go to
eula
file, changeeula=false
toeula=true
. - Open
server.properties
, changeonline-mode
tofalse
then save and close it. - Run your server by clicking the file named
Run.bat
. - Open Minecraft and choose
1.19.3
orlastest release
and clickPLAY
. - When you are on the Minecraft screen, click
Multiplayer
orChơi mạng
. - Click to
Add server
orThêm máy chủ
. - Type
localhost
and clickDone
orĐã xong
. - Join that server and you are good to go.