New quest types:
Code (YAML):
'experience1':
type
: EXP
value
: '30'
redoable
: false
cooldown:
enabled
: true
minutes
: 30
display:
item
: 'EXP_BOTTLE'
name
: '&9Experience Levels'
lore
:
- '&7Gain 30 experience levels.'
- ''
- '&7Rewards:'
- '&764 Exp Bottles'
- ''
- '&7
%progress%/30 levels'
rewards
:
- 'type:command, value:
[give
%player% exp_bottle 64]'
rewardstring
:
- '&a64 Bottle o'' Enchanting.'
'totalexperience1':
type
: TOTALEXP
value
: '1000'
redoable
: false
cooldown:
enabled
: true
minutes
: 30
display:
item
: 'EXP_BOTTLE'
name
: '&9Total Experience'
lore
:
- '&7Acquire 1000 total experience.'
- ''
- '&7Rewards:'
- '&764 Exp Bottles'
- ''
- '&7
%progress%/1000 experience'
rewards
:
- 'type:command, value:
[give
%player% exp_bottle 64]'
rewardstring
:
- '&a64 Bottle o'' Enchanting.'
'walking1':
type
: WALKING
value
: '500'
redoable
: false
cooldown:
enabled
: true
minutes
: 30
display:
item
: 'LEATHER_BOOTS'
name
: '&9Walking I'
lore
:
- '&7Walk 500 meters.'
- ''
- '&7Rewards:'
- '&75 Swiftness II potions'
- ''
- '&7
%progress%/500 meters'
rewards
:
- 'type:command, value:
[give
%player% 373:8226 5]'
rewardstring
:
- '&a5 Swiftness II potions.'
'walking2':
type
: WALKING
value
: '500'
redoable
: false
cooldown:
enabled
: true
minutes
: 30
requires
: 'walking1'
display:
item
: 'IRON_BOOTS'
name
: '&9Walking II'
lore
:
- '&7Walk 2000 meters.'
- ''
- '&7Rewards:'
- '&720 Swiftness II potions'
- ''
- '&7
%progress%/2000 meters'
rewards
:
- 'type:command, value:
[give
%player% 373:8226 20]'
rewardstring
:
- '&a20 Swiftness II potions.'
The parse<questtype>Value methods in the QuestData class are now deprecated and have been moved to the new QuestUtil class.