Code Monkey home page Code Monkey logo

Comments (12)

AlecMcCutcheon avatar AlecMcCutcheon commented on June 24, 2024 1

You need to provide an id for autoplug to be able to check if there is an update available, since the custom download url only provides a link to a file.

Then if there is an update, since you provided custom-download-url, that is used to download the file.

The focal point still lies in implementing a force download feature, wherein upon server restart or plugin check, the server should decisively download a new copy and overwrite the existing one without necessitating a version check. While validating hashes would be ideal to avoid overwriting unchanged files, it's more practical to have the server manage the download and overwrite process during restart or plugin check. This approach saves the hassle of manually updating plugins without an ID or with an outdated ID, as exemplified by Geyser. Moreover, Floodgate lacks an ID altogether, underscoring the need for a straightforward updating mechanism in such scenarios.

from autoplug-client.

Minionguyjpro avatar Minionguyjpro commented on June 24, 2024

This is indeed a problem I also have on my Purpur 1.20.4 server that uses the Spigot plugin.

from autoplug-client.

AlecMcCutcheon avatar AlecMcCutcheon commented on June 24, 2024

Wow I have the same Issue too, glad to see I'm not the only one, Please fix this thanks

from autoplug-client.

Osiris-Team avatar Osiris-Team commented on June 24, 2024

You need to provide an id for autoplug to be able to check if there is an update available, since the custom download url only provides a link to a file.

Then if there is an update, since you provided custom-download-url, that is used to download the file.

from autoplug-client.

LKits avatar LKits commented on June 24, 2024

You need to provide an id for autoplug to be able to check if there is an update available, since the custom download url only provides a link to a file.

Then if there is an update, since you provided custom-download-url, that is used to download the file.

I'm very much aware of this therefore this was enhancement ticket, not a bug one.

At the moment I've added "wget" before every time server starts to download JAR file.
Why couldn't Autoplug do this? Download the file, compare hash or some version and replace old plugin file when changes have been made?

from autoplug-client.

Osiris-Team avatar Osiris-Team commented on June 24, 2024

Ideed updated the issue.

from autoplug-client.

Osiris-Team avatar Osiris-Team commented on June 24, 2024

Yeah in the case that nothing is provided except the custom-download-url we could use that logic.
This also removes the need to add a new force-download option in the config.

from autoplug-client.

ShayBox avatar ShayBox commented on June 24, 2024

Any progress on this? It would be nice to auto-update Geyser and Floodgate.

from autoplug-client.

LKits avatar LKits commented on June 24, 2024

Any progress on this? It would be nice to auto-update Geyser and Floodgate.

I just added wget to shell script, restarting daily so it forces to re-download every time autoplug starts:

wget -O plugins/Geyser-BungeeCord.jar https://download.geysermc.org/v2/projects/geyser/versions/latest/builds/latest/downloads/bungeecord

wget -O plugins/floodgate-bungee.jar https://download.geysermc.org/v2/projects/floodgate/versions/latest/builds/latest/downloads/bungee

from autoplug-client.

Osiris-Team avatar Osiris-Team commented on June 24, 2024

@ShayBox I'm not adding new features to AP anymore. Best would be if you find a Java developer or do it yourself.

from autoplug-client.

ShayBox avatar ShayBox commented on June 24, 2024

@ShayBox I'm not adding new features to AP anymore. Best would be if you find a Java developer or do it yourself.

Why are you still accepting monthly subscriptions then...

from autoplug-client.

Osiris-Team avatar Osiris-Team commented on June 24, 2024

@ShayBox
Features related to AutoPlug-Web are the priority, AP-Client only features are not.

Why are you still accepting monthly subscriptions then...

You pay for the currently working AP-web features.

from autoplug-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.