public interface IPartyPostRenameEvent extends PartiesEvent
| Modifier and Type | Method and Description |
|---|---|
@Nullable String |
getNewPartyName()
Get the new party name
|
@Nullable String |
getOldPartyName()
Get the old party name
|
@NotNull Party |
getParty()
Get the renamed party
|
@Nullable PartyPlayer |
getPartyPlayer()
Get the player who performed the command
|
boolean |
isAdmin()
Is it an admin renaming?
|
getApi, setApi@Nullable @Nullable String getOldPartyName()
@Nullable @Nullable String getNewPartyName()
@Nullable @Nullable PartyPlayer getPartyPlayer()
PartyPlayer or null if not executed by a playerboolean isAdmin()
true if the rename has been performed by an adminCopyright © 2023. All rights reserved.