mirror of
https://github.com/GTNewHorizons/BetterCrashes.git
synced 2026-11-28 07:35:58 +00:00
Switch from paste.ubuntu.com to mclo.gs
paste.ubuntu.com requires a login for viewing the paste and that is annoying. mclo.gs is made for Minecraft logs. It does some special highlighting and censors certain information that is not relevant. Drawback is that logs are only valid for 90 days after last viewing.
This commit is contained in:
1 parent
67b8b2c87e
commit
88cd08a1d3
7 files changed
+129
-43
No files matched your search
@@ -15,6 +15,7 @@ public class BetterCrashesConfig {
|
||||
public static boolean isGTNH = Loader.isModLoaded("dreamcraft");
|
||||
public static int crashLogLimitClient = 30;
|
||||
public static int crashLogLimitServer = 30;
|
||||
public static String crashLogPasteService;
|
||||
|
||||
public static void init(File file) {
|
||||
config = new Configuration(file);
|
||||
@@ -38,6 +39,11 @@ public class BetterCrashesConfig {
|
||||
0,
|
||||
Integer.MAX_VALUE,
|
||||
"Maximum number of crash logs generated per restart for server. Suppresses too many logs generated by continuous crashes.");
|
||||
crashLogPasteService = config.getString(
|
||||
"crashLogPasteService",
|
||||
GENERAL,
|
||||
"mclo.gs",
|
||||
"Service to use for uploading crashlogs. Currently, only mclo.gs is currently supported.");
|
||||
|
||||
if (config.hasChanged()) {
|
||||
config.save();
|
||||
|
||||
Reference in new issue
Block a user