Skip to content

Commit e81129b

Browse files
committed
mod updates + #5495
1 parent 230eb7b commit e81129b

5 files changed

Lines changed: 270 additions & 258 deletions

File tree

.gitignore

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -200,21 +200,21 @@ config/jeed-client.toml
200200
config/valhelsia_core-client.toml
201201
config/forge-client.toml
202202
config/configured-client.toml
203-
config/Mekanism/tools-client.toml
203+
config/Mekanism/tools-client.toml
204204
config/Mekanism/client.toml
205-
config/powah/energy/generators/thermo_gen.toml
206-
config/powah/energy/generators/solar_panel.toml
207-
config/powah/energy/generators/reactor.toml
208-
config/powah/energy/generators/magmator.toml
209-
config/powah/energy/generators/furnator.toml
210-
config/mininggadgets-common.toml
211-
config/Mekanism/machine-usage.toml
212-
config/Mekanism/machine-storage.toml
213-
config/Mekanism/gear.toml
214-
config/industrialforegoing/machine-resource-production.toml
215-
config/industrialforegoing/machine-misc.toml
216-
config/industrialforegoing/machine-generator.toml
217-
config/industrialforegoing/machine-core.toml
205+
config/powah/energy/generators/thermo_gen.toml
206+
config/powah/energy/generators/solar_panel.toml
207+
config/powah/energy/generators/reactor.toml
208+
config/powah/energy/generators/magmator.toml
209+
config/powah/energy/generators/furnator.toml
210+
config/mininggadgets-common.toml
211+
config/Mekanism/machine-usage.toml
212+
config/Mekanism/machine-storage.toml
213+
config/Mekanism/gear.toml
214+
config/industrialforegoing/machine-resource-production.toml
215+
config/industrialforegoing/machine-misc.toml
216+
config/industrialforegoing/machine-generator.toml
217+
config/industrialforegoing/machine-core.toml
218218
config/industrialforegoing/machine-agriculture-husbandry.toml
219219
manifest.json
220220
config/modularrouters-common.toml
@@ -224,3 +224,4 @@ config/configswapper.json
224224
config/betterendforge/client.json
225225
config/Mekanism/tiers.toml
226226
pregen/supporters.json
227+
local/crash_assistant

config/crash_assistant/config.toml

Lines changed: 116 additions & 111 deletions
Original file line numberDiff line numberDiff line change
@@ -1,146 +1,151 @@
11

22
#General settings of Crash Assistant mod.
33
[general]
4-
#Link which will be opened in browser on request_help_button pressed.
5-
#If equals CHANGE_ME, will open Forge/NeoForge/Fabric/Quilt discord link. Names of communities/channels also will be used not from config, but according to this link.
6-
#Must start with 'https://' or 'www.'
7-
help_link = "https://discord.gg/enigmatica"
8-
#Anyways log will be uploaded to mclo.gs, but with this option you can wrap link to gnomebot.dev for better formatting.
9-
#If help_link equals 'CHANGE_ME', this value will be ignored and gnomebot.dev used.
10-
#Supported values: mclo.gs / gnomebot.dev
11-
upload_to = "gnomebot.dev"
12-
#Show gui on minecraft crashed on modloading and FML error screen displayed.
13-
show_on_fml_error_screen = true
14-
#Close old CrashAssistantApp if it's still running when starting a new instance of Minecraft, to avoid confusing player with window from old crash.
15-
kill_old_app = true
16-
#If options.txt doesn't exist, the default language will be used.
17-
default_lang = "en_us"
18-
#Before uploading the first log, requires the user to accept the privacy policy.
19-
#Disabling this option may be illegal in some countries if you are modpack creator. Disable at your own risk.
20-
enable_privacy_policy_acceptance = true
21-
#List of blacklisted log files (checked with startswith()). This files won't show in GUI logs list.
22-
blacklisted_logs = []
4+
#Anyways log will be uploaded to mclo.gs, but with this option you can wrap link to gnomebot.dev for better formatting.
5+
#If help_link equals 'CHANGE_ME', this value will be ignored and gnomebot.dev used.
6+
#Supported values: mclo.gs / gnomebot.dev
7+
upload_to = "gnomebot.dev"
8+
#Before uploading the first log, requires the user to accept the privacy policy.
9+
#Disabling this option may be illegal in some countries if you are modpack creator. Disable at your own risk.
10+
enable_privacy_policy_acceptance = true
11+
#If options.txt doesn't exist, the default language will be used.
12+
default_lang = "en_us"
13+
#Show gui on minecraft crashed on modloading and FML error screen displayed.
14+
show_on_fml_error_screen = true
15+
#List of blacklisted log files (checked with startswith()). This files won't show in GUI logs list.
16+
blacklisted_logs = []
17+
#Link which will be opened in browser on request_help_button pressed.
18+
#If equals CHANGE_ME, will open Forge/NeoForge/Fabric/Quilt discord link. Names of communities/channels also will be used not from config, but according to this link.
19+
#Must start with 'https://' or 'www.'
20+
help_link = "https://discord.gg/enigmatica"
21+
#Close old CrashAssistantApp if it's still running when starting a new instance of Minecraft, to avoid confusing player with window from old crash.
22+
kill_old_app = true
2323

