Docs

Boosters

Boosters give a temporary bonus to a stat. They can be personal, activated with an item, or global for the whole server. Ideal for stores, votes and events.

Configurationboosters.yml
DataPlayer profile; global ones in data/global-boosters.yml
Menumenus/boosters.yml
Command/booster (aliases /boosters, /potenciador)
Moduleboosters

Configuration

yaml
boosters:
  money:
    enabled: true
    name: "@boosters.items.money-name"
    icon: GOLD_INGOT
    stat: sell                     # any stat, for example currency:shards
    bonus: 0.5                     # +50%
    duration-seconds: 1800
    stack: extend                  # extend, add or replace
    max-bonus: 0                   # 0 for no cap
    max-duration-seconds: 21600
    item:
      material: POTION
      name: "@boosters.items.item-name"
      lore:
        - "@boosters.items.item-lore"
      glow: true
    activate-actions: []

When the same booster is activated again

stackResult
extendAdds the time and keeps the highest bonus
addAdds the bonus and keeps the longest time
replaceStarts over with the new values

max-bonus and max-duration-seconds cap the result.

The item accepts {booster}, {bonus}, {stat} and {time}, and activate-actions accepts {booster}, {bonus} and {time}.

Using a booster

  • Personal: the player right clicks the item. It activates and is consumed.
  • Global: staff activates it for everyone with /booster global. It also applies to players who join later, while it lasts.
  • /booster shows active boosters with their remaining time.

Commands

Time: seconds or 30m, 1h30m. Bonus: 0.5 is +50%.

CommandPermissionDoes
/boostereveryoneActive boosters
/booster give <player> <type> [amount]pulseprison.boosters.adminGives items
/booster activate <player> <type> [time] [bonus]pulseprison.boosters.adminActivates directly
/booster global <type> [time] [bonus]pulseprison.boosters.adminActivates for everyone
/booster clear <player|global> [type]pulseprison.boosters.adminRemoves boosters
/booster reloadpulseprison.boosters.adminReloads boosters.yml
Boosters | PulsePrison Core Docs