-
Notifications
You must be signed in to change notification settings - Fork 6
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
Suggestions and comments #8
Comments
The reason for that is mostly because global chat is treated as an "unmodified" / default chat channel, like as in vanilla.
What could be done here is to notify the player when nobody in that channel received a message. |
I tried to silence the local chat, but when I log into the server, the players still have a global one, do you have such a problem? |
I'm not sure what you mean. How did you try to silence local chat and why is that supposed to affect how global chat works? |
Sorry, I used a translator, I wanted to use the default local chat as soon as the players connected, they immediately received a local chat, but for some reason I always got a global channel when I logged in |
By default for the first time you log in you will be in global chat, unless you automatically change it for each player individually, like for example by using This can then be changed by the player to any channel they have access to (and global since its not actually a channel) with AdvancedChat does store which channel you logged out with though, so if you logged out in local chat you will join back in local chat. |
And how do you like the idea of adding the ability to set text colors for the chat by default? For example, /text blue would make the player's chat a different color |
I'm not sure what the idea is - if you just mean that each player can set their default text color individually, thats a bit out of scope for this project. AdvancedChat doesn't really do anything with chat message formatting either, that is far better handled by StyledChat. Now lets say for example you want have specific chat formatting based on the channel you're currently in, you could use styledchat's permission styles to do that. Starting with commit 0af2ce7 you'd be able to for example do this (styledchat config), which would make global chat text default red and local default blue. "styles": [
{
"require": {
"type": "advancedchat:channel",
"channel": "local"
},
"message_formats": {
"chat": "%advancedchat:channelprefix%${player} <dark_gray>»</dark_gray> <blue>${message}"
},
"formatting": {},
"emoticons": {},
"custom_message_types": {}
},
{
"require": {
"type": "advancedchat:channel",
"channel": "global"
},
"message_formats": {
"chat": "%advancedchat:channelprefix%${player} <dark_gray>»</dark_gray> <red>${message}"
},
"formatting": {},
"emoticons": {},
"custom_message_types": {}
}
] |
You can release at 1 20 1 |
? |
Thanks! |
I'm using version 1.20.1 and noticed that for some reason you can't use a prefix for the global channel, is that how it should be? it doesn't work at all for me { |
What does your advancedchat config look like? |
|
If I had to guess its because it doesn't expect you to try and override the global chat channel like that. |
As far as I understand, the player immediately receives a global chat when connecting to the world, but there is no notification about an active global chat such as in local, there is no bossbar at the bossbar level, which is strange, in addition, I would suggest making a CD to demonstrate the chat message, after the change the message should disappear after 1-2 minutes because sometimes it is annoying
I propose to add a notification that there are no other players next to the player who is in the local channel, you also need to take into account that players in gm3 will not be taken into account in this case
there is no line in the config that would be responsible for the Global chat
The text was updated successfully, but these errors were encountered: