-
Notifications
You must be signed in to change notification settings - Fork 0
Requirements
DeDet edited this page Jun 8, 2026
·
1 revision
Requirements lock quests behind conditions. If no requirements section exists in a quest, the quest is always available. All requirements must be met for the quest to unlock.
Requires another quest to be completed first.
requirements:
- type: QUEST
quest: BE_A_BAKER # Quest ID that must be completed
display: '&cRequires <quest>' # Text shown when locked| Field | Required | Description |
|---|---|---|
quest |
Yes | The quest ID that must be completed first |
display |
No | Text shown in the locked lore (<quest> = required quest's display name) |
Requires the player to have a specific permission node.
requirements:
- type: PERMISSION
permission: myplugin.vote # Permission node
display: '&cRequires permission: <permission>'| Field | Required | Description |
|---|---|---|
permission |
Yes | The permission node the player must have |
display |
No | Text shown in the locked lore (<permission> = the permission node) |
Requires a PlaceholderAPI placeholder to match a specific value. Requires PlaceholderAPI on the server.
requirements:
- type: PLACEHOLDER
data-type: string # string, integer, or double
operator: '==' # Comparison operator
input: '%some_placeholder%'
output: 'value'
display: '&cRequires condition'
- type: PLACEHOLDER
data-type: double
operator: '>='
input: '%vault_eco_balance%'
output: 200
display: '&cRequires 200 or more balance'| Field | Required | Description |
|---|---|---|
data-type |
Yes | The data type to compare: string, integer, or double
|
operator |
Yes | Comparison operator (see below) |
input |
Yes | PlaceholderAPI placeholder to evaluate |
output |
Yes | The expected value |
display |
No | Text shown in the locked lore |
| Data Type | Supported Operators |
|---|---|
string |
==, !=
|
integer |
==, !=, >, <, >=, <=
|
double |
==, !=, >, <, >=, <=
|
When a quest is locked:
- The GUI shows the
lockeditem from the category'squests-item.lockedsection - The
<requirements>placeholder is replaced with each requirement'sdisplaytext - The item is typically shown as a
BARRIERwith red "LOCKED" text
quests-item:
locked:
item: BARRIER
name: '&f<display>'
lore:
- ''
- '<desc>'
- ''
- '<requirements>' # ← Each requirement's display text appears here
- ''
- '&4&lLOCKED'You can have multiple requirements of the same or different types:
requirements:
- type: QUEST
quest: BE_A_BAKER
display: '&cRequires <quest>'
- type: PERMISSION
permission: myplugin.vote
display: '&cRequires permission: <permission>'
- type: PLACEHOLDER
data-type: double
operator: '>='
input: '%vault_eco_balance%'
output: 200
display: '&cRequires 200 or more balance'All requirements must be satisfied before the quest unlocks.