Message Component Method

Send Message to a Specific Player

Image

Send a message to a specific player

Requires Player instance and String

Send Message to All Players

Image

Send a message to all players

Requires String

Set Join and Leave Server Messages

Image

Set the notification message for when players join or leave the server. Only usable in Player Joins Server and Player Leaves Server events!

Requires String

Set Chat Format

Set the format of messages when players chat. Only usable in Player Chat and Player Chat (Asynchronous) events!

Requires String

Get Chat Content

Retrieve the content of the message sent by a player when chatting. Only usable in Player Chat and Player Chat (Asynchronous) events!

Return String

Get Command Content

Retrieve the content of "/xxx" input by a player. Only usable in Player Uses Command events!

Return String

Get PlaceholderAPI Variable

Retrieve content from the PlaceholderAPI variable. If it’s a player-specific variable, a player instance is required.

Requires String (and Player instance)

Return String

Last Updated:
Contributors: SensenPlayer, TongHui