Land Protection

4permissions
2files
3min read
Sheet 28 of 33 · Integrations

Filesconfig.yml · schematics/plots/cottage.yml

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

config.yml
region-guard:
  enabled: true
  bypass-permission: ignitepaste.regionguard.bypass
  sample-density: corners

WorldGuard 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-densityPoints testedTrade-off
corners (default)The 8 corners of the box and its centreFast. A small region entirely inside a big footprint, touching none of the 9 points, is missed
fullEvery 4th block along each axis, plus the far cornerCatches 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

config.yml
integrations:
  plotsquared:
    enabled: true
    bypass-permission: ignitepaste.plot.bypass

Five 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

config.yml
integrations:
  towny:
    enabled: true
    bypass-permission: ignitepaste.towny.bypass

The 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:

schematics/plots/cottage.yml
cost: 2500.0
max-uses-per-player: 1
allowed-worlds:
  - plots

The player can only paste it in the plot world, only on a plot they are added to, and only once.

Loading the index

Enter openUp Down moveEsc close