Thank you so much for the review I appreciate that a lot!
Version: 1.0
Excellent plugin, I've been looking for this kind of plugin for a while now!
I have nothing else to say, but I have 4 suggestions though:
- Add a specific message to be sent to everyone with a permission when the RAM amount is reached. (For example, Warning! RAM Usage is at a critical level.)
- Do the same, but with TPS. So when for example the TPS is at 1.5, it will restart. (Or if you want, you could do this with MSPT and not TPS, MSPT would be better)
- Add a countdown when a specified RAM or TPS or MSPT value is reached, so it will not instantly restart, but it will wait for example 10s, and then restart.
- And finally, add the ability to run custom commands when RAM or TPS, or MSPT hits the specified value. (For example /clear lagg) And there would be "/restart" by default, but you could add your own commands to be run.
But anyways, thank you for this plugin, I really like it already!
Hope you have the time and motivation to continue developing your plugins, keep up with them!
<3
Thank you for the review! I will add everything you suggested soon. For thr countdown, its already a thing you can configure in the config.yml its on 5 seconds by default