Add API to get current and latest oxide versionSuggestion

Great plugin, thanks!
Would be even better if you could add 2 additional API methods to get current and latest oxide version numbers.

@MONaH Technically you can call plugin's FetchLatestOxideRustVersion through the CallHook function and passing a callback as the first argument, but why would I be adding that to an API description, if it does not actually matches the purpose of this plugin?

You can easily pull that info from a simple web request and from the Oxide install itself.

I mean you already have web request implementation to check if new oxide is released, why don't you expose an API to get that info? At lease a bool IsNewOxideOut. In case, for example, to developer could add some additional logic before actually restart server (by this plugin) after new oxide is released, such as active online players count, wipe needed, some specific server events still active etc.
Of course I can get oxide version by implementing web request and even more, I can create own restarter plugin. I was about imroving this particular plugin usage cases, since I like it.

ClpBBOj7aiPuK1E.png MONaH

I mean you already have web request implementation to check if new oxide is released, why don't you expose an API to get that info? At lease a bool IsNewOxideOut. In case, for example, to developer could add some additional logic before actually restart server (by this plugin) after new oxide is released, such as active online players count, wipe needed, some specific server events still active etc.
Of course I can get oxide version by implementing web request and even more, I can create own restarter plugin. I was about imroving this particular plugin usage cases, since I like it.

As I said - you can still call this method as a hook, but it is not intended to be exposed in context of this particular plugin, so it will not be somehow documented here.