Fixed PVP listener so PVP detection will work correctly
Fixed so when the server is reloaded, fly times are reloaded from database
Added new /flyshop which allows players to buy fly time using in-game money! You can add more to the end of the config to add more items and allow more rows if you do!
Code (YAML):
# Enable or disable the fly shop (Essentially allowing players to buy temp fly time in game) fly-shop:
enabled: true
title: "&b&lFly Time Shop" rows: 3
sounds: # Change sounds to your liking! open: BLOCK_CHEST_OPEN
close: BLOCK_CHEST_CLOSE
success: ENTITY_EXPERIENCE_ORB_PICKUP
failure: BLOCK_NOTE_BLOCK_BASS
options:
1:
duration: "1m" cost: 500
item: CLOCK
name: "&eBuy 1 Minute" lore: -
"&7Purchase 1 minute of fly time" - "&eCost: $500
" 2: duration: "10m
" cost: 3000 item: CLOCK name: "&aBuy 10 Minutes
" lore: - "&7Purchase 10 minutes of fly time
" - "&aCost
: $3000
" 3: duration: "1h
" cost: 10000 item: NETHER_STAR name: "&bBuy 1 Hour
" lore: - "&7Purchase 1 hour of fly time
" - "&bCost
: $10000
"