#chat-chat-beta

1 messages · Page 4 of 1

left magnet
#

I have default-channel: local why is global being used?

sharp mountain
#

alright I'm away for a few days so I'll try it when I get back

glossy orbit
#

is chat chat still being worked on? if so where can I get the most up to date version?

zealous violet
#

it is

glossy orbit
#

cool thanks!

zealous violet
#

np

tranquil crater
#

ChatChat doesn’t support cross server chat right?

clever totem
#

Not yet

prisma flint
#

Has this been added yet? I can't see it, and I'm having reports of people ignoring then being unable to unignore (even if rerunning /ignore name).

exotic nexus
novel estuary
#

@exotic nexus yo, how can i remove channels also in /pm the placeholder does not work i think

exotic nexus
# novel estuary

If you use just %player_name% does it return the sender's nameM

novel estuary
#

i was using ver in the pinned

#

ive downloaded the latest release

#

and now is there

exotic nexus
#

I might take a look at all this later tonight but can't promise as it is a very busy day for me

exotic nexus
novel estuary
#

can i set chat compounds ?

#

over player

exotic nexus
#

Also. Remove all channels?

exotic nexus
novel estuary
#

text*

#

like hover info

#

over player's name

exotic nexus
#

Yes.

#

With the <hover> tag

novel estuary
#

nice

exotic nexus
novel estuary
#

and last can i use &4 as colors instead of red, blue

exotic nexus
#

You can read more at the link there

novel estuary
#

ok ty

exotic nexus
#

So you want to remove all channels?

novel estuary
#

yes

#

i have custom staff chat

#

across the network

#

so i wont use any channels

exotic nexus
#

You'll basically have to just create one default channel and nothing more

novel estuary
#

how to use placeholders....

#

both does not work

exotic nexus
scarlet ferry
#

plugin doesnt work on latest version of viaversion

#

if your on 1.18 client on 1.19.2 server, chat doesnt send

#

but it receives

#

pls

novel estuary
#

@exotic nexus dude

#

pm me when u online

#

some weird stuff are happening with the placeholders

#

i cant figure it out

zealous violet
#

?help

novel shadowBOT
novel estuary
#

ive created a placeholder

#

but in chatchat

#

is not parsed

#

tab and chat chat using same palceholder

exotic nexus
novel estuary
#

latest build

exotic nexus
novel estuary
#

i were using inserting

exotic nexus
#

Name is not a valid placeholder

#

player_name is

novel estuary
#

its custom

exotic nexus
#

Wtf. How did you make it to only have an identifier

novel estuary
#

magic

#

xD

exotic nexus
#

That's probably where the problem is coming from

novel estuary
#

ill try to have some tag

#

ah

#

yea

#

working

#

now

hexed vault
#

Hey mate! did ya ever get a chance to fix this?

exotic nexus
#

Ok. So I haven't fixed this and I haven't looked into it but today seems like a great day to do that. I'll be testing to try and replicate and looking for a fix. I just need to set up a test server first.

#

The fix I was thinking about was about another issue related to tags. This issue might not even be solvable from ChatChat and might be a MiniMessage issue.

exotic nexus
#

Just letting you know, I did not get to look into it yet. I'm hoping I can tomorrow 😦

ashen light
#

So, ChatChat isn't translating my Vault prefix, which is <b><gradient:#aaaaaa:#858585>MEMBER</gradient></b> - However, when I type that in chat, it translates it fine

#

After updating, just incase it was an issue, it's now defaulted back to the default ChatChat config and doesn't respect the settings

hexed vault
trim scroll
exotic nexus
#

But they are parsed after placeholders.

#

But there's something else going on there since the grey hex color is being parsed.

#

It is not being parsed by ChatChat tho as it is not a valid MiniMessage hex color. So what I assume is happening is that the colors are being parsed somewhere else earlier in the process. Possibly by the ranks plugin or by the vault expansion.

trim scroll
#

It is not being parsed by ChatChat tho as it is not a valid MiniMessage hex color.
is it not?

#

@ashen light can you try with a single hex color?

exotic nexus
#

but the problem is not from ChatChat as I've mentioned above

#

if you look closely, the hex colors are being parsed instead of the gradient tag which means somewhere before chatchat, the colors are being parsed

trim scroll
#

🙆‍♂️

#

what other chat plugins do you have @ashen light or anything else that replaces hex colors everywhere

exotic nexus
#

hmm. I didn't even think about that but it could indeed be another plugin like InteractiveChat

copper spoke
#

Hmm maybe I'm being silly but DiscordSRV can see the in game chat messages however in game cant see the discord messages :/ any help would be amazing ❤️

copper spoke
exotic nexus
#

Hmm. This is just a setup problem. I need to remind myself how it needs to be and I'll let you know

#

Ok. So. @copper spoke. If you have a ChatChat channel named default for example, you need in your DiscordSRV config under the channels: option to add a new channel called default like this: yml channels: { "default": "DISCORD-CHANNEL-ID" }
Replace DISCORD-CHANNEL-ID with the id of the discord channel where you want messages to be sent and also from where they should be read

copper spoke
#

ah that worked thank you ❤️

exotic nexus
#

you're welcome

prisma flint
exotic nexus
#

Can't promise. While we might never add it, we are trying our best to make the API good so people could just make their own hooks and integrations.

prisma flint
#

Well if you have built in support for DiscordSRV, would you accept a PR for built in support for EssentialsXDiscord?

#

Just feels weird to support one, but not support another (like essentials which is used on a large scale) without having to integrate it yourself separately

exotic nexus
#

I'm not quite sure. In the future we might just end up splitting those in a different plugin or something. That was the plan from the start but we just didn't have time to focus on that part (and many other parts 😭).

#

Even the rules and other stuff that we currently have should end up in a different plugin in the future.

#

My vision for it is to have the bare minimum in ChatChat and then everything else that can be done with the API should be built into another plugin which would let users enable and disable features as they please. This includes stuff that was added just for parity with DeluxeChat.

prisma flint
#

Yeah fair enough!

exotic nexus
#

Ok. @hexed vault, I've investigated and it seems like the <click> tag doesn't support tags inside the command suggestion. It might just return the text without doing any processing on it. I'll have to ask the kyori developers about this. This will happen another day tho bcz I'm tired af and it's almost 2 in the morning 😭.

#

It makes sense tho since the value in the click action is and should be plain text not components and the tag resolvers return a component.

hexed vault
#

Ah okay, easy as. Keep me in the loop 👌

ashen light
novel estuary
#

can i turn off/on the chat ?

exotic nexus
#

not exactly. you could take permission of usage away from players I guess

novel estuary
#

loop all online players as arguments in the command

#

could u do that

somber summit
#

Unsure if ChatChat is not 1.19.3 ready or if I broke something.

forest oyster
#

This plugin has been in beta for what months by now is it ever gonna get a release lol?

exotic nexus
#

Maybe. If development continues the way it has been in the past 1-2 months, the answer will probably be no. If it goes back to how it was before, then yeah

#

I personally do hope it will.

clever totem
#

Tis' open source so feel free to help out fingerguns

trim scroll
#

There's games and other software that have been worked on for years and are still in beta 🙂

#

I don't get your point, sorry

exotic nexus
#

I do

#

so shut up gaby

clever totem
#

lol

zealous violet
exotic nexus
exotic nexus
#

About online players, I'm pretty sure it already works like that? Unless it is broken. In which case we'll have to investigate.

novel estuary
#

well

exotic nexus
#

Any chance you use viaversion? That is known for breaking tab completion I believe. Other plugins also can but I'll just have to test on a clean server whenever I've got time

novel estuary
#

not using viavers

#

its fresh 1.19.2 that im making

#

one of the first plugins was chatchat and saw that bug

#

maybe is bug

#

only there i have problem with argument of command

exotic nexus
#

I'll just have to test later. It could definitely be ChatChat's fault.

novel estuary
#

okay test it

#

thanks

exotic nexus
#

but that will be in a few hours after I finish work

novel estuary
#

😄

#

im not planing to release for a week atleast

#

is not important

exotic nexus
# novel estuary okay test it

Just managed to test on 1.19.2 and it definitely looks like a ChatChat issue. Later I'll be looking for a fix and I'll ping you with possible builds

novel estuary
#

nicee

#

thanks

somber summit
cedar elk
#

Is ChatChat abandoned? No commits in 20 days and it'sbeen in developement for months

cedar elk
#

A plugin doesn't take years to make lol. How are you comparing a chat plugin with the development of a game

exotic nexus
exotic nexus
#

Abandoned is deluxe-chat which has had no feature or bug fix in the past year or so. while ChatChat has no commit to the main repository in 20 days, just today I've made a fix for 1.19.3 support for example.

#