2424
#Here you can change text of lang placeHolders.
2525
#Also you can change any text in lang files.
2626
#You don't need to modify jar. You can change it in config/crash_assistant/lang. For more info read README.md file located where.
2727
[text]
28-
#$CONFIG.text.support_name$ in lang files will be replaced with this value.
29-
#For example this placeHolder used in: "Request help in the $CONFIG.text.support_name$"
30-
support_name = "Enigmatica Discord"
31-
#$CONFIG.text.support_place$ in lang files will be replaced with this value.
32-
support_place = "#support"
33-
#$CONFIG.text.modpack_name$ in lang files will be replaced with this value.
34-
#For example this placeHolder used in: "Oops, $CONFIG.text.modpack_name$ crashed!"
35-
#Supports Better Compatibility Checker integration. You can use $BCC.modpackName$, $BCC.modpackVersion$, etc and it will be replaced with value from BCC config.
36-
modpack_name = "$BCC.modpackName$ $BCC.modpackVersion$"
28+
#$CONFIG.text.modpack_name$ in lang files will be replaced with this value.
29+
#For example this placeHolder used in: "Oops, $CONFIG.text.modpack_name$ crashed!"
30+
#Supports Better Compatibility Checker integration. You can use $BCC.modpackName$, $BCC.modpackVersion$, etc and it will be replaced with value from BCC config.
31+
modpack_name = "$BCC.modpackName$ $BCC.modpackVersion$"
32+
#$CONFIG.text.support_name$ in lang files will be replaced with this value.
33+
#For example this placeHolder used in: "Request help in the $CONFIG.text.support_name$"
34+
support_name = "Enigmatica Discord"
35+
#$CONFIG.text.support_place$ in lang files will be replaced with this value.
36+
support_place = "#support"
3737

3838
#Settings of message generated by Upload all button
3939
[generated_message]
40-
#Add ### prefix before filename.
41-
#This can prevent too small, hard to hit on mobile links.
42-
h3_prefix = true
43-
#Replaces "\n" separator between logs to " | " to make message vertically smaller.
44-
one_line_logs = true
45-
#Adds line in log list about this Intel processor can be corrupted.
46-
intel_corrupted_notification = true
47-
#If the modpack is created for a non-English-speaking audience, сhange this to the language the modpack is designed for.
48-
#This lang will be used only for generating message by "Upload all..." button.Do not modify this value if there's a chance that the generated message will be sent to English-speaking communities.
49-
generated_msg_lang = "en_us"
50-
#This text will be under "$CONFIG.text.modpack_name$ crashed!" in generated message by Upload all button.
51-
#You can include:
52-
# * some form, which users should fill out.
53-
# * additional information like Minecraft version, etc.
54-
text_under_crashed = ""
55-
#With this option you can notify user about something related with posting generated message.
56-
#For example if they need to fill some option from "text_under_crashed", etc.
57-
#Supports html formatting, placeholders.
58-
#Leave empty to prevent showing this warning message.
59-
warning_after_upload_all_button_press = ""
60-
#Puts problematic frame from hs_err to message.
61-
put_problematic_frame_to_message = true
62-
#Puts analysis result(names of crash reasons) to message, instead of just count.
63-
put_analysis_result_to_message = true
64-
#Color modified mods count/analysis in msg with ANSI.
65-
#Can be needed to be disabled if issues are reported to something not supporting ANSI codeblocks, like GitHub.
66-
color_message = true
40+
#Adds line in log list about this Intel processor can be corrupted.
41+
intel_corrupted_notification = true
42+
#With this option you can notify user about something related with posting generated message.
43+
#For example if they need to fill some option from "text_under_crashed", etc.
44+
#Supports html formatting, placeholders.
45+
#Leave empty to prevent showing this warning message.
46+
warning_after_upload_all_button_press = ""
47+
#Puts analysis result(names of crash reasons) to message, instead of just count.
48+
put_analysis_result_to_message = true
49+
#Color modified mods count/analysis in msg with ANSI.
50+
#Can be needed to be disabled if issues are reported to something not supporting ANSI codeblocks, like GitHub.
51+
color_message = true
52+
#Puts problematic frame from hs_err to message.
53+
put_problematic_frame_to_message = true
54+
#If the modpack is created for a non-English-speaking audience, сhange this to the language the modpack is designed for.
55+
#This lang will be used only for generating message by "Upload all..." button.Do not modify this value if there's a chance that the generated message will be sent to English-speaking communities.
56+
generated_msg_lang = "en_us"
57+
#Add ### prefix before filename.
58+
#This can prevent too small, hard to hit on mobile links.
59+
h3_prefix = true
60+
#This text will be under "$CONFIG.text.modpack_name$ crashed!" in generated message by Upload all button.
61+
#You can include:
62+
# * some form, which users should fill out.
63+
# * additional information like Minecraft version, etc.
64+
text_under_crashed = ""
65+
#Replaces "\n" separator between logs to " | " to make message vertically smaller.
66+
one_line_logs = true
6767

