Snap icon indicating copy to clipboard operation
Snap copied to clipboard

`ProxyServer#constructServerInfo` method not supported

Open masterblaster221 opened this issue 9 months ago • 3 comments

What is happening?

I am using a plugin that auto adds Servers and ForcedHosts to Bungeecord but I need Snap to add to velocity

What did you expect to happen?

To auto add my server's to velocity.

Version

https://ci.minebench.de/job/Snap/37/

Config

# Whether to register all forwarding listeners even though no plugin needs it
# This is required if a plugin tries to dynamically register events after its onEnable method was called
register-all-listeners=false
# The stats/metrics ID of this proxy, ideally the same as in the velocity.toml
stats-id=ec0cdbfe-524f-4118-8659-ba96b03964b0
# Whether to throw exceptions when accessing methods that aren't supported
# Setting this to false makes them return sensible values but they might not be correct
throw-unsupported-exception=true

Server/system Version

latest velocity on ubuntu system

Log

[03:33:36 ERROR]: java.lang.UnsupportedOperationException: Not implemented (yet)!
[03:33:36 ERROR]:       at de.themoep.snap.Snap.unsupported(Snap.java:146)
[03:33:36 ERROR]:       at de.themoep.snap.forwarding.SnapProxyServer.constructServerInfo(SnapProxyServer.java:301)
[03:33:36 ERROR]:       at os.arcadiadevs.playerservers.serveractions.ServerCreator.addToBungee(:328)
[03:33:36 ERROR]:       at os.arcadiadevs.playerservers.serveractions.ServerCreator.lambda$runPanelAction$4(:300)
[03:33:36 ERROR]:       at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
[03:33:36 ERROR]:       at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
[03:33:36 ERROR]:       at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
[03:33:36 ERROR]:       at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
[03:33:36 ERROR]:       at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
[03:33:36 ERROR]:       at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
[03:33:36 ERROR]:       at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

What other programs/plugins are you running?

luckperms-velocity, playerservers https://www.spigotmc.org/resources/%E3%80%8C-playerservers-%E3%80%8Dgive-players-their-own-server.82268/

Additional context

No response

masterblaster221 avatar Apr 27 '25 07:04 masterblaster221

Yeah that's been on the todo for a while now but I think there were some issues with that preventing it to be easily implemented why I didn't add it originally but it was definitely planned. Can't give you any kind of eta though.

Seeing as you are trying to use a paid plugin and I couldn't test it even if I did add the method causing this error I would suggest that you get the seller to either support Velocity natively or PR the missing functionality to Snap themselves if they want their plugin to work.

Phoenix616 avatar Apr 27 '25 11:04 Phoenix616

The plugin died a while ago it still works but support ended.

masterblaster221 avatar Apr 27 '25 18:04 masterblaster221

But I can wait tho. I appreciate you taking the time to reply.

masterblaster221 avatar Apr 27 '25 18:04 masterblaster221