player:tutorials:install_server
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
player:tutorials:install_server [2021/02/13 00:30] – Created ramidzkh | player:tutorials:install_server [2024/09/28 10:44] (current) – Formatting fix poopooracoocoo | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== Requirements ===== | ===== Requirements ===== | ||
- | You will require a version of Java of minimum | + | * For Minecraft 1.16.5 or older, the required |
+ | * For Minecraft 1.17.2, the required version | ||
+ | * For Minecraft 1.18.2 to 1.20.4, the required | ||
+ | * For Minecraft 1.20.5 or newer, the required version of Java is 21 | ||
You will also need a way to download files to the server. This can be done using a file transfer, [[https:// | You will also need a way to download files to the server. This can be done using a file transfer, [[https:// | ||
Line 11: | Line 14: | ||
==== Installing dependencies ==== | ==== Installing dependencies ==== | ||
- | ^Name^Notes | + | ^Name^Notes |
- | |Java|Required|'' | + | |Java|Required|'' |
- | |Curl|Optional|'' | + | |Curl|Required|'' |
- | |Wget|Optional|'' | + | |
===== Instructions ===== | ===== Instructions ===== | ||
- Create and enter a directory to put the server in | - Create and enter a directory to put the server in | ||
- | - Transfer the latest version of the Fabric Installer | + | - Visit [[https:// |
- | * Curl: Find the download url of the installer jar from [[https:// | + | - Use one of the following methods to download the minecraft |
- | * Wget: Find the download url of the installer jar from [[https:// | + | * Curl: Copy the curl command |
- | * File transfer: Download the installer | + | * File transfer: Download the server |
- | - Run the installer. '' | + | - To launch the server, run the command as shown on the web page. |
- | - There should be a '' | + | |
- | - To launch the server, run '' | + | |
- | ===== Notes ===== | ||
- | |||
- | If you are required to name the main jar '' | ||
- | |||
- | If you are unable to run any commands on the server, you can perform all these steps on your own computer and transfer both files in your server directory | ||
- | |||
- | ===== Debian example ===== | ||
- | |||
- | <code bash> | ||
- | # Download dependencies | ||
- | sudo apt install openjdk-8-jre curl | ||
- | |||
- | # Create the server folder and enter it | ||
- | mkdir fabric | ||
- | cd fabric | ||
- | |||
- | # Download the installer | ||
- | curl -o installer.jar https:// | ||
- | |||
- | # Run the installer | ||
- | java -jar installer.jar server -mcversion 1.16.5 -downloadMinecraft | ||
- | |||
- | # Delete installer file | ||
- | rm installer.jar | ||
- | |||
- | # Rename jars | ||
- | mv server.jar vanilla.jar | ||
- | mv fabric-server-launch.jar server.jar | ||
- | echo " | ||
- | |||
- | # Start the server | ||
- | java -jar server.jar | ||
- | </ |
player/tutorials/install_server.1613176245.txt.gz · Last modified: 2021/02/13 00:30 by ramidzkh