Disclaimer: I am very new to coding. I'm currently trying to make a simple plugin that displays a list of staff. I've made the plugin, but for some reason, it doesn't work. The error in the console will be listed below. I think it's my plugin.yml, but I'm not very sure. Any advice or help is greatly appreciate, thank you very much! Error http://pastebin.com/mk5jzb0T Plugin.yml http://pastebin.com/Egkj0TBL
Caused by: java.lang.ClassNotFoundException: me.BroBroBrPMWStaff Make sure in your main: in the plugin yml you include package.mainclass with proper capitalisation it would be good if we could see your main class to trace exacly where the error is!
What do you mean by that? Again, I'm kinda new, so if this isn't what you meant by "main class", my bad. http://pastebin.com/rrCWcs3w
Yarmoam See the basic tutorial for doing commands. Also your enable/disable methods are wrongly capitalized. As for your error : you forgot the class name in your plugin.yml.
Yarmoam Like Avygeil has already mentioned, you forgot to put the name of your main class in the plugin.yml. It should be Code: main: me.BroBroBro.OPMWStaff.OPMWStaff
Yarmoam Here are some tips: It is good practice to keep package names lowercase, the first letter of variable and method lowercase, and the first letter of classes capitalized. Or... You could check out EgyptianKing 's great new list http://forums.bukkit.org/threads/list-of-coding-tips-and-practices.324111/