Update Checker

Discussion in 'Plugin Development' started by gabessdsp, Dec 10, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    gabessdsp

    So I got this message from bukkit when submitting my new plugin update:

    Due to recent policy changes, updaters (checkers and downloaders) must only utilize the Curse server mods API as an information source. You are no longer permitted to use external data sources, even if they currently provide a BukkitDev URL

    Are there any youtube videos demonstrating how to do this?
     
  2. Offline

    felixfritz

    Are you german? If so, you can read my tutorial here.

    If not, you can use Gravity's updater here.
     
  3. Offline

    gabessdsp

    felixfritz

    Thanks for the quick response. I'll have to try Gravity's updater.

    felixfritz

    Nermind that solution won't work anymore. Bukkit doesn't allow updaters that use dev.bukkit.org links or any other link. The update check MUST go through the CURSE API like I was told in my message. That updated checks using a direct dev.bukkit.org link the same way that I already do my updates.


    I need to know how to use the Curse API for Bukkit to check for updates.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 5, 2016
  4. Offline

    felixfritz

    The Update checker uses the "API". It's not really an API that you download and use import in your project (like Bukkit or Vault). You can just copy the source code into an Updater-class in your project and you should be fine.

    You can check out the source code of one of my projects here. The Updater-class is in the utils-package.
     
  5. Offline

    gabessdsp



    The update checker has it's own API that the creator made, but it still uses the dev.bukkit.org RSS feed method which is no longer allowed as I was told by staff who denied my plugin.

    The updater must connect with the Curse API to check for updates.
     
  6. Offline

    felixfritz

    No, it doesn't load the dev.bukkit.org RSS feed (look at the read-method). It works, trust me ; )

    And if you only want to check, if updates are available (and don't want to download it), you can copy the Updater-source code from my project, because I shrinked down Gravity's updater class to the most important bits.
     
  7. Offline

    gabessdsp

    felixfritz

    Okay, I'll just give it a try then.
     
Thread Status:
Not open for further replies.

Share This Page