Paste #115270: Unnamed Denizen Script Paste

Date: 2023/09/16 13:05:16 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18


private_message_command:
    type: command
    name: tell
    description: Private Nachricht an Spieler
    usage: /tell
    #permission: custom.command.tell
    debug: false
    aliases:
    - msg
    - whisper
    tab completions:
        1: <server.online_players.parse[name]>
        2: Nachricht
    script:
    - if <context.source_type> != PLAYER:
        - narrate "<&b>/<context.alias> <&c>kann nur von einem Spieler ausgeführt werden!"
        - stop
# more stuff here which I left out for this example