Solved Permalink to latest version of plugins?

Discussion in 'Bukkit Help' started by Craft1n3ss, Apr 19, 2013.

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

    Craft1n3ss

    Is there a permalink (a link that never changes) for the latest version of all BukkitDev plugins? @TnT replied to this thread from over half a year ago saying "We have it on our list of items already". There is also this thread which asks for the same thing, but the thread sidetracked and everyone ended up discussing using BukGet. What I want is the link to the latest version of any BukkitDev plugin as mentioned in the first thread and the op of the second thread. I am editing the batch file used to start my server so that it updates CraftBukkit and all my plugins when the server stops. For thihs I need a permalink that always leads to the latest version of the plugin.
    Thanks.
     
  2. Offline

    Mayor_Mike

    yea.... i think you are out of luck. The plugins always have different links per update. The craftbukkit itself has a link that leads to the latest everytime i believe.
     
  3. Offline

    TheOnlyRealTGS

    I have no idea if this is possible to create in java
    Let's take the plugin SurvivalGames for example:
    http://dev.bukkit.org/server-mods/survival-games/files/37-survival-games-dev-0-5-0/
    That is the link to the newest version.

    But you can use this link to get to that version too.
    http://dev.bukkit.org/server-mods/survival-games/files/37

    So i would suggest creating some code that tries to see if
    http://dev.bukkit.org/server-mods/survival-games/files/1 exist.
    If not go to
    http://dev.bukkit.org/server-mods/survival-games/files/2
    and so on.
    When you reach a page that not exist, go 1 page back.
    And then on the page find the text "Filename" and download the file from the link below..

    But as i said i have no idea if this is possible
     
  4. Offline

    Craft1n3ss

    Thanks for the idea, but unfiortunately I can't code. I intended to use cURL (a tool similar to Wget) to automatically update the plugins when I shut down my server. Since the idea had been suggested 6 months ago, I'd (wrongly) assumed that it would have been added by now. Can someone from the Bukkit staff tell me if this is being added and, if it is, when I can expect it?

    Edit: Looks like it might be a while until it's implemented
     
  5. Offline

    Craft1n3ss

    Just found a solution that was right under my eyes! Curse has permalinks to these plugins! I'm going to mark this thread (self) solved!
     
Thread Status:
Not open for further replies.

Share This Page