Getting Started - LucFr1746/Minecraft-Coding GitHub Wiki

Requirements

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 to Paper

From Vanilla

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.

From Craftbukkit or Spigot

Paper is a drop-in replacement for both CraftBukkit and Spigot, you don't need to make any changes.

Downloading Paper

Paper provides runnable server jars directly from our website's downloads page.

Click on the build number to download a file.

Running The Server

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 The Server

Updating Paper is simple! See our Update Tutorial for more information.

Full tutorial 1.19.3

  1. Download Java 17 from this and install it.
  2. Download paper.jar from this by clicking on #383 button, the blue button below Active development for Minecraft 1.19.3, then you will get a jar similar to this paper-1.19.3-383, then rename that file to paper and put it into a new empty folder.
  3. 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
  1. Choose File ➜ Save as ➜ name that to Run.bat and as Save as type choose all files ➜ Click Save or enter.
  2. Click the file named Run.bat then wait until an accept Eula pop up.
  3. Press any button and go to eula file, change eula=false to eula=true.
  4. Open server.properties, change online-mode to false then save and close it.
  5. Run your server by clicking the file named Run.bat.
  6. Open Minecraft and choose 1.19.3 or lastest release and click PLAY.
  7. When you are on the Minecraft screen, click Multiplayer or Chơi mạng.
  8. Click to Add server or Thêm máy chủ.
  9. Type localhost and click Done or Đã xong.
  10. Join that server and you are good to go.
⚠️ **GitHub.com Fallback** ⚠️