IntelligenceModding / Advanced-Peripherals-Features

A place for the feature request for Advanced Peripherals
0 stars 1 forks source link

Chatbox listening to whisper messages #70

Open MikeyUsersREC opened 4 months ago

MikeyUsersREC commented 4 months ago

Describe your idea

Chatbox should be able to listen to whispered messages, between two players. I expect this to be a default-disabled config, which would be changed on the serverconfig. Chatbox's chat event would probably contain an extra argument past isHidden, called isWhisper (or isPrivate), to determine whether a message is sent to someone privately.

This would probably be in the form of a new event for the chatbox, called privateChat (or whisperChat, or whisperMessage, or whatever makes more sense for consistency sake). It would have arguments sender_uuid, sender_username, receiver_uuid, receiver_username, message. When a whisper is sent, it triggers this event, which would act almost exactly identical to the chat event.

Describe alternatives you've considered if you've any

Not much, there's not many alternatives to viewing whispered messages.

Additional context

No response

Linked Issues

No response

aiden100a commented 3 months ago

this could be a privacy concern. Maybe you can whisper directly to the chat box.

like this: /w [chat box name] "hello world!"