mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-09-12 06:48:50 +02:00
Disabled rest of the update system
This commit is contained in:
parent
b5cf501010
commit
efb3c6ef86
@ -174,7 +174,11 @@
|
|||||||
<groupId>org.slf4j</groupId>
|
<groupId>org.slf4j</groupId>
|
||||||
</exclusion>
|
</exclusion>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
<artifactId>asm-all</artifactId>
|
<artifactId>asm</artifactId>
|
||||||
|
<groupId>org.ow2.asm</groupId>
|
||||||
|
</exclusion>
|
||||||
|
<exclusion>
|
||||||
|
<artifactId>asm-commons</artifactId>
|
||||||
<groupId>org.ow2.asm</groupId>
|
<groupId>org.ow2.asm</groupId>
|
||||||
</exclusion>
|
</exclusion>
|
||||||
</exclusions>
|
</exclusions>
|
||||||
@ -313,10 +317,6 @@
|
|||||||
<artifactId>flow-noise</artifactId>
|
<artifactId>flow-noise</artifactId>
|
||||||
<groupId>com.flowpowered</groupId>
|
<groupId>com.flowpowered</groupId>
|
||||||
</exclusion>
|
</exclusion>
|
||||||
<exclusion>
|
|
||||||
<artifactId>asm</artifactId>
|
|
||||||
<groupId>org.ow2.asm</groupId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
<exclusion>
|
||||||
<artifactId>slf4j-api</artifactId>
|
<artifactId>slf4j-api</artifactId>
|
||||||
<groupId>org.slf4j</groupId>
|
<groupId>org.slf4j</groupId>
|
||||||
@ -325,6 +325,10 @@
|
|||||||
<artifactId>jsr305</artifactId>
|
<artifactId>jsr305</artifactId>
|
||||||
<groupId>com.google.code.findbugs</groupId>
|
<groupId>com.google.code.findbugs</groupId>
|
||||||
</exclusion>
|
</exclusion>
|
||||||
|
<exclusion>
|
||||||
|
<artifactId>asm</artifactId>
|
||||||
|
<groupId>org.ow2.asm</groupId>
|
||||||
|
</exclusion>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
<artifactId>gson</artifactId>
|
<artifactId>gson</artifactId>
|
||||||
<groupId>com.google.code.gson</groupId>
|
<groupId>com.google.code.gson</groupId>
|
||||||
|
@ -112,7 +112,8 @@ public class UpdateCommand extends CommandNode {
|
|||||||
sender.sendMessage("Checking that all servers are online..");
|
sender.sendMessage("Checking that all servers are online..");
|
||||||
if (!checkNetworkStatus(sender)) {
|
if (!checkNetworkStatus(sender)) {
|
||||||
sender.sendMessage("§cNot all servers were online or accessible, you can still update available servers using /plan -update -force");
|
sender.sendMessage("§cNot all servers were online or accessible, you can still update available servers using /plan -update -force");
|
||||||
if (args.length > 1 && "-force".equals(args[1])) {
|
// If -force, continue, otherwise return.
|
||||||
|
if (args.length < 2 || !"-force".equals(args[1])) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -57,8 +57,10 @@ public class VersionCheckSystem implements SubSystem {
|
|||||||
if (Version.isNewVersionAvailable(new Version(currentVersion), newestVersion.getVersion())) {
|
if (Version.isNewVersionAvailable(new Version(currentVersion), newestVersion.getVersion())) {
|
||||||
newVersionAvailable = newestVersion;
|
newVersionAvailable = newestVersion;
|
||||||
String notification =
|
String notification =
|
||||||
"New Release (" + newestVersion.getVersion().toString() + ") is available and can be updated " +
|
"New Release (" + newestVersion.getVersion().toString() + ") is available " +
|
||||||
"to using update subcommand." + (newestVersion.isRelease() ? "" : " This is a DEV release.");
|
// "and can be updated to using update subcommand." +
|
||||||
|
newestVersion.getChangeLogUrl() +
|
||||||
|
(newestVersion.isRelease() ? "" : " This is a DEV release.");
|
||||||
Log.infoColor("§a----------------------------------------");
|
Log.infoColor("§a----------------------------------------");
|
||||||
Log.infoColor("§a" + notification);
|
Log.infoColor("§a" + notification);
|
||||||
Log.infoColor("§a----------------------------------------");
|
Log.infoColor("§a----------------------------------------");
|
||||||
|
Loading…
Reference in New Issue
Block a user