mirror of
https://github.com/BX-Team/DivineMC.git
synced 2025-12-21 07:49:18 +00:00
configurable per world tpsbar
This commit is contained in:
@@ -197,6 +197,7 @@ public class DivineConfig {
|
||||
public static boolean logContainerCreationStacktraces = false;
|
||||
public static boolean disableHardThrow = false;
|
||||
public static boolean pwtCompatabilityMode = false;
|
||||
public static boolean usePerWorldTpsBar = true;
|
||||
|
||||
// Regionized chunk ticking
|
||||
public static boolean enableRegionizedChunkTicking = false;
|
||||
@@ -243,6 +244,8 @@ public class DivineConfig {
|
||||
"Disables annoying 'not on main thread' throws. But, THIS IS NOT RECOMMENDED because you SHOULD FIX THE ISSUES THEMSELVES instead of RISKING DATA CORRUPTION! If you lose something, take the blame on yourself.");
|
||||
pwtCompatabilityMode = getBoolean(ConfigCategory.ASYNC.key("parallel-world-ticking.compatability-mode"), pwtCompatabilityMode,
|
||||
"Enables compatibility mode for plugins that are not compatible with Parallel World Ticking. This makes all async tasks run synchronously.");
|
||||
usePerWorldTpsBar = getBoolean(ConfigCategory.ASYNC.key("parallel-world-ticking.use-per-world-tps-bar"), usePerWorldTpsBar,
|
||||
"Enables per-world TPS bar, which shows the TPS of the world the player is currently in. TPS bar can be turned on/off with /tpsbar command.");
|
||||
}
|
||||
|
||||
private static void regionizedChunkTicking() {
|
||||
|
||||
Reference in New Issue
Block a user