Help

Discussion in 'Plugin Development' started by PizzaPixel, Apr 22, 2014.

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

    PizzaPixel

    How do i add a Lib jar to my plugin?
     
  2. Offline

    Wizehh

    Just add the jar to your project like you added Bukkit, and make sure the library is included at runtime.
     
  3. Offline

    PizzaPixel

    Wizehh How do i check if it is in the runtime?
     
  4. All you need to do is
    Project>Properties>JavaBuildPath>AddExternalJars
    then click the API
    then click OK
     
  5. Offline

    Wizehh

    Well, if you're using methods from an external plugin then that plugin will have to be in your /plugins/ directory.
     
  6. Offline

    tryy3

    getServer().getPluginManager().getPlugin("API") != null

    Checks if the plugin manager have a plugin named "API", it will return null if it doesn't!
     
Thread Status:
Not open for further replies.

Share This Page