public interface IPartyPreCreateEvent extends PartiesEvent, Cancellable
| Modifier and Type | Method and Description |
|---|---|
@Nullable String |
getPartyName()
Get the name of the party
|
@Nullable PartyPlayer |
getPartyPlayer()
Get the player that is creating the party
|
boolean |
isFixed()
Is the party fixed?
|
void |
setFixed(boolean fixed)
Set if the party is fixed
|
void |
setPartyName(@Nullable String name)
Set a new name to the party
|
getApi, setApiisCancelled, setCancelled@Nullable @Nullable PartyPlayer getPartyPlayer()
PartyPlayer@Nullable @Nullable String getPartyName()
void setPartyName(@Nullable
@Nullable String name)
name - the name to setboolean isFixed()
true if it's fixedvoid setFixed(boolean fixed)
fixed - true to be fixedCopyright © 2022. All rights reserved.