mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-15 20:44:45 +00:00
Begin working on the update checker
Also added a config for toggling internet capabilities
This commit is contained in:
5 files changed
+135
No files matched your search
@@ -0,0 +1,18 @@
|
||||
package com.falsepattern.lib.internal;
|
||||
|
||||
import com.falsepattern.lib.config.Config;
|
||||
|
||||
@Config(modid = Tags.MODID)
|
||||
public class LibraryConfig {
|
||||
@Config.Comment({"Used to control whether FalsePatternLib should check for outdated mods.",
|
||||
"If you're building a public modpack, you should turn this off so that your users don't " +
|
||||
"get nagged about outdated mods."})
|
||||
@Config.LangKey("config.falsepatternlib.updatecheck")
|
||||
public static boolean ENABLE_UPDATE_CHECKER = true;
|
||||
|
||||
@Config.Comment({"Used to control whether FalsePatternLib should be allowed to use the internet.",
|
||||
"If this is enabled, library downloads will be blocked.",
|
||||
"Note that if a mod tries to download a library that is not downloaded yet, the game will crash."})
|
||||
@Config.LangKey("config.falsepatternlib.disableinternet")
|
||||
public static boolean ENABLE_LIBRARY_DOWNLOADS = true;
|
||||
}
|
||||
Reference in new issue
Block a user