API | A bunch of new methods have been added to the API for you developers to play around with. Below is a list of the methods added and a brief description of their purpose and functionality:
Code (Java):
//Get all of the locally configured points from the points.yml file. List
<Point
> getConfigurationPoints
();
//Get all local points including externally added points from plugins using the API on the server. List
<Point
> getAllPoints
();
//Get all points added by the plugin with the given name. List
<Point
> getPluginPoints
(String pluginName
);
//Get the closest point to a given location selected from the list of locally configured points. void getClosestConfigurationPoint
(Location location, Consumer
<Point
> consumer
);
//Get the closest point to a given players location selected from the list of locally configured points. void getClosestConfigurationPoint
(Player player, Consumer
<Point
> consumer
);
//Get the closest point to a given location selected from the list of locally and externally configured points. void getClosestGlobalPoint
(Location location, Consumer
<Point
> consumer
);
//Get the closest point to a given players location selected from the list of locally and externally configured points. void getClosestGlobalPoint
(Player player, Consumer
<Point
> consumer
);