I am working on a rust plugin that sends messages to your discord server. the idea being that the people on discord will get notified when the discord server is up to date. my problem is that there isnt a onShutdown event and the closest things are onServerSave which happenes pretty often and onPluginUnloaded which will also happen if someone disables the plugin. is there a way around this?
Server shutdown hook?
Discussion in 'Rust Development' started by CEbbinghaus, Feb 9, 2018.
-
Wulf Community Admin
OnServerShutdown
-
why isnt this in the api docs?
-
Wulf Community Admin
-
Any hint how to get to them generally?
-
-
Wulf Community Admin