crowbar.yml¶
The crowbar that takes End portal frames out: its item, uses, cooldown and cost.
How it plays: read the guide
Every example on this page is taken from the shipped crowbar.yml. Changes apply with /hcf reload. enabled: true at the top switches the module.
The item¶
crowbar.yml
item:
material: GOLDEN_HOE
name: "{primary}&lCrowbar"
# %uses% is how many frames it has left.
lore:
- "{muted}Right-click an End portal frame to take it out."
- "{muted}Only in the wilderness or your own claim."
- "{muted}Uses left: {secondary}%uses%"
| Key | As shipped | What it does |
|---|---|---|
material |
GOLDEN_HOE |
The item |
name |
&6&lCrowbar |
Its name |
lore |
three lines | Its lines; %uses% is the uses left |
Uses, cooldown and cost¶
crowbar.yml
# How many frames one crowbar takes out before it breaks. 0 is no limit.
uses: 0
# Seconds a player waits between two uses. 0 is none.
cooldown-seconds: 0
# Money one use costs, taken from the economy module. 0 is free. Nothing is
# taken for a refused use.
cost: 0
| Key | As shipped | What it does |
|---|---|---|
uses |
0 |
Frames one crowbar takes out before it breaks; 0 no limit |
cooldown-seconds |
0 |
Wait between two uses |
cost |
0 |
Money one use costs; nothing is taken for a refused use |
The whole shipped file¶
crowbar.yml
# ---------------------------------------------------------------------------
# crowbar.yml - the crowbar
#
# A tool that takes a placed End portal frame out - the block survival cannot
# break, and a common part of base traps. Right-click a frame with it.
#
# WHERE: in the wilderness, or in your own team's claim. NEVER in another team's
# claim, raidable or not, and not on server land or in the warzone: the crowbar
# is there so a team can adjust its own traps, not so a raid can defuse somebody
# else's. After that, the removal is offered to every other protection as an
# ordinary block break, so a resource node or another plugin's region still has
# its say. Frames only: no spawners.
#
# Given with /crowbar give <player> [amount] - from staff, a kit, a redeem code
# or a crate plugin's reward command.
#
# Lines "# --8<-- [start:...]" and "# --8<-- [end:...]" mark the parts the online
# documentation quotes from this file. They are comments and change nothing.
# ---------------------------------------------------------------------------
enabled: true
item:
material: GOLDEN_HOE
name: "{primary}&lCrowbar"
# %uses% is how many frames it has left.
lore:
- "{muted}Right-click an End portal frame to take it out."
- "{muted}Only in the wilderness or your own claim."
- "{muted}Uses left: {secondary}%uses%"
# How many frames one crowbar takes out before it breaks. 0 is no limit.
uses: 0
# Seconds a player waits between two uses. 0 is none.
cooldown-seconds: 0
# Money one use costs, taken from the economy module. 0 is free. Nothing is
# taken for a refused use.
cost: 0