Adding new 'high-frequency-listener' setting

This commit is contained in:
RedstoneFuture 2024-04-16 19:27:34 +02:00
parent 4db5954490
commit 6e037376e1
1 changed files with 5 additions and 0 deletions

View File

@ -43,6 +43,11 @@ public class Settings extends Config {
"Leave it off if you don't need it, it can spam your console."})
public static boolean DEBUG = true;
@Comment({"The activity of high-frequency event listener can be deactivated here to improve the server performance. ",
"Affected settings: 'redstone' settings here below. Affected flags: 'disable-physics', 'redstone'. ",
"Only set the setting to 'false' if you do not need any of the above settings and flags."})
public static boolean HIGH_FREQUENCY_LISTENER = true;
@Create // This value will be generated automatically
public static ConfigBlock<Auto_Clear> AUTO_CLEAR = null;
// A ConfigBlock is a section that can have multiple instances e.g. multiple expiry tasks