SignatureBeef / Terraria-s-Dedicated-Server-Mod

TDSM - .NET and Mono compatible Terraria Server Software Mod
MIT License
143 stars 49 forks source link

Add one-on-one messaging, ie. 'whisper' or 'msg' #218

Open ZeroKnight opened 8 years ago

ZeroKnight commented 8 years ago

Small feature request, the ability to directly message another player; a somewhat common feature in games with chat.

Would add the following commands:

As far as formatting these direct messages goes, you could add a prefix of sorts and/or a specific message color to convey the message type. Some examples:

[Player1] Hello there! Only you can see this message!
>Player1< Hello there! Only you can see this message!
Player1 >> Hello there! Only you can see this message!
[MSG] <Player1> Hello there! Only you can see this message!

Exact colors and formatting is pretty subjective though, albeit certain formats are more intuitive than others. Thoughts?

SignatureBeef commented 8 years ago

Sounds like it's a must have. I'll see what I can do for the next Tdsm release.

I'm sure I can figure out something to make the formatting/colours configurable for the server op. In addition I would like to look into regular player chat formatting as well.

SignatureBeef commented 8 years ago

Hi @ZeroKnight, I have began work on this in 6edd9d748d86f92c7a596bf4aa5a0d4573c9cfa9 Currently using /pm and /r until command aliases are in. In addition I will allow it to be configurable when string formatting is also complete.

I'm not yet sure if the Binaries builds are working on this repo, but I should get that sorted soon.