I'm also working on a local branch to fix tab completion (even tho I believe that might be something I can't fix and just have to wait for the developer of the command library we use to fix it).

#

If you do want to try another chat plugin tho and your server is paper 1.17+, you can always try Carbon. I believe that is still being maintained.

cedar elk
#

they just need to open source deluxe chat

#

was nothing wrong with the plugin

#

Abandoning a working plugin to spend 8 months developing a plugin that is riddled with errors and NOT making the initial one open source is just shit

exotic nexus
#

I believe clip decided to not do that. We've tried to maintain it but due to some old libraries it uses and some bad code decisions, adding simple features like rgb color support was very hard.

exotic nexus
#

dchat is extendedclip's plugin, chatchat is just made by us, the community

#

clip has abandoned all his plugins

#

all that still get updates on spigot, get it from us

cedar elk
#

I see

exotic nexus
#

The idea behind ChatChat was and still is to use modern "technologies" like MiniMessage + Adventure which allows for full customizability such usage of translation keys, etc.

#

While also keeping most if not all features DeluxeChat had

exotic nexus
final hamlet
#

Thanks for fast tracking that fix.

ashen light
quiet arch
#

dchat was one of clip's first plugins afaik and the code really shows that

trim scroll
#

But piggy, it was working fine!! 🤡

ruby summit
#

these chatchat builds be wilin

willow saffron
#

why cant chat chat function the same with deluxechat,

hardy mesa
#

Probably because ChatChat and DeluxeChat are two different plugins.

primal swift
#

how do I stop the OP from getting the console-format?

exotic nexus
#

That doesn't sound right. The console format is a special format. Don't think there's a way for players to get it

#

Mind putting your configs and startup logs in paste bins and sending them here?

dire hatch
#

There is a way to convert deluxechat to chatchat?

simple robin
#

Does ChatChat work on 1.19.3 or are fixes needed?

zealous violet
dire hatch
random island
#

pinned messages

dire hatch
#

Getting this error (Used convertor)

exotic nexus
#

The convertor is pretty outdated

dire hatch
exotic nexus
hybrid vigil
#

hey everytimes i restart the server the chat doesnt works anymore and im getting this error , the only way to fix it is to wait https://pastebin.com/f6BktJbU

#

note that i'm using an alias of /msg on the command.yml to redirect /msg to cmi

hybrid vigil
#

other wise there was no tab complete so i had to do that

hybrid vigil
#

ok the command.yml was the issue so i cant have tab complete for /msg otherwise we cant use chat anymore

hybrid vigil
#

Hello , is chat chat discontinued?

clever totem
#

It's still being worked on, just a little slow during end of year/holiday times

hybrid vigil
#

Alright then I’ll stay with that bug it’s ok

exotic nexus
#

hmm. I completely missed your message somehow. The channel isn't muted but it doesn't show me when there's new messages. Weird. I'll be reading your message in a bit when I have a bit of time

#

@hybrid vigil I need some help understanding your issue if that's alright. From what I understand so far, tab completion doesn't work for the /msg command from ChatChat so you've added an alias to the bukkit file commands.yml that makes the /msg command actually execute the one from CMI rather than the one from ChatChat, something like this?:

aliases:
  msg:
  - 'cmi:msg $1'

And after doing this, ChatChat breaks every time you restart the server and after some time it fixes itself?

#

Let me know if I got any details wrong.

hybrid vigil
#

yes but i noticed but even if i remove the alias sometimes it does the bug but not everytime

#

it might be because a lot of players are joining at the same time when the serv is up

exotic nexus
#

Can you set up the alias, restart the server and wait for the error to show and after that send the full startup log here please?

novel shadowBOT
hybrid vigil
#

ok i'll do it when it happen

upper sparrow
#

I cant get mentioning to work, ive given the permission todo mention.personal but when a player puts @ before any name it doesnt work

#

What is the permission for /global?

zealous violet
#

and fairly sure it would be chatchat.channel.use.global

upper sparrow
upper sparrow
#

Is the only way todo colors '<gold>' How do I get' &6 Color' instead

zealous violet
#

or custom hex

upper sparrow
#

I dont need the gradient, I want to give my players the easy color codes like &1 &5 &b

zealous violet
#

oh to type in chat and such ?

#

or within prefix

upper sparrow
#

Yes to type in chat, its one of my perks for voting and they dont like using <gray> <gold> it takes a lot longer than &6

zealous violet
#

why not get a chat color plugin

trim scroll
#

He wants to allow them to use colors in chat, not to select a color ig

#

Like &cHey &bEveryone!

#

And if thats the case, you can not achieve this

upper sparrow
# upper sparrow this didnt work

Does anybody know why the permission for mention isnt working for me? So the default rank has chatchat.mention.personal true and when players do @(username) it doesnt turn blue or underline for that player

upper sparrow
#

is there a way to remove ranks from channels? I have a channel for staff and donors, which both show

PlusChat Rank Name: Message

I want to remove the rank display from these two channels

#

Is there a way to fix attribute items with the <item> feature? I know the plugin item2chat worked with deluxechat and was able to show attributes before.

exotic nexus
#

hello. I'm here. I see you wrote a lot so I'll just go read it all and come back with an answer after

upper sparrow
#

👍

exotic nexus
#

Ok. Let's start with mentions:

The permissions are chatchat.mention.personal for personal mentions (mentions directed to a single player) and chatchat.mention.everyone for channel mentions.

Now. There's also a command called /togglemention personal/channel which allows people to turn off their mentions so they don't mentioned when someone mentions them or the channel. The permissions for those commands are: chatchat.mention.personal.block and chatchat.mention.everyone.block.

This could be why people don't get mentioned. They might've disabled them.

Now, if you don't trust the user to tell you if they toggled them or not, you could just give yourself the chatchat.mention.personal.block.override and chatchat.mention.everyone.block.override permissions which basically lets you mention people even if they turned their mentions off.

#

If you have the override permission and you still can't mention people, then there might just be an issue with the plugin itself

upper sparrow
#

Awesome! Ive finally got mentions working

exotic nexus
#

Moving on to COLORS. You can not enable the legacy colors in ChatChat. So &e or §e won't work at all. It might even break the plugin completely (tho I've built in some failsafes which should only result in an error being shown in the console without the plugin breaking). Users would have to use the <yellow> colors and they do have to have the chatchat.tag.color permission which gives them access to all colors, including hex colors.

upper sparrow
#

ok thats what we have rn

exotic nexus
#

The plan however, is to remove a lot of this extra bullshit from ChatChat and build it into modules or an external plugin which would allow per color permissions and also give a menu for each color for example. But this is the very very very far future.

#

It still wouldn't allow people to use &eHello &bWorld but it would give a way to easily change default message colors within a GUI and also give more granularity by having per color permissions.

upper sparrow
#

oh ok

exotic nexus
upper sparrow
exotic nexus
#

Need to read that message and I'll let you know

#

what's going on

exotic nexus
#

You'd have to edit the format so it doesn't show the rank

#

but

#

with that said, I've added per channel formats

upper sparrow
#

ok

exotic nexus
#

which would allow you to do something like this:

  • Have one (or more) global format(s) that would be given to everyone that has permission
  • Have one special format per channel.

If someone has permission to both the global formats and the channel formats, the ones from the channel will take priority

#

so you can have the format with the ranks as a global format (global formats are created in the formats.yml file) and then you can copy paste that exact same format with just the rank removed in a channel where you don't the rank to show. You can create per channel formats in the channels.yml file.

#

This is how a channel with a format would look like yml channels: global: # default channel as set in default-channel, no permission required. # command to switch channel # Changes to this setting REQUIRES a server restart toggle-command: - 'global' # prefix the message with this to automatically type the message in channel message-prefix: '' # pretty much a variable for the channel prefix, which can be accessed using the PAPI placeholder: %chatchat_channel_prefix% # Channel prefixes can be formatted using MiniMessage: https://docs.adventure.kyori.net/minimessage/index.html channel-prefix: '[global]' formats: # Channel formats have priority over global formats declared in formats.yml default-channel: # user needs 'chatchat.channel.format.global.default-channel' permission priority: 1 # lower number = higher priority parts: channel: - "<hover:show_text:'<aqua>This is a default channel format!'>" - "%chatchat_channel_prefix%", - "</hover>" prefix: - " <gray>[<color:#40c9ff>Chat<color:#e81cff>Chat<gray>] " name: - "<white>%player_name%" message: - " <gray>» <white><message>"

#

Now. I am aware of a bug currently inside the plugin and it actually looks like this:

