Cooldowns + Locked, Completed and Cooldown items in GUI configurable.
For people who have already installed the plugin:
To add a cooldown to your quest, add:
Code (YAML):
cooldown:
enabled
: true
minutes
: 30
after the 'redoable' section. To change the cooldown time, edit the 'minutes'.
A quest should now look like this:
Code (YAML):
'iceskater1':
type
: BUILDINGCERTAIN:79
redoable
: true
cooldown:
enabled
: true
minutes
: 30
value
: 10
display:
item
: 'ICE'
name
: '&9Ice Skater I'
lore
:
- '&7To complete this quest you must:'
- '&7Place 10 of ICE
[79
]'
- ''
- '&7Rewards:'
- '&7$5000'
- ''
- '&7Progress
:
%progress%/10 blocks'
rewards
:
- 'type:command, value:
[eco give
%player% 5000]'
In addition to all of this, you can edit the locked and completed items in the GUI:
Code (YAML):
gui:
completed:
item
: 'STAINED_GLASS_PANE:5'
name
: '&2&lCompleted'
lore
:
- '&7This quest has been completed and is not redoable.'
cooldown:
item
: 'STAINED_GLASS_PANE:1'
name
: '&6&lCooldown'
lore
:
- '&7This quest has been completed.'
- '&7Cooldown
:
%cooldown%'
locked:
item
: 'STAINED_GLASS_PANE:14'
name
: '&c&lLocked'
lore
:
- '&7This quest is locked.'
- '&7Please complete previous quests to unlock this quest.'