Class SentinelSquads

java.lang.Object
org.mcmonkey.sentinel.SentinelIntegration
org.mcmonkey.sentinel.integration.SentinelSquads

public class SentinelSquads extends SentinelIntegration
  • Constructor Details

    • SentinelSquads

      public SentinelSquads()
  • Method Details

    • getTargetHelp

      public String 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 class SentinelIntegration
    • getTargetPrefixes

      public String[] 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 class SentinelIntegration
    • shouldLowerCaseValue

      public boolean shouldLowerCaseValue()
      Description copied from class: SentinelIntegration
      Returns whether the values for a target should be automatically lowercased in advance.
      Overrides:
      shouldLowerCaseValue in class SentinelIntegration
    • isTarget

      public boolean isTarget(org.bukkit.entity.LivingEntity ent, String prefix, String value)
      Description copied from class: SentinelIntegration
      Returns whether an entity is a target of the integration label.
      Overrides:
      isTarget in class SentinelIntegration