Instructions how to set up a Linux server for the Minecraft modpack CABIN. The instructions were written by Google Gemini. Instructions tested on CABIN release 2.0.4. CABIN discord link in CurseForge for more info.
-
Download the Correct Minecraft Server Jar:
- Go to the official Minecraft website and download the server jar file for the exact Minecraft version that the CABIN modpack is designed for. Save it on your Linux system.
-
Download the Correct Forge Version:
- Identify the specific Forge version required by the CABIN modpack (check its CurseForge page or download source).
- Visit the official Minecraft Forge website and download the installer (
.jarfile) for the matching Minecraft and Forge versions. Save it in the same location as the server jar.
-
Install Forge on the Server:
- Open your Linux terminal.
- Create a dedicated directory for your server:
mkdir cabin_server cd cabin_server - Move the downloaded
server.jarand Forge installer.jarinto this directory:(Replacemv ~/Downloads/server.jar . mv ~/Downloads/forge-*-installer.jar .
forge-*-installer.jarwith the actual filename). - Execute the Forge installer:
(Again, use the correct filename).
java -jar forge-*-installer.jar --installServer - Once the installation is complete, you can delete the installer and the original
server.jar:rm forge-*-installer.jar server.jar
-
Prepare the Server Files:
- Run the Forge server once to generate essential configuration files:
java -jar forge-*-universal.jar nogui- Note: If your Forge version (like 43+) did not create a
forge-*-universal.jar, you can skip this step for now. Therun.shwill handle the initial setup later.
- Note: If your Forge version (like 43+) did not create a
- Open the
eula.txtfile in your server directory and agree to the EULA:Changenano eula.txt
eula=falsetoeula=true, then save and close the file.
- Run the Forge server once to generate essential configuration files:
-
Integrate the CABIN Overrides:
- Navigate to the "overrides" folder from your extracted CABIN server zip.
- Copy the contents of the "overrides" folder into your
cabin_serverdirectory:(Replacecp -r /path/to/cabin_server_zip/overrides/* .
/path/to/cabin_server_zipwith the correct path).
-
Run the Server:
- Open your Linux terminal and ensure you are in your
cabin_serverdirectory. - For older Forge versions (that created
forge-*-universal.jar):(Adjustjava -Xmx4G -Xms2G -jar forge-*-universal.jar nogui-Xmxand-Xmsfor RAM allocation as needed). - For newer Forge versions (like 43+ that created
run.sh):./run.sh
- You might want to edit the
run.shfile to adjust the-Xmxand-Xmsmemory settings. Open it with a text editor (e.g.,nano run.sh).
- You might want to edit the
- Open your Linux terminal and ensure you are in your
-
Configuration (Optional but Recommended):
- After the server runs for the first time, you can customize settings in
server.propertiesand the mod configurations within theconfigfolder.
- After the server runs for the first time, you can customize settings in
That should give you the complete and up-to-date instructions for setting up your CABIN server on Linux! Enjoy playing!