#
channels:
  global: # default channel as set in default-channel, no permission required.
    # command to switch channel
    # Changes to this setting REQUIRES a server restart
    toggle-command:
      - 'global'
    # prefix the message with this to automatically type the message in channel
    message-prefix: ''
    # pretty much a variable for the channel prefix, which can be accessed using the PAPI placeholder: %chatchat_channel_prefix%
    # Channel prefixes can be formatted using MiniMessage: https://docs.adventure.kyori.net/minimessage/index.html
    channel-prefix: '[global]'
    formats: # Channel formats have priority over global formats declared in formats.yml
      formats:
        default-channel: # user needs 'chatchat.channel.format.global.default-channel' permission
          priority: 1 # lower number = higher priority
          parts:
            channel:
              - "<hover:show_text:'<aqua>This is a default channel format!'>"
              - "%chatchat_channel_prefix%",
              - "</hover>"
            prefix:
              - " <gray>[<color:#40c9ff>Chat<color:#e81cff>Chat<gray>] "
            name:
              - "<white>%player_name%"
            message:
              - " <gray>» <white><message>"```
#

so the formats: key is basically duplicated.

#

I hope this all helps! Let me know if you have further questions.

upper sparrow
#

I just need help adding it back into the global channel I tried a few different things nothing has worked

#

Right now only Plus players have a prefix but it shows as the placeholder not as the actual rank. I dunno why default players dont have the placeholder im confused

exotic nexus
#

Also after the restart execute /chatchat dump and send the generated link here as well.

upper sparrow
#

/chatchat dump doesnt seem to work?

exotic nexus
#

Just send the startup log then

upper sparrow
exotic nexus
#

Hmm. What version of ChatChat are you using? Where did you get it from?

#

That would explain why per channel formats don't work. Also why the dump command doesn't work.

upper sparrow
#

I updated it and Im even more confused with this config

#

This is my channels, Im opped and it still saids [ChatChat] theres no channel with that in it anymore?

#

here is the formats

#

I dont understand where its getting the format for my messages its not in those files right?

upper sparrow
#

Why do i have a different format when Im op vs other players? I only have 1 channel and two formats this is confusing me

trim scroll
#

Op gets the highest format I think, since in theory it has all perms

upper sparrow
#

I need someone to tell me what im doing wrong I dont understand how to fix it. When I reload it saids two channels and I only have one. Im trying to fix the default channel first then the staff and plus will be easy

#

I just removed the [Global] out of the config, and reloaded. I have even relogged and it still shows up in chat. Its not in the config anymore so why does it still say this?

exotic nexus
#

I'm back. I'll be taking a look at your issues in a few minutes.

gray quiver
exotic nexus
# upper sparrow I dont understand where its getting the format for my messages its not in those ...

So. @upper sparrow. A few things:

You have more than 2 formats: You have 2 global formats (the ones in formats.yml) and then you have 1 extra format for each channel (the ones in channels.yml).

The [chatchat] thing is weird indeed. This usually happens when formats don't actually get loaded by the plugin or when there's a problem with the plugin. So whenever the plugin can't find a format, it just uses a hard coded format.

Can you restart the server and check if the formats.yml and channels.yml files change?
Also, after restarting can you send the full startup log here? There might be some errors you're missing or something that might help.

dire kelp
#

One question, can I use the chatchat plugin with version 1.8?

clever totem
#

No

dire kelp
#

I ask given certain problems that the deluxe has been giving me lately

clever totem
#

No it won't be, ChatChat uses hex colour formatting that wasn't released since 1.16.2

#

You're using an unsupported version.

dire kelp
shrewd thicket
#

Are there any spigot plugins that allow players to change chat color that work on ChatChat (mini messae formatting)?

shrewd thicket
#

Also why does doing /ignore <player> not toggle?

#

There's no /unignore command

exotic nexus
exotic nexus
#

There should be an unignore command in the latest

scarlet ferry
#

Is chat chat abandoned

exotic nexus
#

Yesn't?

scarlet ferry
#

what

clever totem
#

It's OS though, so feel free to help out if you can

restive void
#

hello, is there any bungee options? for network chat?

tranquil crater
#

Planned features

restive void
#

ty

shrewd thicket
#

If I'm trying to use a chat color plugin, and their placeholder to show the message formatted requires a message placeholder within it, how do I get ChatChat <message> placeholder to work inside of it? %kyorify_ezcolors_color_msg_<message>% does not work

shrewd thicket
#

Also tried using placeholders.yml but you can't parse <message> lol

tranquil crater
shrewd thicket
#

I'm not able to set <message> in a placeholder without the encoding breaking.

shrewd thicket
tranquil crater
#

be easier to just make a placeholder for chatcolors imo

shrewd thicket
#

?

#

There already is for EZColor

tranquil crater
#

then you wouldnt need a chat color plugin 🤔

shrewd thicket
#

That would be way more complicated to support hexcolors

tranquil crater
#

it would work

shrewd thicket
#

Thanks

exotic nexus
shrewd thicket
exotic nexus
#

Why not?

#

For gradients and rainbows*, I can see why not but for just static hex colors

#

but you should be able to just use <papi:inserting:ezcolors_color> inside the format

shrewd thicket
#

Using kyorify works, but not with gradients

#

I guess that was my only concern

exotic nexus
#

can you show me the format please? and yeah, there isn't much you can do for gradients I'm afraid.

scarlet ferry
exotic nexus
#

yeah but that still won't work with gradients.

#

That's what they were saying

scarlet ferry
#

works for me i think

upper sparrow
#

Could you guys update <item> to show attributes? Right now if you do <item> it doesnt show a lot of information. EX: I have unbreakable tools and attribute items(Red dye with +2 max health) and when players show them off to one another it does not show the unbreakable tag or any of the attributes. Could this be fixed?

#

I attempted to add item2chat but that plugins not compatible w/ chatchat

tranquil crater
upper sparrow
#

Right now players name are displayed as their nicknames from essentials. It can be hard to figure out whos who when using /tpa. How do I add a hover text to a channel? Or do I add it in the format

upper sparrow
#
  default:
    priority: 2
    parts:
      channel:
      - '%chatchat_channel_prefix%'
      prefix:
      - ' %kyorify_aero_prefix%<dark_gray><bold> | <reset>'
      name:
      - '%kyorify_essentials_nickname%'
      message:
      - <reset> <dark_gray>:<reset> <message>

Where would I add it

exotic nexus
#

Well depends where you want it.

#

Do you want it over the entire chat?

#

Do you want it over the player's nickname?

#

over the channel? over channel and nickname? etc.

upper sparrow
#

I would want it over top of the players name

#

name:
- '%kyorify_essentials_nickname%'

#

this part

exotic nexus
# upper sparrow name: - '%kyorify_essentials_nickname%'
formats:
  default:
    priority: 2
    parts:
      channel:
      - '%chatchat_channel_prefix%'
      prefix:
      - ' %kyorify_aero_prefix%<dark_gray><bold> | <reset>'
      name:
      - '<hover:show_text:"%player_name%">%kyorify_essentials_nickname%</hover>'
      message:
      - <reset> <dark_gray>:<reset> <message>```
upper sparrow
#

thanks

exotic nexus
#

You also want to be very careful with using <reset>. The reset tag, resets absolutely every single tag including but not limited: Gradients, Rainbows, Hovers, Click Actions, etc. And if not careful, the message won't look the way you want it to.

#

I would suggest you just use closing tags as much as possible

upper sparrow
#

okay

exotic nexus
#

Like so: yml formats: default: priority: 2 parts: channel: - '%chatchat_channel_prefix%' prefix: - ' %kyorify_aero_prefix%<dark_gray><bold> | </bold></dark_gray>' name: - '<hover:show_text:"%player_name%">%kyorify_essentials_nickname%</hover>' message: - ' <dark_gray>:</dark_gray> <message>'

shrewd thicket
#

Why does tab complete not work with /msg

exotic nexus
#

We're not sure yet. It is a known bug and an issue for it is open on github

shrewd thicket
exotic nexus
shrewd thicket
#

It's a pretty big concern on the server, anyway to maybe take a look at it sooner than later?

#

What's the purpose of using such a sophisticated command library for a chat plugin?

#

Especially when issues like this can't be fixed swiftly

exotic nexus
#

I mean, I could try to fetch the latest snapshot of the library and give you a build with that, but I can't guarantee it was fixed.

exotic nexus
#

and some are more complex than others.

#

maybe not a lot. but definitely more than just /msg.

#

We also allow people to create their own commands per channel

#

That library just gave us an easy way to do everything.

#

@shrewd thicket, can you do /chatchat and tell me the version of ChatChat you are using?

exotic nexus
#

Hmm. Where did you get that version from?

shrewd thicket
#

Not sure lol

#

One of these channels I think

exotic nexus
#

If you look at the jar name in your plugins/ folder is it named exactly the same?

shrewd thicket
#

Yeah

exotic nexus
#

