mirror of
https://github.com/cnaude/PurpleIRC-spigot.git
synced 2024-12-01 14:33:23 +01:00
Correctly recognise vanished players during quit event.
Remove broken repo.
This commit is contained in:
parent
3050b42dc9
commit
1745638eb4
434
dependency-reduced-pom.xml
Normal file
434
dependency-reduced-pom.xml
Normal file
@ -0,0 +1,434 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<groupId>com.cnaude</groupId>
|
||||||
|
<artifactId>PurpleIRC</artifactId>
|
||||||
|
<name>PurpleIRC-spigot</name>
|
||||||
|
<version>1.0-SNAPSHOT</version>
|
||||||
|
<description>Minecraft IRC integration for CraftBukkit/Spigot servers.</description>
|
||||||
|
<url>http://www.spigotmc.org/resources/purpleirc.2836/</url>
|
||||||
|
<build>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<filtering>true</filtering>
|
||||||
|
<directory>src/main/resources</directory>
|
||||||
|
<includes>
|
||||||
|
<include>plugin.yml</include>
|
||||||
|
</includes>
|
||||||
|
</resource>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/resources</directory>
|
||||||
|
<excludes>
|
||||||
|
<exclude>plugin.yml</exclude>
|
||||||
|
</excludes>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
<version>3.5.1</version>
|
||||||
|
<configuration>
|
||||||
|
<source>1.7</source>
|
||||||
|
<target>1.7</target>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-shade-plugin</artifactId>
|
||||||
|
<version>2.4.3</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>shade</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<minimizeJar>true</minimizeJar>
|
||||||
|
<artifactSet>
|
||||||
|
<includes>
|
||||||
|
<include>com.cnaude.pircbotx</include>
|
||||||
|
<include>commons-codec</include>
|
||||||
|
</includes>
|
||||||
|
</artifactSet>
|
||||||
|
<filters />
|
||||||
|
<relocations>
|
||||||
|
<relocation>
|
||||||
|
<pattern>org.pircbotx</pattern>
|
||||||
|
<shadedPattern>com.cnaude.purpleirc.ext.org.pircbotx</shadedPattern>
|
||||||
|
</relocation>
|
||||||
|
<relocation>
|
||||||
|
<pattern>org.apache.commons.lang3</pattern>
|
||||||
|
<shadedPattern>com.cnaude.purpleirc.ext.org.apache.commons.lang3</shadedPattern>
|
||||||
|
</relocation>
|
||||||
|
<relocation>
|
||||||
|
<pattern>org.apache.commons.codec</pattern>
|
||||||
|
<shadedPattern>com.cnaude.purpleirc.ext.org.apache.commons.codec</shadedPattern>
|
||||||
|
</relocation>
|
||||||
|
</relocations>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>run</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<tasks>
|
||||||
|
<copy />
|
||||||
|
</tasks>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>cnaude-repo</id>
|
||||||
|
<url>http://cnaude.org/repo/</url>
|
||||||
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<releases>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</releases>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
|
<id>sonatype-nexus-public</id>
|
||||||
|
<name>SonaType public snapshots and releases repository</name>
|
||||||
|
<url>https://oss.sonatype.org/content/groups/public</url>
|
||||||
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<releases />
|
||||||
|
<snapshots />
|
||||||
|
<id>regularbox-repo</id>
|
||||||
|
<url>http://ci.regularbox.com/plugin/repository/everything/</url>
|
||||||
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<id>dmulloy2-repo</id>
|
||||||
|
<url>http://repo.dmulloy2.net/content/groups/public/</url>
|
||||||
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<id>placeholderapi</id>
|
||||||
|
<url>http://repo.extendedclip.com/content/repositories/placeholderapi/</url>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.bukkit</groupId>
|
||||||
|
<artifactId>spigot-api</artifactId>
|
||||||
|
<version>1.11.2</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.bukkit</groupId>
|
||||||
|
<artifactId>spigot-183</artifactId>
|
||||||
|
<version>1.8.3</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.bukkit</groupId>
|
||||||
|
<artifactId>spigot-184</artifactId>
|
||||||
|
<version>1.8.4</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.bukkit</groupId>
|
||||||
|
<artifactId>spigot-19</artifactId>
|
||||||
|
<version>1.9</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.bukkit</groupId>
|
||||||
|
<artifactId>spigot-194</artifactId>
|
||||||
|
<version>1.9.4</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.bukkit</groupId>
|
||||||
|
<artifactId>spigot-110</artifactId>
|
||||||
|
<version>1.10</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.bukkit</groupId>
|
||||||
|
<artifactId>spigot-111</artifactId>
|
||||||
|
<version>1.11</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>commons-io</groupId>
|
||||||
|
<artifactId>commons-io</artifactId>
|
||||||
|
<version>2.4</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.google.guava</groupId>
|
||||||
|
<artifactId>guava</artifactId>
|
||||||
|
<version>19.0</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.nplugins</groupId>
|
||||||
|
<artifactId>ntheendagain</artifactId>
|
||||||
|
<version>0.6.10-SNAPSHOT</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.essentialsx</groupId>
|
||||||
|
<artifactId>essentialsx</artifactId>
|
||||||
|
<version>2.0.1</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.nyancraft.reportrts</groupId>
|
||||||
|
<artifactId>ReportRTS</artifactId>
|
||||||
|
<version>2.0.0-54</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
<exclusions>
|
||||||
|
<exclusion>
|
||||||
|
<artifactId>ProtocolLib</artifactId>
|
||||||
|
<groupId>com.comphenix.protocol</groupId>
|
||||||
|
</exclusion>
|
||||||
|
<exclusion>
|
||||||
|
<artifactId>Vault</artifactId>
|
||||||
|
<groupId>net.milkbowl.net</groupId>
|
||||||
|
</exclusion>
|
||||||
|
<exclusion>
|
||||||
|
<artifactId>bukkit</artifactId>
|
||||||
|
<groupId>org.bukkit</groupId>
|
||||||
|
</exclusion>
|
||||||
|
</exclusions>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>net.milkbowl.vault</groupId>
|
||||||
|
<artifactId>Vault</artifactId>
|
||||||
|
<version>1.5.6</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.herochat</groupId>
|
||||||
|
<artifactId>Herochat</artifactId>
|
||||||
|
<version>5.6.5</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.venturechat</groupId>
|
||||||
|
<artifactId>VentureChat</artifactId>
|
||||||
|
<version>2.11.0</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.jobs</groupId>
|
||||||
|
<artifactId>Jobs</artifactId>
|
||||||
|
<version>2.18.8</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.jobs</groupId>
|
||||||
|
<artifactId>JobsOld</artifactId>
|
||||||
|
<version>2.12.0</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.factions</groupId>
|
||||||
|
<artifactId>Factions</artifactId>
|
||||||
|
<version>2.7.5</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.orebroadcast</groupId>
|
||||||
|
<artifactId>OreBroadcast</artifactId>
|
||||||
|
<version>1.2</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.RedditStream</groupId>
|
||||||
|
<artifactId>RedditStream</artifactId>
|
||||||
|
<version>0.2</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.vanishnopacket</groupId>
|
||||||
|
<artifactId>VanishNoPacket</artifactId>
|
||||||
|
<version>3.19.2-SNAPSHOT</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.mcore</groupId>
|
||||||
|
<artifactId>MassiveCore</artifactId>
|
||||||
|
<version>2.7.5</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>nz.co.lolnet.james137137</groupId>
|
||||||
|
<artifactId>factionchat</artifactId>
|
||||||
|
<version>1.9.16</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.titanchat</groupId>
|
||||||
|
<artifactId>TitanChat</artifactId>
|
||||||
|
<version>4.1</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.gmail.nossr50</groupId>
|
||||||
|
<artifactId>mcMMO</artifactId>
|
||||||
|
<version>1.5.01-SNAPSHOT-b3682</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.multiverse</groupId>
|
||||||
|
<artifactId>Multiverse-Core</artifactId>
|
||||||
|
<version>2.5</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.townychat</groupId>
|
||||||
|
<artifactId>TownyChat</artifactId>
|
||||||
|
<version>0.40</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.towny</groupId>
|
||||||
|
<artifactId>Towny</artifactId>
|
||||||
|
<version>0.84.0.0</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.comphenix.protocol</groupId>
|
||||||
|
<artifactId>ProtocolLib-API</artifactId>
|
||||||
|
<version>4.0</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.clevernotch</groupId>
|
||||||
|
<artifactId>CleverNotch</artifactId>
|
||||||
|
<version>1.1-RELEASE</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.deathmessages</groupId>
|
||||||
|
<artifactId>DeathMessages</artifactId>
|
||||||
|
<version>2.9.1-SNAPSHOT</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.deathmessagesprime</groupId>
|
||||||
|
<artifactId>DeathMessagesPrime</artifactId>
|
||||||
|
<version>1.11.11</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.shortify</groupId>
|
||||||
|
<artifactId>Shortify</artifactId>
|
||||||
|
<version>1.8-SNAPSHOT</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.shortify</groupId>
|
||||||
|
<artifactId>Shortify-Universal</artifactId>
|
||||||
|
<version>1.7-SNAPSHOT</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.commandbook</groupId>
|
||||||
|
<artifactId>CommandBook</artifactId>
|
||||||
|
<version>2.5-SNAPSHOT</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.dynmap</groupId>
|
||||||
|
<artifactId>DynmapAPI</artifactId>
|
||||||
|
<version>2.1</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.prism</groupId>
|
||||||
|
<artifactId>Prism</artifactId>
|
||||||
|
<version>2.0.1</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.adminprivatechat</groupId>
|
||||||
|
<artifactId>AdminPrivateChat</artifactId>
|
||||||
|
<version>2.1</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.supervanish</groupId>
|
||||||
|
<artifactId>SuperVanish</artifactId>
|
||||||
|
<version>5.9.1</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.simpleticketmanager</groupId>
|
||||||
|
<artifactId>SimpleTicketManager</artifactId>
|
||||||
|
<version>2.0.3</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.griefprevention</groupId>
|
||||||
|
<artifactId>GriefPrevention</artifactId>
|
||||||
|
<version>12.1</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>me.clip</groupId>
|
||||||
|
<artifactId>placeholderapi</artifactId>
|
||||||
|
<version>2.5.1</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.scarsz.discordsrv</groupId>
|
||||||
|
<artifactId>DiscordSRV</artifactId>
|
||||||
|
<version>13.5</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.cnaude.uchat</groupId>
|
||||||
|
<artifactId>UltimateChat</artifactId>
|
||||||
|
<version>1.6.8-b502</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>junit</groupId>
|
||||||
|
<artifactId>junit</artifactId>
|
||||||
|
<version>4.12</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
<exclusions>
|
||||||
|
<exclusion>
|
||||||
|
<artifactId>hamcrest-core</artifactId>
|
||||||
|
<groupId>org.hamcrest</groupId>
|
||||||
|
</exclusion>
|
||||||
|
</exclusions>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.carrotsearch</groupId>
|
||||||
|
<artifactId>junit-benchmarks</artifactId>
|
||||||
|
<version>0.7.2</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
<distributionManagement>
|
||||||
|
<repository>
|
||||||
|
<id>stage-repo</id>
|
||||||
|
<url>file://${basedir}/../repo/releases</url>
|
||||||
|
</repository>
|
||||||
|
<snapshotRepository>
|
||||||
|
<id>stage-repo-stapshots</id>
|
||||||
|
<url>file://${basedir}/../repo/snapshots</url>
|
||||||
|
</snapshotRepository>
|
||||||
|
</distributionManagement>
|
||||||
|
<properties>
|
||||||
|
<build.number>SNAPSHOT</build.number>
|
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
<bukkit.version>1.11.2</bukkit.version>
|
||||||
|
</properties>
|
||||||
|
</project>
|
||||||
|
|
7
pom.xml
7
pom.xml
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<groupId>com.cnaude</groupId>
|
<groupId>com.cnaude</groupId>
|
||||||
<artifactId>PurpleIRC</artifactId>
|
<artifactId>PurpleIRC</artifactId>
|
||||||
<version>1.0-${build.number}</version>
|
<version>1.0-SNAPSHOT</version>
|
||||||
<name>PurpleIRC-spigot</name>
|
<name>PurpleIRC-spigot</name>
|
||||||
<description>Minecraft IRC integration for CraftBukkit/Spigot servers.</description>
|
<description>Minecraft IRC integration for CraftBukkit/Spigot servers.</description>
|
||||||
<url>http://www.spigotmc.org/resources/purpleirc.2836/</url>
|
<url>http://www.spigotmc.org/resources/purpleirc.2836/</url>
|
||||||
@ -84,11 +84,6 @@
|
|||||||
<url>http://repo.extendedclip.com/content/repositories/placeholderapi/</url>
|
<url>http://repo.extendedclip.com/content/repositories/placeholderapi/</url>
|
||||||
</repository>
|
</repository>
|
||||||
|
|
||||||
<repository>
|
|
||||||
<id>Scarsz-Jenkins</id>
|
|
||||||
<url>http://scarsz.tech:8080/plugin/repository/everything/</url>
|
|
||||||
</repository>
|
|
||||||
|
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
@ -44,13 +44,14 @@ public class SuperVanishHook {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public boolean isVanished(Player player) {
|
public boolean isVanished(Player player) {
|
||||||
List<UUID> invisiblePlayers = VanishAPI.getInvisiblePlayers();
|
List<UUID> allinvisiblePlayers = VanishAPI.getAllInvisiblePlayers();
|
||||||
for (UUID uuid : invisiblePlayers) {
|
for (UUID uuid : allinvisiblePlayers) {
|
||||||
if (uuid.equals(player.getUniqueId())) {
|
if (uuid.equals(player.getUniqueId())) {
|
||||||
plugin.logDebug("Player " + player.getName() + " is vanished.");
|
plugin.logDebug("Player " + player.getName() + " is vanished.");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
plugin.logDebug("Player " + player.getName() + " is not vanished.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user