One question about plugin development

Discussion in 'Plugin Development' started by Fenmore, Jan 29, 2014.

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

    Fenmore

    Hey guys, first of all, am really sorry for my bad english, but I'll try to explain my question.

    Some weeks ago I started to develop plugins for my server. Youtube and Google helps a lot, but sometimes I dont have a keyword to search for. If I want to know the name of some events, methods or something like that its very diffucult to find out.

    I know there is a very detailed wiki from http://jd.bukkit.org.
    But I dont know how to use it correctly.

    Example:
    I just want to deny pvp, nothing else.
    I know the event http://jd.bukkit.org/rb/doxygen/df/...t_1_1entity_1_1EntityDamageByEntityEvent.html but I dont know how to call the event and where I can find it.

    @EventHandler(priority = EventPriority.NORMAL)
    public void <method>(EntityDamageByEntityEvent event) {
    event.setCancelled(true);
    }
    ___

    Is there a way to find out the event/method without google or youtube? If I have some keywords which are similar to some plugins or gametypes its very difficult to find out... as I already said :D

    I hope you can help me =)
     
  2. Offline

    The_Doctor_123

    First of all, are you familiar with Java?

    Secondly, the JavaDocs are your best bet for massive amounts of information. You should learn to read them.
     
  3. Offline

    Desle

  4. Offline

    Fenmore

    I learned basics of Java some years ago

    How do I do that? I searched in Google but didnt find something that help. If someone didnt post a request for the event I was searching for and posted his code I never found the method. You probably know what to do, but I'm sitting here and dont know that.^^
     
Thread Status:
Not open for further replies.

Share This Page