1. Is it possible to write a script to reload plugins and their config WHILE the server is running, so that the whole server doesn't need to be restarted for a plugin update or a single line in a config file being refreshed?

    I have been looking at the hooks and although I have no scripting/coding experience, it looks to me that it could be possible because of the Unload() hook and clearly there is a command in Oxide to load *.lua which do not appear to have a specific order (or none that I can see nor configure) that they load in.
     
  2. oxide.reload <name>
    oxide.load <name>
     
  3. Thank you , that helps a lot.

    Could somebody please mark this as solved?
     
  4. Wulf

    Wulf Community Admin

    Plugin loading is also automatic when the server detects changes. The only time you really need to manually reload, is when you change a config file for a plugin.
     
  5. oh and
    oxide.unload