Suggestion General Add a new GameNetworkMessage for sending colored messages

Users who are viewing this thread

Hello!
As someone that likes to mod multiplayer, I'd love to have the option to send colored messages to my players in the chat (beyond the standard white, orange (all chat), blue (team chat) and purple (annoucement)).

It would be cool to have an extra GameNetworkMessage as part of the Native or Multiplayer module that serverside modders can use to send messages of their choice with the color of their choice to any Native clients on their server. Preferably with a color of my choice as the modder/server owner, though I suppose a pre-set choice of colors from your side that I can pick from would also be okay.

Having this option would greatly extend server customization, helping server owners to create more engaging experiences for their players, without them having the burden of downloading an extra mod.




So, tldr; what I would want is something like this:
C#:
// example constructor
public ColoredChatMessage(string message, ChatColor color) {
    // ...
}
... with ChatColor being either a class I can instantiate with RGB values, or, if thats not possible, an enum with pre-defined colors.

@Dejan @Piconi
 
Back
Top Bottom