Warp Converter

Here you can view details on how to create a converter warp addon using the Expansions API.

In Player Warps you can create a warp converter addon that will essentially convert a warp from one plugin to another.

Registering

You can go here to learn on how to register an expansion.

Examples

Here is an example of a warp converter addon class, this will let you be able to convert a warp from one plugin to another.

import com.olziedev.playerwarps.api.expansion.WConverter;

public class ExampleConverter extends WConverter {

    @Override
    public boolean isEnabled() {
        return true;
    }

    @Override
    public String getName() {
        return "Example Expansion";
    }

    @Override
    public void onLoad() {

    }
}

Right now there isn't any methods to actually convert a warp, but there will be in the future hopefully.

You will just have to grab the warp from the old plugin and then create a new warp in Player Warps.

Last updated