Solved How to detect if a value in a config has been changed?

Discussion in 'Plugin Development' started by SiriCodes, Feb 23, 2017.

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

    SiriCodes

    Okay, so I want to make a "config updater" for one of my plugins to detect if a value in it has been changed. But I don't understand how. Not many plugins have this and you have to reload for it to take effect. I want to know how.
     
  2. Offline

    timtower Administrator Administrator Moderator

    @SiriCodes If a value changed by your code: you are changing the value already.
    If by an external editor: there is no way to find it besides reloading the config and reading it every minute.
    I should go for a reload command though, with the reloadConfig call.
     
  3. Offline

    SiriCodes

    I was hoping for something else other than a reload command.. meh.
     
Thread Status:
Not open for further replies.

Share This Page