Errors

Discussion in 'Plugin Development' started by quack123456, Feb 7, 2015.

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

    quack123456

    I am really new to developing and i was watching a tutorial but i keep getting errors. Can anyone help me here. http://pastebin.com/6ft8PW8Q It keeps saying "type" , "Command Label", "Block listener" and "Priority" cannot be resolved or is not a field Please help
     
  2. Online

    timtower Administrator Administrator Moderator

    @quack123456 Please follow the java naming conventions, instances from classes starting with lowercase please.
    And why not register it like everybody else with pluginmanager.registerEvents(listener,plugin) with the @EventHandler tag above the method.
     
  3. Offline

    Gater12

    @quack123456
    You can go here to learn how to make plugins from the official source: http://wiki.bukkit.org/Plugin_Tutorial

    Keep in mind, that tutorial requires you to have to a basic understanding of Java. You need to do that on your own time. In that case, you can follow Oracle's tutorial on Java.

    It looks like you are trying to listen for an event. Video tutorials can become outdated. Here is the link to the official guide on Bukkit's Event API: http://wiki.bukkit.org/Event_API_Reference

    This guide requires you to have a basic understanding of the Bukkit API (which in turn requires you have to a basic understanding of Java).
     
    Last edited: Feb 7, 2015
    timtower likes this.
  4. Offline

    quack123456

    Um im honestly dont know what im doing here does anyone know a link on a video of learning Java for making a plugin
     
  5. Offline

    mythbusterma

Thread Status:
Not open for further replies.

Share This Page