Why typecast? getPlayer() returns a player and getBlock() returns a block.
You can always do loadbefore: [pluginname] in your plugin.yml.
Oh, didn't see that. Nevermind.
You need to reference craftbukkit.
Wrong place.
Or just do a for(String s: args);
System.out.println("s"==new String("s")) will print false.
Then add .getY() to the end....
It depends on the case. Without going into java's string pool, I can tell you that you should be using .equals().
Yes, but getClickedBlock() could return null if someone clicks the air, then getTypeId() would throw a NPE.
I'd use a stringbuilder for that. StringBuilder sb = new StringBuilder(); sb.append("/").append(cmd.getName()); for(String s: args)...
Check to make sure a block got clicked, and check to make sure you're referencing bukkit and not craftbukkit.
Separate names with a comma.