You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -36,7 +38,14 @@ class UpdateService(plugin: Attollo) : Runnable {
36
38
37
39
funnotifyConsole(logger:ComponentLogger) {
38
40
if (this.remoteVersion !=null&& remoteVersion?.isHigherThan(this.localVersion) ==true) {
39
-
logger.warn(MiniMessage.miniMessage().deserialize("<yellow>Your version (${localVersion}) is older than our latest published version (${remoteVersion.toString()}). Please update as soon as possible to get continued support. Or use this link ${DOWNLOAD_URL.format(remoteVersion.toString())}"))
41
+
logger.warn(
42
+
MiniMessage.miniMessage().deserialize(
43
+
"<yellow>Your version (<local_version>) is older than our latest published version (<remote_version>). Please update as soon as possible to get continued support. Or use this link <download_url>.",
player.sendMessage(MiniMessage.miniMessage().deserialize("<yellow><click:open_url:'https://hangar.papermc.io/OneLiteFeather/Attollo'>Your version (${localVersion}) is older than our latest published version (${remoteVersion.toString()}). Please update as soon as possible to get continued support. Or click me to get on the download page!</click>"))
59
+
player.sendMessage(
60
+
MiniMessage.miniMessage().deserialize(
61
+
"<yellow><click:open_url:'https://hangar.papermc.io/OneLiteFeather/Attollo'>Your version (<local_version>) is older than our latest published version (<remote_version>). Please update as soon as possible to get continued support. Or click me to get on the download page!</click>",
0 commit comments