6868
#Settings of modlist feature.
6969
#Adds in generated msg block about which mods modpack user added/removed/updated.
7070
#Also you can see diff by running '/crash_assistant modlist diff' command.
7171
[modpack_modlist]
72-
#Enable feature.
73-
enabled = true
74-
#nicknames of players, who considered as modpack creator.
75-
#Only this players can overwrite modlist.json
76-
#If this feature is enabled and this array is empty, will be appended with nickname of current player.
77-
modpack_creators = ["NillerMedDild"]
78-
#If enabled, modlist.json will be overwritten on every launch(first tick of TitleScreen),
79-
#then game is launched by modpack creator.
80-
#So you won't forget to save it before publishing.
81-
#If you want to save manually: disable this and use '/crash_assistant modlist save' command.
82-
auto_update = true
83-
#If enabled, will add resourcepacks to modlist.json
84-
#After filename where will be ' (resourcepack)' suffix.
85-
add_resourcepacks = false
86-
#If enabled, will add modloader jar name to modlist, to easily track if user changed version of modloader.
87-
add_modloader_jar_name = true
88-
#If enabled, will add generated modlist.txt, with names of all mods / modids / mixin configs / jarjar mods info to logs.
89-
#
90-
add_modlist_txt_as_log = true
72+
#If enabled, will add modloader jar name to modlist, to easily track if user changed version of modloader.
73+
add_modloader_jar_name = true
74+
#If enabled, modlist.json will be overwritten on every launch(first tick of TitleScreen),
75+
#then game is launched by modpack creator.
76+
#So you won't forget to save it before publishing.
77+
#If you want to save manually: disable this and use '/crash_assistant modlist save' command.
78+
auto_update = true
79+
#nicknames of players, who considered as modpack creator.
80+
#Only this players can overwrite modlist.json
81+
#If this feature is enabled and this array is empty, will be appended with nickname of current player.
82+
#-----------------------------------------------------------------------------------------------------
83+
#Warning! This is not displayed anywhere, it's just tech param used for modlist feature to work correctly.
84+
#Here must be actual nicknames of people who work with the modpack and publishing releases!
85+
#-----------------------------------------------------------------------------------------------------
86+
modpack_creators = ["NillerMedDild"]
87+
#If enabled, will add generated modlist.txt, with names of all mods / modids / mixin configs / jarjar mods info to logs.
88+
#
89+
add_modlist_txt_as_log = true
90+
#If enabled, will add resourcepacks to modlist.json
91+
#After filename where will be ' (resourcepack)' suffix.
92+
add_resourcepacks = false
93+
#Enable feature.
94+
enabled = true
9195

9296
#Settings of analysis feature.
9397
#Analysing logs for most common reasons of crashes and displaying recommendations with fixes.
9498
[analysis]
95-
#Enable feature.
96-
enabled = true
97-
#Here you can disable some Analysis by class names.
98-
#List of them can be found here: dev.kostromdan.mods.crash_assistant.app.logs_analyser.crash_reasons
99-
#For example "Create6Addons"
100-
blacklisted_reasons = []
99+
#Here you can disable some Analysis by class names.
100+
#List of them can be found here: dev.kostromdan.mods.crash_assistant.app.logs_analyser.crash_reasons
101+
#For example "Create6Addons"
102+
blacklisted_reasons = []
103+
#Enable feature.
104+
enabled = true
101105

