VentureChat icon indicating copy to clipboard operation
VentureChat copied to clipboard

Messages are not sperarated from the format prefix, when message is sent via alias

Open MarvinKlar opened this issue 1 year ago • 5 comments

Hello,

I do use VentureChat on my server, but when I use a channel via the configured alias (/s in this case) there is no space between the message and the format prefix (The first message is sent normal via chat, and the second one via /s Test2): https://prnt.sc/7JEEBv29-b6l

Here is the configuration of the channel:

  Sprechen:
    color: green
    chatcolor: green
    mutable: true
    filter: false
    autojoin: true
    default: false
    distance: 15
    cooldown: 0
    bungeecord: false
    alias: s
    permissions: None
    speak_permissions: None
    format: '&8[Sprechen] &7{faction_playertitle} {player_displayname}:&a'

PaperMC Version: 1.17.1 VentureChat version: 3.6.0

MarvinKlar avatar Aug 31 '23 17:08 MarvinKlar

Could be because you have an extra color code at the end of your channel format. That isn't needed when you have a chatcolor set.

Aust1n46 avatar Aug 31 '23 21:08 Aust1n46

Thanks for your reply! Thats sadly not the reason. What else can I do?

MarvinKlar avatar Sep 01 '23 07:09 MarvinKlar

I don't know what to tell you. It doesn't do that for me.

You could continue to debug it yourself by using default configs and a test environment with just VentureChat and it's required dependencies.

Aust1n46 avatar Sep 05 '23 00:09 Aust1n46

This also happens to our setup on the XCraft Survival server. /l <message> will appear Mod | Etanarvazac:<message> whereas simply changing channels with /l and then sending the message does not remove the space. /l is local chat for XCS. Same applies when doing /g, (which is Global), and /st (which is Staff) in the same /<channel> <message> format.

Etanarvazac avatar Jul 16 '24 01:07 Etanarvazac

The below image is an example of what I just described. First "Meep" is not using /<channel> before the message. under the image is exactly what I entered to show this occurrence in the image. image

1. /g
2. Meep
3. /g Meep
4. /l
5. Meep
6. /l Meep

Etanarvazac avatar Jul 16 '24 01:07 Etanarvazac