Add /reloadutils #18
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I've tried to make this work but I'm stuck.
It would be really nice to have cuz as it is now whenever we implement changes we have to reboot the server. I also have to keep restarting my test server (reloading twice causes some PermGenError and OutOfMemoryError).
So if someone knows how to reload our python plugins, I'm all ears!
I tried:
You can't disable the python plugin because it will be unable to interprete the next lines. I tried that too. Event doesn't have getHandlerList() (it's static). If you don't unregister all events/commands (They seem to be registered to PythonLoader) it will throw a bunch of errors because all of them are already loaded when utils tries to register them.
This would be part of @gdude2002/Python-Plugin-Loader – not our plugin.