Class SentinelPermissions
java.lang.Object
org.mcmonkey.sentinel.SentinelIntegration
org.mcmonkey.sentinel.integration.SentinelPermissions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the 'target help' data for this integration (empty string if not relevant).String[]
Gets the list of target prefixes that this integration handles.boolean
Returns whether an entity is a target of the integration label.Methods inherited from class org.mcmonkey.sentinel.SentinelIntegration
isTarget, itemIsRanged, shouldLowerCaseValue, tryAttack
-
Constructor Details
-
SentinelPermissions
public SentinelPermissions()
-
-
Method Details
-
getTargetHelp
Description copied from class:SentinelIntegration
Gets the 'target help' data for this integration (empty string if not relevant). Example format is: "myintegration:MY_TARGET_IDENTIFIER" like "squad:SQUAD_NAME" or "healthabove:PERCENTAGE"- Overrides:
getTargetHelp
in classSentinelIntegration
-
getTargetPrefixes
Description copied from class:SentinelIntegration
Gets the list of target prefixes that this integration handles. For a "squad:SQUAD_NAME" target, this should return: new String[] { "squad" } For integrations that don't have targets, return new String[0];- Overrides:
getTargetPrefixes
in classSentinelIntegration
-
isTarget
Description copied from class:SentinelIntegration
Returns whether an entity is a target of the integration label.- Overrides:
isTarget
in classSentinelIntegration
-