#Help with hosting event

2 messages · Page 1 of 1 (latest)

echo steppe
#

hi does anyone know hot to make them do this: when they first join the server to spawn in that bedrock box then a countdown happens 5 4 3 2 1 when I command it to happen then they spawn around a statue then count down happens starts from 60 says it in chat then once it hits 10 I want an announcement on there screen to count down 10 9 8 7 6 5 4 3 2 1 then one minute later pvp starts and I also want that to pop up on there screen pvp enabled.

if i typed this script in control panel would this work?

event_start:
delay: 0
commands:
- 'nomove enable' # Freeze players in the bedrock box
- 'title @a title {"text":"5", "color":"yellow"}'
- 'wait 20'
- 'title @a title {"text":"4", "color":"yellow"}'
- 'wait 20'
- 'title @a title {"text":"3", "color":"yellow"}'
- 'wait 20'
- 'title @a title {"text":"2", "color":"yellow"}'
- 'wait 20'
- 'title @a title {"text":"1", "color":"yellow"}'
- 'wait 20'
- 'spreadplayers X Z 10 30 false @a' # Teleports players around statue (set X, Z to statue center)
- 'nomove disable' # Allow movement after teleport
- 'tellraw @a {"text":"60 seconds until PvP!","color":"yellow"}'
- 'wait 200'
- 'tellraw @a {"text":"50 seconds until PvP!","color":"yellow"}'
- 'wait 200'
- 'tellraw @a {"text":"40 seconds until PvP!","color":"yellow"}'
- 'wait 200'

#
  • 'tellraw @a {"text":"30 seconds until PvP!","color":"yellow"}'
    • 'wait 200'
    • 'tellraw @a {"text":"20 seconds until PvP!","color":"yellow"}'
    • 'wait 200'
    • 'title @a title {"text":"10", "color":"red"}'
    • 'wait 20'
    • 'title @a title {"text":"9", "color":"red"}'
    • 'wait 20'
    • 'title @a title {"text":"8", "color":"red"}'
    • 'wait 20'
    • 'title @a title {"text":"7", "color":"red"}'
    • 'wait 20'
    • 'title @a title {"text":"6", "color":"red"}'
    • 'wait 20'
    • 'title @a title {"text":"5", "color":"red"}'
    • 'wait 20'
    • 'title @a title {"text":"4", "color":"red"}'
    • 'wait 20'
    • 'title @a title {"text":"3", "color":"red"}'
    • 'wait 20'
    • 'title @a title {"text":"2", "color":"red"}'
    • 'wait 20'
    • 'title @a title {"text":"1", "color":"red"}'
    • 'wait 1200' # Wait 60 seconds before enabling PvP
    • 'pvp on'
    • 'title @a title {"text":"PvP ENABLED!", "color":"red"}'