kangarko / ChatControl-Red

Issue tracker and documentation for the next generation ChatControl Red, the most advanced chat management plugin.
44 stars 22 forks source link

First join messages not showing #2746

Open gandra123 opened 4 days ago

gandra123 commented 4 days ago

"/version ChatControlRed" - plugin version

10.27.5

Are you using MySQL?

No

Are you using BungeeCord?

No

Error log (if applicable)

logs not working

"/chc debug" output (strongly recommended)

debug.zip

Information about the issue/bug

I uncommented your join message and its not working.

MarkThePanda commented 3 days ago

I am also experiencing the same issue. Please see images and error messages. I am using purpur-1.20.6-2233.jar.

Screenshot 2024-07-04 233336

image

Error: ClassCastException: Cannot cast org.openjdk.nashorn.internal.runtime.Undefined to org.bukkit.Statistic

An example of First Join Message for 1.13+ versions. Uncomment the lines below if your server runs MC 1.13 or greater.

Please make sure to keep your first join message at the top of the file, above any other join message to avoid any issues.

THE NAME IS MISLEADING, IT STILL RECORDS TICKS DESPITE IT SAYING MINUTES

group firstjoinmessage require sender script player.getStatistic(Java.type("org.bukkit.Statistic").PLAY_ONE_TICK) <= 100 message: