Status
Structure:
Structure
status:
display-name: "<green><b>ACTIVE</b>"
weight: 10
decay: false
allow-switch:
from: true
to: true
holo: "Holograms/default.yml"
display-name
-
weight
-
decay
-
allow-switch
-
holo
-
requirements: # To allow switching to this status, the protection must meet these values
auto-enable: false # Automatically switch to this status after reaching the requirements
health: 1 # Has at least X amount
fuel-timer: 1 # Ticks | Has at least X amount
generator-stored-money: 0 # Has at least X amount
decay-timer: 0 # Has at least X amount
auto-enable
-
health
-
fuel-timer
-
generator-stored-money
-
decay-timer
-
gui-item:
<...>
GUI item - same format as any other GUI item
modifiers:
health:
capacity:
modify: 0
multiply: 1
regen:
amount:
modify: 0
multiply: 1
interval:
stop: false
modify: 0 # Ticks
multiply: 1
damage-delay:
modify: 0 # Ticks
multiply: 1
range:
amount:
modify: 0
multiply: 1
generator:
money:
amount:
modify: 0
multiply: 1
interval:
stop: false
modify: 0 # Ticks
multiply: 1
capacity:
modify: 0
multiply: 1
items:
overall-chance:
modify: 0
multiply: 1
interval:
stop: false
modify: 0 # Ticks
multiply: 1
capacity:
modify: 0
multiply: 1
storage:
slot-capacity:
modify: 0
multiply: 1
fuel:
capacity:
modify: 0
multiply: 1
consume-interval:
stop: false
modify: 0 # Ticks
multiply: 1
decay:
timer:
stop: false
reset: true
modify: 0 # Ticks
multiply: 1
money-cost:
multiply: 0
add: 0
item-cost:
multiply: 0
add: 0
damage:
blast:
modify: 0
multiply: 1
tool:
modify: 0
multiply: 1
none:
modify: 0
multiply: 1
defense:
amount:
modify: 0
multiply: 1
capacity:
modify: 0
multiply: 1
scaling-factor:
modify: 0
multiply: 1
modify
- Adds on top of the valuemultiply
- Multiplies the valuestop
- Stops the interval / timer (when applicable)
permissions:
disable: []
disable
- Permissions to disable while the status is active
EXAMPLE - Full config
status:
display-name: "<green><b>ACTIVE</b>"
weight: 10
decay: false
allow-switch:
from: true
to: true
holo: "Holograms/default.yml"
requirements: # To allow switching to this status, the protection must meet these values
auto-enable: false # Automatically switch to this status after reaching the requirements
health: 1 # Has at least X amount
fuel-timer: 1 # Ticks | Has at least X amount
generator-stored-money: 0 # Has at least X amount
decay-timer: 0 # Has at least X amount
gui-item:
item-type: "NONE"
amount: 1
model-data: 499
enchants:
- "infinity"
flags:
- "HIDE_ATTRIBUTES"
- "HIDE_ENCHANTS"
material: "GREEN_STAINED_GLASS_PANE"
name: "<dark_gray>[<green><b>ACTIVE</b><dark_gray>]"
lore:
- "<gray>Status modifiers:"
- "<dark_gray>> <green>None!"
- ""
- "<st><yellow><b>CLICK</b><gray> to change! </st> <red><b>Coming soon!"
actions:
left-click:
- "[SOUND] ui.button.click 1 1" # <SOUND NAME> <VOLUME> <PITCH>
RIGHT_CLICK:
- "[SOUND] ui.button.click 1 1" # <SOUND NAME> <VOLUME> <PITCH>
modifiers:
health:
capacity:
modify: 0
multiply: 1
regen:
amount:
modify: 0
multiply: 1
interval:
stop: false
modify: 0 # Ticks
multiply: 1
damage-delay:
modify: 0 # Ticks
multiply: 1
range:
amount:
modify: 0
multiply: 1
generator:
money:
amount:
modify: 0
multiply: 1
interval:
stop: false
modify: 0 # Ticks
multiply: 1
capacity:
modify: 0
multiply: 1
items:
overall-chance:
modify: 0
multiply: 1
interval:
stop: false
modify: 0 # Ticks
multiply: 1
capacity:
modify: 0
multiply: 1
storage:
slot-capacity:
modify: 0
multiply: 1
fuel:
capacity:
modify: 0
multiply: 1
consume-interval:
stop: false
modify: 0 # Ticks
multiply: 1
decay:
timer:
stop: false
reset: true
modify: 0 # Ticks
multiply: 1
money-cost:
multiply: 0
add: 0
item-cost:
multiply: 0
add: 0
damage:
blast:
modify: 0
multiply: 1
tool:
modify: 0
multiply: 1
none:
modify: 0
multiply: 1
defense:
amount:
modify: 0
multiply: 1
capacity:
modify: 0
multiply: 1
scaling-factor:
modify: 0
multiply: 1
permissions:
disable: []
Last updated