kangarko / ChatControl-Red

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

1.20.4: {player_group} isn't working in messages/quit.rs #2602

Closed envizar closed 6 months ago

envizar commented 6 months ago

"/version ChatControlRed" - plugin version

10.24.6

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

{player_group} isn't working in messages/quit.rs изображение изображение

envizar commented 6 months ago

{player_prefix} and {player_suffix} also don't work

kangarko commented 6 months ago

At the time when the player quits, bukkit fires the event with limited player instance since he already disconnected and thus these variables which require an online player won't work.

envizar commented 6 months ago

At the time when the player quits, bukkit fires the event with limited player instance since he already disconnected and thus these variables which require an online player won't work.

You can just request data from luckperms, it works even for offline players

kangarko commented 6 months ago

I believe we already do, check if you are NOT having async option for leave messages in settings.yml > Messages.Async