+ Fixed the border not showing on Dynmap bug. I guess it was working half the time?

+ Updated plugin to fully support 1.17.1.
To clear up confusion, I ran this release version on a server and everything was running fine.
This commit is contained in:
PryPurity 2021-09-09 09:24:09 -05:00
parent a9243a2e50
commit 39d6049aec
4 changed files with 12 additions and 12 deletions

14
pom.xml
View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.wimbli.WorldBorder</groupId>
<artifactId>WorldBorder</artifactId>
<version>2.1.2</version>
<version>2.1.4</version>
<name>WorldBorder</name>
<url>https://github.com/PryPurity/WorldBorder</url>
<issueManagement>
@ -33,7 +33,7 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.16.5-R0.1-SNAPSHOT</version>
<version>1.17.1-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<!--Dynmap API-->
@ -44,15 +44,15 @@
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.destroystokyo.paper</groupId>
<groupId>io.papermc.paper</groupId>
<artifactId>paper-api</artifactId>
<version>1.16.5-R0.1-SNAPSHOT</version>
<version>1.17.1-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.papermc</groupId>
<artifactId>paperlib</artifactId>
<version>1.0.5</version>
<version>1.0.6</version>
<scope>compile</scope>
</dependency>
</dependencies>
@ -73,14 +73,14 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.1.1</version>
<version>3.2.4</version>
<configuration>
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml
</dependencyReducedPomLocation>
<relocations>
<relocation>
<pattern>io.papermc.lib</pattern>
<shadedPattern>com.wimbli.WorldBorder.paperlib</shadedPattern> <!-- Replace this -->
<shadedPattern>com.wimbli.WorldBorder.paperlib</shadedPattern>
</relocation>
</relocations>
</configuration>

View File

@ -14,7 +14,6 @@ import java.util.Map.Entry;
import java.util.logging.Level;
import java.util.logging.Logger;
public class Config {
public static final DecimalFormat coord = new DecimalFormat("0.0");
private static final int currentCfgVersion = 12;
@ -38,7 +37,7 @@ public class Config {
private static int timerTicks = 4;
private static boolean whooshEffect = false;
private static boolean portalRedirection = true;
private static boolean dynmapEnable = false;
private static boolean dynmapEnable = true;
private static String dynmapLayerLabel;
private static String dynmapMessage;
private static int dynmapPriority = 0;
@ -269,6 +268,7 @@ public class Config {
public static void setDenyEnderpearl(boolean enable) {
denyEnderpearl = enable;
log("Direct cancellation of ender pearls thrown past the border " + (enable ? "enabled" : "disabled") + ".");
log("Direct cancellation of ender pearls thrown past the border " + (enable ? "enabled" : "disabled") + ".");
save(true);
}

View File

@ -51,8 +51,7 @@ public class WBCommand implements CommandExecutor {
//-----
addCmd(new CmdDenypearl()); // 1
addCmd(new CmdReload()); // 1
addCmd(new CmdDebug()); // 1
addCmd(new CmdDebug()); // 1
// this is the default command, which shows command example pages; should be last just in case
addCmd(new CmdCommands());
}

View File

@ -1,11 +1,12 @@
name: WorldBorder
authors: [ Brettflan, PryPurity ]
description: Efficient, feature-rich plugin for limiting the size of your worlds.
version: 2.1.2
version: 2.1.4
api-version: 1.15
main: com.wimbli.WorldBorder.WorldBorder
softdepend:
- dynmap
- Multiworld
- Multiverse-Core
commands:
wborder: