Skip to content

Commit

Permalink
release: dripcraft 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
zkingboos committed Nov 4, 2021
0 parents commit a145650
Show file tree
Hide file tree
Showing 4 changed files with 255 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
![mc-dripcraft](https://i.imgur.com/CIMNEvO.png)


## What is DripCraft?

DripCraft is modpack made for a Youtube Series that has all the content that you need for a complete modded experience with more than 250 mods. Since adventure with The Abyss, Twilight Forest and YUNG's Better Dungeons, to magic with Botania, Conjuring and Astral Sorcery and tecnology with Mekanism and Create. Made with ❤️ by BrPacks and server made with ☕ by zkingboos.

All copyrights to [mc-dripcraft](https://www.curseforge.com/minecraft/modpacks/mc-dripcraft) and your it own creators.

171 changes: 171 additions & 0 deletions server-setup-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
# Version of the specs, only for internal usage if this format should ever change drastically
_specver: 2

# modpack related settings, changes the supposed to change the visual appearance of the launcher
modpack:
# Name of the mod pack, that is displayed in various places where it fits
name: MC-DripCraft

# Description
description: Adventure with The Abyss, Twilight Forest and YUNG's Better Dungeons, to magic with Botania, Conjuring and Astral Sorcery and tecnology with Mekanism and Create. Made with ❤️ by BrPacks. Server made with ☕ by zkingboos.



# settings regarding the installation of the modpack
install:
# version of minecraft, needs the exact version
mcVersion: 1.16.5

# exact version of forge or fabric that is supposed to be used
# if this value is a null value so ( ~, null, or "" ) then the version from the mod pack is going to be used
loaderVersion: ~

# If a custom installer is supposed to used, specify the url here: (Otherwise put "", ~ or null here)
# supports variables: {{@loaderversion@}} and {{@mcversion@}}
# For forge: "http://files.minecraftforge.net/maven/net/minecraftforge/forge/{{@mcversion@}}-{{@loaderversion@}}/forge-{{@mcversion@}}-{{@loaderversion@}}-installer.jar"
# For Fabric: "https://maven.fabricmc.net/net/fabricmc/fabric-installer/{{@loaderversion@}}/fabric-installer-{{@loaderversion@}}.jar"
installerUrl: http://files.minecraftforge.net/maven/net/minecraftforge/forge/{{@mcversion@}}-{{@loaderversion@}}/forge-{{@mcversion@}}-{{@loaderversion@}}-installer.jar

# Installer Arguments
# These Arguments have to be passed to the installer
#
# For Fabric:
# installerArguments:
# - "server"
# - "-downloadMinecraft"
#
# For Fabric if you want to use snapshot version:
# installerArguments:
# - "server"
# - "-mcversion 20w07a"
# - "-downloadMinecraft"
#
# For Forge:
# installerArguments:
# - "--installServer"
installerArguments:
- "--installServer"

# Link to where the file where the modpack can be distributed
# This supports loading from local files as well for most pack types if there is file://{PathToFile} in the beginning
modpackUrl: https://media.forgecdn.net/files/3488/599/DripCraft-1.5.zip
# This is used to specify in which format the modpack is distributed, the server launcher has to handle each individually if their format differs
# current supported formats:
# - curseforge or curse
# - curseid
# - zip or zipfile
modpackFormat: curse

# Settings which are specific to the format used, might not be needed in some casese
formatSpecific:
# optional paramenter used for curse to specify a whole project to ignore (mostly if it is client side only)
ignoreProject:
- 280294 # FPS Reducer
- 238747 # Mod Name Tip
- 492574 # My server is compatible
- 238891 # Dynamic Surroundings
- 354143 # Performant
#- 32274 # Jorneymap

# The base path where the server should be installed to, ~ for current path
baseInstallPath: ~

# a list of files which are supposed to be ignored when installing it from the client files
# this can either use regex or glob {default glob: https://docs.oracle.com/javase/8/docs/api/java/nio/file/FileSystem.html#getPathMatcher-java.lang.String-}
# specify with regex:.... or glob:.... if you want to force a matching type
ignoreFiles:
- mods/Overrides.txt
- mods/optifine*.jar
- mods/optiforge*.jar
- resources/**
- packmenu/**
- openloader/resources/**



# This makes the program check the folder for whether it is supposed to use the
checkFolder: yes

# Whether to install the Loader (Forge or Fabric) or not, should always be yes/true unless you only want to install the pack
installLoader: yes

# Sponge bootstrapper jar URL
# Only needed if you have spongefix enabled
spongeBootstrapper: https://github.com/simon816/SpongeBootstrap/releases/download/v0.7.1/SpongeBootstrap-0.7.1.jar




# settings regarding the launching of the pack
launch:
# applies the launch wrapper to fix sponge for a few mods
spongefix: no

# Use a RAMDisk for the world folder
# case-sensitive; use only lowercase `yes` or `no`
# NOTE: The server must have run once fully before switching to `yes`!
ramDisk: no

# checks with the help of a few unrelated server whether the server is online
checkOffline: no

# specifies the max amount of ram the server is supposed to launch with
maxRam: 5G

# specifies whether the server is supposed to auto restart after crash
autoRestart: yes

# after a given amount of crashes in a given time the server will stop auto restarting
crashLimit: 10

# Time a crash should be still accounted for in the {crashLimit}
# syntax is either [number]h or [number]min or [number]s
crashTimer: 60min

# Arguments that need to go before the 'java' argument, something like linux niceness
# This is only a string, not a list.
preJavaArgs: ~

# Start File Name, variables: {{@loaderversion@}} and {{@mcversion@}}
# This has to be the name the installer spits out
# For Forge 1.12-: "forge-{{@mcversion@}}-{{@loaderversion@}}-universal.jar"
# For Forge 1.13+: "forge-{{@mcversion@}}-{{@loaderversion@}}.jar"
# For Fabric: "fabric-server-launch.jar"
startFile: forge-{{@mcversion@}}-{{@loaderversion@}}.jar

# In case you have multiple javas installed you can add a absolute path to it here
# if the value is "", null, or ~ then 'java' from PATH is going to be used
# Example: "C:/Program Files/Java/jre1.8.0_201/bin/java.exe"
forcedJavaPath: ~

# Java args that are supposed to be used when the server launches
# keep in mind java args often need ' - ' in front of it to work, use clarifying parentheses to make sure it uses it correctly
# reference: https://aikar.co/2018/07/02/tuning-the-jvm-g1gc-garbage-collector-flags-for-minecraft/
# tested on Java 8 and 11
javaArgs:
- "-XX:+IgnoreUnrecognizedVMOptions"
- "--add-exports=java.base/sun.security.util=ALL-UNNAMED"
- "--add-opens=java.base/java.util.jar=ALL-UNNAMED"
- "--add-opens=java.base/java.lang=ALL-UNNAMED"
- "-XX:+UseG1GC"
- "-XX:+ParallelRefProcEnabled"
- "-XX:MaxGCPauseMillis=200"
- "-XX:+UnlockExperimentalVMOptions"
- "-XX:+DisableExplicitGC"
- "-XX:+AlwaysPreTouch"
- "-XX:G1NewSizePercent=30"
- "-XX:G1MaxNewSizePercent=40"
- "-XX:G1HeapRegionSize=8M"
- "-XX:G1ReservePercent=20"
- "-XX:G1HeapWastePercent=5"
- "-XX:G1MixedGCCountTarget=4"
- "-XX:InitiatingHeapOccupancyPercent=15"
- "-XX:G1MixedGCLiveThresholdPercent=90"
- "-XX:G1RSetUpdatingPauseTimePercent=5"
- "-XX:SurvivorRatio=32"
- "-XX:+PerfDisableSharedMem"
- "-XX:MaxTenuringThreshold=1"
- "-Dusing.aikars.flags=https://mcflags.emc.gs"
- "-Daikars.new.flags=true"
- "-Dfml.readTimeout=90" # servertimeout
- "-Dfml.queryResult=confirm" # auto /fmlconfirm
50 changes: 50 additions & 0 deletions startserver.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
@ECHO OFF
SETLOCAL


:BEGIN
CLS
COLOR 3F >nul 2>&1
SET MC_SYS32=%SYSTEMROOT%\SYSTEM32
REM Make batch directory the same as the directory it's being called from
REM For example, if "run as admin" the batch starting dir could be system32
CD "%~dp0" >nul 2>&1


:CHECKJAVA
ECHO INFO: Checking java installation...
ECHO.

REM If no Java is installed this line will catch it simply
java -version >nul 2>&1
ECHO.
IF %ERRORLEVEL% EQU 0 (
ECHO INFO: Found Java.
GOTO CHECK
) ELSE (
GOTO JAVAERROR
)

:MAIN
java -jar serverstarter-2.0.1.jar
GOTO EOF

:CHECK
REM Check if serverstarter JAR is already downloaded
IF NOT EXIST "%cd%\serverstarter-2.0.1.jar" (
ECHO serverstarter binary not found, downloading serverstarter...
%SYSTEMROOT%\SYSTEM32\bitsadmin.exe /rawreturn /nowrap /transfer starter /dynamic /download /priority foreground https://github.com/AllTheMods/alltheservers/releases/download/2.0.1/serverstarter-2.0.1.jar "%cd%\serverstarter-2.0.1.jar"
GOTO MAIN
) ELSE (
GOTO MAIN
)


:JAVAERROR
COLOR CF
ECHO ERROR: Could not find Java installed or in PATH
PAUSE


:EOF
pause
25 changes: 25 additions & 0 deletions startserver.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash
set -euo pipefail

# check for serverstarter jar
if [[ -f serverstarter-2.0.1.jar ]]; then
echo "Skipping download. Using existing serverstarter-2.0.1.jar"
java -jar serverstarter-2.0.1.jar
exit 0
else
# download missing serverstarter jar
URL="https://github.com/AllTheMods/alltheservers/releases/download/2.0.1/serverstarter-2.0.1.jar"

if command -v wget &> /dev/null; then
echo "DEBUG: (wget) Downloading ${URL}"
wget -O serverstarter-2.0.1.jar "${URL}"
elif command -v curl &> /dev/null; then
echo "DEBUG: (curl) Downloading ${URL}"
curl -L -o serverstarter-2.0.1.jar "${URL}"
else
echo "Neither wget or curl were found on your system. Please install one and try again"
exit 1
fi
fi

java -jar serverstarter-2.0.1.jar

0 comments on commit a145650

Please sign in to comment.