Interface IPartyPreBroadcastEvent
-
- All Superinterfaces:
Cancellable,PartiesEvent
- All Known Implementing Classes:
BukkitPartiesPartyPreBroadcastEvent,BungeePartiesPartyPreBroadcastEvent,VelocityPartiesPartyPreBroadcastEvent
public interface IPartyPreBroadcastEvent extends PartiesEvent, Cancellable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull StringgetMessage()Get the message@NotNull PartygetParty()Get the party@Nullable PartyPlayergetPartyPlayer()Get the player who sent the messagevoidsetMessage(@NotNull String message)Set the message of the player-
Methods inherited from interface com.alessiodp.parties.api.events.Cancellable
isCancelled, setCancelled
-
Methods inherited from interface com.alessiodp.parties.api.events.PartiesEvent
getApi, setApi
-
-
-
-
Method Detail
-
getMessage
@NotNull @NotNull String getMessage()
Get the message- Returns:
- the message
-
setMessage
void setMessage(@NotNull @NotNull String message)Set the message of the player- Parameters:
message- the message to set
-
getPartyPlayer
@Nullable @Nullable PartyPlayer getPartyPlayer()
Get the player who sent the message- Returns:
- the
PartyPlayer
-
-