Would it be possible to have some kind of way to shutdown a plugin from the plugin itself?
For exemple:
Code:[PluginReference] Plugin DeadPlayersList;void Init() { if(DeadPlayersList == null) { Debug.Log("You can't run this plugin without Dead Players List"); this.Shutdown(); } }
Solved Plugin self-shutdown
Discussion in 'Rust Development' started by Reneb, Jul 29, 2015.
-
Maybe something like this:
Code:Interface.Oxide.UnloadPlugin("PluginName");
-
Wulf Community Admin
You can, just tell Oxide to unload it.
-
-
Wulf Community Admin
-
what bombardir said would work ^^?
-
-
thx pain and bombardir