forked from BloodyMods/ServerStarter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
server-setup-config.yaml
129 lines (99 loc) · 4.91 KB
/
server-setup-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# Version of the specs, only for internal usage if this format should ever change
_specver: 1
# 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: Example Modpack
# Description
description: This is a awesome modpack about making examples.
# settings regarding the installation of the modpack
install:
# version of minecraft, needs the exact version
mcVersion: 1.12.2
# exact version of forge 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
forgeVersion: 14.23.3.2682
# If a custom installer is supposed to used, specify the url here: (Otherwise put "", ~ or null here)
forgeInstallerUrl: ~
# 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://minecraft.curseforge.com/projects/all-the-mods-3/files/2581310
# 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: curseforge
# 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:
- 60089
# The base path where the server should be installed to, ~ for current path
baseInstallPath: setup/
# 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/optifine*.jar
- resources/**
# often a server needs more files, which are nearly useless on the client, such as tickprofiler
# This is a list of files, each ' - ' is a new file:
# url is the directlink to the file, destination is the path to where the file should be copied to
additionalFiles:
- url: https://minecraft.curseforge.com/projects/tickprofiler/files/2536494/download
destination: mods/TickProfiler-1.12-0.0.4.jar
- url: https://minecraft.curseforge.com/projects/blooddebug/files/2514858/download
destination: mods/BloodDebug-1.12.2-0.0.1-9.jar
# For often there are config which the user wants to change, here is the place to put the local path to configs, jars or whatever
localFiles:
- from: test/All+the+Mods+3-v5.9.5.zip
to: setup/test/All+the+Mods+3-v5.9.5.zip
# This makes the program check the folder for whether it is supposed to use the
checkFolder: yes
# Whether to install Forge or not, should always be yes/true unless you only want to install the pack
installForge: yes
# Sponge bootstrapper jar URL
# Only needed if you have spongefix enabled
spongeBootstrapper: https://github.com/simon816/SpongeBootstrap/releases/download/v0.6.2/SpongeBootstrap-0.6.2.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: yes
# 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: ~
# 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
javaArgs:
- "-d64"
- "-server"
- "-XX:+AggressiveOpts"
- "-XX:ParallelGCThreads=3"
- "-XX:+UseConcMarkSweepGC"
- "-XX:+UnlockExperimentalVMOptions"
- "-XX:+UseParNewGC"
- "-XX:+ExplicitGCInvokesConcurrent"
- "-XX:MaxGCPauseMillis=10"
- "-XX:GCPauseIntervalMillis=50"
- "-XX:+UseFastAccessorMethods"
- "-XX:+OptimizeStringConcat"
- "-XX:NewSize=84m"
- "-XX:+UseAdaptiveGCBoundary"
- "-XX:NewRatio=3"
- "-Dfml.readTimeout=90"