Advanced Event Management
Pheotis opened this issue ยท 3 comments
Extension of problem found with #205
Currently, there are circumstances wherein an iris/frame may be broken without a reaction from the relevant stargate.
Any event causing such behaviour should be blocked by default, subject to checkPortalValidity
and protectEntrance
.
destroyOnExplosion
should be kept in the main config (BlockExplodeEvent
).
destroyOnFire
should be moved to the specificProtectionOverrides
A hidden configuration override list should be available for advanced users wishing for portals to be breakable via specific events.
# Handling Example (Fires, Melting, and Freezing will break portals under this non-default config)
# (The specific protection overrides option will use the hidden configuration system)
specificProtectionOverrides:
- BlockBurnEvent
- BlockFadeEvent
- BlockFormEvent
Events to deal with.
-
BlockBreakEvent
-
BlockPlaceEvent
-
BlockBurnEvent
-
BlockExplodeEvent
-
BlockFadeEvent
-
BlockFertilizeEvent
-
BlockFormEvent
-
BlockFromToEvent
-
BlockMultiPlaceEvent
-
BlockPhysicsEvent
-
BlockPistonRetractEvent
-
BlockPistonExtendEvent
-
EntityBlockFormEvent
-
LeavesDecayEvent
-
SpongeAbsorbEvent
-
EntityChangeBlockEvent
-
EntityBreakDoorEvent
-
PortalCreateEvent
-
EntityPlaceEvent
-
PlayerBucketEmptyEvent
-
BlockDispenseEvent
Sponges can drain iris blocks.
SG fresh install on CB 1.19
[TMS 222176]
Evidence vault 5