Files
StatusAPI/src/main/resources/customcommands.yml
2026-01-21 00:32:53 +01:00

41 lines
1.0 KiB
YAML

# If you want to enable /chat
chat-command: true
# The commands
commands:
test:
aliases:
- test2
permission: ""
type: random
sender: default
commands:
- "alert Das ist ein Random Test Befehl!"
- "glist"
anothercommand:
aliases:
- thisisacommand
permission: "myplugin.mypermission"
type: line
sender: default
commands:
- "alert Hello World!"
- "alert How're you?"
- "alert I'd like to tell you that %args%"
# - "test" # Vorsicht: Rekursion, falls 'test' in dieser Liste steht und 'test' selbst definiert ist
sudo:
aliases:
- runasadmin
permission: "commands.sudo"
type: line
sender: admin
commands:
- "alert Running as Admin: %args%"
- "%args%"
something:
aliases:
- anything
permission: "some.permission"
type: line
sender: console
commands:
- "alert %sender% would like to say that %args%"