Update 'Server Setup'

master
copygirl 2 years ago
parent 6687ee4d5b
commit a8ad9be815
  1. 21
      Server-Setup.md

@ -0,0 +1,21 @@
Grab the latest [packwiz bootstrapper](https://github.com/packwiz/packwiz-installer-bootstrap/releases) and [Forge installer](https://files.minecraftforge.net/net/minecraftforge/forge/index_1.18.2.html) - the recommended version can be found in our [`pack.toml`](../src/branch/main/pack.toml). The entire installation process on the server side will look a little something like the following, assuming you have Java 17 ready and set up as the default. Otherwise just point any of the `java` commands to the correct executable.
```sh
# Download the required bootstrapper and installer.
# Adjust if necessary, such as if a new version is available or required.
wget https://github.com/packwiz/packwiz-installer-bootstrap/releases/download/v0.0.3/packwiz-installer-bootstrap.jar
wget https://maven.minecraftforge.net/net/minecraftforge/forge/1.18.2-40.1.68/forge-1.18.2-40.1.68-installer.jar
# Download modpack files. Also run this to update.
java -jar packwiz-installer-bootstrap.jar -g -s server https://meowface.org/copygirl/heck/pack.toml
# Changes made to files in `defaultconfigs` during updates are not applied to existing worlds.
# Therefore it is advised to copy them over by running the following command.
cp defaultconfigs/* $WORLD_LOCATION/serverconfig/
# Download Minecraft and Forge files.
java -jar forge-1.18.2-40.1.68-installer.jar --installServer
# Now do the usual, accept the EULA, edit your server
# properties, run your startup script as you're used to.
java -jar -Xmx6G -Xms6G forge-1.18.2-40.1.68.jar nogui
```
Loading…
Cancel
Save