random maven-related stuff

This commit is contained in:
NEZNAMY committed 2020-09-04 00:45:00 +02:00
1 parent 2db0ac54e2
commit 5fbca7b466
3 files changed
+47 -16

No files matched your search

+46 -4
View File
@@ -3,10 +3,10 @@
<modelVersion>4.0.0</modelVersion>
<groupId>me.neznamy</groupId>
<artifactId>TAB</artifactId>
<version>2.8.4</version>
<version>2.8.5-pre8</version>
<name>TAB</name>
<description>An all-in-one solution</description>
<build>
<resources>
<resource>
@@ -14,8 +14,20 @@
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<!-- Spigot API -->
@@ -262,7 +274,7 @@
</exclusions>
</dependency>
<!-- Velocity API -->
<!-- Velocity API
<dependency>
<groupId>com.velocitypowered</groupId>
<artifactId>velocity-api</artifactId>
@@ -352,7 +364,7 @@
</exclusion>
</exclusions>
</dependency>
</dependency> -->
<!-- PlaceholderAPI -->
<dependency>
@@ -614,6 +626,36 @@
<scope>provided</scope>
</dependency>
<!-- Manual Jars -->
<!-- UltraPermissions -->
<dependency>
<groupId>jars</groupId>
<artifactId>UltraPermissions</artifactId>
<version>4.7.8</version>
<scope>system</scope>
<systemPath>${project.basedir}\jars\UltraPermissions 4.7.8.jar</systemPath>
</dependency>
<!-- NetworkManager -->
<dependency>
<groupId>jars</groupId>
<artifactId>NetworkManager</artifactId>
<version>2.8.7</version>
<scope>system</scope>
<systemPath>${project.basedir}\jars\NetworkManagerAPI-v2.8.7.jar</systemPath>
</dependency>
<!-- Velocity-all -->
<dependency>
<groupId>jars</groupId>
<artifactId>Velocity</artifactId>
<version>1.1.0 #242</version>
<scope>system</scope>
<systemPath>${project.basedir}\jars\Velocity 1.1.0 #242.jar</systemPath>
</dependency>
</dependencies>
</project>
@@ -34,7 +34,7 @@ public class AlignedSuffix implements Loadable, JoinEventListener, QuitEventList
this.playerlist = playerlist;
loadWidthsFromFile();
boolean save = false;
Map<Integer, ?> extraWidths = Premium.premiumconfig.getConfigurationSection("extra-character-widths");
Map<Integer, Integer> extraWidths = Premium.premiumconfig.getConfigurationSection("extra-character-widths");
for (Integer entry : new HashSet<>(extraWidths.keySet())) {
char c = (char)(int)entry;
int width = (int)extraWidths.get(entry);
-11
View File
@@ -1,11 +0,0 @@
{
"id":"tab",
"version":"${project.version}",
"description":"Change a player's tablist prefix/suffix, name tag prefix/suffix, header/footer, bossbar and more",
"authors":[
"NEZNAMY"
],
"dependencies":[
],
"main":"me.neznamy.tab.platforms.velocity.Main"
}