another problem

Discussion in 'Plugin Development' started by 1337, Jan 16, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    1337

  2. The problem is probably in your plugin.yml file, could you post that?
     
  3. Offline

    Archelaus

    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;
     
  4. Offline

    1337

    org.bukkit.entity.Player shows errrors on the parts in red
     
  5. Offline

    Archelaus

    Because you didn't get the new Bukkit and add it as an external jar.
     
  6. Offline

    1337

    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
     
  7. Offline

    Archelaus

    Try it with an uncapitalized P I guess. It works fine for me.
     
  8. Offline

    1337

    same issue :( anyone know how to fix?
     
Thread Status:
Not open for further replies.

Share This Page