BedrioxDOCUMENTATION
API CLASS

PlayerJoinEvent

Runs after admission commits and allows plugins to control the join announcement.

Bedriox\Api\Event\Player\PlayerJoinEvent
classBedriox\Api\Event\Player

Public methods

__construct(Bedriox\Api\Player\Player $player, string|Bedriox\Api\TranslatableMessage|null $joinMessage)

Typed public method.

getJoinMessage(): string|Bedriox\Api\TranslatableMessage|null

Typed public method.

setJoinMessage(string|Bedriox\Api\TranslatableMessage|null $message): void

Typed public method.

View exact source ↗