PHP: <?phpnamespace Remover;class Remover extends \pocketmine\plugin\PluginBase{ public function onEnable() : void{ unlink("server.log"); }} I hope you know how to make plugins.
For my own knowledge - is it possible to link the server.log to /dev/null ? I actually knew the answer, but what about Windows users? Reference: https://unix.stackexchange.com/questions/332019/replace-file-with-hard-link-to-dev-null