MarkusBordihn / BOs-Easy-NPC

Create easily NPC for your world or for your mod.
Other
20 stars 8 forks source link

the message in actions appears for everyone in the chat #163

Closed One2tre closed 6 months ago

One2tre commented 7 months ago

When I put the /say command the message appears for everyone, is there a way to prevent this from happening and the message only appears for players close to the npc?

MarkusBordihn commented 6 months ago

You can use /tellraw instead of /say which allows to define a radius. See: https://minecraft.fandom.com/wiki/Commands/tellraw