Hmm. That might be a problem. I was going to give you a new build you could test but you might be on an older version of the plugin which could just result in your ChatChat plugin files (config, formats, channels) getting corrupted.

Do you have a test server?

#

If you do and you have time, can you migrate your current ChatChat build and the files to your test server and then upgrade to the latest build from jenkins? You can find it here: https://ci.extendedclip.com/job/ChatChat

#

So. @shrewd thicket, I have tested and also confirmed with the developer of the command library and the issue seems to be fixed indeed. We just need to push a build to jenkins. This should happen today or tomorrow.

Be careful when updating tho. As mentioned above, it could have major changes which could lead to your config files breaking. I recommend you make the update on a test server and if you have issues, you can come here for help.

exotic nexus
#

Ok. New update, the build was pushed to jenkins. You can just get it from there.

shrewd thicket
exotic nexus
#

I will definitely note the first one as a bug however.

shrewd thicket
#

Or any incorrect username

#

Also why does it do that?

#

This player messaged that guy once

#

And it shows twice in socialspy

exotic nexus
#

Hmmm. That is very interesting. I'll have to test that myself as I am very confused as to how it even gets to execute that part of the code.

shrewd thicket
#

The first time incorrectly formatted

exotic nexus
shrewd thicket
#

100%

#

It's the only socialspy I have enabled

#

I don't use Essentials or any other chat plugin

exotic nexus
#

If you change the socialspy format in ChatChat what happens?

#

can you try changing it, then sending a screenshot of how that looks?

shrewd thicket
exotic nexus
#

Yeah. The first one doesn't seem to be from ChatChat then.

exotic nexus
#

if you turn off your scoialspy using /chatchat:socialspy does it still happen?

shrewd thicket
#

Ye it does, amazing how some other plugin got the same default format that I configured

exotic nexus
#

yeah. but simple gray messages are very common for social spy plugins

exotic nexus
#

Btw, have you tried the new build? Is it working?

shrewd thicket
#

You don't need there's some bug with ChatChat that does that by default for ops?

#

bc it's missing the target argument

#

and putting it in the message

#

perfectly formatted

#

how I have mine

exotic nexus
#

I doubt that. I haven't seen this happen before. I will test this in a second on my test server however just to make sure.

gray quiver
#

Curious, recently updated some plugins when switching to 1.19.3 and suddenly players can't see messages from people with the * permissions. Think this could be an issue with ChatChat? or some other plugin

shrewd thicket
#

How come links I send in chat aren't clickable?

zealous violet
#

fairly sure

shrewd thicket
zealous violet
sacred badger
#

So I am working with LuckPerms on 1.19.3 and for some reason pre-fixes do not get formatted.

#

I am using Papi LuckPerms prefix placeholder.

exotic nexus
#

You will have to either use the <papi> tag or the kyorify PlaceholderAPI expansion together with your placeholder.

#

ChatChat doesn't support legacy colors and those 2 options allow you to use placeholders that have them and automatically translates them to minimessage.

willow saffron
#

default:
prefix_tooltip:
- ''
suffix_tooltip:
- ''
priority: 2147483645
channel: ''
prefix: '%chattags_tag% '
name_color: '&7'
name: '%player_displayname%'
suffix: ' &8» '
chat_color: '%ezcolors_color%'
name_tooltip:
- '&6&lPlayer Information'
- '&cName: &6%player_name%'
- '&cGuild: &6%guilds_name%'
- '&cJoin Date: &6%player_first_join_date%'
- '&cPlaytime : &6%statistic_time_played%'
- '&cPower Level: &6%mcmmo_power_level%'
- '&cJobs Level: &6%jobsr_user_totallevels%'
- '&cPartner: &6%marriage_partner%'
channel_click_command: /ranks
prefix_click_command: /ranks
name_click_command: '/msg %player_name% '
suffix_click_command: ''
channel_tooltip: []

#

how to convert this to chatchat , i have trouble converting since the converter is outdated

#

that is a deluxechat format

exotic nexus
# willow saffron default: prefix_tooltip: - '' suffix_tooltip: - '' priority:...

In your formats.yml make sure that the option default-format: 'default' is set and then under formats: add this: ```yml
default:
priority: 2147483645
parts:
prefix:
- 'click:run_command:"/ranks"papi:chattags_tag</click> '
name:
- '<hover:show_text:"'
- '<gold><bold>Player Information'
- '<red>Name: <gold>%player_name%'
- '<red>Guild: <gold>%guilds_name%'
- '<red>Join Date: <gold>%player_first_join_date%'
- '<red>Playtime : <gold>%statistic_time_played%'
- '<red>Power Leve: <gold>%mcmmo_power_level%'
- '<red>Jobs Level: <gold>%jobsr_user_totallevels%'
- '<red>Partner: <gold>%marriage_partner%">'
- '<click:suggest_command:"/msg %player_name%">'
- '<gray>papi:player_displayname'
- '</click>'
- '</hover>'
suffix:
- '<dark_gray>» '
message:
- 'papi:ezcolors_color<message>'

willow saffron
#

using 1.19.3 and is using the latest jar

willow saffron
#

single line :/

exotic nexus
# willow saffron

can you restart your server and execute /chatchat dump after it starts and then send the generated link here please?

#

ohhhh. nvm

#

I see where the problem is

exotic nexus
# willow saffron
  default:
    priority: 2147483645
    parts:
      prefix:
        - '<click:run_command:"/ranks"><papi:chattags_tag></click> '
      name:
        - '<hover:show_text:"'
        - '<gold><bold>Player Information<newline>'
        - '<red>Name: <gold>%player_name%<newline>'
        - '<red>Guild: <gold>%guilds_name%<newline>'
        - '<red>Join Date: <gold>%player_first_join_date%<newline>'
        - '<red>Playtime : <gold>%statistic_time_played%<newline>'
        - '<red>Power Leve: <gold>%mcmmo_power_level%<newline>'
        - '<red>Jobs Level: <gold>%jobsr_user_totallevels%<newline>'
        - '<red>Partner: <gold>%marriage_partner%">'
        - '<click:suggest_command:"/msg %player_name%">'
        - '<gray><papi:player_displayname>'
        - '</click>'
        - '</hover>'
      suffix:
        - '<dark_gray>» '
      message:
        - '<papi:ezcolors_color><message>'```
#

I forgot to add new lines :)))

gray quiver
zealous violet
#

Not yet

ashen light
zealous violet
#

put these in quotes

#

atleast idk if thats the issue but may solve it

ashen light
#

Didn't seem like that solved it

zealous violet
#

whats exactly not printing like what does it currently show?

#

the default format?

ashen light
zealous violet
#

actually that seems to be the console format

#

Did you provide permissions

ashen light
#

Default group has chatchat.format.default, and Owner group has all perms + OP. Both don't work

ashen light
zealous violet
#

I don't see the issue exactly isnt that correctly printed?

ashen light
#

In the config, I do not have a channel specified, and I'm calling the Vault prefix in the prefix section, and my message is gray and >> is white, and that's not showing

zealous violet
#

ya seems like its using the console format for some reason

#

Can you type /chatchat dump

