The problem
- Easybot-MCDR ALWAYS registers its handler
- It tries to import all handlers and use the first one, however the code will always inherits ForgeHandler1 (why?)
- User could not turn off the handler.
In summary, a user using a non-Forge server or wants a custom handler will never be able to use your plugin.
Not all users needs a prefix handler which always inherits ForgeHandler!
The fix
Make it configurable please. For example:
{
"enable_easybot_handler": false // Whether enable the handler, *should defaults to FALSE!*
"parent_handler": "FabricHandler" // Loads and inherits mcdreforged.handler.impl.FabricHandler
}
The problem
In summary, a user using a non-Forge server or wants a custom handler will never be able to use your plugin.
Not all users needs a prefix handler which always inherits
ForgeHandler!The fix
Make it configurable please. For example:
Footnotes
You can verify this by execute the code without launching MCDR.
↩