Interface PluginMetadata
- All Superinterfaces:
Inheritable
- All Known Implementing Classes:
StandardPluginMetadata
Represents specific, unique metadata to a plugin.
-
Method Summary
Methods inherited from interface org.spongepowered.plugin.metadata.Inheritable
branding, contributors, dependencies, dependency, links, properties, property, version
-
Method Details
-
container
Container container()- Returns:
- The
container
.
-
id
String id()Gets theid
.Ids must conform to the following requirements:
- Must be between 2 and 64 characters in length
- Must start with a lower case letter (a-z)
- May only contain a mix of lower case letters (a-z), numbers (0-9), dashes (-), and underscores (_)
- Returns:
- The id
-
entrypoint
String entrypoint()Gets theentrypoint
.Consult the vendor for how this field is used. As an example, this could be the name of a module or a fully realized path to a discrete class.
- Returns:
- The entrypoint
-
name
- Returns:
- The
name
orOptional.empty()
otherwise.
-
description
- Returns:
- The
description
orOptional.empty()
otherwise.
-