ProtocolLib

3M Downloads

It says there's a new version ready for next reboot, I never gave permission for this

mrfloris opened this issue ยท 8 comments

commented

Why is it telling me there's a new version ready to update on next restart, if i never gave permission for this?

global:
  # Settings for the automatic version updater
  auto updater:
    notify: false
    download: false
    
    # Number of seconds to wait until a new update is downloaded
    delay: 43200 # 12 hours
 
  metrics: false
commented

Please post all relevant log lines.

commented
[04:29:41] [Server thread/INFO]: [ProtocolLib] Loading ProtocolLib v4.5.1-SNAPSHOT-b443

[04:29:42] [Server thread/INFO]: [ProtocolLib] Enabling ProtocolLib v4.5.1-SNAPSHOT-b443
[04:29:42] [Server thread/INFO]: [ProtocolLib] Started structure compiler thread.

[08:18:17] [Server thread/INFO]: [ProtocolLib] The updater found an update, and has readied it to be loaded the next time the server restarts/reloads.
>ver
[14:10:29] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-492a779-b98e2de (MC: 1.15.1) (Implementing API version 1.15.1-R0.1-SNAPSHOT)
[14:10:29] [Server thread/INFO]: Checking version, please wait...
[14:10:29] [Thread-137/INFO]: You are running the latest version
>ver ProtocolLib
[14:10:33] [Server thread/INFO]: ProtocolLib version 4.5.1-SNAPSHOT-b443
[14:10:33] [Server thread/INFO]: Provides read/write access to the Minecraft protocol.
[14:10:33] [Server thread/INFO]: Authors: dmulloy2 and comphenix
>
commented

Protocollib is using an ancient spigot update api

private static final String API_URL = PROTOCOL + "www.spigotmc.org/api/general.php";
private static final String ACTION = "POST";

https://www.spigotmc.org/threads/update-checking.264850/

it needs to be updated @dmulloy2

commented

Will get on that tonight, thanks.

Is there a better API to use?

commented

Will get on that tonight, thanks.

Is there a better API to use?

https://www.spigotmc.org/threads/update-checking.264850/ has more information about this topic

commented

so just that new url?

commented

Yes, new url, and it's just a get, not a post.

commented

Thank you. It seems to work fine again.