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

Plugin doesn't work on Velocity 3.2.0-SNAPSHOT #32

Closed
TofaDev opened this issue Jun 24, 2023 · 4 comments
Closed

Plugin doesn't work on Velocity 3.2.0-SNAPSHOT #32

TofaDev opened this issue Jun 24, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@TofaDev
Copy link

TofaDev commented Jun 24, 2023

plugin version: 1.0.8

Hello, I am getting an error when trying to log in to the server. I have not changed the configuration file.

Error:


25.06 00:34:18.489] INFO: [Proxy-1] [00:34:18 ERROR]: Couldn't pass PreLoginEvent to velocityblockversion
[25.06 00:34:18.493] INFO: [Proxy-1] java.lang.NullPointerException: Cannot invoke "com.moandjiezana.toml.Toml.getBoolean(String, java.lang.Boolean)" because the return value of "lol.hyper.velocityblockversion.tools.ConfigHandler.getConfig()" is null       
[25.06 00:34:18.494] INFO: [Proxy-1]    at lol.hyper.velocityblockversion.events.JoinEvent.onPlayerLogin(JoinEvent.java:42) ~[?:?]
[25.06 00:34:18.496] INFO: [Proxy-1]    at lol.hyper.velocityblockversion.events.Lmbda$46.execute(Unknown Source) ~[?:?]
[25.06 00:34:18.497] INFO: [Proxy-1]    at com.velocitypowered.proxy.event.UntargetedEventHandler$VoidHandler.lambda$buildHandler$0(UntargetedEventHandler.java:56) ~[velocity.jar:3.2.0-SNAPSHOT (git-40b76c63-b256)]                 stop                      
[25.06 00:34:18.499] INFO: [Proxy-1]    at com.velocitypowered.proxy.event.VelocityEventManager.fire(VelocityEventManager.java:598) ~[velocity.jar:3.2.0-SNAPSHOT (git-40b76c63-b256)]
[25.06 00:34:18.500] INFO: [Proxy-1]    at com.velocitypowered.proxy.event.VelocityEventManager.lambda$fire$5(VelocityEventManager.java:479) ~[velocity.jar:3.2.0-SNAPSHOT (git-40b76c63-b256)]                                        stop                      
[25.06 00:34:18.507] INFO: [Proxy-1]    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
[25.06 00:34:18.509] INFO: [Proxy-1]    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
[25.06 00:34:18.510] INFO: [Proxy-1]    at java.lang.Thread.run(Thread.java:833) [?:?]
@hyperdefined
Copy link
Owner

That's an interesting one. It seems like the config failed to initialize somehow. Are there any other messages beforehand from the plugin? Try to delete the VelocityBlockVersion folder in your plugins folder.

@TofaDev
Copy link
Author

TofaDev commented Jun 25, 2023

there are no other errors. This error appears only when logging in to the server. I tried to delete the configuration folder, it didn't help

fully startup log:

5.06 13:13:49.030] INFO: [Proxy-1] [13:13:48 INFO] [velocityblockversion]: Loaded 34 versions! [25.06 13:13:49.030] INFO: [Proxy-1] [13:13:48 INFO] [velocityblockversion]: Loaded versions: 47, 107, 108, 109, 110, 210, 315, 316, 335, 338, 340, 393, 401, 404, 477, 480, 485, 490, 498, 573, 575, 578, 735, 736, 751, 753, 754, 755, 756, 757, 758, 759, 760, 761 [25.06 13:13:49.030] INFO: [Proxy-1] [13:13:48 WARN] [velocityblockversion]: Unable to check updates! [25.06 13:13:49.030] INFO: [Proxy-1] java.io.IOException: Server returned HTTP response code: 403 for URL: https://api.github.com/repos/hyperdefined/velocityblockversion/releases [25.06 13:13:49.030] INFO: [Proxy-1] at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:2000) ~[?:?] [25.06 13:13:49.030] INFO: [Proxy-1] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589) ~[?:?] [25.06 13:13:49.030] INFO: [Proxy-1] at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224) ~[?:?] [25.06 13:13:49.030] INFO: [Proxy-1] at lol.hyper.velocityblockversion.updater.GitHubReleaseAPI.readGitHubAPI(GitHubReleaseAPI.java:123) ~[?:?] [25.06 13:13:49.034] INFO: [Proxy-1] at lol.hyper.velocityblockversion.updater.GitHubReleaseAPI.<init>(GitHubReleaseAPI.java:49) ~[?:?] [25.06 13:13:49.035] INFO: [Proxy-1] at lol.hyper.velocityblockversion.VelocityBlockVersion.checkForUpdates(VelocityBlockVersion.java:85) ~[?:?] [25.06 13:13:49.035] INFO: [Proxy-1] at com.velocitypowered.proxy.scheduler.VelocityScheduler$VelocityTask.lambda$run$0(VelocityScheduler.java:275) ~[velocity.jar:3.2.0-SNAPSHOT (git-40b76c63-b256)] [25.06 13:13:49.035] INFO: [Proxy-1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?] [25.06 13:13:49.035] INFO: [Proxy-1] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?] [25.06 13:13:49.035] INFO: [Proxy-1] at java.lang.Thread.run(Thread.java:833) [?:?]

@hyperdefined
Copy link
Owner

Thanks for the update. That other error you posted relates to the update checker, just a 403 error. Probably rate limited from Github.

I'll look into why the join event doesn't work in a few hours when I'm available.

@hyperdefined hyperdefined added the bug Something isn't working label Jun 25, 2023
@hyperdefined hyperdefined self-assigned this Jun 25, 2023
@hyperdefined
Copy link
Owner

https://github.com/hyperdefined/VelocityBlockVersion/releases/tag/1.0.9

Please update, as this has been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants