How can i add a command what reloads a plugin...

Discussion in 'Plugin Development' started by Jozeth, Jan 31, 2012.

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


    Such as /soreload so if anyone changes the config, it will update in-game.

    Such as enabling explosions then using /soreload it will allow explosions in-game...
  2. Offline


    I've never done this before so I'm not sure, but I think getServer().reload() should work.
  3. depending on how you have written your plugin a "plugin.reloadConfig();" could be enough,
    if you dont want to reload everything
  4. Offline


    So if i used that command with plugin.reloadConfig(); it will tell the plugin what they have changed?

Thread Status:
Not open for further replies.

Share This Page