Question APIs have to register with bukkit?

Discussion in 'Bukkit Help' started by Markyroson, May 27, 2015.

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

    Markyroson

    For custom APIs, for a plugin to access a library/API, does the API need to register with craftbukkit or can the plugin just call on it without it being hooked in?

    If you have any questions or wish more elaboration then please let me know.

    EDIT: @timtower or another moderator please move this to main "Bukkit Help" (or where ever a topic like this is meant to be) as I posted it in Alternatives by Mistake.
     
  2. @Markyroson Please use the report button for moves rather than tagging a moderator.
     
    Markyroson likes this.
  3. Offline

    timtower Administrator Administrator Moderator

    @Markyroson Depends on how you use the API.
    I use some external API's that I need to load first, but that is java specific, not Bukkit.
    Bukkit doesn't really mind when you use an API, as long as you can access it you are fine.
     
    nverdier likes this.
  4. Offline

    Markyroson

    Thanks and I will in the future. I did not know/realize that.

    Thanks. What are some circumstances where you would have to register it? If so, how? Like a normal plugin? @timtower
     
    Last edited: May 28, 2015
  5. Offline

    timtower Administrator Administrator Moderator

    @Markyroson Depends on the API, I use API's that you load (not bukkit related) and API's in the form of other plugins.
     
Thread Status:
Not open for further replies.

Share This Page