From e3e00b3ccd619a9bdd27e10998180b728b6faf9c Mon Sep 17 00:00:00 2001 From: tplansky Date: Thu, 27 Jun 2024 21:34:34 +0200 Subject: [PATCH] Add a link to Modrinth to version and update messages --- .../java/eu/decentsoftware/holograms/api/Lang.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/main/java/eu/decentsoftware/holograms/api/Lang.java b/src/main/java/eu/decentsoftware/holograms/api/Lang.java index af76166a..1af7c1af 100644 --- a/src/main/java/eu/decentsoftware/holograms/api/Lang.java +++ b/src/main/java/eu/decentsoftware/holograms/api/Lang.java @@ -148,16 +148,18 @@ public static void reload() { public static void sendVersionMessage(@NonNull CommandSender sender) { Common.tell(sender, - "\n&fThis server is running &3DecentHolograms v%s&f by &bd0by&f : &7%s", + "\n&fThis server is running &3DecentHolograms v%s&f by &bd0by&f: \n&f- &7%s\n&f- &7%s", DecentHologramsAPI.get().getPlugin().getDescription().getVersion(), - "https://www.spigotmc.org/resources/96927/" + "https://www.spigotmc.org/resources/96927/", + "https://modrinth.com/plugin/decentholograms" ); } public static void sendUpdateMessage(@NonNull CommandSender sender) { Common.tell(sender, - "\n&fA newer version of &3DecentHolograms &fis available. Download it from: &7%s", - "https://www.spigotmc.org/resources/96927/" + "\n&fA newer version of &3DecentHolograms &fis available. Download it from: \n&f- &7%s\n&f- &7%s", + "https://www.spigotmc.org/resources/96927/", + "https://modrinth.com/plugin/decentholograms" ); }