tell
Whispers a message to targets. Only the target or targets you connect will see the message.
player.tell(mobs.target(ALL_PLAYERS), "Hi!");
Parameters
- target: a selector of entities
- message: the text to whisper, eg: “Hi!”
Example
Whisper “Hi!” to all players. Connect a mob target with all players (@a)
and the Hi!
string to tell.
player.tell(mobs.target(ALL_PLAYERS), "Hi!");