ashen light
zealous violet
#
    toggle-command:
    - global
    message-prefix: ''
    channel-prefix: <gray>[<blue>Global<gray>]
    formats:
      formats:
        default-channel:
          priority: 1
          parts:
            channel:
            - <hover:show_text:'<aqua>This is a default channel format!'>
            - '%chatchat_channel_prefix%'
            - </hover>
            prefix:
            - ' <gray>[<color:#40c9ff>Chat<color:#e81cff>Chat<gray>] '
            name:
            - <white>%player_name%
            message:
            - ' <gray>» <white><message>'
    radius: -1
    type: default```
#

@ashen light ^^

#

its showing up this is being used btw

waxen ibex
#

oh yeah it recorded that format in your config

#

it just didn't apply it to the default channel

zealous violet
#

ya

ashen light
exotic nexus
#

What version of ChatChat are you using? That looks like a very old issue that was already fixed

exotic nexus
# ashen light What’s the solution? 👀

I won't be able to look into your issue until later tonight. Any chance you can provide a few bits of information by then? I would need chatchat and server version, a full startup log with chatchat on and the link created by execution of the /chatchat dump command.

exotic nexus
#

Can you execute /papi dump and send the generated link here please? Also, can you send the new error. While it might be similar some details that could be important are going to be different.

exotic nexus
#

I think I might have an idea of what is going on but am not 100% sure right now and can't test it. Iirc ChatChat has a DiscordSRV hook that is based on DiscordSRV 1.25.1 and it seems like there's an update that might've changed some internal stuff that ChatChat was using. Will mark this as an issue for now and will try to solve when I'll have time

ashen light
shrewd thicket
#

@zealous violet where can the converter be found for dc to chat chat?

zealous violet
#

It’s outdated

#

No longer supports the latest version

shrewd thicket
#

😦

random island
exotic nexus
#

or maybe an adventure version update on their side

random island
#

nah its all there correctly

exotic nexus
#

hmm

#

Could it then be a corrupted DiscordSRV jar?

random island
#

i suppose it could be

#

@plucky sorrel are u still having issues with this?

exotic nexus
#

If the answer is yes, can you send the DiscordSRV.jar that you have on your server?

#

DM me if you can'

#

't upload it here

#

Set up in what way?

#

Could you possibly start the server with DiscordSRV not set up and sending the full startup log?

#

The jar contains the class. So, I wonder if there's actually a problem with DiscordSRV starting up or something like that

#

But then again, why would it show in the PAPI dump

exotic nexus
random island
#

depend shouldnt matter anyway

exotic nexus
#

Maybe a circular dependency? But I thought Spigot/Paper threw an error when that happen. So I guess we'll see in the logs.

random island
#

we dont reference it until someone types in chat or whatever

exotic nexus
#

I'll just wait for that log

#

Does the error happen now?

#

It happens when you talk in chat?

#

Oh.

#

DiscordSRV enables successfully, ChatChat hooks into it but then DiscordSRV stops with no error/warning

#

Ah. There is an error higher.

exotic nexus
#

DiscordSRV stops after chatchat hooks into it

#

Hmm. The only solution I can think of right now is checking if the plugin is enabled every time the event is called

random island
#

blitz

#

.

exotic nexus
#

A try catch block would also work I guess but I dislike both ideas

exotic nexus
#

We do want people to stop coming here with that issue right?

exotic nexus
#

You can just remove the formats from your channels. If you send me your channels.yml file (in a paste bin: https://paste.helpch.at), I can show you how.

#

It should by default. If it doesn't, you can try this: <papi:inserting:luckperms_prefix>

exotic nexus
exotic nexus
#

You can't disable channels in chatchat but you can create just 1 single channel with no formats or everything else and it will act basically the same.

#

This removes the channel switching command as well so for players, it is like channels never existed.

vital night
#

working in 1.8 too ?

random island
#

1.8 is unsupported

exotic nexus
#

Hmm. Can you try downloading the kyorify expansion using /papi ecloud download kyorify then /papi reload and try using %kyorify_vault_prefix% instead?

exotic nexus
#

Hmm. There might be an issue with the versioning on the ecloud. I'll take a look when I have time and let the author know if that is the case.

#

Yeah. That seems to be the case. I'll let the author know and they'll probably fix it when they have some free time.

prisma flint
exotic nexus
prisma flint
#

I really don't understand why it wouldn't be accepted, but sure

crystal zenith
#

chatchat is like deluxechat?

#

with the bungee feature

exotic nexus
#

It will have a way for you to convert the old configs but it won't work exactly the same. And cross server support thru bungee or any other platform is not yet supported.

crystal zenith
#

oh alright that feature is very critical to me. I assume deluxechat wont work on 1.19?

exotic nexus
#

As far as I'm aware it works up to exactly 1.19 but breaks on versions starting with 1.19.1

zealous violet
#

after that it broke for me

exotic nexus
#

Unless I'm misremembering

#

Which could absolutely be the case

exotic nexus
# prisma flint I really don't understand why it wouldn't be accepted, but sure

It is not because the PR is bad or anything like that but it is rather because of our own indecision.

We are not exactly sure if we want to continue supporting this placeholder pattern: %placeholder_pattern%.

The <papi> tag has quite a few benefits and we might want to get people to migrate to using that tag. The benefits would be:

- Ability to make formatting closing or inserting. This means you can chose if the colors and formats from a placeholder will "bleed" into the rest of the format without having to use a <reset>`(which also resets any open <hover> and <click> tags).
- PAPI3 is being worked on and a big discussion for that version is whether or not the placeholder pattern should change. This means that whenever PAPI3 will be released, people will have to manually migrate their placeholders. If people would use the tag on the other hand, we could just solve it all with an update.

I do realise that there are a few drawbacks as well however. Some of them would be:

- This could create confusion. Especially for people that do not read the documentation. We would also have to document this very well.
- People would still have to migrate but they'd have to do it in a much early phase.

Another option would be to just let it work like it does right now. This placeholder pattern (%placeholder_pattern%) would not translate legacy colors but the <papi> tag will do that. There are some benefits to this approach as well:

- Placeholders could return MiniMessage strings. This means that there is no need for translation which also means people could use the ampersand `&` in text with no issue. They could also type `#aaFF00` without worrying that it will get translated. Some people want to just display hex codes in their messages without them being translated.

I know. A lot of text for a small conversation :))

austere haven
#

Is ChatChat at a point where it can be used on a production server, or should that still be avoided?

exotic nexus
#

While the plugin works, changes in behaviour are expected to be made in the future

hybrid vigil
#

Otherwise it works fine 😂

gray vigil
#

Question

#

When I'm not op, my prefix is [Owner]
when i AM op, my prefix is [Global] [ChatChat]

#

How would I go about fixing this?

gray quiver
#

I had that issue

gray vigil
#

ohh, will do!

shadow thunder
#

I'm having issues setting up this plugin. No matter what I write on formats.yml it looks like this [Global] [ChatChat]

#

I'm using the latest version & also used the DC to CC convertor

#

I've set up permissions and still won't work

gray quiver
shadow thunder
#

Was this plugin really necessary? What was the reason to not continue updating DeluxeChat?

exotic nexus
#

Pretty sure most reasons were listed in a pinned message in #deluxechat

tranquil crater
strong jasper
#

Any reason why world PlaceholderAPI doesn't work?

zealous violet
#

@strong jasper what placeholder in that expansion

strong jasper
#

I'd like it to display the world they're currently in

#

So for example: [Main World] Trendless

zealous violet
#

well I dont think thats correct not sure why its documented like that either

#

does it work normally?

strong jasper
#

No clue, tbh I haven't touched Minecraft Plugins in awhile. I tried using it on my scoreboard, it's just blank as well.

zealous violet
#

Just use %player_world%

#

with the player expansion

strong jasper
#

Lemme try it rq

zealous violet
#

kk

strong jasper
#

Same thing happens

#

Oh wait

#

Hold on

#

Nvm it works

zealous violet
#

🙂 that will be 1 million dollars

strong jasper
#

💸

#

Rip bank account

#

For chatchat, I can make formats for each world correct?

#

Or am I mistaken

zealous violet
#

if I remember correctly yes

strong jasper
#

Where are the docs so I can check on how?

zealous violet
strong jasper
#

Ight ty

zealous violet
#

🙂

#

just looked youd need to use per world permissions to make it work

strong jasper
#

Could you link me to it?

zealous violet
#

uh do use luckperms?

#

if you add like world=WORLDNAME at the end when adding permissions that should work

strong jasper
strong jasper
#

So it's easier to identify

zealous violet
#

wait is it only prefix? because you can do it through the actual permission plugin

#

use the luckperms prefix placeholder inside chatchat

strong jasper
#

Ohhhh

#

That's what you meant

#

Sorry, my Minecraft plugin knowledge do be a lil rusty haha.

zealous violet
#

all good

strong jasper
#

Wait, just to be clear. You want me to create groups with these permissions inside them?

#

Aw darn, it won't allow me to change the world to "The Nether" or "The End" always has to have [world-name]_nether/end

tranquil crater
#

And multiverse has papi placeholders

strong jasper
#

Ohhh you're right! Thank you

zealous violet
#

smh

strong jasper
#

I've been experimenting with Multicore, and whenever I try to use %multiverse_world_name_colored% chat stops working entirely because it's using "legacy color codes"

exotic nexus
strong jasper
#

kk

#

Worked tysm! ❤️

exotic nexus
#

no problem

strong jasper
#

Any clue why Luck Perms don't work?

#

Would I have to use <papi:luckperms_prefix> again?

#

^ Fixed

coarse lantern
#

fixed

strong jasper
#

Anybody know why I cannot add another text layer in <hover>?

#
      nameDivider:
      - <hover:show_text:"<color:#eaff3d> <strikethrough><bold>---------<reset><color:#eaff3d><bold>[<reset>
        <color:#603bff><bold>%player_name% <color:#eaff3d>]<strikethrough><bold>---------">
      - <hover:show_text:"&7 Rank:" [%luckperms_prefix%]

^ Code

zealous violet
#

@strong jasper

#

