LPC icon indicating copy to clipboard operation
LPC copied to clipboard

Towny can't modify chat

Open roxandtol opened this issue 3 years ago • 4 comments

Sometimes, LPC doesn't allow other plugins to modify chat, for example, in Towny, when you're talking in a different channel, there isn't a town tag

roxandtol avatar Aug 18 '22 15:08 roxandtol

it does not let Trollboss also modify chat, for example on trollboss there is a feature called garbage which makes the user say garbage when he talks, with LPC it let the user say his real chat instead which means yeah it wont let plugins modify chat.

antibitcoin avatar Sep 09 '22 09:09 antibitcoin

Sometimes, LPC doesn't allow other plugins to modify chat, for example, in Towny, when you're talking in a different channel, there isn't a town tag

however I think your issue is unrelated you can add the placeholder for towny in LPC but as for my issue I have no idea how to fix it, I shouldn't have opened a different issue.

antibitcoin avatar Sep 09 '22 09:09 antibitcoin

Cause of that problem is that the chat listener is using event priority set to HIGHEST - it means that LPC set chat formatting after all plugins modified already - they simply can't override placeholders in LPC chat formatting. Actually it's really stupid that LPC uses event priority HIGEST and it should be changed to LOWEST

P3ridot avatar Nov 08 '22 22:11 P3ridot

I have the same issue

KenterWasTaken avatar Jun 20 '24 13:06 KenterWasTaken