schemaVersion: 1
commandMode: COMMAND_CUSTOM
command: killhostile
children:
- child: a
type: argument
argumentType: minecraft:word
actions:
- command: kill @e[type=#cdp:hostile]
commandType: SERVER
requireSuccess: false
messageIfUnsuccessful: 'FAILED'
messageIfSuccessful: 'WORKED!!!'