From 2d090681938e9d8acdb6b380b7eeab8ec5cb8c62 Mon Sep 17 00:00:00 2001 From: wtlgo Date: Thu, 13 Jun 2024 14:15:23 +0300 Subject: [PATCH] Remove plugin annotation --- build.gradle | 3 +-- .../velocity/VoteReceiverVelocityPluginWrapper.java | 9 --------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/build.gradle b/build.gradle index 32ff101..a113bd3 100644 --- a/build.gradle +++ b/build.gradle @@ -60,7 +60,6 @@ dependencies { compileOnly "org.spigotmc:spigot-api:1.19.3-R0.1-SNAPSHOT" compileOnly "net.md-5:bungeecord-api:1.19-R0.1-SNAPSHOT" compileOnly 'com.velocitypowered:velocity-api:3.3.0-SNAPSHOT' - annotationProcessor 'com.velocitypowered:velocity-api:3.3.0-SNAPSHOT' compileOnly "com.github.NuVotifier.NuVotifier:nuvotifier-bukkit:2.7.2" compileOnly "com.github.NuVotifier.NuVotifier:nuvotifier-bungeecord:2.7.2" @@ -100,7 +99,7 @@ processResources { inputs.properties props filteringCharset "UTF-8" - filesMatching(["plugin.yml", "bungee.yml"]) { + filesMatching(["plugin.yml", "bungee.yml", "velocity-plugin.json"]) { expand props } } diff --git a/src/main/java/dev/mikchan/mcnp/votereceiver/velocity/VoteReceiverVelocityPluginWrapper.java b/src/main/java/dev/mikchan/mcnp/votereceiver/velocity/VoteReceiverVelocityPluginWrapper.java index fadbfb4..805a7e6 100644 --- a/src/main/java/dev/mikchan/mcnp/votereceiver/velocity/VoteReceiverVelocityPluginWrapper.java +++ b/src/main/java/dev/mikchan/mcnp/votereceiver/velocity/VoteReceiverVelocityPluginWrapper.java @@ -4,8 +4,6 @@ import com.velocitypowered.api.event.Subscribe; import com.velocitypowered.api.event.proxy.ProxyInitializeEvent; import com.velocitypowered.api.event.proxy.ProxyShutdownEvent; -import com.velocitypowered.api.plugin.Dependency; -import com.velocitypowered.api.plugin.Plugin; import com.velocitypowered.api.plugin.annotation.DataDirectory; import com.velocitypowered.api.proxy.ProxyServer; import dev.jeka.core.api.depmanagement.JkDependencySet; @@ -25,13 +23,6 @@ /** * The main Velocity plugin class */ -@Plugin(id = "mikchan-no-vote-receiver", - name = "MikChanNoVoteReceiver", - version = "0.1.0-SNAPSHOT", - url = "https://github.com/MikChanNoPlugins/VoteReceiver", - description = "Converts various monitoring vote systems to Votifier", - authors = {"George Endo (wtlgo / MikChan)"}, - dependencies = {@Dependency(id = "nuvotifier")}) public class VoteReceiverVelocityPluginWrapper { private final ProxyServer server;