mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-25 02:04:44 +02:00
Add some more listeners
- Also use setShouldAbortSpawn so it doesn't just try forever - Add config to enable or disable all paper listeners
This commit is contained in:
@ -359,8 +359,11 @@ public class Settings extends Config {
|
||||
|
||||
@Comment("Enable or disable parts of the plugin specific to using Paper")
|
||||
public static final class Paper_Components {
|
||||
@Comment("Enable Paper's listeners.") public static boolean PAPER_LISTENERS = true;
|
||||
@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(
|
||||
"Cancel entity spawns when the chunk is loaded if the PlotArea's mob spawning is off")
|
||||
public static boolean CANCEL_CHUNK_SPAWN = true;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user