Annotation Interface Api


@Retention(CLASS) @Target(TYPE) public @interface Api
The Api annotation can be used to signal to the IScalaPluginLoader which version of the bukkit api is used. The annotation should only be used to annotate your ScalaPlugin's main class. Using this annotation is equivalent to defining an 'api-version' property in the plugin.yml file for JavaPlugins.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description