AuraDevelopmentTeam / BungeeChat2

A new way to send private, global or help messages and to do much more with chatting network wide!
https://www.spigotmc.org/threads/bungee-chat.93960
GNU General Public License v3.0
65 stars 43 forks source link

Let server handle localchat #126

Closed Hugo5000 closed 4 years ago

Hugo5000 commented 4 years ago

Issue Description:

I want Localchat to be handled by the server you are on, but if I disable localchat in the plugin you cant write on the server and if I enable passToClientServer the message is displayed twice

What happens:

The message is displayed twice when passToClientServer is set to true.

What you expected to happen:

That BungeeChat doesnt send the message aswell and only the local server.

Steps to reproduce:

  1. Enable passToClientServer for localchat
  2. write something in localchat
  3. 2 messages ...

Affected Versions:

jewome62 commented 4 years ago

Since two months, the option is rename passToBackendServer

For me this is the normal behavior. that's noted into config file

# This passes the chat to the servers the bungee connects to. This will cause doubled
# messages unless you block the chat on these servers or enable passTransparently
passToBackendServer=false
 # This causes BungeeChat not to process local chat messages
passTransparently=false
BrainStone commented 4 years ago

Enable this setting: https://github.com/AuraDevelopmentTeam/BungeeChat2/blob/9a4af8ca0bf70fb07a095583f8d9c56f6853ba05/src/main/resources/config.conf#L232

I believe passToBackendServer still needs to be enabled regardless.

Hugo5000 commented 4 years ago

I am confused, there are 2 configs? a config.yml and a config.conf?

Hugo5000 commented 4 years ago

Well this problem is resolved now, thanks for the help I didnt see the new config.conf that came with the new version, have a nice day!

BrainStone commented 4 years ago

As the .old in the config.old.yml indicates, the old config file is no longer in use. It's only kept for you as a backup.