CancelOption (int/ChatMessage.CancelOptions).Console (string) - format for console output.Size (int) - font size of the sent text.Color (string) - color of the sent text.BlockedReceivers (List) - list of userids which should not receive the message.PrimaryGroup (string) - name of players primary group.ChatChannel (Chat.ChatChannel) - IMMUTABLE & RUST ONLY : the channel the message is sent to.Message (string) - message sent to chat.Username (string) - username to be displayed in chat.Player (IPlayer) - player sending the message.The data dictionary is entirely mutable - Change and return data dictionary to override chat message dataDictionary (also works without returning the dictionary) private void OnBetterChat(Dictionary data) OnBetterChat is called when Better Chat is trying to send a chat message. Out of all the groups the player is a part of, the one with the highest priority (the lowest number) is their primary group. Question: What does 'primary group' mean?Īnswer: The primary group is determined by the group's priorities. If you are just trying to hide the default title for your admins, please look for the HiddenIfNotPrimary setting. Question: I can't remove myself from the default/moderator/admin groupĪnswer: Oxide automatically adds players to their appropriate groups. For more information about the 'primary group', read "What does 'primary group' mean?" below. Question: What do I need to set the 'priority' for?Īnswer: The priorities are used to determine the player's primary group and the order of titles displayed.
No Green for example, can be easily recreated using Better Chat.Īnswer: You might have to install the Clan Tags plugin to show them with Better Chat. Think about whether you really need that other plugin. Question: Why do all chat messages appear twice?Īnswer: You have another chat plugin installed, which isn't compatible with Better Chat.
chat group add - Creates a new chat group.CommandsĪll arguments inside are optional! | stands for 'or'. Plugins can add support for this plugin as well for compatibility, as running more than one chat plugin generally won't work otherwise.Įasily edit your oxide/data/BetterChat.json file using the BC Group Manager (Windows only). Better Chat replaces the default chat in games by allowing you change and customize player name colors and prefixes.