PicoJobs

PicoJobs

13.1k Downloads

[BUG] Issue with CurseforgeAPI

NicoNekoDev opened this issue ยท 6 comments

commented

Describe the bug
Error in the console on startup.

To Reproduce
Steps to reproduce the behavior:

  1. Install plugin.
  2. Start the server.
  3. Enjoy!

Expected behavior
No noob-level error.

Screenshots and Logs
https://paste.md-5.net/opunozicur.md

Software Details:

  • Server Software: Paper
  • Server Software Version: Paper 1.18.1-77
  • Plugin Version: 1.0-beta-5
  • Java Version: Java 17

Additional context

commented

After some investigation I think that this issue is because of the change in CurseforgeAPI, going to take a look into it and implement a issue asap.

This issue should not affect any major feature of the plugin, it it does please let me know.

commented

Maybe let the error exception fail silently, and print it only when debugging is enabled in config.

commented

Hello I was wondering if this was a one time issue or it's still happening to you every time you restart the server?

commented

It happened everytime I restarted the server.
Not sure if my host disabled https requests completely for Java applications. My guess is that they did because of the log4j exploit.
Maybe you could also add an option to disable version check completely.

commented

Yeah, I guess I could add that. I will mark this as a feature that I will add in future.

commented

A toggle to enable/disable the update checker feature was added.