Added API method to gather the plugin version

This commit is contained in:
Tim Vis'ee 2016-03-11 11:25:21 +01:00
parent 3b6238cc84
commit 558b3fd997

View File

@ -69,6 +69,16 @@ public class NewAPI {
return plugin;
}
/**
* Gather the version number of the plugin.
* This can be used to determine whether certain API features are available or not.
*
* @return Plugin version identifier as a string.
*/
public String getPluginVersion() {
return AuthMe.getPluginVersion();
}
/**
* Return whether the given player is authenticated.
*