102106
#Settings of '/crash_assistant crash' command feature.
103107
[crash_command]
104-
#Enable feature.
105-
enabled = true
106-
#To ensure the user really wants to crash the game, the command needs to be run again within this amount of seconds.
107-
#Set to <= 0 to disable the confirmation.
108-
seconds = 10
108+
#To ensure the user really wants to crash the game, the command needs to be run again within this amount of seconds.
109+
#Set to <= 0 to disable the confirmation.
110+
seconds = 10
111+
#Enable feature.
112+
enabled = true
109113

110114
#Settings of notifying about intel corrupted processors.
111115
[intel_corrupted]
112-
#Enable feature.
113-
enabled = true
114-
#Show funny related gif in warning message.
115-
show_gif = true
116+
#Show funny related gif in warning message.
117+
show_gif = true
118+
#Enable feature.
119+
enabled = true
116120

117121
[greeting]
118-
#You don't need to touch this option.
119-
#On first world join of modpack creator if set to false shows greeting, then self enables.
120-
shown_greeting = true
122+
#You don't need to touch this option.
123+
#On first world join of modpack creator if set to false shows greeting, then self enables.
124+
shown_greeting = true
121125

122126
#You can customise GUI with this options.
123127
[gui_customisation]
124-
#Append comment text with notice about sending screenshot of this gui tells nothing to modpack creators.
125-
show_dont_send_screenshot_of_gui_notice = true
126-
#Animate border to request user attention even more.
127-
screenshot_of_gui_notice_animated_border = true
128-
#You can make Upload All Button bigger/smaller to request user attention.
129-
#Default Swing font size is 12, Default for this button in crash assistant is 16.
130-
#Not recommended to set it more than 16, as it will affect the increase of GUI size because all text won't fit.
131-
upload_all_button_font_size = 16
132-
#Same as upload_all_button_font_size, but for Request Help button.
133-
request_help_button_font_size = 16
134-
#You can change Upload All Button color to request user attention.
135-
#format is "R_G_B", range is 0-255, for example "255_0_0" is red color. Use "default" to use default swing color.
136-
#Default for this button is "0_178_0" (dark green color).
137-
upload_all_button_foreground_color = "0_178_0"
138-
#Same as upload_all_button_foreground_color, but for Request Help button.
139-
#Default for this button is "0_0_178" (dark blue color).
140-
request_help_button_foreground_color = "0_0_178"
128+
#Same as upload_all_button_foreground_color, but for Request Help button.
129+
#Default for this button is "0_0_178" (dark blue color).
130+
request_help_button_foreground_color = "0_0_178"
131+
#You can make Upload All Button bigger/smaller to request user attention.
132+
#Default Swing font size is 12, Default for this button in crash assistant is 16.
133+
#Not recommended to set it more than 16, as it will affect the increase of GUI size because all text won't fit.
134+
upload_all_button_font_size = 16
135+
#Animate border to request user attention even more.
136+
screenshot_of_gui_notice_animated_border = true
137+
#You can change Upload All Button color to request user attention.
138+
#format is "R_G_B", range is 0-255, for example "255_0_0" is red color. Use "default" to use default swing color.
139+
#Default for this button is "0_178_0" (dark green color).
140+
upload_all_button_foreground_color = "0_178_0"
141+
#Append comment text with notice about sending screenshot of this gui tells nothing to modpack creators.
142+
show_dont_send_screenshot_of_gui_notice = true
143+
#Same as upload_all_button_font_size, but for Request Help button.
144+
request_help_button_font_size = 16
141145

142146
#Checks crash_assistant compatibility with other incompatible mods.
143147
#Highly unrecommended to disable!
144148
[compatibility]
145-
#Enable feature.
146-
enabled = true
149+
#Enable feature.
150+
enabled = true
151+
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"example_modid": {
3+
"msg": "Custom msg on crash for this mod id. You can use $JAR_NAME$ placeholder, which will be replaced with jar name. You can use HTML here, it will work.",
4+
"should_crash_on_startup": true
5+
}
6+
}

0 commit comments

Comments
 (0)