From 097b4f8135a327c1f398086cb71d814859becb59 Mon Sep 17 00:00:00 2001 From: Minenash Date: Wed, 12 Dec 2018 20:56:08 -0500 Subject: [PATCH] Updated command structure --- src/main/java/com/redstoner/modules/motd/Motd.cmd | 11 +++++++---- 1 file 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;