Interface IPartyPostRenameEvent

All Superinterfaces:
PartiesEvent
All Known Implementing Classes:
BukkitPartiesPartyPostRenameEvent, BungeePartiesPartyPostRenameEvent, VelocityPartiesPartyPostRenameEvent

public interface IPartyPostRenameEvent extends PartiesEvent
  • Method Details

    • 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