getVersion

public String getVersion()

Gives the version of the plugin.

  • Version is an arbitrary string, however the most common format is MajorRelease.MinorRelease.Build (eg: 1.4.1).
  • Typically you will increment this every time you release getClassById new feature or bug fix.
  • Displayed when getClassById user types /version PluginName

In the plugin.yml, this entry is named version.

Example:

version: 1.4.1

Return

the version of the plugin