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

Error when Kick/Banning a player #7

Open
kyojioonaon opened this issue Dec 24, 2024 · 4 comments
Open

Error when Kick/Banning a player #7

kyojioonaon opened this issue Dec 24, 2024 · 4 comments

Comments

@kyojioonaon
Copy link

Error when kicking or banning a player.
I am currently running the latest stable Velocity and have BetterMessages installed on both the proxy and paper servers.

[21:03:05 ERROR]: Couldn't pass DisconnectEvent to bettermessages 3.3.1 java.util.NoSuchElementException: No value present at java.base/java.util.Optional.get(Optional.java:143) ~[?:?] at com.imjustdoom.bettermessages.listener.ServerQuitListener.onPlayerChat(ServerQuitListener.java:29) ~[?:?] at com.imjustdoom.bettermessages.listener.Lmbda$9.execute(Unknown Source) ~[?:?] at com.velocitypowered.proxy.event.UntargetedEventHandler$VoidHandler.lambda$buildHandler$0(UntargetedEventHandler.java:56) ~[velocity.jar:3.4.0-SNAPSHOT (git-1db8c8c6-b458)] at com.velocitypowered.proxy.event.VelocityEventManager.fire(VelocityEventManager.java:676) ~[velocity.jar:3.4.0-SNAPSHOT (git-1db8c8c6-b458)] at com.velocitypowered.proxy.event.VelocityEventManager.lambda$fire$5(VelocityEventManager.java:541) ~[velocity.jar:3.4.0-SNAPSHOT (git-1db8c8c6-b458)] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?] at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]

@JustDoom
Copy link
Owner

What Server Software and Minecraft version are the servers. Any plugins that manage banning/kicking specifically?

@kyojioonaon
Copy link
Author

Apologies for the lack of explanation. The server is 1.21.1 on Paper and was tested using the minecraft:ban command.
This stack trace is from Velocity and the Paper server is not showing any errors.

@JustDoom
Copy link
Owner

Alright I will have a look after Christmas

@JustDoom
Copy link
Owner

JustDoom commented Jan 8, 2025

@kyojioonaon I just realised. You are on 3.3.1 and not 3.3.2. That may have a fix for the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants