Marriage Master

Marriage Master

4M Downloads

Option to show warnings in the Action Bar instead of the Chat

Xelium opened this issue ยท 3 comments

commented

Feature request

Feature description
Option in the Config to make warning messages show up in the Action Bar instead of the Chat.

How the feature is useful
It filters the chat to make it really about chatting and gives a clean view. Especially on busy servers.

commented

You should be able the change the display location of almost every message. But you are right, the defaults probably should be adjusted.

You can define the display mode for messages by adding a new line with the format like that: <message name>_SendMethod: <disabled/chat/action_bar/title>
For example to show the no permission message in the action bar:

Language:
  Ingame:
    NoPermission: "&cYou don't have the permission to do that."
    NoPermission_SendMethod: action_bar

It also should be an option on the translation page.

commented

Thank you for the suggestion. Using the translation page to change the display type works perfect.
Just wondering if changing the display option of "Command not usable from console" can break things. As I assume this message needs to be displayed in the console and not in the action bar etc.

commented

No, it should not break anything. For values that do not support the option the plugin will just ignore them.