Auto Updater

Discussion in 'Archived: Plugin Requests' started by Minerman01, Dec 22, 2012.

?

Do you think this plugin is usefull? (Please leave a comment why you make that choice)

  1. Yes, absolutely

    50.0%
  2. Yes, in my opinion

    0 vote(s)
    0.0%
  3. Well, I don't think much developers will use the system, but I like the idea

    0 vote(s)
    0.0%
  4. No, I don't think anyone is going to use it

    0 vote(s)
    0.0%
  5. No, absolutely not!

    50.0%
  1. Offline

    Minerman01

    Category: Administration

    Suggested name: AutoUpdater

    The idea: Are you going to be mad when Minecraft update?
    I do. Because I have to wait for new releases of the plugins I use, and after that, I have to update all my plugins (I've got 36 plugins)

    So I came with this idea.
    If we make a plugin for Bukkit, that search for data of plugin updates, it would be much easier.
    Let me give an example.

    If someone uploads a plugin, like there's an update on PrefixChat, the developer (or the updater) of the plugin goes as well to (by example) http://www.bukkitautoupdater.com.
    Then he upload's his update.
    After this, anyone server which have installed AutoUpdater AND THIS PLUGIN will get a message in the console and it is sent to everyone with the permission. (look at permissions)
    Then if a player with permission typed in: /autoupdater <Plugin Name (by example PrefixChat)>
    The update of the plugin uploaded on the website by the updater will get downloaded and autoinstalled by AutoUpdater.
    After the update an automatic reload reloads the server.
    That's it!
    If there isn't anyone online with the permission, the message will get send to anyone with the permission if this person get online.
    Just a simple command in the console (or in game if you've got permission) and the plugin is updated

    Ideas for commands:

    /autoupdater <pluginname> - Will update the called plugin if there's an update.
    /autoupdater all allplugins - Will update all the available plugins.
    /autoupdater list - Will show a list of all the available updates.
    /autoupdater all exempt <pluginname> - Will update all the available plugins exempt called plugin.

    Ideas for permissions:

    autoupdater.* - This is for the console and the ops by default. You can do anything
    autoupdater.messages - This is for the people who receives the message when there's an update
    autoupdater.update.* - With this permission you can update all plugins
    autoupdater.update.<pluginname> - The player with this permission can only update a specific plugin
    autoupdater.update.list - The player with this permission can see which plugins are available for update
    autoupdater.update.exempt - The player with this permission can update all the plugins exempt the called plugin (See the /autoupdater all exempt <pluginname> - command

    When I like it by: Doesn't matter, but of course I will like it as soon as possible
     
  2. Huge amount of work. You would have to register every plugin...... Pretty much gonna say impossible.
     
  3. Offline

    Retherz_

    autoupdater for plugins already exist..
     
  4. Offline

    Minerman01

    I know, but it isn't much work for the developer is it? It's just one minute more work for the developer of the plugin to register on the website, isn't it?
    U mean like this? AutoUpdate
    I already saw that, but then you have to edit your plugins and add code.
    What I want is just an automatic update via a website. That will make it littler to make or update the plugin. :)
    If I'm wrong just say. :)
     
  5. Offline

    ThunderWaffeMC

    It's not just the plugin you would have to code. It involves web development as well. I would recommend this to the more advanced plugin developers who can work with a web designer/web coder.
     
  6. Offline

    Minerman01

    btw LazyUpdate doesn't update only 2 of the plugins I use
     
  7. Offline

    creepycrafter4

    great idea, but it will take time to register many plugins.

    also:

    reloads cause memory leaks, better update after next restart

    and maybe autodownload??
     
  8. Offline

    Minerman01

    Yes, it will take much time.
    But after that you doesn't have to spend time on updating anymore.

    Yeah, that's better, after a restart.
    Or you will got much lag's, probabely.

    Autodownload will be fine, but as you said it have to be after a restart.
    Maybe developers can set priority, like: This update is a normal update.
    Than the plugin will not update with the autoupdate.
    But if the priority is like: This is a (very) urgent update.
    Than the plugin will be autoupdated.

    Thanks for reaction btw! :)
     
  9. Offline

    creepycrafter4

    I totally agree

    do you mean that it will be autodownloaded when it's urgent?
     

Share This Page