1. 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?
     
  2. Wulf

    Wulf Community Admin

    OnServerShutdown
     
  3. why isnt this in the api docs?
     
  4. Wulf

    Wulf Community Admin

    Generally plugins would use the Unload hook, as the plugin is generally unloaded before OnServerShutdown.
     
  5. How many secret magic hooks have you got in your packet, Wulf? :) Any hint how to get to them generally?
     
  6. telerik Justdecompile ?
     
  7. Wulf

    Wulf Community Admin

    It isn’t a secret, you can look at GitHub and se the source. As I mentioned though, I would stick to Unload.