Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken ViaVersion Plugin and Datapacks #3882

Open
myxxmikeyxx opened this issue Aug 17, 2023 · 3 comments
Open

Broken ViaVersion Plugin and Datapacks #3882

myxxmikeyxx opened this issue Aug 17, 2023 · 3 comments
Labels
status: needs triage This label is automatically applied to new issues and pull requests to indicate they require triage type: bug Something isn't working

Comments

@myxxmikeyxx
Copy link

Affected Product(s)

SpongeVanilla

Version

spongevanilla-1.20.1-11.0.0-RC1356-universal

Operating System

Windows

Java Version

openjdk version "17.0.5" 2022-10-18

Plugins/Mods

Plugins:
ViaVersion
This is a plugin that is allows newer game versions to join older servers and vise versa
(ViaBackwards & ViaRewind also rely on ViaVersion and may not work but won't load without ViaVersion)
Almost all other plugins are saying ".... does not contain any plugin metadata so it is not a plugin. Skipping..."

Datapacks:
I have 40 data packs that do a variety of things. 27 of them don't work. They worked on PaperMC and spigot and craftbukkit but not on sponge. 
Zip with datapacks here (https://drive.google.com/file/d/1ugXYBjNz4IqOTAird1ErZANBHRn6LNnB/view?usp=sharing)

Describe the bug

I run this on my server so when an update comes out people can still join, just might be missing new items / features.
In the debug.log it says [Plugin Name]... does not contain any plugin metadata so it is not a plugin. Skipping...

I also use a lot of datapacks to help the game with small tweaks to make it more fun for my younger cousins and friends. Many of them are not working only 13 are of the 40 I use. Zip here.

Thank you for the time. I would love to stick with sponge since you still have the tnt dupe, many of the farms I build use this for auto destroy and collection. Craftbukkit fixed it earlier on and now it is fixed in spigot and all the way to papermc. Papermc's previous config file to renable it no longer works because it was patched in craftbukkit when "fixing other bugs" and won't undo it for craftbukkit since they focus on Spigot.

Error:

[10:42:45] [Server thread/ERROR] [viaversion]: ViaVersion failed to get the server protocol!
java.lang.NoSuchMethodException: org.spongepowered.common.SpongeMinecraftVersion.getProtocol()
>       at java.base/java.lang.Class.getDeclaredMethod(Class.java:2675)
        at com.viaversion.viaversion.sponge.platform.SpongeViaInjector.getServerProtocolVersion(SpongeViaInjector.java:35)
        at com.viaversion.viaversion.ViaManagerImpl.loadServerProtocol(ViaManagerImpl.java:183)
        at com.viaversion.viaversion.ViaManagerImpl.onServerLoaded(ViaManagerImpl.java:121)
        at com.viaversion.viaversion.SpongePlugin.onServerStarted(SpongePlugin.java:114)
        at org.spongepowered.common.event.manager.RegisteredListener.handle(RegisteredListener.java:88)
        at org.spongepowered.common.event.manager.SpongeEventManager.post(SpongeEventManager.java:400)
        at org.spongepowered.common.event.manager.SpongeEventManager.post(SpongeEventManager.java:430)
        at org.spongepowered.common.SpongeLifecycle.callStartedEngineEvent(SpongeLifecycle.java:224)
        at net.minecraft.server.dedicated.DedicatedServer.handler$zpe000$vanilla$callStartedEngineAndLoadedGame(DedicatedServer.java:1185)
        at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:201)
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:646)
        at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:265)
        at java.base/java.lang.Thread.run(Thread.java:833)
[10:42:45] [Sponge-AsyncScheduler-1/INFO] [viaversion]: Finished mapping loading, shutting down loader executor!

Link to logs

https://paste.gg/p/anonymous/942eb42cbaad41c8963db9a522ffe87e

@myxxmikeyxx myxxmikeyxx added status: needs triage This label is automatically applied to new issues and pull requests to indicate they require triage type: bug Something isn't working labels Aug 17, 2023
@avaruus1
Copy link
Contributor

  1. Issues with plugins should be reported to the authors of those plugins.
  2. This issue is fixed in the latest dev build of ViaVersion: https://ci.viaversion.com/

@myxxmikeyxx
Copy link
Author

@avaruus1
Okay thank you.
What about the datapacks?

@AlexandreArcil
Copy link
Contributor

It should be fixed in the latest version (1365), I've tested some of them with success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This label is automatically applied to new issues and pull requests to indicate they require triage type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants