Skip to content

Commit

Permalink
Add a link to Modrinth to version and update messages
Browse files Browse the repository at this point in the history
  • Loading branch information
d0by1 committed Jun 27, 2024
1 parent cbca692 commit e3e00b3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/main/java/eu/decentsoftware/holograms/api/Lang.java
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
}

Expand Down

0 comments on commit e3e00b3

Please sign in to comment.