Creating an Entire Plugin or Hooking Into an Existing Plugin?

Discussion in 'Plugin Development' started by TheXFactor117, Sep 2, 2014.

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

    TheXFactor117

    Hello,

    I am new to the Bukkit API and am trying to create a Spleef plugin for my own server. What I need that is different is that when a game is finished, the participants / winners are rewarded points, and the winner has a chance to receive an item.

    So my question is, would it be easier to create everything from scratch, or hook into an existing Spleef plugin and add what I need to that?

    Also, would I need specific permission to hook into a plugin or depending on the license, would I be able to hook into it. I've never used hooks, nor familiarized myself with them, so I am pretty curious.

    Best Regards,
    TheXFactor117
     
  2. Offline

    teej107

    Plugins would have provide something for you to hook into them, giving you a library/api to work with. That would be the safe way to do things. You could try and overriding methods in the plugin however I don't know if the developer would like that and how the outcome would be.
     
  3. Offline

    GreySwordz

    teej107 you don't necessarily have to have an API.
     
    hintss likes this.
  4. Offline

    TheXFactor117

    So my question is, would it be easier to create my very own plugin, or hook into another one?
     
  5. Offline

    mythbusterma

    TheXFactor117

    Depends, try looking at existing plugins and see if they have an API or developers section.
     
  6. Offline

    AronTheGamer

    Can you do this with Reflectiom?
     
  7. Offline

    TheXFactor117

    I'm looking right now.
     
Thread Status:
Not open for further replies.

Share This Page