[Help] Wiki things don't work

Discussion in 'Plugin Development' started by Zero9195, Jan 21, 2011.

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

    Zero9195

    Hi everyone ;)
    My Problem is that I decided to code a Plugin for Minecraft and get some errors while copying the code from the wiki. In fact, only these 3 things are bugged:
    Code:
    import org.bukkit.Block;
    import org.bukkit.BlockFace;
    import org.bukkit.Player;
    These Imports don't work. Every other import works just fine. I use the newest bukkit.jar build, 66.

    Help is appreciated,
    Zero9195

    PS: if you don't understand something pls ask ;)
     
  2. Offline

    Samkio

    Yes there are new ones:
    Code:
    import org.bukkit.block.Block;
    import org.bukkit.block.BlockFace;
    import org.bukkit.entity.Player;
    
     
  3. Offline

    Zero9195

    ah thx, missed that >.<

    EDIT: Now the next problem:
    Code:
     public JMod(PluginLoader pluginLoader, Server instance, PluginDescriptionFile desc, File plugin, ClassLoader cLoader) {
               super( pluginLoader, instance, desc, plugin, cLoader );
    It says as error message:
    The constructor JavaPlugin(PluginLoader, Server, PluginDescriptionFile, File, Classloader) is undefinded.

    Anyoone knows something about that? maybe I missed some other things too ^^"
     
  4. Offline

    MadMichi

  5. Offline

    Zero9195

    Just as I said, missed it xD
    Thx for the help ;) If I need more I will ask you in a few minutes xDD
     
  6. Offline

    Samkio

    It is missing the File Folder.
    Code:
     public JMod(PluginLoader pluginLoader, Server instance, PluginDescriptionFile desc, File folder, File plugin, ClassLoader cLoader)
      {
        super(pluginLoader, instance, desc, folder, plugin, cLoader);
      }
    Edit:
    Dam slow internet xD
    Glad you fixed it. :)
     
Thread Status:
Not open for further replies.

Share This Page