mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +01:00
Fix update notification ingame message
This commit is contained in:
parent
c46647d491
commit
8e23b10f7c
@ -364,7 +364,7 @@ public class PlayerEventListener extends PlotListener implements Listener {
|
|||||||
&& PremiumVerification.isPremium() && UpdateUtility.hasUpdate) {
|
&& PremiumVerification.isPremium() && UpdateUtility.hasUpdate) {
|
||||||
Caption boundary = TranslatableCaption.of("update.update_boundary");
|
Caption boundary = TranslatableCaption.of("update.update_boundary");
|
||||||
Caption updateNotification = TranslatableCaption.of("update.update_notification");
|
Caption updateNotification = TranslatableCaption.of("update.update_notification");
|
||||||
Template internalVersion = Template.of("p2version", String.valueOf(UpdateUtility.internalVersion.versionString()));
|
Template internalVersion = Template.of("p2version", UpdateUtility.internalVersion.versionString());
|
||||||
Template spigotVersion = Template.of("spigotversion", UpdateUtility.spigotVersion);
|
Template spigotVersion = Template.of("spigotversion", UpdateUtility.spigotVersion);
|
||||||
Template downloadUrl = Template.of("downloadurl", "https://www.spigotmc.org/resources/77506/updates");
|
Template downloadUrl = Template.of("downloadurl", "https://www.spigotmc.org/resources/77506/updates");
|
||||||
pp.sendMessage(boundary);
|
pp.sendMessage(boundary);
|
||||||
|
@ -479,10 +479,7 @@
|
|||||||
"legacyconfig.legacy_config_done": "<prefix><green>The conversion has finished. PlotSquared will now be disabled and the new configuration file will be used at next startup. Please review the new worlds.yml file. Please note that schematics will not be converted, as we are now using WorldEdit to handle schematics. You need to re-generate the schematics.</green>",
|
"legacyconfig.legacy_config_done": "<prefix><green>The conversion has finished. PlotSquared will now be disabled and the new configuration file will be used at next startup. Please review the new worlds.yml file. Please note that schematics will not be converted, as we are now using WorldEdit to handle schematics. You need to re-generate the schematics.</green>",
|
||||||
"legacyconfig.legacy_config_conversion_failed": "<prefix><red>Failed to convert the legacy configuration file. See stack trace for information.</red>",
|
"legacyconfig.legacy_config_conversion_failed": "<prefix><red>Failed to convert the legacy configuration file. See stack trace for information.</red>",
|
||||||
"update.update_boundary": "<gold>-----------------------------------</gold>",
|
"update.update_boundary": "<gold>-----------------------------------</gold>",
|
||||||
"update.update_notification": "<prefix><gold>There appears to be a PlotSquared update available!</gold>",
|
"update.update_notification": "<prefix><gold>There appears to be a PlotSquared update available!</gold>\n<gold>You are running version </gold><dark_aqua><p2version></dark_aqua>\n<gold>Latest version is </gold><dark_aqua><spigotversion></dark_aqua>\n<gold>Download the update at: <click:open_url:<downloadurl>><downloadurl></click>",
|
||||||
"update.internal_version": "<prefix><gold>You are running version </gold><dark_aqua><p2version></dark_aqua>",
|
|
||||||
"update.spigot_version": "<prefix><gold>Latest version is </gold><dark_aqua><spigotversion></dark_aqua>",
|
|
||||||
"update.download": "<prefix><gold>Download the update at: <click:open_url:<downloadurl>><downloadurl></click>",
|
|
||||||
"flag.flag_key": "<gray>Key: <key></gray>",
|
"flag.flag_key": "<gray>Key: <key></gray>",
|
||||||
"flag.flag_desc": "<gray>Desc: <value></gray>",
|
"flag.flag_desc": "<gray>Desc: <value></gray>",
|
||||||
"flag.not_valid_flag": "<red>That is not a valid flag.</red>",
|
"flag.not_valid_flag": "<red>That is not a valid flag.</red>",
|
||||||
|
Loading…
Reference in New Issue
Block a user