Support for 1.21.5
This commit is contained in:
parent
eda31a1df2
commit
653ba71f73
4
pom.xml
4
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>hu.ditservices</groupId>
|
||||
<artifactId>SimplifyTools</artifactId>
|
||||
<version>1.2.3</version>
|
||||
<version>1.2.4-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>SimplifyTools</name>
|
||||
@ -126,7 +126,7 @@
|
||||
<dependency>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
<artifactId>spigot-api</artifactId>
|
||||
<version>1.21.4-R0.1-SNAPSHOT</version>
|
||||
<version>1.21.5-R0.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<!-- from downloaded craftbukkit-x.xx.x.jar\META-INF\versions\ -->
|
||||
|
@ -99,9 +99,9 @@ public final class STPlugin extends JavaPlugin implements CommandExecutor, Liste
|
||||
try {
|
||||
this.ServerStartTime = ManagementFactory.getRuntimeMXBean().getStartTime();
|
||||
if (Version.ServerVersion.isCurrentLower(Version.ServerVersion.v1_12_R1) ||
|
||||
Version.ServerVersion.isCurrentHigher(Version.ServerVersion.v1_21_4_R1))
|
||||
Version.ServerVersion.isCurrentHigher(Version.ServerVersion.v1_21_5_R1))
|
||||
{
|
||||
throw new Exception("The server version is not supported! Update to a version between 1.12 - 1.21.4 to run this plugin.");
|
||||
throw new Exception("The server version is not supported! Update to a version between 1.12 - 1.21.5 to run this plugin.");
|
||||
}
|
||||
|
||||
if (this.reload()) {
|
||||
|
@ -37,7 +37,8 @@ public class Version {
|
||||
v1_21_1_R1,
|
||||
v1_21_2_R1,
|
||||
v1_21_3_R1,
|
||||
v1_21_4_R1;
|
||||
v1_21_4_R1,
|
||||
v1_21_5_R1;
|
||||
|
||||
private int value;
|
||||
|
||||
|
@ -74,6 +74,15 @@ Saving:
|
||||
broadcastMsgProgress: '{PREFIX}Auto save in progress..'
|
||||
broadcastMsgDone: '{PREFIX}Auto save done.'
|
||||
|
||||
# Server Password options
|
||||
# You can configure a same password for all players on the server.
|
||||
# Players not logged in can't move, cant build/destroy.
|
||||
ServerPassword:
|
||||
enabled: false
|
||||
password: 'changeme'
|
||||
exceptOps: true # Server operators don't need to login.
|
||||
|
||||
|
||||
# Cooldown options (only applicable for this plugin!)
|
||||
Cooldown:
|
||||
enabled: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user