summaryrefslogtreecommitdiff
path: root/src/main/java/com/redstoner/modules/friends/Friends.cmd
blob: ea205c9ed5138a969ca55b5ac50ffb74e989e3ef (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
command friends {
    add [string:name] {
        run add name;
        help Adds a friend to your friendlist.;
        perm utils.friends;
    }
    add [string:name] [string:group] {
        run add_grouped name group;
        help Adds a friend to a group of friends;
        perm utils.friends.groups;
    }
    remove [string:name] {
        run del name;
        help Removes a friend from your friendlist.;
        perm utils.friends;
    }
    remove [string:name] [string:group] {
        run del_grouped name group;
        help Removes a friend from a group of friends;
        perm utils.friends.groups;
    }
    list {
        run list;
        help Shows a list of all your friends.;
        perm utils.friends;
    } 
    list [string:group] {
        run list_group group;
        help Shows a list of all friends in that group.;
        perm utils.friends.groups;
    }
    groups {
        run list_groups;
        help Shows all your friend groups that have at least one person in them.;
        perm utils.friends.groups;
    }
    type player;
}