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

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

Open
MarvinKlar opened this issue Aug 31, 2023 · 5 comments

Comments

@MarvinKlar
Copy link

MarvinKlar commented Aug 31, 2023

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

@Aust1n46
Copy link
Owner

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.

@MarvinKlar
Copy link
Author

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

@Aust1n46
Copy link
Owner

Aust1n46 commented Sep 5, 2023

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.

@Etanarvazac
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants