Docs

Attributes

Attributes are permanent upgrades players buy with any currency. Every level adds stats, making them the most direct way to turn currency into progress.

Configurationattributes.yml
Menumenus/attributes.yml
Command/attributes (aliases /attribute, /atributos)
Moduleattributes

Configuration

yaml
attributes:
  merchant:
    enabled: true
    name: "@attributes.items.merchant-name"
    description: "@attributes.items.merchant-description"
    icon: EMERALD
    slot: 11                       # optional, fixed slot in the menu
    max-level: 50
    currency: tokens
    cost: "2500 * 1.18 ^ {level}"  # {level} is the current level
    bonuses:
      sell: "{level} * 0.02"       # +2% selling per level

  scholar:
    icon: EXPERIENCE_BOTTLE
    max-level: 40
    currency: tokens
    cost: "3000 * 1.2 ^ {level}"
    bonuses:
      pickaxe-exp: "{level} * 0.03"
      level-exp: "{level} * 0.01"
OptionDoes
name · descriptionText or @key
icon · slotMenu icon and slot
max-levelMaximum level
currency · costCurrency and price of the next level, formula of {level}
bonusesStat: formula of {level}

Included: merchant (selling), scholar (experience) and gambler (enchant chance and lucky block charge).

Commands

CommandPermissionDoes
/attributeseveryoneMenu to buy levels
/attributes set <player> <attribute> <level>pulseprison.attributes.adminSets a level
/attributes reloadpulseprison.attributes.adminReloads attributes.yml
Attributes | PulsePrison Core Docs