Skip to content

Commit e3e00b3

Browse files
committed
Add a link to Modrinth to version and update messages
1 parent cbca692 commit e3e00b3

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

  • src/main/java/eu/decentsoftware/holograms/api

src/main/java/eu/decentsoftware/holograms/api/Lang.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,16 +148,18 @@ public static void reload() {
148148

149149
public static void sendVersionMessage(@NonNull CommandSender sender) {
150150
Common.tell(sender,
151-
"\n&fThis server is running &3DecentHolograms v%s&f by &bd0by&f : &7%s",
151+
"\n&fThis server is running &3DecentHolograms v%s&f by &bd0by&f: \n&f- &7%s\n&f- &7%s",
152152
DecentHologramsAPI.get().getPlugin().getDescription().getVersion(),
153-
"https://www.spigotmc.org/resources/96927/"
153+
"https://www.spigotmc.org/resources/96927/",
154+
"https://modrinth.com/plugin/decentholograms"
154155
);
155156
}
156157

157158
public static void sendUpdateMessage(@NonNull CommandSender sender) {
158159
Common.tell(sender,
159-
"\n&fA newer version of &3DecentHolograms &fis available. Download it from: &7%s",
160-
"https://www.spigotmc.org/resources/96927/"
160+
"\n&fA newer version of &3DecentHolograms &fis available. Download it from: \n&f- &7%s\n&f- &7%s",
161+
"https://www.spigotmc.org/resources/96927/",
162+
"https://modrinth.com/plugin/decentholograms"
161163
);
162164
}
163165

0 commit comments

Comments
 (0)