Docs

Active abilities

Powers players activate at will: for a few seconds they give large stats and then go on cooldown. They are unlocked and upgraded with currencies.

Configurationabilities.yml
Menumenus/abilities.yml
Command/ability (aliases /abilities, /habilidad, /poderes)
Moduleabilities

How they are used

  1. In /ability, right click unlocks or upgrades an ability.
  2. Left click selects it.
  3. Sneak + right click with the pickaxe activates the selected one. Also with /ability use or shift + left click in the menu.
  4. The action bar shows the remaining time. When it ends, the cooldown starts.

Configuration

yaml
settings:
  trigger: sneak-right-click     # or none to only use /ability use
  select-on-unlock: true

abilities:
  gold-rush:
    enabled: true
    name: "@abilities.names.gold-rush"
    description: "@abilities.names.gold-rush-description"
    icon: GOLD_BLOCK
    slot: 11
    max-level: 5
    currency: tokens
    cost: "25000 * 2.5 ^ {level}"          # {level} is the current level, 0 when locked
    required-pickaxe-level: 0
    permission: ""
    duration-seconds: "10 + {level} * 4"
    cooldown-seconds: "180 - {level} * 15"
    bonuses:
      sell: "0.5 + {level} * 0.25"
    activate-actions:
      - "[sound] ENTITY_PLAYER_LEVELUP 1 0.8"
      - "[title] &6&lGOLD RUSH;&7Sell value boosted for {time}"
    end-actions: []
OptionDoes
max-level · currency · costLevels and unlock or upgrade price
required-pickaxe-level · permissionRequirements
duration-seconds · cooldown-secondsFormulas of {level}
bonusesStats while active
activate-actions · end-actionsActions on activation and on end, with {player}, {ability}, {level} and {time}

Included: gold-rush (selling), enchanted-frenzy (enchant chance) and scholar-focus (experience).

Commands

CommandPermissionDoes
/abilityeveryoneMenu
/ability useeveryoneActivates the selected ability
/ability set <player> <ability> <level>pulseprison.abilities.adminSets a level
/ability resetcooldown <player>pulseprison.abilities.adminClears the cooldown
/ability reloadpulseprison.abilities.adminReloads abilities.yml

Stats

/stats [player] (aliases /bonuses, /estadisticas) shows the total of every active bonus: attributes, boosters, crystals, armor, skins, masteries and abilities. See Stats.

Active abilities | PulsePrison Core Docs