Updater not working correctly!

Discussion in 'Plugin Development' started by dart2112, Sep 29, 2014.

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

    dart2112

    OK so i got the updater form here: Updater
    I configed it correctly in my main class's onEnable()
    Code:java
    1. if (getConfig().getBoolean("update")) {
    2. Updater updater = new Updater(this, 84729, this.getFile(),
    3. Updater.UpdateType.DEFAULT, true);

    But when i run the plugin it downloads the first plugin that had the updater, not the latest version
    to view the code go to these links:
    Main Class
    Updater Class
     
  2. Offline

    MineStein

    Eww... GitLab, new accounts, *snores audibly*.

    Have you correctly input your slug? It works perfectly fine for me.
     
  3. Offline

    dart2112

    1. Gitlab is perfect for my needs, and 2 yes I've checked that 3 times

    OK so here is a link to bukkit Dev: Bukkit.Dev
    now you will see that there is no 1.5 update, this is because i removed it
    but the updater can still download it and still does download it.
    If anyone know why, help would be greatly appreciated

    Im going though your source code now to see if i can find whats wrong

    ok it turn out after a few reloads it fails, still need help!

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

    dart2112

    OK, turns out it was a bukkit download name format thing, started a new project page and BAM it works
     
  5. Offline

    dart2112

    It was Bukkit.dev formating with the file names
     
Thread Status:
Not open for further replies.

Share This Page