You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 7, 2025. It is now read-only.
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
8
+
#
9
+
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
10
+
#
11
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
12
+
13
+
14
+
# Version of the specs, only for internal usage if this format should ever change drastically
15
+
_specver: 2
16
+
17
+
# modpack related settings, changes the supposed to change the visual appearance of the launcher
18
+
modpack:
19
+
# Name of the mod pack, that is displayed in various places where it fits
20
+
name: CraftBlock
21
+
22
+
# Description
23
+
description: CraftBlock stands for Craft Attack 3 Skyblock and is an expert skyblock modpack like FTB Infinity Evolved Skyblock.
24
+
25
+
26
+
# settings regarding the installation of the modpack
27
+
install:
28
+
# version of minecraft, needs the exact version
29
+
mcVersion: 1.12.2
30
+
31
+
# exact version of forge or fabric that is supposed to be used
32
+
# if this value is a null value so ( ~, null, or "" ) then the version from the mod pack is going to be used
33
+
loaderVersion: ~
34
+
35
+
# If a custom installer is supposed to used, specify the url here: (Otherwise put "", ~ or null here)
36
+
# supports variables: {{@loaderversion@}} and {{@mcversion@}}
37
+
# For forge: "http://files.minecraftforge.net/maven/net/minecraftforge/forge/{{@mcversion@}}-{{@loaderversion@}}/forge-{{@mcversion@}}-{{@loaderversion@}}-installer.jar"
38
+
# For Fabric: "https://maven.fabricmc.net/net/fabricmc/fabric-installer/{{@loaderversion@}}/fabric-installer-{{@loaderversion@}}.jar"
# These Arguments have to be passed to the installer
43
+
#
44
+
# For Fabric:
45
+
# installerArguments:
46
+
# - "server"
47
+
# - "-downloadMinecraft"
48
+
# - "-snapshot"
49
+
# - "-mcversion"
50
+
# - "1.16.4"
51
+
# - "-loader"
52
+
# - "0.10.6+build.214"
53
+
#
54
+
# For Forge:
55
+
# installerArguments:
56
+
# - "--installServer"
57
+
installerArguments:
58
+
- "--installServer"
59
+
60
+
# Link to where the file where the modpack can be distributed
61
+
# This supports loading from local files as well for most pack types if there is file://{PathToFile} in the beginning
62
+
modpackUrl: modpackplaceholderurl
63
+
64
+
# This is used to specify in which format the modpack is distributed, the server launcher has to handle each individually if their format differs
65
+
# current supported formats:
66
+
# - curseforge or curse
67
+
# - curseid
68
+
# - zip or zipfile
69
+
modpackFormat: curse
70
+
71
+
# Settings which are specific to the format used, might not be needed in some casese
72
+
formatSpecific:
73
+
# optional paramenter used for curse to specify a whole project to ignore (mostly if it is client side only)
74
+
ignoreProject:
75
+
- 243478# More Overlays
76
+
- 250398# Controlling
77
+
- 268324# Blur
78
+
- 333760# Splash Logo Color Fix
79
+
- 237701# ReAuth
80
+
- 231275# Ding
81
+
- 226447# Resource Loader
82
+
- 60089# Mouse Tweaks
83
+
- 240630# Just Enough Resources (JER)
84
+
- 267939# Just Enough HarvestCraft (JEHC)
85
+
- 244019# Lockdown
86
+
87
+
# The base path where the server should be installed to, ~ for current path
88
+
baseInstallPath: ~
89
+
90
+
# a list of files which are supposed to be ignored when installing it from the client files
91
+
# 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-}
92
+
# specify with regex:.... or glob:.... if you want to force a matching type
93
+
ignoreFiles:
94
+
- resources/**
95
+
96
+
# often a server needs more files, which are nearly useless on the client, such as tickprofiler
97
+
# This is a list of files, each ' - ' is a new file:
98
+
# url is the directlink to the file, destination is the path to where the file should be copied to
REM Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
8
+
REM
9
+
REM The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
10
+
REM
11
+
REM THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
12
+
@ECHOOFF
13
+
SETLOCAL
14
+
15
+
16
+
:BEGIN
17
+
CLS
18
+
COLOR 3F >nul2>&1
19
+
SETMC_SYS32=%SYSTEMROOT%\SYSTEM32
20
+
REM Make batch directory the same as the directory it's being called from
21
+
REM For example, if "run as admin" the batch starting dir could be system32
22
+
CD"%~dp0">nul2>&1
23
+
24
+
25
+
:CHECKJAVA
26
+
ECHO INFO: Checking java installation...
27
+
ECHO.
28
+
29
+
REM If no Java is installed this line will catch it simply
30
+
java -version >nul2>&1
31
+
ECHO.
32
+
IF%ERRORLEVEL%EQU0 (
33
+
ECHO INFO: Found Java.
34
+
GOTO CHECK
35
+
) ELSE (
36
+
GOTO JAVAERROR
37
+
)
38
+
39
+
:MAIN
40
+
java -jar serverstarter-2.0.1.jar
41
+
GOTO EOF
42
+
43
+
:CHECK
44
+
REM Check if serverstarter JAR is already downloaded
45
+
IFNOTEXIST"%cd%\serverstarter-2.0.1.jar" (
46
+
ECHO serverstarter binary not found, downloading serverstarter...
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
10
+
#
11
+
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
12
+
#
13
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
14
+
set -euo pipefail
15
+
16
+
# check for serverstarter jar
17
+
if [[ -f serverstarter-2.0.1.jar ]];then
18
+
echo"Skipping download. Using existing serverstarter-2.0.1.jar"
0 commit comments