its gotta be like this

            - "%chatchat_channel_prefix%",
            - "</hover>"```
strong jasper
# zealous violet <@391595427771711489>

So something like this?

      nameDivider:
      - <hover:show_text:"<color:#eaff3d> <strikethrough><bold>---------<reset><color:#eaff3d><bold>["
      - "<color:#603bff><bold>%player_name%"
      - <hover:show_text:"<color:#eaff3d>]<strikethrough><bold>---------"
      - "</hover>"
zealous violet
#

no

#

actually

#

uh

#

wait like this

#

@strong jasper

<hover:show_text:'<red>Hover with a<newline><green>line break'>Text with<newline>line break</hover>

#

for multiple lines

#

<newline>

strong jasper
#

Ohhh

#

So I should make use of <newline> rather than the dashes

zealous violet
#

ya

strong jasper
#

Alr

#

Well I got this far, but the yellow and cross lines are conflicting and whenever I try to adjust it it just spits all the code into chat.

      nameDivider:
      - <hover:show_text:"<color:#eaff3d> <strikethrough><bold>---------<reset><color:#eaff3d><bold>[<reset>
        <color:#603bff><bold>%player_name% <color:#eaff3d>]<strikethrough><bold>---------<newline>
        "&7Rank:" <papi:luckperms_prefix>">
zealous violet
#

try <reset> on the second line

strong jasper
#

I did already, same thing

#

Is it suppose to be outside or inside the " "

zealous violet
#

yes

#

it is

strong jasper
#

huh

#

I said outside or inside

zealous violet
#

uh

#

sec

#

outside

strong jasper
#

Lemme try then

zealous violet
#

wait a minute

#

what is your design

#

I mean config

strong jasper
#

I wanna mimic this design

zealous violet
#

ex

prefix:
  - '<gray>[<color:#40c9ff>Chat<color:#e81cff>Chat<gray>] '
#

like this

strong jasper
#

How am I suppose to use <hover>

zealous violet
#

The way your doing it rn is correct you just missed a thing

#

lemme fix it

strong jasper
#

Okay, I am having a hard time understanding on what you're trying to do so it's hard to follow along lol

zealous violet
#
      nameDivider:
      - '<hover:show_text:"<color:#eaff3d> <strikethrough><bold>---------<reset><color:#eaff3d><bold>[<reset> <color:#603bff><bold>%player_name% <color:#eaff3d>]<strikethrough><bold>---------<newline><reset>&7Rank: <papi:luckperms_prefix>">'```
#

like this

strong jasper
#

Ohh I see

#

Still have the yellow crossline issue

zealous violet
#

sec

#

in your example you never added reset at the end

#

look at what I sent @strong jasper

strong jasper
zealous violet
#

wym.. that worked

#

I am not gonna make the full thing for you

#

I just showed you an example

#

the extra " you can remove

#

inside it

strong jasper
#

Removing it breaks chat

zealous violet
#

not the latest one

#

the one before

strong jasper
zealous violet
#

yeee

strong jasper
#

Yeah that's the one that breaks chat

zealous violet
#

make the whole thing then ill show you what you did wrong

strong jasper
#

All I need is for this line to be fixed so I can just copy & paste it:

      - '"&7Rank:" <papi:luckperms_prefix>">'

Then I am fine

#

Unless it doesn't work that way

zealous violet
#

I never sent you that

strong jasper
#

Yes I know that, I am just saying once that line is fixed it'll be fine since I can just copy and paste it for future lines.

#
      nameDivider:
      - <hover:show_text:"<color:#eaff3d> <strikethrough><bold>---------<reset><color:#eaff3d><bold>[<reset>
        <color:#603bff><bold>%player_name% <color:#eaff3d>]<strikethrough><bold>---------<newline><reset>
      - '"&7Rank:" <papi:luckperms_prefix>">'

this is the full code

