API

Island World API

If you want and need you can use Island World API in your plugins.

First, you need to insert IslandWorld.jar into your workspace as external library and import it in your project:

import pl.islandworld.api.IslandWorldApi;

also remember to add "depends" into your plugin.yml, your plugin must be loaded after IslandWorld.

You need to check if IslandWorld plugin is loaded and initialized correctly and you can use API methods:

if (IslandWorldApi.isInitialized())
{
    // do stuff
}

if everything is ok, you can use all API methods.

To check what functions are available check our javadocs available on:

Island World javadocs

right now API have only few basic functions, if you need smth special please give me know.