zQuestRank

Rewards

What players get for claiming a rank or completing a quest.

Rewards run in two places: when a rank is claimed (the rank's rewards: block) and, optionally, the moment a single quest completes (that quest's own rewards: block). Both use the same options.

rewards:
  money: 5000
  xp-levels: 5
  items:
    - "DIAMOND:8"
  commands:
    - "crates give {player} vote 3"
  broadcast: true

Reward options

KeyWhat it givesNeeds
moneyDeposited into the player's balanceVault + an economy plugin
xp-levelsVanilla experience levels addednothing
itemsA list of "MATERIAL:amount" entries. If the inventory is full, the rest drops at the player's feetnothing
commandsOne-time prize commands run the moment the rank is claimed. {player} is replaced with the player's namenothing
broadcastRank rewards only: announce this promotion in global chat. Default truenothing

Commands are one-time claim prizes

The commands list runs once, at the moment the rank is claimed. Use it for prizes that should only ever be handed out on a real rank up: crate keys, cosmetics, kits.

commands:
  - "crates give {player} vote 3"
  - "broadcast {player} just ranked up!"

Do not put your LuckPerms rank command here. rewards.commands only fires on a genuine claim, so it never runs for a fresh player on Rank I and never runs when you setrank someone. Set the actual permission group with on-reach instead, which fires every time a player lands on the rank.

Per-quest rewards

Any quest can carry its own rewards: block with money, xp-levels, items, and commands (no broadcast). It fires exactly once, the moment the quest reaches its target, alongside the quest-completed chat message.

quests:
  seeds:
    type: DELIVER_ITEM
    material: WHEAT_SEEDS
    amount: 256
    rewards:
      money: 500
      items:
        - "BREAD:16"

See Quests for where this sits in the quest definition.

The promotion broadcast

When a rank is claimed, the plugin can announce it to the whole server ("✦ Player advanced to Rank II! ✦"). Two switches control it:

  • progression.broadcast-promotions in config.yml is the global toggle.
  • broadcast inside a rank's rewards: block turns it off for that one rank.

The message text lives in the language files. See Messages.

On this page