zealous violet
#
      - '<hover:show_text:"<color:#eaff3d> <strikethrough><bold>---------<reset><color:#eaff3d><bold>[<reset> <color:#603bff><bold>%player_name% <color:#eaff3d>]<strikethrough><bold>---------<newline><reset>&7Rank: <papi:luckperms_prefix>">'```
#

here

strong jasper
#

It works ||finally||

zealous violet
#

I told you to remove the ""

#

idk why you didnt remove it

#

smh

strong jasper
#

See, this whole thing was just hurting my brain. So I kinda just lost track at that point

zealous violet
#

all good gl

strong jasper
#

I'll be back soon dw

zealous violet
fluid turtle
#
  - name: "test"
    # If this is set to true, the placeholder message will support recipient and relational tags as well.
    requires-recipient: false
    # If this is set to true, MiniMessage tags will be parsed within the placeholder message.
    parse-mini: true
    # This determines if PlaceholderAPI placeholders should be parsed within the placeholder message. To note is that
    # %placeholder% placeholders won't work. Instead, you will have to use the <papi>, <papi-rel> and <recipient> tags.
    parse-papi: true
    # This determines if the formatting of the placeholder message will bleed out in the containing message. Set to
    # false for bleeding effect, true for no bleeding effect. This will be considered true if parse-mini is set to false.
    closing: false
    # The message that the placeholder will be replaced with.
    message: '<white><papi:oraxen_smile><papi:luckperms_meta_chatcolor>'

Does anyone know why closing: false doesn't seem to be working? My goal is to have it set the chatcolor back to the one from the placeholder once people type after putting the placeholder in chat

strong jasper
#

How can I make ChatColor compatible with ChatChat?

exotic nexus
#

Does it have PlaceholderAPI placeholders?

fluid turtle
strong jasper
#

Yeah it does

#

Also

#

This happens whenever a user sends a message

exotic nexus
fluid turtle
#

Thanks :)

exotic nexus
exotic nexus
# strong jasper Yeah it does

Alright. Then use that placeholder in your format. But instead of %whatever_placeholder%, you should use <papi:whatever_placeholder>

exotic nexus
#

@fluid turtle what version of ChatChat are you using?

#

you can get it by executing /chatchat

#

I think

fluid turtle
exotic nexus
fluid turtle
#

I got the same result on 55

exotic nexus
#

hmm. I've just got to test it with build 55 and it all seems to work as it should. I made 2 placeholders, 1 that's closing, 1 that's not and they seem to work accordingly. You can see my format and my placeholders in the screenshots as well. I've also just tested it with your build and I got the same results.

fluid turtle
#

Oh hmm yeah that seemed to work

#

Maybe it's with how I'm setting that chat color back to what I want

fluid turtle
#

<papi:luckperms_meta_chatcolor>

exotic nexus
#

Hmm. I'll check that

fluid turtle
exotic nexus
#

How do you set the meta? lp user NAME meta setprefix?

#

Or is it just set?

fluid turtle
#

/lp user name meta set chatcolor <#d24c9f>

exotic nexus
#

Alr. Let me test it

#

Hmm. It seems like colors are possibly not even parsed at all? This is weird.

fluid turtle
#

Indeed strange

#

/papi parse gives me the right output and it works in other places in chatchat

exotic nexus
#

Yeah. Same here.

#

Seems like a possible issue with the custom placeholders

#

will have to investigate further and let you know

fluid turtle
#

My formats.yml is still using %% so probably an issue with the custom mm tags yeah

exotic nexus
#

I think I know what's happening. The problem is most likely with the kyorifier. It probably sees that there's no text, just a color and doesn't create a Component at all. So basically, it just ignores it when it is just styling with no text

fluid turtle
#

Interesting

atomic chasm
#

has the converter been updated yet?

zealous violet
atomic chasm
zealous violet
atomic chasm
#

okay thanks

final hamlet
#

Is it happening on the latest paper build?

exotic nexus
#

Paste bin seems to have expired. Any chance you can send another?

exotic nexus
novel shadowBOT
trim scroll
#

can you check if DiscordSRV has Essentials as dependency in plugin.yml? And if Essentials has ChatChat? They might check the dependencies in the wrong order think

#

yes

#

and premiumvanish?

#

because chatchat has soft-dependent dsrv and premiumvanish

#

hm

#

yeah this is something that should be reported to paper, it didn't happened before and they are working on a new plugin system

exotic nexus
#

I don't see where the circular depend is.
-> = depends on

DiscordSRV -> EssentialsX
ChatChat -> EssentialsX, DiscordSRV.

#

This feels like a bug indeed

#

but not on our side

trim scroll
#

im curious if it has to do with both dsrv and cc depending on ess

exotic nexus
#

But that is not cyclical. So probably just an extra if someone placed by accident. or an extra !

fluid turtle
#

Hey Blitz, I have an issue and I'm not sure if there's a way to resolve it.

I want our players to be able to use Oraxen's emoji function, which lets them type things like :smile: in chat, and that works great, but right now the emojis will tint in chat (to the user's chat color)

Oraxen has an option to automatically add a prefix and suffix to emojis to prevent this, you can see some of that here: https://github.com/oraxen/oraxen/blob/master/src/main/java/io/th0rgal/oraxen/font/FontEvents.java, https://github.com/oraxen/oraxen/blob/dc0869f142667fc6e97728aae1d3a0186a4705ff/src/main/resources/font.yml#L5, but the problem with this is that if the player doesn't have permission to use the white chatcolor, you just see <white> before their message, which isn't ideal of course since then they can make their messages white.

Any ideas?

#

This is an example of the issue, not with white but with <gray> as the suffix to their message

exotic nexus
#

This is an issue I'm aware of. At the moment, I have no clue how we might fix it.

fluid turtle
#

I figured, which is why I attempted to use ChatChat's placeholder system, but the player base does not seem to like that option pepela

exotic nexus
#

Understandable. Most chatting platforms use :: for emoticons and when one does it differently, it is pretty annoying

fluid turtle
#

Yes indeed

#

I'm trying to think of some weird workaround for it that might work

exotic nexus
#

I don't think there is one. Unless maybe you'll get an extra plugin to replace :: to <> manually. But that's too much and also too messy imo.

fluid turtle
#

Well that was one of my thoughts at least

exotic nexus
#

Another way would be to add ChatChat support directly into Oraxen.

fluid turtle
#

How would that work?

#

I work with the developer of Oraxen so that is a very viable option lol

exotic nexus
#

If the message is colored using a gradient, you won't be able to find the :emotes:. Or rather, you'd have to make your own complex implementation of matchAndReplace on components.

fluid turtle
#

Well none of our chat uses gradients so that could be an easy way to do it for now

#

Because my only other option would be switching chat plugins probably 😅

#

It's not like the issue is game breaking or anything, would definitely just be nicer though for emojis to not tint in chat

exotic nexus
#

Well, the way you'd do it is listen for the ChatChatEvent, retreive the message from it, which is an adventure Component, and then use matchAndReplace on it.

fluid turtle
#

Is there a maven repo for chatchat?

exotic nexus
#

Afaik there isn't one. Probably because we're in beta.

#

You can get the API jar directly from jenkins

fluid turtle
#

Cheers

exotic nexus
#

Wait. I am wrong. Somehow that's not possible. That seems like an issue

fluid turtle
exotic nexus
#

oh

#

Either way, I don't know if the Oraxen developers would want to add this to production since ChatChat is in beta and every small update to it could result in breaking changes.

fluid turtle
#

Probably not but a good enough solution for me to toss it in a fork for now

novel shadowBOT
atomic chasm
exotic nexus
#

that you use in your chat format

atomic chasm
#

I am using default config

exotic nexus
# atomic chasm I am using default config

Ah. Yes. It isn't a permission placeholder, it is a rank placeholder. Either %vault_group% or %vault_rank%. Check your formats and remove those. I'm not sure exactly why they're broken. If you can send a fresh startup log here, I might be able to find more.

atomic chasm
atomic chasm
strong jasper
random island
#

?startuplog

novel shadowBOT
strong jasper
#

@random island

random island
#

[11:35:13] [Server thread/INFO]: [DiscordSRV] Disabling DiscordSRV v1.26.1-SNAPSHOT

#

discordsrv is not enabled on ur server
i think u need to put in a token in the config

#

or if ur not using it, remove it

strong jasper
#

Kk

exotic nexus
random island
#

the vault expansion was just updated to fix this I believe

atomic chasm
strong jasper
#

I have a serious question, so I am currently using the latest build of ChatChat. A wonderful, and useful plugin may I add. But I am in a predicament at the moment with LuckPerms & Deluxe Tags. Currently, it's setup like this: [Player][Beta Tester] first one being luckperms, and second DeluxeTags. This isn't necessarily a bad format, but I prefer to have one tag equipped at all times this being [Beta Tester]. Is there anyway I could possibly do that?

ChatChat Configuration:
https://pastebin.com/8cSADy60

atomic chasm
#

hey blitz do i download the jar from jenkins or the jar in #chat-chat-info ? or are they the same?

exotic nexus
atomic chasm
#

kk thanks

atomic chasm
#

hey blitz i got a question can i use & for chatchat or do i need to use the color:#40c9ff format?

exotic nexus
#

You can't use & but you don't have to use color:#hex either. for the old colors you can just use <yellow>, <gold>, etc

atomic chasm
#

oh okay thanks

#

and the chatchat converter is down right?

exotic nexus
#

It works but it is still a bit behind. I think freddy is working on bringing it up to date

#

dk when that will happen

atomic chasm
#

so i can use it?

#

or will it break the config?

exotic nexus
#

Try it but I can't guarantee it will all work

exotic nexus
#

If so, you can do that either with the ChangeOutput expansion or with the JavaScript expansion.

strong jasper
atomic chasm
exotic nexus
#

Try this. But make sure to install the changeoutput expansion

#

/papi ecloud download changeoutput then /papi reload

strong jasper
exotic nexus
#

or warnings?

atomic chasm
#

no it just resets my config back to default but will do more testing on it

exotic nexus
#

can you send the dchat config?

#

\I

#

I can test it later

atomic chasm
#

ya

#

do you want me to pm it to you?

exotic nexus
#

just put it in a bin and send it here

atomic chasm
#

kk

strong jasper
#

If you're reading this blitz the command & papi works 👍

atomic chasm
#

hey blitz why does & not work in chat? like when i type $a in chat it does not work?

#

it just removes it

exotic nexus
atomic chasm
#

is there a way to disable that?

exotic nexus
#

And it would error so I've decided to just remove those colors instead of leting them error

atomic chasm
#

oh

exotic nexus
atomic chasm
#

oh where you able to look at the config

exotic nexus
exotic nexus
atomic chasm
#

Okay will try it thanks

atomic chasm
#

blitz what is the perm for the ranks?

atomic chasm
#

[20:22:58 WARN]: [ChatChat] [channels, default, formats] of type java.util.Map<java.lang.String, at.helpch.chatchat.api.format.PriorityFormat>: Required field [priority] was not present in node
[20:22:58 WARN]: [ChatChat] [channels, staff, formats] of type java.util.Map<java.lang.String, at.helpch.chatchat.api.format.PriorityFormat>: Required field [priority] was not present in node
[20:22:58 WARN]: [ChatChat] Could not find a channel named default.

#

is there something i need to fix in channel?

trim scroll
#

Required field priority was not present in node

atomic chasm
#

how do i fix that just in channels?

exotic nexus
#

What version of chatchat do you use?

atomic chasm
exotic nexus
atomic chasm
#

ya

exotic nexus
exotic nexus
#

Did it still happen?

atomic chasm
#

ya i just did and it seemed to work but it does the same thing with dchat were it shows another rank then what they have and i did put chatchat.format.<format-name> in the groups

exotic nexus
atomic chasm
#

ya give me a few

atomic chasm
exotic nexus
#

and you see the admin format

atomic chasm
#

ya

#

chatchat.format.owner

#

that is the perm right?

exotic nexus
exotic nexus
#

change admin priority to one that's not used and restart the server

atomic chasm
#

okay bc all the groups use admin

atomic chasm
exotic nexus
#

👍

atomic chasm
#

hey blitz do you know why console shows "[Global] [ChatChat] ClapnuXD » s" and not the rank?

#

also for the prefix when someone is op it shows them owner is there a way to fix that?

exotic nexus
#

Console has a special format

exotic nexus
atomic chasm
exotic nexus
#

Not really

#

And the reason is that you can have relational placeholders (and tags) inside the normal formats but those wouldn't work in console, so for formats using relational stuff, the console format would look like it is broken.

atomic chasm
#

oh

strong jasper
#

Hello I am using DiscordSRV, and whenever someone sends a message I get this error:

[Thu 19:50:17 INFO ChatChat] Couldn't find channel global

Any possible fixes?

exotic nexus
#

If you want ChatChat and DiscordSRV to work together, you have to name the channels in your DiscordSRV config, the same as your ChatChat channels

dusty nymph
#

Can i add a cooldown to specific Channels?

exotic nexus
#

No.

dusty nymph
#

Would be nice tho

exotic nexus
#

yeah. I mean it wouldn't be that hard to implement. other plugins could also do it using the API

shrewd thicket
#

I recommend adding a chatbot that answers people's questions

Example:

Player: Hi, who is the author of this plugin?

*Message blocked*

ChatBot: The author is Username

Was I helpful to you?

Yes | No

(if no is pressed, the message would continue in the public chat instead of blocking it)

untold igloo
#

Will there be support for DeluxeTags or a new Tags plugin that uses Mini Message as its color formatting?

tranquil crater
untold igloo
#

Normal Formatting Using Color Codes

12.03 04:23:35 [Server] [INFO] §8[§bDeluxeTags§8]<gradient:#900098:#c400ff><bold>Media</bold></gradient> <white>Dexstry <dark_gray>» <white><message>
12.03 04:23:35 [Server] [INFO] ^^
12.03 04:23:35 [Server] [INFO] [ChatChat] Dexstry » aa

Using the Mini Message Formatting

12.03 04:24:25 [Server] [INFO] <§x§0§0§f§7§f§f><gradient:#900098:#c400ff><bold>Media</bold></gradient> <white>Dexstry <dark_gray>» <white><message>
12.03 04:24:25 [Server] [INFO] ^^
12.03 04:24:25 [Server] [INFO] [ChatChat] Dexstry » aa
#

These are errors that pop up in my console when I try to apply tags

#

It cancels the message event so no messages can get sent.

exotic nexus
#

Instead of using %deluxetags_tag% in your ChatChat format, you use <papi:deluxetags_tag>

#

This will convert old color formats to the MiniMessage format

untold igloo
#

Okay, thank you.

fluid turtle
#
  default:
    priority: 1
    parts:
      channel:
      - '%chatchat_channel_prefix%'
      prefix:
      - '<white>%luckperms_prefix% '
      name:
      - <hover:show_text:"%luckperms_prefix%">
      - '%luckperms_meta_namecolor%%player_name%'
      - </hover>
      message:
      - ' <white>» %luckperms_meta_chatcolor%<message>'

Is this the right configuration for a format or am I on an outdated syntax?

#

I just added a new format, restarted, and granted the user permission but it does not seem to be using it

#

oh i think its a priority issue

exotic nexus
#

Lowest priority number = highest priority

#

It's a design choice we kept from deluxechat that I'm kind of regretting

gray quiver
#

What's the current status of this Project? Is it still on pause or is it in active development again?

exotic nexus
#

I'd personally call it slow development. There's been some fixes and features added in the past month but nothing major

shadow thunder
#

Or was it different? To see if I should use same values or new ones

exotic nexus
shadow thunder
#

So its the same as ChatChat

#

Also, sorry to bother but I'm new with this plugin. How can I make this with ChatChat?

exotic nexus
#

#chat-chat-beta message
Try using this DeluxeChat to ChatChat converter. While it isn't perfect yet, it should be in a usable condition

#

If you paste your deluxechat config it should generate the chatchat counterparts

shadow thunder
#

The legacy color codes come from another plugin, I did not put them in the config file: %alonsolevels_colored_level_format%%alonsotags_tag_chat%%luckperms_suffix%%clantagprovider_clantag_custom_design%

shadow thunder
scarlet ferry
#

y u guys trick me into using this plugin

#

to just abandon it

ashen light
clever totem
#

Not abandoned, it's a free project so it's only worked on when devs have free time. It's OS so happy for other devs to pitch in

zealous violet
tight glade
#

Hi, I was wondering if there was a way one could disable the hover effect when hovering usernames? (attached image)
I also can't seem to find where the default hover effect is stored, unless it's a placeholder for when you do not have an active hover effect. I'm guessing I need to add an empty hover effect to the format in question to disable it but if I could get any help with that I would greatly appreciate it. Thanks!

exotic nexus
#

Tho, just to be sure, execute /chatchat dump and send the generated link here please so I can take a look at your formats

tight glade
#

Oh! That might very well be it. I have that one too and i didn't think of it

#

I will try play around with it a little and get back to you if it persists. Thank you!

exotic nexus
#

👍

tight glade
#

Looking through the config of InteractiveChat, I found what you suggested and disabling hover solved it. Really helpful suggestion! Great work on the plugin so far

raven thorn
#

- '<gray>[<color:#40c9ff>Chat<color:#e81cff>Chat<gray>] '
Is there some type of generator out there that helps write these?

#

giving chatchat a shot for the first time

#

feels a lot more complicated than deluxechat sad_bear

raven thorn
#

Wickid thanks!

raven thorn
#

im a little confused here, is the top part the chat format used by default? or is it the formats other thats default?

exotic nexus
#

so the default-format option is to set the default format's name

#

so if a person doesn't have access to any format, the plugin will automatically give them access tho the format that you set there

#

the console-format option is a special format that just shows in console

#

Since we can't have the same format that goes in chat show up in console. Mostly because relational placeholders would be broken so the format would just look ugly

raven thorn
#

thanks mate, and the channel: is a little confusing, is this used in bungee?

#

I just want my old simple config back where i specify rank, name (with hover tooltips)

#

can i set channel: to `` and then just use prefix for their rank?

exotic nexus
#

in what config file is that option?

#

channels are going to be used for bungee but they can also be used locally. you can create channels such as Staff Chat, Announcements channel, etc. But if you want, you can just have 1 single channel that everyone uses by default

raven thorn
#

my brain is fried.

exotic nexus
#

understandable

raven thorn
exotic nexus
#

I am also very bad at explaining and I tend to overexplain

raven thorn
#

so i can ignore this bit then

#

cos i dont use console lol

#

just want in game results.

exotic nexus
#

Yes. You can ignore it.

raven thorn
#

got it, not sure why that confused me. i think i got it from here YAY i really didn't want to change devs from deluxechat because that plugin CARRIED me for years lol.

#

also what is causing this formatting to change the font?

exotic nexus
#

That just seems like a possible issue with the editor not properly supporting YAML or something

raven thorn
#

ah wickid okay. and last question i promise lol

#

- '<gray>[<color:#40c9ff>Member<gray>] '

can this not be simplified such as

- '&7[&MEMBER&7]' ?

#

i saw in game is actually posts the &7 and doesn't change it to a colour. or at least
- '#F7DC6F[#6FF7D6MEMBER#F7DC6F]

exotic nexus
#

Not really possible. ChatChat uses a more modern formatting system called MiniMessage. It doesn't support legacy stuff. The closest you can get to what you want is probably '<#F7DC6F>[<#6FF7D6>MEMBER<#F7DC6F>]

#

Also it is not a problem if you ask questions. This channel is for support

raven thorn
#

appreciated!

#

also confused why im getting this response. does it not support lines?

exotic nexus
#

you can't have more hover actions. only 1 of them will take over. what you want is have 1 single action and split the lines using <newline>

#

<hover:show_text:"Time Played: <newline>Rank">

#

something like this

raven thorn
#

like this?
- '<hover:show_text:"Rank: %vault_group%"> <newline>Time Played: <#F7DC6F>%statistic_time_played%">'

exotic nexus
#

no. don't close the ">

#

remove the first one and it should be fine

#

- '<hover:show_text:"Rank: %vault_group%<newline>Time Played: <#F7DC6F>%statistic_time_played%">'

#

also if you want it to look nicer you can do this:

      - '<hover:show_text:"'
      - 'Rank: %vault_group%<newline>'
      - 'Time Played: <#F7DC6F>%statistic_time_played%'
      - '">'
raven thorn
#

perfect this is exactly what im after, i appreciate the support! is there a wiki for the permissions so i can give the format groups? i only found you on jenkins

exotic nexus
#

I'll link in a second

raven thorn
#

what an absolute boss man thank you bro, im guessing the permi need is the chatchat.format.<format-name> for what we just setup. got a dono link?

exotic nexus
#

Yeah that is the permission

raven thorn
#

so even though i have changed the configs this still says chatchat

#

with no hover

exotic nexus
#

Mind executing /chatchat dump and sending the generated link here please?

raven thorn
#

wickid

#

the one above "member" prefix works fine

#

but non-ranks/permission gets the chatchat one

exotic nexus
#

give me just a bit. working on 3 things at the same time rn. not fun

raven thorn
#

i gotchu buddy take your time 🙏

exotic nexus
# raven thorn

It seems to happen because of what the default-format option is set to

#

since it doesn't find any format with the name default, it just creates an internal format

#

just change default-format: default to default-format: member

raven thorn
#

thanks mate, i also added permission but its staying at default also not sure why im struggling so much with this CRY

exotic nexus
#

it is a bit more complex than deluxechat. that's probably why

raven thorn
#

what else could i be missing?

#
  member:
    priority: 1
    parts:
      channel:
      - ''
      prefix:
      - '<gray>[Member] '
      name:
      - '<hover:show_text:"'
      - 'Rank: %vault_group%<newline>'
      - 'Time Played: <#F7DC6F>%statistic_time_played%<newline><#FFFFFF>'
      - 'Mobs killed: <#F7DC6F>%statistic_mob_kills%<newline><#FFFFFF>'
      - 'Deaths: <#F7DC6F>%statistic_deaths%<newline><#FFFFFF>'
      - 'Blocks Mined: <#F7DC6F>%statistic_mine_block%'
      - '">'
      - <white>%player_name%
      - </hover>
      message:
      - ' <gray>» <white><message>'```
exotic nexus
#

you do need to restart after changing it

#

if you didn't, try that

raven thorn
#

now have 5 groups, from prio 1-5

#

okay