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

Suggestion: Add %sender% (representing sender's username/player_name) variable for global use #2573

Closed TheJoshue closed 7 months ago

TheJoshue commented 7 months ago

Summary

I need this variable to be used inside of formats "Receiver_Condition", i found out that there is no adequate placeholder and i really need this one

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

Simply this will add +1 placeholder to the list which can be very useful

kangarko commented 7 months ago

Sorry for the delay, sure, I can have a look on Monday.

TheJoshue commented 7 months ago

Thank you so much!

kangarko commented 7 months ago

Added: {sender} to supported variables and format keys.

TheJoshue commented 7 months ago

Added: {sender} to supported variables and format keys.

Nice, thank you very much

I tried to find an edit button on github wiki but i couldn't, probably i am not able to edit it or PR edits (i don't remember how does it work) Aswell this {sender} and there are some other placeholders that are natively there from CHCRED but not mentioned anywhere on wiki/Variables so wanted to ask you to add it for future usage (when you can of course)

More specifically, i don't see (i'll check again later but i already checked 3 times) anywhere mentioned that + can be inside of placeholder but at the beginning so like {+placeholder}

kangarko commented 7 months ago

Thanks! I've added these to the wiki: https://github.com/kangarko/ChatControl-Red/wiki/Variables#the--plus-letter-and-trailing-space-removal