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

Receiver and sender group variables #2583

Closed envizar closed 4 months ago

envizar commented 4 months ago

Summary

add {receiver_group} and {sender_group} variables

What would happen if we didn't implement this feature? Why not having this feature is a problem?

This feature adds more customization to pm formatting

kangarko commented 4 months ago

What is the "group" - is it the permissions group from like LuckPerms?

envizar commented 4 months ago

Yes, it's like {player_group}, but usable in formats/pm-sender.yml and formats/pm-receiver.yml

envizar commented 4 months ago

Is it possible to get sender's prefix/suffix/group using javascript?

envizar commented 4 months ago

@kangarko will you add {receiver_group} and {sender_group}? It's small feature, but it will be very useful

kangarko commented 4 months ago

Probably not using JS since we dont pass the sender object there. It's a small feature but not requested by anyone except you and there are some technicalities to add it, I am happy to add it once more people support this idea.