Add some paper-specific listeners

This commit is contained in:
dordsor21
2020-04-30 17:23:18 +01:00
parent d864792d09
commit 8ec8b8d803
3 changed files with 233 additions and 0 deletions

View File

@ -357,6 +357,13 @@ public class Settings extends Config {
}
@Comment("Enable or disable parts of the plugin specific to using PaperSpigot")
public static final class Paper_Components {
@Comment("Prevent entities from leaving plots") public static boolean ENTITY_PATHING = true;
@Comment("Use paper's PreCreatureSpawnEvent") public static boolean PRE_SPAWN_LISTENER = true;
}
@Comment({"Enable or disable parts of the plugin",
"Note: A cache will use some memory if enabled"})
public static final class Enabled_Components { // Group the following values into a new config section