CoreProtect Community Edition v23.0 release
This commit is contained in:
parent
4f41c19284
commit
78701dee96
4 changed files with 26 additions and 12 deletions
|
|
@ -18,7 +18,7 @@ For a detailed description of the plugin, please visit [coreprotect.net](https:/
|
||||||
| CoreProtect Discord: | [discord.gg/b4DZ4jy](https://discord.gg/b4DZ4jy) |
|
| CoreProtect Discord: | [discord.gg/b4DZ4jy](https://discord.gg/b4DZ4jy) |
|
||||||
| CoreProtect Patreon: | [patreon.com/coreprotect](https://www.patreon.com/coreprotect) |
|
| CoreProtect Patreon: | [patreon.com/coreprotect](https://www.patreon.com/coreprotect) |
|
||||||
| CoreProtect Documentation: | [docs.coreprotect.net](https://docs.coreprotect.net) |
|
| CoreProtect Documentation: | [docs.coreprotect.net](https://docs.coreprotect.net) |
|
||||||
| Downloads for MC 1.14 - 1.20: | [coreprotect.net/latest](https://coreprotect.net/latest/) |
|
| Downloads for MC 1.14 - 1.21: | [coreprotect.net/latest](https://coreprotect.net/latest/) |
|
||||||
| Downloads for MC 1.8 - 1.12: | [coreprotect.net/legacy](https://coreprotect.net/legacy/) |
|
| Downloads for MC 1.8 - 1.12: | [coreprotect.net/legacy](https://coreprotect.net/legacy/) |
|
||||||
|
|
||||||
bStats
|
bStats
|
||||||
|
|
@ -41,7 +41,7 @@ Maven
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.coreprotect</groupId>
|
<groupId>net.coreprotect</groupId>
|
||||||
<artifactId>coreprotect</artifactId>
|
<artifactId>coreprotect</artifactId>
|
||||||
<version>22.4</version>
|
<version>23.0</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
|
|
||||||
30
pom.xml
30
pom.xml
|
|
@ -2,7 +2,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>net.coreprotect</groupId>
|
<groupId>net.coreprotect</groupId>
|
||||||
<artifactId>CoreProtect</artifactId>
|
<artifactId>CoreProtect</artifactId>
|
||||||
<version>22.4</version>
|
<version>23.0</version>
|
||||||
<properties>
|
<properties>
|
||||||
<project.branch></project.branch>
|
<project.branch></project.branch>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
|
@ -73,7 +73,7 @@
|
||||||
<excludes>
|
<excludes>
|
||||||
<exclude>**/*.java</exclude>
|
<exclude>**/*.java</exclude>
|
||||||
<exclude>**/*.c</exclude>
|
<exclude>**/*.c</exclude>
|
||||||
<exclude>META-INF/maven/**</exclude>
|
<exclude>META-INF/maven/**/pom.properties</exclude>
|
||||||
<exclude>META-INF/services/**</exclude>
|
<exclude>META-INF/services/**</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</filter>
|
</filter>
|
||||||
|
|
@ -126,12 +126,26 @@
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
<artifactId>maven-install-plugin</artifactId>
|
<version>3.1.0</version>
|
||||||
<version>3.1.1</version>
|
<executions>
|
||||||
<configuration>
|
<execution>
|
||||||
<skip>true</skip>
|
<id>install-validation</id>
|
||||||
</configuration>
|
<phase>install</phase>
|
||||||
|
<configuration>
|
||||||
|
<target>
|
||||||
|
<delete>
|
||||||
|
<fileset dir="${project.build.directory}">
|
||||||
|
<include name="${project.build.finalName}-shaded.jar"/>
|
||||||
|
</fileset>
|
||||||
|
</delete>
|
||||||
|
</target>
|
||||||
|
</configuration>
|
||||||
|
<goals>
|
||||||
|
<goal>run</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ public class ConfigHandler extends Queue {
|
||||||
public static final String COMMUNITY_EDITION = "Community Edition";
|
public static final String COMMUNITY_EDITION = "Community Edition";
|
||||||
public static final String JAVA_VERSION = "11.0";
|
public static final String JAVA_VERSION = "11.0";
|
||||||
public static final String MINECRAFT_VERSION = "1.16";
|
public static final String MINECRAFT_VERSION = "1.16";
|
||||||
public static final String LATEST_VERSION = "1.21.6";
|
public static final String LATEST_VERSION = "1.21.8";
|
||||||
public static String path = "plugins/CoreProtect/";
|
public static String path = "plugins/CoreProtect/";
|
||||||
public static String sqlite = "database.db";
|
public static String sqlite = "database.db";
|
||||||
public static String host = "127.0.0.1";
|
public static String host = "127.0.0.1";
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ public class VersionCheckService {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (VersionUtils.newVersion(ConfigHandler.LATEST_VERSION, bukkitVersion[0] + "." + bukkitVersion[1] + (bukkitVersion.length > 2 ? "." + bukkitVersion[2] : "")) && VersionUtils.isBranch("master")) {
|
if (VersionUtils.newVersion(ConfigHandler.LATEST_VERSION, bukkitVersion[0] + "." + bukkitVersion[1] + (bukkitVersion.length > 2 ? "." + bukkitVersion[2] : "")) && VersionUtils.isCommunityEdition()) {
|
||||||
Chat.console(Phrase.build(Phrase.VERSION_INCOMPATIBLE, "Minecraft", bukkitVersion[0] + "." + bukkitVersion[1] + (bukkitVersion.length > 2 ? "." + bukkitVersion[2] : "")));
|
Chat.console(Phrase.build(Phrase.VERSION_INCOMPATIBLE, "Minecraft", bukkitVersion[0] + "." + bukkitVersion[1] + (bukkitVersion.length > 2 ? "." + bukkitVersion[2] : "")));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue