Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add chat format configuration for each chat type for a group #5332

Open
Flowsqy opened this issue May 5, 2023 · 0 comments · May be fixed by #5337
Open

Add chat format configuration for each chat type for a group #5332

Flowsqy opened this issue May 5, 2023 · 0 comments · May be fixed by #5337
Labels
type: enhancement Features and feature requests.

Comments

@Flowsqy
Copy link

Flowsqy commented May 5, 2023

Feature description

Currently, we can configure chat format for a specific group. We can also specify the format of a specific chat type in the messages file. But we can not change the tags depending of the chat type.
Let's say we want two different formats for the groups 'admin' and 'player' and the chat type 'shout' and 'local'. We could configure something like that:

group-formats:
  admin:
    local: '{WORLDNAME} &4{DISPLAYNAME}&7:&r {MESSAGE}'
    shout: '{WORLDNAME} &c[{GROUP}]&r &4{DISPLAYNAME}&7:&c {MESSAGE}'
  player:
    local: '{WORLDNAME} &4r{DISPLAYNAME}&7:&r {MESSAGE}'
    shout: '{WORLDNAME} &a[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}'

How the feature is useful

It gives servers owners a better control over the chat format. It's can especially useful in some cases where chat messages become very long as there are sometimes a lot of information to display (group, world, player name, (team, jobs, etc...) ) and could enhance readability. (For example, a lot of tag are useless when you ask a question with '?')

@Flowsqy Flowsqy added the type: enhancement Features and feature requests. label May 5, 2023
@Flowsqy Flowsqy linked a pull request May 6, 2023 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Features and feature requests.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant