Annotation Interface ScriptManifest
Annotation for
BotScript implementations to declare script metadata.
Example usage:
@ScriptManifest(name = "Woodcutter", version = "1.2", author = "Dev", description = "Chops trees")
public class WoodcutterScript implements BotScript { ... }
- See Also:
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionThe author of the script.The category this script belongs to.A brief description of what the script does.The version string of the script.
-
Element Details
-
name
-
version
String versionThe version string of the script.- Returns:
- the version, defaults to
"1.0"
- Default:
"1.0"
-
author
-
description
String descriptionA brief description of what the script does.- Returns:
- the description, defaults to empty
- Default:
""
-
category
ScriptCategory categoryThe category this script belongs to.- Returns:
- the script category, defaults to
ScriptCategory.UNCATEGORIZED
- Default:
UNCATEGORIZED
-