Configuration
Add theUnbreakable key under the Addon: section in your portal’s .yml file. The value is a list of destruction sources to block.
Allowed Input Values
| Value | What it blocks |
|---|---|
PLAYER_INSIDE | A player attacking the portal’s interior (the portal entity itself) |
PLAYER | A player breaking the frame blocks |
ENTITY | Any entity-caused destruction, such as a creeper explosion |
DISPENSER | A dispenser attempting to destroy the portal (currently dispensers cannot break portals, but this future-proofs against it) |
PISTON | A piston pushing into and destroying the portal |
BLOCK_PHYSICS | Natural block-state changes, such as a supporting block turning from dirt to grass |
- <input> line.
