Closed Fjox closed 1 month ago
Thank you! I'll push out a fix in the coming days.
when this happends and someone talks on the server it spams this error [01:02:53 ERROR]: [voicechat] Failed to dispatch event 'MicrophonePacketEvent' org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register task while disabled at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.validate(CraftScheduler.java:488) ~[patched_1.12.2.jar:git-Paper-1620] at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.runTaskTimerAsynchronously(CraftScheduler.java:168) ~[patched_1.12.2.jar:git-Paper-1620] at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.runTaskLaterAsynchronously(CraftScheduler.java:142) ~[patched_1.12.2.jar:git-Paper-1620] at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.runTaskAsynchronously(CraftScheduler.java:125) ~[patched_1.12.2.jar:git-Paper-1620] at com.github.koxsosen.bukkit.SimpleVoiceBans.onMicrophone(SimpleVoiceBans.java:73) ~[?:?] at de.maxhenkel.voicechat.plugins.PluginManager.dispatchEvent(PluginManager.java:139) ~[?:?] at de.maxhenkel.voicechat.plugins.PluginManager.onMicPacket(PluginManager.java:242) ~[?:?] at de.maxhenkel.voicechat.voice.server.Server.onMicPacket(Server.java:302) ~[?:?] at de.maxhenkel.voicechat.voice.server.Server$ProcessThread.run(Server.java:269) ~[?:?]
Untested fix is available on the fix-older-compatibility branch. If you can compile plugins, feel free to give it a try, otherwise I'll release a version that is verified to work on 1.12 in a couple days.
Untested fix is available on the fix-older-compatibility branch. If you can compile plugins, feel free to give it a try, otherwise I'll release a version that is verified to work on 1.12 in a couple days.
its gradle, anyone can compile gradle. its not gcc
did gradle change or since when do i need to type a project name for it to compile?
SimpleVoiceBans uses a multi-module gradle build system, so we have multiple modules for each platform, and a common module for shared methods. So make sure that you are executing the uberJar
task in the root "parent" module to get a working jar for every platform. Jars will be in <platform-name>/build/SimpleVoiceBans-<version>-uber.jar
.
Untested fix is available on the fix-older-compatibility branch. If you can compile plugins, feel free to give it a try, otherwise I'll release a version that is verified to work on 1.12 in a couple days.
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:150) ~[patched_1.12.2.jar:git-Paper-1620]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136) ~[patched_1.12.2.jar:git-Paper-1620]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.loadPlugins(CraftServer.java:318) ~[patched_1.12.2.jar:git-Paper-1620]
at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:222) ~[patched_1.12.2.jar:git-Paper-1620]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616) ~[patched_1.12.2.jar:git-Paper-1620]
at java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
... 6 more```
SimpleVoiceBans uses a multi-module gradle build system, so we have multiple modules for each platform, and a common module for shared methods. So make sure that you are executing the
uberJar
task in the root "parent" module to get a working jar for every platform. Jars will be in<platform-name>/build/SimpleVoiceBans-<version>-uber.jar
.
oh sorry i compiled it with only uber bruh
nvm same error
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:150) ~[patched_1.12.2.jar:git-Paper-1620]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136) ~[patched_1.12.2.jar:git-Paper-1620]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.loadPlugins(CraftServer.java:318) ~[patched_1.12.2.jar:git-Paper-1620]
at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:222) ~[patched_1.12.2.jar:git-Paper-1620]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616) ~[patched_1.12.2.jar:git-Paper-1620]
at java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
... 6 more```
Are you sure you are using the right jar? Which commands did you execute in which directories?
Are you sure you are using the right jar? Which commands did you execute in which directories?
gradlew uberJar in C:\Users\Fox Ritch\Downloads\SimpleVoiceBans-fix-older-compatibility\
That sounds correct. And which jars did you move to the server?
the only jar i could find in /build
also can we move to discord?
Sure, you can add me as koxsosen
.
Thank you for reporting again! A fix has been merged, release will be out soon.