diff --git a/README.md b/README.md index 0a254e7..8206db3 100644 --- a/README.md +++ b/README.md @@ -26,15 +26,17 @@ How do I add it to my project? -------------- Simply add the following to your `pom.xml`. - - tiger-repo - http://repo.tigerhix.me/content/repositories/snapshots/ - + + + jitpack.io + https://jitpack.io + + - me.tigerhix.lib - scoreboard - 1.0.1-SNAPSHOT + com.github.TigerHix + ScoreboardLib + master-SNAPSHOT Now you are able to create your own pretty scoreboards. diff --git a/pom.xml b/pom.xml index 295a251..838ad7a 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ me.tigerhix.lib scoreboard - 1.0.1-SNAPSHOT + 1.0.2 jar @@ -18,46 +18,75 @@ - tiger-repo - http://repo.tigerhix.me/content/groups/public/ + spigotmc-repo + https://hub.spigotmc.org/nexus/content/repositories/snapshots/ + + + sonatype + https://oss.sonatype.org/content/groups/public/ - - - nexus - http://repo.tigerhix.me/content/repositories/snapshots - - - - - - src/main/resources - true - - **/*.yml - **/*.properties - - - org.apache.maven.plugins maven-compiler-plugin - 3.0 + 3.8.1 - 1.7 - 1.7 - - -Xlint:all - -Xlint:-path - - true - true + ${java.version} + ${java.version} + + + org.projectlombok + lombok + 1.18.24 + + + + org.apache.maven.plugins + maven-shade-plugin + 3.2.4 + + + package + + shade + + + false + + + + + + + src/main/resources + true + + - - + + + org.spigotmc + spigot-api + 1.13.2-R0.1-SNAPSHOT + provided + + + org.jetbrains + annotations + 23.0.0 + provided + + + org.projectlombok + lombok + 1.18.24 + provided + + + \ No newline at end of file diff --git a/src/main/java/me/tigerhix/lib/scoreboard/type/SimpleScoreboard.java b/src/main/java/me/tigerhix/lib/scoreboard/type/SimpleScoreboard.java index b864c1b..734e636 100755 --- a/src/main/java/me/tigerhix/lib/scoreboard/type/SimpleScoreboard.java +++ b/src/main/java/me/tigerhix/lib/scoreboard/type/SimpleScoreboard.java @@ -22,8 +22,8 @@ public class SimpleScoreboard implements Scoreboard { - private static final String TEAM_PREFIX = "Scoreboard_"; - private static int TEAM_COUNTER = 0; + private static final String TEAM_PREFIX = "S"; + private int TEAM_COUNTER = 0; private final org.bukkit.scoreboard.Scoreboard scoreboard; private final Objective objective; @@ -269,10 +269,6 @@ public boolean isBanned() { return false; } - @Override - public void setBanned(boolean banned) { - } - @Override public boolean isWhitelisted() { return false;