Interface PartyJoinEvent
- All Superinterfaces:
CarbonEvent
@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
public interface PartyJoinEvent
extends CarbonEvent
Called when a player is added to a
Party.- Since:
- 3.0.0
-
Method Summary
-
Method Details
-
playerId
UUID playerId()ID of the player joining a party.The player's
CarbonPlayer.party()field is not guaranteed to be updated immediately, especially if the change needs to propagate cross-server.- Returns:
- player id
- Since:
- 3.0.0
-
party
Party party()The party being joined.Party.members()will reflect the new member.- Returns:
- party
- Since:
- 3.0.0
-