diff options
author | Minenash <minenash@protonmail.com> | 2018-12-12 20:56:08 -0500 |
---|---|---|
committer | Minenash <minenash@protonmail.com> | 2018-12-12 20:56:08 -0500 |
commit | 097b4f8135a327c1f398086cb71d814859becb59 (patch) | |
tree | 93b138b6cbf70dc6b48e6fad67e460d38d7e2d74 /src/main/java/com/redstoner/modules/motd | |
parent | 8a20c8042155c8926ed13a8f418fc56858123c1e (diff) |
Updated command structure
Diffstat (limited to 'src/main/java/com/redstoner/modules/motd')
-rw-r--r-- | src/main/java/com/redstoner/modules/motd/Motd.cmd | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/main/java/com/redstoner/modules/motd/Motd.cmd b/src/main/java/com/redstoner/modules/motd/Motd.cmd index 7f82950..52107ef 100644 --- a/src/main/java/com/redstoner/modules/motd/Motd.cmd +++ b/src/main/java/com/redstoner/modules/motd/Motd.cmd @@ -1,11 +1,14 @@ -command setmotd { - [string:motd...] { +command motd { + get { + help Returns the motd; + run getmotd; + perm utils.motd.get; + } + set [string:motd...] { help Sets the motd. Use --reset to reset to default; run setmotd motd; perm utils.motd.set; } -} -command getmotd { [empty] { help Returns the motd; run getmotd; |