kangarko / ChatControl-Red

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

1.20.4: Random prefix in times.rs only select the first 2 options. #2649

Closed Denial234 closed 2 months ago

Denial234 commented 2 months ago

"/version ChatControlRed" - plugin version

10.25.5

Are you using MySQL?

No

Are you using BungeeCord?

No

Error log (if applicable)

No response

"/chc debug" output (strongly recommended)

No response

Information about the issue/bug

When using the random prefix in times.rs it only sends out and randomized the first 2 options. group json-sample delay 600 seconds prefix [JSON] random message:

It will only send out message 1 & 2 randomly but never send out message 3 & 4

kangarko commented 2 months ago

I am geting json malformed error with your example: https://i.imgur.com/5ALaWlt.png

After removing the "prefix [JSON]" line it works fine: https://i.imgur.com/ZRgQMqg.png

Also make sure you update to tonights version please.

Denial234 commented 2 months ago

The problem wasn't the json format as i only sent an example. My actual timed.rs was setup just fine. Maybe i just got really unlucky when it came to the randomness of the messages and recieved message 1 & 2 multiple times in a row.

Denial234 commented 2 months ago

My bad

kangarko commented 2 months ago

No worries!