pmmp / PocketMine-MP

A server software for Minecraft: Bedrock Edition in PHP
https://pmmp.io
GNU Lesser General Public License v3.0
3.26k stars 1.53k forks source link

Do not send audit message to operator recipients of messages sent using /tell #4902

Open MrBlasyMSK opened 2 years ago

MrBlasyMSK commented 2 years ago

Issue description

If you send a message to a player with /tell, the player who receives the message, apart from receiving what you have written, will add another message with something else added and in English.

Example:

I write

/tell "name" This is a test

He receives

"name" whispers to you: This is a test ["name": You whisper to "name": This is a test]

Steps to reproduce the issue

  1. Use /tell whit anyone
  2. See the error

OS and versions

Plugins

0 plugins

Crashdump, backtrace or other files

MrBlasyMSK commented 2 years ago

Captura de pantalla (473)

dktapps commented 2 years ago

This occurs if the recipient is an operator.

MrBlasyMSK commented 2 years ago

This occurs if the recipient is an operator.

Is there any way to disable this?

dktapps commented 2 years ago

This would require a replacement for Command::broadcastCommandMessage(), or a BC break to its signature.