Use the sonic boom just like the warden When joining the world for the first time use:
/function abilitystart:setup
Every time when joining the world use:
/function abilitystart:start
(you also need to do this after using abilitystart:setup)
The command to use it is:
/function w:a
(or /scoreboard players set @s warden_attack 1 in version B1.0.0)
but I recomend using the MyCommand Plugin
You can use this line in MyCommand config:
warden_attack_command:
command: /wa
type: RUN_CONSOLE
runcmd:
- "scoreboard players set $player warden_attack 1"
permission-required: false
You can link it to a button with BindCommands
You can find the code github

