Config Files

Discussion in 'Plugin Development' started by ArsenArsen, Jun 16, 2014.

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

    ArsenArsen

    I need to make config.yml witch will allow my users to select download method of update in Gravitys updater.
    EXAMPLE
    Code:java
    1. Updater updater = new Updater(this, HIDDEN, this.getFile(), Updater.UpdateType.FROM_CONFIG, false);


    config (open)

    ###########################
    # PLUGIN_NAME config file #
    ###########################
    update-type= NO_DOWNLOAD


    Anyone ill be thankfull more and more and more

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 8, 2016
  2. ArsenArsen 8 minute bump? Someone's a bit impatient. :) And what part are you struggling with?
     
  3. Offline

    ArsenArsen

    I need to rreplace FROM_CONFIG with update-type string but how, and i am inpattient ALL TIME!
     
  4. Offline

    Gater12

  5. Offline

    ArsenArsen

    Are you sure how to place? didnt worked my way.

    AdamQpzm can u help me u have some plugins?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 8, 2016
Thread Status:
Not open for further replies.

Share This Page