summaryrefslogtreecommitdiff
path: root/src/main/java/com/redstoner/modules/message/Message.cmd
blob: f6e76087b573883ad0badd6f6049d105d8b26575 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
command message {
    alias m;
    alias em;
    alias msg;
    alias emsg;
    alias t;
    alias et;
    alias tell;
    alias etell;
    alias w;
    alias ew;
    alias whisper;
    alias ewhisper;
    perm utils.message;
    [string:player] [string:message...] {
        run message player message;
        help Sends a direct message to a player.;
    }
}

command reply {
    alias r;
    alias er;
    alias ereply;
    perm utils.message;
    [string:message...] {
        run reply message;
        help Sends a direct message to the last person you talked to.;
    }
}

command pmtoggle {
    perm utils.message.toggle;
    [empty] {
        help Turns off your toggle.;
        type player;
        run pmtoggle_off;
    }
    [string:player] {
        help Turns on your pmtoggle and locks onto <player>.;
        type player;
        run pmtoggle player;
    }
}