Tracked Buildings

1command
5permissions
3files
3min read
Sheet 20 of 33 · Buildings

Filesschematics/towers/watchtower.yml · config.yml · data/buildings.yml

Fileschematics/towers/watchtower.ymlFileconfig.ymlCommand/paste buildingsMost pastes are fire and forget. A tracked schematic is different: every successful paste of it becomes a building with an owner, and IgnitePaste remembers it across restarts. The owner can then upgrade it into the next tier or pick it up and move it.

Which pastes are tracked

A schematic is tracked when its sidecar has either:

  • upgrade-to: <next tier>, making it part of a tier chain, or
  • building: true, for a standalone building with no upgrades.
schematics/towers/watchtower.yml
building: true       # tracked, final tier, can still be picked up

The last tier of a chain needs building: true if you want it tracked when it is pasted directly; a building that reached it through upgrades stays tracked anyway.

When the paste completes, chat confirms: Building registered (id: 435afb56). Manage it via /paste buildings. Undoing that paste removes the record again.

The building manager

Command/paste buildingsPermissionignitepaste.usePermissionignitepaste.buildings/paste buildings lists the buildings you own, oldest first, 45 to a page. It needs ignitepaste.use and ignitepaste.buildings, and says You don't own any tracked buildings yet. when there is nothing to show.

Fileconfig.ymlThe list entries come from config.yml:

config.yml
buildings:
  gui:
    title: "<gradient:#7CD5FF:#4A9EFF><bold>Your Buildings</bold></gradient> <dark_gray><page>/<pages>"
    entry:
      material: OAK_SIGN
      custom-model-data: 0
      display-name: "<#7CD5FF><bold><name>"
      lore:
        - "<gray>World: <white><world>"
        - "<gray>Origin: <white><x>, <y>, <z>"
        - "<gray>Next tier: <white><next>"
        - "<gray>Status: <white><status>"
        - ""
        - "<yellow>Click to manage"
PlaceholderValue
<name>Short name, the last part of the schematic name (cottage_t1)
<schematic>Full schematic name (buildings/cottage_t1)
<world>, <x>, <y>, <z>Where it stands
<id>The 8-character id
<next>Short name of the next tier, or -
<status>Ready, or Busy while an upgrade or pick-up runs

Config keygui.navigationPermissionignitepaste.buildings.upgradePermissionignitepaste.buildings.pickupThe title also takes <count>, the number of buildings you own. The navigation buttons are the selector's (gui.navigation). The manage view has a fixed layout: Upgrade in slot 11, the info paper in 13, Pick up in 15 and Back in 22. It shows a grey dye instead of Upgrade at the last tier or without ignitepaste.buildings.upgrade, and instead of Pick up when pick-up is off or without ignitepaste.buildings.pickup.

Managing a building is refused while you are in paste mode (Leave paste mode before managing buildings.) and while that building or another job of yours is busy.

Building limits

config.yml
buildings:
  enabled: true
  max-per-player: 0                             # 0 = unlimited
  limit-permission-base: "ignitepaste.buildings.limit."

Config keylimit.0max-per-player caps how many tracked buildings one player owns. The node ignitepaste.buildings.limit.<N> overrides it per player, and the highest N granted wins, above or below the global cap. limit.0 means unlimited. Selling more building slots with ranks is the intended use:

/lp group default permission set ignitepaste.buildings.limit.1 true
/lp group vip     permission set ignitepaste.buildings.limit.5 true

Placeholder%ignitepaste_buildings%Placeholder%ignitepaste_buildings_max%A player at the cap cannot paste another tracked schematic or place a blueprint: You reached your building limit (5). Remove or pick up a building first. Untracked schematics are not affected. %ignitepaste_buildings% and %ignitepaste_buildings_max% show the count and the cap.

Admin commands

/paste building list <player>      # ids, names and positions, works for offline players
/paste building remove <id>        # stop tracking; the blocks stay in the world

Permissionignitepaste.adminBoth need ignitepaste.admin. remove takes the 8-character id from list (or the manage view) and frees a slot for the owner: Untracked building 0ee17ccd (buildings/cottage_t1). Blocks stay in the world.

Turning buildings off

Command/paste buildingsFiledata/buildings.ymlWith buildings.enabled: false nothing new is tracked, /paste buildings answers Building tracking is disabled on this server., and blueprints refuse to open. Existing records stay in data/buildings.yml and come back when you turn it on again.

What is stored

Filedata/buildings.ymlEach building keeps its owner, schematic, world, origin, rotation, flips, bounding box and timestamps in data/buildings.yml, and the ground it was pasted over in data/buildings/terrain/<id>.dat. That ground snapshot is what pick-up and shrinking upgrades put back. Buildings are always stored in files on the server that owns the world; the SQL backends do not apply to them. See Storage.

Loading the index

Enter openUp Down moveEsc close