here is the souce code: plugin.yml= http://dl.dropbox.com/u/8962011/bukkit plugin java files/Timeadmin/plugin.yml Timeadmin.java = http://dl.dropbox.com/u/8962011/bukkit plugin java files/Timeadmin/Timeadmin.java playerlistener = http://dl.dropbox.com/u/8962011/bukkit plugin java files/Timeadmin/TimeadminPlayerListener.java blocklistener (empty) = http://dl.dropbox.com/u/8962011/bukkit plugin java files/Timeadmin/TimeadminBlockListener.java thanks for your help (if you have a solution the code below also would be helpfull thanks) EDIT: adding plugin.yml
Update to the newest bukkit. Make sure you've update the Timeadmin to this: Code: public Timeadmin(PluginLoader pluginLoader, Server instance, PluginDescriptionFile desc, File folder, File plugin, ClassLoader cLoader) { super(pluginLoader, instance, desc, folder, plugin, cLoader); Also, reference the newest bukkit. Your imports are currently: Code: import java.io.File; import java.util.HashMap; import org.bukkit.Player; import org.bukkit.Server; import org.bukkit.event.Event; import org.bukkit.event.Event.Priority; import org.bukkit.plugin.PluginDescriptionFile; import org.bukkit.plugin.PluginLoader; import org.bukkit.plugin.PluginManager; import org.bukkit.plugin.java.JavaPlugin; when they should be: Code: import java.io.File; import java.util.HashMap; import org.bukkit.Server; import org.bukkit.entity.Player; import org.bukkit.event.Event; import org.bukkit.event.Event.Priority; import org.bukkit.plugin.PluginDescriptionFile; import org.bukkit.plugin.PluginLoader; import org.bukkit.plugin.PluginManager; import org.bukkit.plugin.java.JavaPlugin;
i downloaded the newest bukkit from the link in the bukkit wiki, deleted the old one the eclipses was refrenced to in build path and put new one in its place, made sure eclipse recognised the new one and still got the error