WarpAPI for the game Minecraft
It's very simple import this into your plugin and then load the WarpAPI on the server and now you can use the API properly.
This is how the API works:
WarpAPI.setWarp(player, warpname);
WarpAPI.warp(player, warpname);
WarpAPI.delWarp(warpname);
You can download the plugin from SpigotMC.
The API works in any Minecraft version.