So I saw a plugin which had one or two parts missing and some parts I didnt like so I looked at code and knew how to fix it, so I did, but my compiler gives mer error's with EVERYTHING related to the Bukkit API So where do I get it from? This is what is imported Code: import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.inventory.ItemStack; import org.bukkit.plugin.PluginDescriptionFile; import org.bukkit.plugin.java.JavaPlugin; Thanks
Thanks! But I sadly have a new stupid question Where do I put the .jar file? Sorry for the questions which I bet you guys are annoyed of answering!
http://wiki.bukkit.org/HUGE_Plugin_Tutorial Check the top of that, it tells you how to set up Eclipse.
I added jar file to correct place and the java doc's still errors, okay now i got everything set-up but it says Access Restriction: The Type Command is not accessible due to restriction on required library! Forget this thread can a mod lock it? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Did you make bukkit.jar a referenced library? And are there no other libraries other then the main java library? Then it should work.