Update from Git Manager GUI
This commit is contained in:
41
src/main/resources/customcommands.yml
Normal file
41
src/main/resources/customcommands.yml
Normal file
@@ -0,0 +1,41 @@
|
||||
# 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%"
|
||||
Reference in New Issue
Block a user