SafariCommand:
type: command
debug: full
name: safari
description: Play the Safari Game!
usage: /safari
permission: safaricmd.safari
script:
- narrate "Safari Game will start soon"
- execute as_server "clear <player.name>"
# - flag <player> safari.command.expiration:<system.current_time_milliseconds.add[1800000]>
- - wait 1s
+ # - wait 1s
- narrate "Here are 30 Safari Balls, Have Fun!"
- - give i@4142 qty:30
- - teleport <player> l@-1327,107,-6468,world
- - wait 30m
- - teleport <player> l@-278,107,234,world
+ - execute as_server "give <player.name> pixelmon:safari_ball 30"
+ # - teleport <player> l@-1327,107,-6468,world
+ # - wait 30s
+ # - teleport <player> l@-278,107,234,world
- wait 1s
- - teleport <player> l@-278,108,234,world
- - take i@4142 qty:30
+ - teleport <player> <location[-278,107,234,world]>
+ - execute as_server "clear <player.name>"
- narrate "Times up! Come play again soon!"
-
+ # - flag <player> has_surf