2014-09-20 22:43:13 -07:00
/*******************************************************************************
* Copyright 2011-2014 SirSengir
2015-01-26 22:26:21 -08:00
*
2014-09-20 22:43:13 -07:00
* This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details.
******************************************************************************/
package forestry.plugins ;
import java.lang.annotation.Retention ;
import java.lang.annotation.RetentionPolicy ;
/**
* Optional annotation to provide additional information on IPlugins. This information will be available via the "/forestry plugin info $pluginID" command ingame.
2015-01-26 22:26:21 -08:00
*
2014-09-20 22:43:13 -07:00
* @author SirSengir
*/
@Retention ( RetentionPolicy . RUNTIME )
public @interface Plugin {
/**
* @return Unique identifier for the plugin, no spaces!
*/
String pluginID ();
/**
* @return Nice and readable plugin name.
*/
String name ();
/**
* @return Plugin author's name.
*/
String author () default "" ;
/**
* @return URL of plugin homepage.
*/
String url () default "" ;
/**
* @return Version of the plugin, if any.
*/
String version () default "" ;
/**
2014-09-27 12:46:54 -07:00
* @return Localization key for a short description what the plugin does.
2014-09-20 22:43:13 -07:00
*/
2014-09-27 12:46:54 -07:00
String unlocalizedDescription () default "" ;
2014-09-20 22:43:13 -07:00
/**
* @return Not used (yet?).
*/
String help () default "" ;
}