Interface IPartyPostRenameEvent

    • Method Detail

      • getParty

        @NotNull
        @NotNull Party getParty()
        Get the renamed party
        Returns:
        the Party
      • getOldPartyName

        @Nullable
        @Nullable String getOldPartyName()
        Get the old party name
        Returns:
        the old name of the party
      • getNewPartyName

        @Nullable
        @Nullable String getNewPartyName()
        Get the new party name
        Returns:
        the new name of the party
      • getPartyPlayer

        @Nullable
        @Nullable PartyPlayer getPartyPlayer()
        Get the player who performed the command
        Returns:
        the PartyPlayer or null if not executed by a player
      • isAdmin

        boolean isAdmin()
        Is it an admin renaming?
        Returns:
        true if the rename has been performed by an admin