9
0
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:
NONPLAYT
2025-06-18 16:34:31 +03:00
parent 219759e217
commit a73bbf04c5
2 changed files with 5 additions and 2 deletions

View File

@@ -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() {