
Issue with Towny placeholders & Papi
Ezals opened this issue ยท 1 comments
What steps will reproduce the problem?
- Install Towny, TownyChat, Vault, TAB, Papi. Then get the TownyChat extenstion for papi.
- Use either %townyadvanced_town_tag_override% or %townyadvanced_nation_tag_override% in TAB in the groups.yml section under tabprefix: "" .
- run the command /papi parse me %townyadvanced_town_tag_override%
What is the expected output?
Not sure, the TAB admin told me to run it, if it had an error it was towny's issue. I expected %townyadvanced_town_tag_override% to be my town name or tag in the tablist, but it showed the raw placeholder name: "%townyadvanced_town_tag_override%". This applies to %townyadvanced_nation_tag_override% aswell
Towny version
Towny 0.100.1.5
Server version
Minehut - Paper 1.19.4
Please use Pastebin.com to link the following files
- Your full server startup from the logs\latest.log:
- Your Towny config.yml: https://pastebin.com/Ndcp5MKr
- Your townyperms.yml: https://pastebin.com/kVneZmN7
- Your log's error: https://pastebin.com/5DhFUFTm
- TAB groups.yml: https://pastebin.com/PdQmr3RB
- TAB config.yml: https://pastebin.com/XGzGbDuQ
(optional) If this is to do with permissions,
5. Your permissions file:
(optional) If this is to do with chat,
6. Your chatconfig.yml:
7. Your channels.yml:
You can't do this:
papi_chat_formatting:
# When using PlaceholderAPI, and a tag would show both nation and town, this will determine how they are formatted.
both: '%rel_townyadvanced_color%[%n][%t] '
# When using PlaceholderAPI, and a tag would showing a town, this will determine how it is formatted.
town: '%rel_townyadvanced_color%[%s] '
# When using PlaceholderAPI, and a tag would show a nation, this will determine how it is formatted.
nation: '%rel_townyadvanced_color%[%s] '
You cannot put relational or any placeholder in your config's placeholder formatting section.