boosters.yml
Each booster is a file in boosters/<name>.yml. Two ship by default: shard2x.yml and
shard3x.yml. Players right-click the item to activate it. Give one with
/afkzoneadmin booster give <player> <name> [amount].
Settings: Multiplier: 2.0 Duration: 3600 Permission: "" Consume-On-Use: true
Item: Material: AMETHYST_SHARD Name: "&d&l2x Shard Booster" Lore: - " " - " &5- &7Multiplier: &d{multiplier}x" - " &5- &7Duration: &d{duration}" - " " - "&7Right-Click to activate!" Glow: true Item-Flags: - HIDE_ATTRIBUTES
Consume-Actions: - "[title] &d&lBOOSTER;&7{multiplier}x shards for {duration};10;40;10"Settings
Section titled “Settings”| Key | Description |
|---|---|
Multiplier |
Shard multiplier while active (2.0 = ×2). |
Duration |
Duration in seconds (3600 = 1 hour). |
Permission |
Optional node required to activate. Empty = anyone. |
Consume-On-Use |
Consume the item on activation. |
Item & Consume-Actions
Section titled “Item & Consume-Actions”Item is a standard item definition; {multiplier} and {duration} are filled into the lore.
Consume-Actions run on activation using the shared
action syntax.
Activation rules
Section titled “Activation rules”- One booster active at a time. While one is active, another can’t be redeemed and the item is not consumed.
- Highest multiplier wins - boosters never stack. A permission booster of equal or higher value blocks redeeming a weaker item, so it’s never burned for nothing.
Permanent permission boosters (optimalafkzone.booster.<n>) are separate - see
Information → Permissions. Toggle the whole system with
Shards.Boosters in config.yml.