Rewards
Rewards
Rewards are granted automatically when a player completes all objectives and turns the quest in. Four reward types are available and can be combined freely. Each grant is confirmed in chat with the TTS-Studio prefix QuestForge:.
Money
Grants Vault economy currency. Requires Vault to be installed; otherwise silently skipped (see Compatibility).
rewards:
money: 500.0
XP Levels
Grants experience levels (not raw XP points).
rewards:
xp-levels: 10
Note: Uses
Player#giveExpLevels()— these are full levels, not raw XP.
Commands
Runs commands as the console. Use {player} as a placeholder for the player's name.
rewards:
commands:
- "say {player} completed the quest!"
- "give {player} diamond 3"
- "lp user {player} permission set some.permission true"
- "broadcast &6{player} &eis now a legendary bounty hunter!"
Tip: Commands run as console, so they have full permissions. Use this for rank-ups, special item gives, or broadcast messages.
Items
Gives item stacks directly to the player's inventory.
rewards:
items:
- material: DIAMOND
amount: 3
- material: DIAMOND_SWORD
amount: 1
display-name: "<aqua><bold>Quest Reward Sword"
enchantments:
SHARPNESS: 5
UNBREAKING: 3
Warning: If the player's inventory is full, overflow items are dropped at their feet.
Full Rewards Example
rewards:
money: 1000.0
xp-levels: 15
commands:
- "broadcast <gold>{player} completed the Epic Adventure quest!"
- "lp user {player} permission set quests.epic_done true"
items:
- material: NETHERITE_INGOT
amount: 1
- material: GOLDEN_APPLE
amount: 5
QuestForge is part of the TTS-Studio Minecraft plugin suite.