Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Plugin Auto Updater

Comments in 'Plugin Development' started by DALTONTASTIC, May 5, 2015.

  1. DALTONTASTIC
    Offline

    DALTONTASTIC New Member

    Joined:
    Apr 27, 2015
    Posts:
    6
    Minecraft User:
    DALTONTASTIC
    Is there a way that I can integrate automatic updates into a plugin? It would check for updates every time PocketMine booted up, and promptly apply the update? I think I saw something like this that Falk uses, but I don't think that's a public method. It wouldn't be hosted on the forums. It would be a self-hosted plugin.
    Hotshot_9930 likes this.
  2. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,706
    Plugins:
    22
    Minecraft User:
    Falkirknh
    Mine doesn't apply when the plugin is run. You have to execute the phar file directly. It is more of a convenience update than an auto update.
  3. DALTONTASTIC
    Offline

    DALTONTASTIC New Member

    Joined:
    Apr 27, 2015
    Posts:
    6
    Minecraft User:
    DALTONTASTIC
    Ohhhhhhh okay. I was going to integrate this into bridge just in case we needed to patch something security wise.

Share This Page

Advertisement