Interface BungeeChatHook

    • Method Detail

      • getPrefix

        Optional<String> getPrefix​(BungeeChatAccount account)
        Get the active prefix for the passed account.
        Parameters:
        account - Account to get the prefix for
        Returns:
        Prefix of the Account, if it exists, else Optional.empty()
      • getSuffix

        Optional<String> getSuffix​(BungeeChatAccount account)
        Get the active suffix for the passed account.
        Parameters:
        account - Account to get the suffix for
        Returns:
        Suffix of the Account, if it exists, else Optional.empty()
      • getPriority

        int getPriority()
        Retrieves the priority of this hook. Higher priority means the hook is checked earlier.
        Returns:
        Numeric priority of this hook