Land Protection
Fileconfig.ymlFileschematics/plots/cottage.ymlBefore any block is placed, IgnitePaste checks the paste's whole footprint against the land plugins it finds. The checks run at the anchor where the paste will land, after rotation and offsets, so a player cannot aim a build into a neighbour's region from outside it. Tier upgrades run them again on the new tier's bounding box, so a bigger tier cannot grow into someone else's land.
All of them are soft hooks. If the plugin is not installed, its check does nothing. If the WorldGuard, PlotSquared or Towny check throws an error, it logs a warning and lets the paste through.
WorldGuard
region-guard:
enabled: true
bypass-permission: ignitepaste.regionguard.bypass
sample-density: cornersWorldGuard is asked whether the player may build (the BUILD flag, with members and owners as WorldGuard sees them) at a set of sample points in the bounding box. If any point says no, the paste is refused: WorldGuard blocked the paste of <name>. Pick a different anchor or move to an allowed region.
sample-density | Points tested | Trade-off |
|---|---|---|
corners (default) | The 8 corners of the box and its centre | Fast. A small region entirely inside a big footprint, touching none of the 9 points, is missed |
full | Every 4th block along each axis, plus the far corner | Catches small regions inside the footprint. More queries on large schematics |
Use full on servers with many small protected regions, like shop stalls or claimed plots made in WorldGuard. On startup the console prints WorldGuard detected; region guard active.
PlotSquared
integrations:
plotsquared:
enabled: true
bypass-permission: ignitepaste.plot.bypassFive points are tested: the four bottom corners of the footprint and its centre. A point on a plot must be on one the player is added to (owner, trusted or member). Points on roads or outside any plot are allowed. Any failing point refuses the paste: You cannot paste <name> here - that area belongs to another plot or town.
PlotSquared does not load on Folia, so this hook is inactive there.
Towny
integrations:
towny:
enabled: true
bypass-permission: ignitepaste.towny.bypassThe same five points. Each must be in the wilderness, on a town block the player personally owns, or in a town the player is a resident of. Otherwise the same paste-plot-denied message.
IgniteSky
Since 1.6.0, with IgniteSky installed, a paste in an island world must fit entirely inside one island where the player has the build permission, on unlocked chunks: You cannot paste <name> here - it has to fit inside an island you can build on. Unlike the others, this check refuses the paste if it errors. Details on IgniteSky Integration.
Bypass
Permissionignitepaste.regionguard.bypassPermissionignitepaste.plot.bypassPermissionignitepaste.towny.bypassPermissionignitepaste.ignitesky.bypassStaff who paste on protected land need the matching bypass nodes: ignitepaste.regionguard.bypass, ignitepaste.plot.bypass, ignitepaste.towny.bypass, ignitepaste.ignitesky.bypass. All of them default to op. The node names can be changed with the bypass-permission keys above.
Combining with world rules
These checks are about who owns the land. To keep a schematic out of whole worlds, use allowed-worlds in its sidecar, see Access & Worlds. For a plot server, both together work well:
cost: 2500.0
max-uses-per-player: 1
allowed-worlds:
- plotsThe player can only paste it in the plot world, only on a plot they are added to, and only once.