summaryrefslogtreecommitdiff
path: root/src/main/java/com/redstoner/modules/friends/Friends.cmd
blob: 336a7693323180061b82e587c7de3a021fe1dd44 (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
45
46
47
48
command friends {
	alias friend;
	perm utils.friends;
	type player;
	
    add [string:name] {
        run add name;
        help Adds a friend to your friend list.;
    }
    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 friend list.;
    }
    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.;
    } 
    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;
    }
    group {
    	[string:groupName] {
    		run list_group groupName;
        	help Shows a list of all friends in that group.;
        	perm utils.friends.groups;
    	}
    	run list_groups;
        help Shows all your friend groups that have at least one person in them.;
        perm utils.friends.groups;
    }
}