-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
settings.ps1
191 lines (143 loc) · 6.62 KB
/
settings.ps1
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
# Settings for the ModpackUploader
# For details/help see: https://github.com/NillerMedDild/ModpackUploader
# The path to the main modpack folder. (the same folder as the mods folder is in)
# Running the modpack uploader from the main modpack folder: ("$PSScriptRoot" | Resolve-Path)
# Running the modpacker uploader from a subfolder: ("$PSScriptRoot/.." | Resolve-Path)
$INSTANCE_ROOT = ("$PSScriptRoot" | Resolve-Path)
# =====================================================================//
# CURSEFORGE ACCOUNT SETTINGS
# =====================================================================//
$CURSEFORGE_USER = "MyCurseForgeUsername"
# For details see: https://www.curseforge.com/account/api-tokens
# Defined in secrets.ps1
# $CURSEFORGE_TOKEN =
# ProjectID can be found on the modpack's Curseforge Projects page, under "About This Project"
$CURSEFORGE_PROJECT_ID = 123456
# =====================================================================//
# MAIN MODPACK SETTINGS
# =====================================================================//
# This is the modpack name as seen in it's CurseForge url: https://www.curseforge.com/minecraft/modpacks/[enigmatica6]
$MODPACK_NAME = "MyModpack"
# Name of the Modpack in the ZIP File
$CLIENT_NAME = "MyModpack"
# Version Of The Modpack
$MODPACK_VERSION = "1.0.1"
# Last Version Of The Modpack
# Needed For Changelog Parsing
# Should be "$null" if this is the first release
$LAST_MODPACK_VERSION = "1.0.0"
# Which modloader the modpack uses
# Can be "forge" or "fabric"
# default: "forge"
$MODLOADER = "forge"
# =====================================================================//
# CHANGELOG SETTINGS
# =====================================================================//
# Changelog Type
# Can be "markdown", "text" or "html"
$CLIENT_CHANGELOG_TYPE = "markdown"
# Changelog
# Must be a single string.
$CLIENT_CHANGELOG = "The Changelog is currently being written."
# =====================================================================//
# CURSEFORGE PROJECT SETTINGS
# =====================================================================//
# Modpack's Minecraft Version
# @(6756) - is Minecraft 1.12.2
# @(8203) - is Minecraft 1.16.5
# More can be found by running GetGameVersions
$GAME_VERSIONS = @(8203)
# Can be "alpha", "beta" or "release"
$CLIENT_RELEASE_TYPE = "beta"
#=====================================================================//
# DEPENDENCIES
#=====================================================================//
# File name of the latest https://github.com/ModdingX/ModListCreator/releases
$CHANGELOG_GENERATOR_JAR = "ModListCreator-4.0.3-fatjar.jar"
# File name of the latest https://github.com/ModdingX/ModListCreator/releases
$MODLIST_CREATOR_JAR = "ModListCreator-4.0.3-fatjar.jar"
#=====================================================================//
# CLIENT FILE SETTINGS
#=====================================================================//
$CLIENT_FILE_AUTHOR = "MyName"
$FOLDERS_TO_INCLUDE_IN_CLIENT_FILES = @(
"config",
"defaultconfigs",
"kubejs",
"local",
"packmenu")
$CONFIGS_TO_REMOVE_FROM_CLIENT_FILES = @()
$FOLDERS_TO_REMOVE_FROM_CLIENT_FILES = @("local/ftbutilities", "resourcepacks")
# Example:
# $FILES_TO_INCLUDE_IN_MODS_FOLDER_IN_CLIENT_FILES = @("mods/Apotheosis-1.19.2-6.2.1.jar", "mods/create-1.19.2-0.5.1.b.jar")
$FILES_TO_INCLUDE_IN_MODS_FOLDER_IN_CLIENT_FILES = @()
#=====================================================================//
# SERVER FILE SETTINGS
#=====================================================================//
$SERVER_FILES_FOLDER = "$INSTANCE_ROOT/server_files"
$SERVER_SETUP_CONFIG_PATH = "$SERVER_FILES_FOLDER/server-setup-config.yaml"
# =====================================================================//
# MODULES
# =====================================================================//
# Toggle automatic building of the manifest zip on/off
# Default: $true
$ENABLE_CLIENT_FILE_MODULE = $true
# Toggle the modpack uploader on/off
# Setting this to $false will also disable the Server File and Changelog Generator Modules.
# Default: $true
$ENABLE_MODPACK_UPLOADER_MODULE = $true
# Toggle server file feature on/off
# Default: $true
$ENABLE_SERVER_FILE_MODULE = $true
# Toggle serverstarter compatibility on/off
# This will update the "modpackUrl" in the file found at $SERVER_SETUP_CONFIG_PATH
# to point to your newly created client files on the CurseForge CDN.
# Default: $false
$ENABLE_SERVERSTARTER_MODULE = $false
# Toggle automatic changelog generator on/off
# This module requires an older modpack manifest zip to be present,
# $LAST_MODPACK_VERSION must be set, and the manifest naming must be consistent.
# Default: $false
$ENABLE_CHANGELOG_GENERATOR_MODULE = $false
# Path to the ChangelogGenerator's output file
$CHANGELOG_PATH = "$INSTANCE_ROOT/changelogs/changelog_mods_$MODPACK_VERSION.md"
# Toggle creation of a modlist file on/off
# Default: $true
$ENABLE_MODLIST_CREATOR_MODULE = $true
# Path to the ModListCreator's output file
$MODLIST_PATH = "$INSTANCE_ROOT/changelogs/modlist_$MODPACK_VERSION.md"
# Toggle removal and re-download of jars on/off.
# Setting this to true will ensure that you always have the latest
# Twitch Export Builder and ChangelogGenerator, but increases the
# amount of time this script takes to execute.
# Default: $false
$ENABLE_ALWAYS_UPDATE_JARS = $false
# Toggles github release integration on/off.
# This will create a new release on your issue-tracker when using the modpack uploader.
# See below link for info:
# Default: $false
$ENABLE_GITHUB_RELEASE_MODULE = $false
# =====================================================================//
# ADVANCED
# Do not change anything unless you
# know what you are doing!
# =====================================================================//
# Syntax of the Client ZIP File
$CLIENT_ZIP_NAME = "$CLIENT_NAME-$MODPACK_VERSION"
# Syntax of the Previous Versions Client ZIP File
$LAST_MODPACK_ZIP_NAME = "$CLIENT_NAME-$LAST_MODPACK_VERSION"
# Default: "$CLIENT_NAME $MODPACK_VERSION"
$CLIENT_FILE_DISPLAY_NAME = "MyModpack $MODPACK_VERSION"
# Can be "markdown", "text" or "html"
# Default: $CLIENT_CHANGELOG_TYPE
$SERVER_CHANGELOG_TYPE = $CLIENT_CHANGELOG_TYPE
# Must be a single string. Use Powershell escaping for new lines etc. New line is `n and indent is `t
# Default: $CLIENT_CHANGELOG
$SERVER_CHANGELOG = $CLIENT_CHANGELOG
# Can be "alpha", "beta" or "release"
# Default: $CLIENT_RELEASE_TYPE
$SERVER_RELEASE_TYPE = $CLIENT_RELEASE_TYPE
# Default: "$CLIENT_NAME Server $MODPACK_VERSION"
$SERVER_ZIP_NAME = "$CLIENT_NAME`Server-$MODPACK_VERSION"
# Default: $SERVER_FILENAME
$SERVER_FILE_DISPLAY_NAME = "MyModpack Server $MODPACK_VERSION"