mirror of
https://github.com/md5sha256/AreaShop.git
synced 2026-11-07 01:42:34 -05:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
628aa83089 | ||
|
|
11da15454d | ||
|
|
ff2e4e235d |
No files matched your search
@@ -31,7 +31,7 @@ dependencies {
|
||||
api("com.google.inject.extensions:guice-assistedinject:7.0.0") {
|
||||
exclude("com.google.guava")
|
||||
}
|
||||
implementation("org.incendo:cloud-paper:2.0.0-beta.8") {
|
||||
implementation("org.incendo:cloud-paper:2.0.0-beta.9") {
|
||||
exclude("com.google.guava")
|
||||
}
|
||||
implementation("org.incendo:cloud-processors-confirmation:1.0.0-beta.3") {
|
||||
@@ -130,7 +130,7 @@ tasks {
|
||||
// Configure the Minecraft version for our task.
|
||||
// This is the only required configuration besides applying the plugin.
|
||||
// Your plugin's jar (or shadowJar if present) will be used automatically.
|
||||
minecraftVersion("1.20.6")
|
||||
minecraftVersion("1.21")
|
||||
|
||||
downloadPlugins {
|
||||
github("EssentialsX", "essentials", "2.20.1", "EssentialsX-2.20.1.jar")
|
||||
|
||||
@@ -181,8 +181,8 @@ public final class AreaShop extends JavaPlugin implements AreaShopApi {
|
||||
|
||||
// Setup NMS Impl
|
||||
Version currentServerVersion = VersionUtil.parseMinecraftVersion(Bukkit.getBukkitVersion());
|
||||
if (currentServerVersion.versionData().isOlderThan(VersionUtil.MC_1_20_6)) {
|
||||
error("Unsupported minecraft version: " + currentServerVersion + "! Minimum is 1.20.6");
|
||||
if (currentServerVersion.versionData().isOlderThan(VersionUtil.MC_1_21)) {
|
||||
error("Unsupported minecraft version: " + currentServerVersion + "! Minimum is 1.21");
|
||||
shutdownOnError();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ import java.util.StringJoiner;
|
||||
|
||||
public class VersionUtil {
|
||||
|
||||
public static final VersionData MC_1_20_6 = new VersionData(1, 20, 6);
|
||||
public static final VersionData MC_1_21 = new VersionData(1, 21);
|
||||
|
||||
@Nonnull
|
||||
public static String padTrailingZero(@Nonnull String minecraftVersion) {
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "me.wiefferink"
|
||||
version = "2.9.0"
|
||||
version = "2.9.1-SNAPSHOT"
|
||||
|
||||
val targetJavaVersion = 21
|
||||
val encoding = Charsets.UTF_8
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[versions]
|
||||
# Platforms
|
||||
minecraft = "1.20.6-R0.1-SNAPSHOT"
|
||||
minecraft = "1.21-R0.1-SNAPSHOT"
|
||||
|
||||
# Minecraft Plugins
|
||||
worldedit = "7.3.3"
|
||||
|
||||
Reference in new issue
Block a user