I took a look at the source code
you cast sender to a Player before checking if the sender actually is a Player, Incoming ClassCastException.
You also did not follow the Java naming conventions and print out "CrazyMoon has been enabled", did you know bukkit already does that for you?
Have you ever hear of ChatColor?
Also why is your Main class implementing Listener
when you are not listening to any events?
you use label.equals() instead of cmd.getName().equals()
When a player runs /crazymoon on, you are canceling a task, that might not exist, because the int CrazyMoon only get's a value when you invoke
CrazyMoon(), which is invoked after you cancel the task.
And all this plugin does is run a Scheduler that changes time.
make your moon get crazy!
My review on
Has help menu?
Needs other plugins?
If you have /gamerule doDaylightCycle false it doesn't work.
If you do /CrazyMoon credits it displays version 1.0 in version 1.2