Warp Map Addon
Here you can view details on how to create a warp map addon using the Expansions Plugin API.
Last updated
Was this helpful?
Here you can view details on how to create a warp map addon using the Expansions Plugin API.
Last updated
Was this helpful?
In Player Warps you can create a warp map addon that will allow add/remove/edit markers on the map plugin.
You can go to learn on how to register an expansion.
Here is an example of a warp map addon class, this will let you be able to add/remove/edit markers on the map plugin.
When using the addMarker, removeMarker, and updateMarker methods, you can use the warp object to get the location of the warp and what not.
The addNewWarps method is called when the plugin is enabled, this is so then the plugin can add all the warps to the map plugin when the server starts up.