Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on eat of golden apple:
- if player doesn't have permission "gapple.consume":
- if data value of item is 1:
- set {_waited} to difference between {gopple.%player%.lastused} and now
- if {_waited} is less than 5 hours:
- message "&cYou still have a &6&lGopple &ccooldown for another &c&l%difference between 15 minutes and {_waited}%"
- cancel event
- stop
- else:
- send "&c&l█&l█&l█&l█&l█&l█&l█&l█"
- send "&c&l█&l█&l█&e&l█&l█&c&l█&l█&l█ &6&lGopple:"
- send "&c&l█&l█&l█&e&l█&c&l█&l█&l█&l█ &7Consumed"
- send "&c&l█&l█&6&l█&l█&l█&l█&c&l█&l█"
- send "&c&l█&6&l█&l█&f&l█&6&l█&l█&l█&c&l█ &6Cooldown remaining:"
- send "&c&l█&6&l█&f&l█&6&l█&l█&l█&l█&c&l█ &700:15:00"
- send "&c&l█&6&l█&l█&l█&l█&l█&l█&c&l█"
- send "&c&l█&6&l█&l█&l█&l█&l█&l█&c&l█"
- send "&c&l█&l█&6&l█&l█&l█&l█&c&l█&l█"
- send "&c&l█&l█&l█&l█&l█&l█&l█&l█"
- set {gopple.%player%.lastused} to now
Advertisement
Add Comment
Please, Sign In to add comment