Added a new quest type: TIMEPLAYED.
Added a new command: /quest synctime.
Code (YAML):
'timeplayed1':
type
: TIMEPLAYED
value
: '60'
redoable
: false
cooldown:
enabled
: true
minutes
: 30
display:
item
: 'WATCH'
name
: '&9Time Played I'
lore
:
- '&7Play for 1 hour.'
- ''
- '&7Rewards:'
- '&7$500'
- ''
- '&7Progress
:
%progress%'
- ''
- '&7Note
: Sync your time played with the one listed'
- '&7in Pause > Statistics by using ''/quest synctime''.'
- '&7Requires permission ''quest.synctime'''
rewards
:
- 'type:command, value:
[eco give
%player% 500]'
rewardstring
:
- '&a$500 added to your in-game balance.'
/quest synctime will retrieve the player's time played from pause > statistics and use that to complete quests. It requires the permission 'quest.synctime'