[HELP] How to make a auto-updater in your plugin?

Discussion in 'Bukkit Help' started by Steffion, Jul 14, 2012.

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

    Steffion

    Hello,
    Could anyone tell me how to make a auto-updater in your plugin?
    What I want is if the plugin starts (onEnable();) then it checks on the bukkit dev there is a update.
    And then it shows a message in console with the download link.
    Please help me!
    Thanks!
     
  2. Offline

    Cowboys1919

  3. Offline

    Steffion

    Cowboys1919 Thanks, but i don't want people need that plugin to have my plugin. You understand?
     
  4. Offline

    Cowboys1919

    Steffion You should leave that up to the user. The people that have your plugin should be able to choose if they want auto update, if they do they will download a plugin like this. And I know that you could probably make an option to turn it off but still, don't reinvent the wheel.

    Why don't you download the content of the HTML page on bukkit's site and parse with regex.

    HAHAHAHA JK don't ever do that. Programmers 101.

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

    Steffion

    Cowboys1919 I don't want auto-update but i want to check for update and then send a link for download.

    Bump, i want this :(!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 27, 2016
Thread Status:
Not open for further replies.

Share This Page