- Install Java 17
-
Ubuntu/Debian sudo apt update sudo apt install openjdk-17-jdk java --version
-
CentOS/RHEL/Fedora/Rocky sudo dnf install java-17-openjdk-devel java --version
-
MacOS (using Homebrew) brew install openjdk@17 java --version
-
CentOS/RHEL/Fedora/Rocky sudo dnf install java-17-openjdk-devel java --version
-
FreeBSD/OpenBSD (via pkg) pkg install openjdk17 java --version
- If you followed the commands above, you should see an output similar the following, after running
java --version
openjdk version "17.0.12" 2024-07-16 LTS OpenJDK Runtime Environment Microsoft-9889599 (build 17.0.12+7-LTS) OpenJDK 64-Bit Server VM Microsoft-9889599 (build 17.0.12+7-LTS, mixed mode, sharing)
-
- Create Server Directory
mkdir ~/VaultHunters-Server cd ~/VaultHunters-Server
- Download and Install Forge
- TBD
- Download Server Files
- Navigate to the Vault Hunters CurseForge page
- Go to the "Files" tab
- Find version 3.18.3
- Click on the version to view details
- In the "Additional Files" section, download the Server Pack
- Extract the server files to your server directory
- Create Start Script
- Create a file named
start.sh
in your server directory: TBD
- Create a file named
Important: Replace [version]
in the jar filename with the actual Forge version number from your downloaded files.
- Initial Server Setup
- Run the server for the first time:
./start.sh
- The server will create necessary files and then stop
- Edit
eula.txt
and changeeula=false
toeula=true
:- nano eula.txt
- Optionally, edit
server.properties
to configure server settings:- nano server.properties
- Run the server for the first time:
- Start Your Server
- Execute
./start.sh
to start your server. First startup may take several minutes as Forge loads all mods.
- Execute