Compare commits

...
2 Commits
Author SHA1 Message Date
jmp a847dc5dd8 Looks like we need to use \n for newlines, even on Windows... 2021-01-13 21:19:55 -08:00
jmp 77f3ccf734 Bump version to 1.2.4-SNAPSHOT 2020-12-26 16:46:56 -08:00
3 changed files with 3 additions and 3 deletions

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ plugins {
allprojects {
group = "xyz.jpenilla"
version = "1.2.3+${latestCommitHash()}-SNAPSHOT"
version = "1.2.4+${latestCommitHash()}-SNAPSHOT"
description = "Use MiniMessage text formatting in your servers MOTD."
}
@@ -109,7 +109,7 @@ public abstract class MiniMOTDConfig<I> {
index = motds.size() == 1 ? 0 : ThreadLocalRandom.current().nextInt(motds.size());
motd = motds.get(index).replace("{onlinePlayers}", String.valueOf(onlinePlayers))
.replace("{maxPlayers}", String.valueOf(maxPlayers))
.replace("{br}", System.lineSeparator());
.replace("{br}", "\n");
} else {
motd = null;
index = 0;
+1 -1
View File
@@ -45,4 +45,4 @@ bungeeOnly:
fakePlayers: "25%"
# Setting this to true will disable the hover text showing online player usernames
disablePlayerListHover: false
disablePlayerListHover: false