#ChatChat wrong chat-format

1 messages · Page 1 of 1 (latest)

feral locust
#

I am having some issues with my ChatChat setup.
I have set up a bunch of chat formats, but always get the default format.
To keep the config brief, I have only kept the default and owner format in: https://paste.helpch.at/ujedeyakuy.xml
Only plugins are ChatChat, Papi and Luckperms.

/lp user 626Stitchy permission check chatchat.format.owner returns the attached screenshot.

as you can see in the second screenshot you can see it using the default setup.
The placeholders aren't parsed because I copied this setup from the dev server to my local server.

#

Screenshot of chatchat test

#

ChatChat version: Snapshot-67 (Latest)
Server version: Pufferfish 1.20.1-11

upper mauve
#

wiki says the permission is chatchat.format<format-name>, unsure if they just missed the . but anyways, you could try to check if the permission is getting checked with LuckPerms' verbose feature

#

/lp verbose on <player> & chatchat
type something in chat
/lp off

feral locust
#

I saw that last night too, but it seems like a dot was just missed there.

#

This is a verbose ^^

upper mauve
#

yeah that's what I was thinking

#

oh wait what

#

so the permission is checked and found?

#

yet still displays default format

feral locust
#

Yep

upper mauve
#

uh

#

not sure why it doesn't work, haven't tested ChatChat yet, I'll try to test it when I'm on my pc

feral locust
#

Yea, it's very weird. Works fine on my Skyblock server which has almost the same config (Except some formats got changed for different ranks).
Skyblock is on build 46 and server version 1.19.2 if it's useful.

upper mauve
#

found the issue

#

priorities are inverted

feral locust
#

Skyblock config also doesn't work ^^

upper mauve
#

the wiki is wrong

feral locust
upper mauve
#

yeah

feral locust
#

:/

#

Thank you very much c:

upper mauve
#

I've just tried and highest number is higher priority

#

probably a bug

feral locust
#

I'll report it on GH

upper mauve
#

was gonna do that but go ahead 😅

feral locust
#

There now is extensions.yml, addons.deluxechat.inverse_priorities

upper mauve
#

o

#

set to false by default though

feral locust
#

Yep

#

Let me see if that option works. At least got a workaround for it now c:

upper mauve
#

it worked for me

#

weird

#

I would have expected it to be the other way around by default, as the wiki says

#
    // If priorities are inverted, lower number = higher priority.

nvm, apparently it's inteded behavior (from code)

#

idk why wiki says the other way around though

feral locust
#

Changing it to true at least fixes the issue. I'll make a PR to the wiki

feral locust
#

Yep, was going to c:

#

Thanks c;

upper mauve
#

(also fix the missing dot in the permission)

feral locust
#

Yii c;

upper mauve
#

👌

feral locust
#

That's what wer like to see c:

#

Thanks for the help @upper mauve c:

upper mauve
#