From 8ceb57aee1f975a19abfb1287b110e01d77e0c6e Mon Sep 17 00:00:00 2001 From: Nicholas Rees <70386214+nickreesdev@users.noreply.github.com> Date: Wed, 17 Mar 2021 21:21:57 -0500 Subject: [PATCH] Documented announcements --- .../java/zone/themcgamer/core/announce/AnnounceManager.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/src/main/java/zone/themcgamer/core/announce/AnnounceManager.java b/core/src/main/java/zone/themcgamer/core/announce/AnnounceManager.java index 8d2a9c0..17f151a 100644 --- a/core/src/main/java/zone/themcgamer/core/announce/AnnounceManager.java +++ b/core/src/main/java/zone/themcgamer/core/announce/AnnounceManager.java @@ -51,6 +51,12 @@ public class AnnounceManager extends Module { }); } + /** + * Send a server-wide announcement + * + * @param type the type of announcement to send + * @param message the message that will be sent in the announcement + */ public void sendAnnouncement(AnnounceType type, String message) { JedisCommandHandler.getInstance().send(new AnnounceCommand(type, message)); }