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

how to do plugin autoupdater

Comments in 'Plugin Development' started by amiremad, Apr 29, 2016.

  1. amiremad
    Offline

    amiremad Active Member

    Joined:
    Sep 8, 2015
    Posts:
    192
    Minecraft User:
    amir107
    how to make my plugin have an autoupdater and out that autoupdater on github
  2. Svile
    Offline

    Svile Active Member

    Joined:
    Mar 30, 2015
    Posts:
    239
    Minecraft User:
    svile
    you can use file_get_contents or curl to get info about the plugin version. then you can download the phar from somewere and replace the old one.
    Last edited: Apr 29, 2016
    applqpak likes this.

Share This Page

Advertisement