Update with final error and solution: I was trying to match the file name with the name on the plugin.yml, instead i matched the plugin.yml name with the name i was loading the command with on the onEnable, that worked fine :)
@Override
public void onEnable() {
// Plugin startup logic
getLogger().info("Hello everyone :)");
getCommand("magia").setExecutor(new Magicdust()); //line 12 is this one
}
So yeah. I have been talking with some people on the PaperMC discord server and asking for help about a problem I'm having. So, when I start the server, the plugin starts up and even the little log comes up but then it crashes with this log:
[04:53:01 ERROR]: Error occurred while enabling...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.