bukkit errors

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

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

    Chrom3

    Hello!
    I'm both new to this forum and the entire java coding thing (although I have some coding experience).

    After following the steps in the wiki on how to start a project I get some errors which I believe are not my fault.


    my main class:
    Code:
        public SmalltimeChat(PluginLoader pluginLoader, Server instance, PluginDescriptionFile desc, File plugin, ClassLoader cLoader) 
        {
            super(pluginLoader, instance, desc, plugin, cLoader);//The constructor JavaPlugin(PluginLoader, Server, PluginDescriptionFile, File, ClassLoader) is undefined    SmalltimeChat.java
        }
    and some other error here but i'm pretty sure they are errors because the org.bukkit.Player can't be loaded.

    my blocklistener class:
    I changed:
    Code:
    import org.bukkit.Block;
    import org.bukkit.BlockFace;
    to:
    Code:
    import org.bukkit.block.*;
    Is this right?

    ----------------------

    I assume this is because there where changes in the files in the latest build?

    I'm using Eclipse SDK version 3.6.1 build N20100909-0800
    my bukkit version is "bukkit-0.0.1-SNAPSHOT.jar"

    Thanks in advance.

    EDIT: oh my, silly me, i found something in the "oops i broke your plugins" thread, not everything though

    Also if i don't use the blocklistener, can i just remove it (only gonna monitor chat)?
     
  2. Offline

    1337

    org.bukkit.Player is now org.bukkit.entity.Player
     
  3. Offline

    Chrom3

    Yes, I have resolved those, still getting another error, changed my first post.
     
  4. Offline

    Chrom3

    nobody?
     
  5. Reading the very first thing in "Oops, i broke your plugins!" will fix your problem.
     
Thread Status:
Not open for further replies.

Share This Page