summaryrefslogtreecommitdiff
path: root/src/main/java/com/redstoner/modules/mail/Mail.cmd
blob: 705dafe87f5a9a16e3c262d73ecab65e86667c12 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
command mail {
	perm utils.mail;
	type player;
	
	[empty] {
        run read;
        help Shows your inbox of mails.;
    }
    read [empty] {
        run read;
        help Shows your inbox of messages.;
    }
    delete [int:id] {
    	run delete id;
    	help Deletes the given message.;
    }
    clear [empty] {
    	run clear;
    	help Clears your inbox.;
    }
    send [string:player] [string:message...] {
    	run send player message;
    	help Send a message to the given player.;
    }
    reply [int:id] [string:message...] {
    	run reply id message;
    	help Reply to a players message.;
    }
    retract [int:id] {
        run retract_id id;
        help Retract the given message, if the player has not read it yet.;
    }
    retract [empty] {
    	run retract;
        help Retract the last message you sent, if the player has not read it yet.;
    }
    archive [empty] {
        run archive_read;
        help Shoes are archived messages.;
    }
    archive read [empty]{
        run archive_read;
        help Shoes are archived messages.;
    }
    archive [int:id] {
    	run archive id;
    	help Archives a message.;
    }
    unarchive [int:id] {
    	run unarchive id;
    	help Unarchives a message.;
    }
    settings theme {
    	[string:s_theme] {
    	    run settings_theme_set s_theme;
            help Sets the theme for your inbox. Available themes are: Light, Dark, and Gold.;
    	}
    	run settings_theme;
        help Shows your current theme setting.;
    }
    settings actions {
    	[string:s_actions] {
    	    run settings_actions_set s_actions;
            help Sets the action set for your inbox. Available options are: \nMinimal: No click actions,\nSimple: Delete, and \nStandard: Delete, and Reply. \nAll actions are still available as commands.;
    	}
    	run settings_actions;
        help Shows your current action set setting.;
    }
    settings names {
    	[string:s_names] {
    	    run settings_names_set s_names;
            help Sets if you want to see player's username or display name. Available options are: username or displayname;
    	}
    	run settings_names;
        help Shows your current names setting.;
    }
    [string:player] [string:message...] {
    	run send player message;
    	help Send a message to the given player.;
    }
}