Sidecar Files
Fileconfig.ymlFileschematics/buildings/lighthouse.ymlCommand/paste reloadCommand/paste speedupA sidecar is a .yml file with the same base name as a schematic, in the same folder. It holds everything that schematic needs beyond its blocks: price, cooldown, build time, permission, the next tier. Every key is optional, and a schematic without a sidecar uses the defaults from config.yml.
schematics/
buildings/
lighthouse.schem
lighthouse.yml <- the sidecar for buildings/lighthouseCommand/paste reloadSidecars are read when the index is built: on start and on /paste reload. Edit, reload, done. A sidecar that fails to parse logs Failed to read schematic sidecar <file>: <error> and the schematic falls back to defaults.
Every key
| Key | Type | Default | Meaning |
|---|---|---|---|
display-name | text | gui.entry.display-name | MiniMessage name in the selector |
lore | list | gui.entry.lore | MiniMessage lore in the selector. Replaces the default lore entirely, placeholders work |
custom-model-data | number | gui.entry.custom-model-data | Resource pack model for the selector icon. 0 uses the global value |
permission | text | ignitepaste.schem.<name> | Node needed to see and paste it. See Access & Worlds |
allowed-worlds | list | all worlds | Worlds it may be pasted in, case-insensitive |
tags | list | none | Free-form labels. Stored, not used by the plugin yet |
cost | number | 0.0 | Vault money per paste. See Money & Confirmation |
cost-items | list or FULL_SCHEMATIC | none | Items taken from the inventory per paste. See Material Costs |
cooldown-seconds | number | 0 | Per-player cooldown after each paste |
max-uses-per-player | number | 0 (no cap) | Lifetime pastes per player. See Cooldowns & Use Limits |
construction-duration | seconds | global default | Build time. 0 forces an instant paste. -1 or no key inherits |
speed-up-cost | number | construction.speed-up.cost | Price of one /paste speedup on this build. -1 or no key inherits |
building | true/false | false | Track pastes as buildings even without a tier chain |
upgrade-to | schematic name | none | The next tier. Makes pastes tracked buildings |
upgrade-cost | number | the next tier's cost | Money for upgrading into upgrade-to. -1 or no key inherits |
upgrade-cost-items | list or FULL_SCHEMATIC | none | Items for the upgrade. FULL_SCHEMATIC counts the next tier's blocks |
upgrade-duration | seconds | the next tier's build time | Upgrade construction time. -1 or no key inherits |
For construction-duration, speed-up-cost, upgrade-cost and upgrade-duration, -1 (or any negative number) means "use the default", the same as leaving the key out. On 1.6.0 and older it was read as 0: instant and free. Other negative numbers are read as 0.
Examples
A paid building that is placed once per player per hour, in two worlds:
permission: ignitepaste.schem.buildings_lighthouse
display-name: "<aqua>Lighthouse"
lore:
- "<gray>A coastal beacon."
- "<dark_gray>Built by the construction team."
- ""
- "<gray>Cost: <white><cost> <gray>Build time: <white><construction>"
cooldown-seconds: 3600
cost: 500.0
max-uses-per-player: 3
allowed-worlds:
- world
- world_nether
tags:
- coastal
- landmarkA survival kit: the player brings the materials, the crew builds it:
display-name: "<green>Starter House"
cost-items:
- { material: OAK_LOG, amount: 32 }
- { material: COBBLESTONE, amount: 64 }
- GLASS:12
- IRON_INGOT:4
construction-duration: 60A one-per-account plot house:
permission: ignitepaste.schem.cottage
display-name: "<#FFD166>Cottage"
cost: 2500.0
cooldown-seconds: 86400 # one paste a day
max-uses-per-player: 1 # and only once, ever
allowed-worlds:
- plotsA tier in a chain:
cost: 1000.0
upgrade-to: buildings/house_t2 # the selector name of the next tier
upgrade-cost: 2500.0 # omit to charge house_t2's own cost
upgrade-cost-items:
- OAK_LOG:64
upgrade-duration: 90 # omit to use house_t2's build timeNames
Command/paste onetimeCommand/paste voucher giveCommand/paste statsA schematic's name is its path inside the schematics folder, with forward slashes and without the extension. That name is what upgrade-to, /paste onetime, /paste voucher give, /paste stats and the %ignitepaste_cooldown_<name>% placeholders expect.
| File | Name |
|---|---|
schematics/well.schem | well |
schematics/decor/well.schem | decor/well |
schematics/buildings/t1/house.schematic | buildings/t1/house |
Config keywell.schemConfig keywell.schematicTwo files that differ only in extension, like well.schem and well.schematic, get the same name, and only one of them ends up in the index. Keep names unique.