-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
#!/bin/bash DO_RAMDISK=0 if [[ $(cat server-setup-config.yaml | grep 'ramDisk:' | awk 'BEGIN {FS=":"}{pri nt $2}') =~ "yes" ]]; then SAVE_DIR=$(cat server.properties | grep 'level-name' | awk 'BEGIN {FS="="}{p rint $2}') mv "$SAVE_DIR" "${SAVE_DIR}_backup" mkdir "$SAVE_DIR" sudo mount -t tmpfs -o size=2G tmpfs "$SAVE_DIR" DO_RAMDISK=1 fi if [ -f serverstarter-2.2.0.jar ]; then echo "Skipping download. Using existing serverstarter-2.2.0.jar" java -jar serverstarter-2.2.0.jar if [[ $DO_RAMDISK -eq 1 ]]; then sudo umount "$SAVE_DIR" rm -rf "$SAVE_DIR" mv "${SAVE_DIR}_backup" "$SAVE_DIR" fi exit 0 else export URL="https://github.com/EnigmaticaModpacks/ServerStarter/releases/dow nload/v2.2.0/serverstarter-2.2.0.jar" fi echo $URL if command -v wget >>/dev/null; then echo "DEBUG: (wget) Downloading ${URL}" wget -O serverstarter-2.2.0.jar "${URL}" else if command -v curl >>/dev/null; then echo "DEBUG: (curl) Downloading ${URL}" curl -L -o serverstarter-2.2.0.jar "${URL}" else echo "Neither wget or curl were found on your system. Please install one and try again" fi fi java -jar serverstarter-2.2.0.jar if [[ $DO_RAMDISK -eq 1 ]]; then sudo umount "$SAVE_DIR" rm -rf "$SAVE_DIR" mv "${SAVE_DIR}_backup" "$SAVE_DIR"
Here you have the default file, with description for every parameter: https://github.com/BloodyMods/ServerStarter/blob/master/server-setup-config.yaml
Related posts
-
Color, milk, cogs, and the modpack that's all about automation. Presenting the first chapter of Create: Prepare to Dye!
-
What's a good modpack for someone who has never dabbled in mods before?
-
Any good (1.16+) modpacks?
-
Hexxit Updated was Outdated - Modpack Elimination Game Round 20
-
Enigmatica 6 (normal) & Enigmatica 2 (Expert) Servers