-
-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: Top placeholders #5073
Comments
Would also love to see this. I tried a combination of AJLeaderboards and the ParseOther placeholder, but it doesn't return the town name if the player is offline (and then it crashes the server lol). |
It would take a % townyadvanced_town_balance_unformated% placeholder where there is no $, just the pure value |
Sorry to be that guy that revives dead issues, but I think this needs to be done. It's a good use. Just a suggestion though, I want to just bring attention to this issue. |
I would also love to see this. <3 |
- Use paper's isWaxed API for signs, courtesy of Warrior with PR #6744. - Add Town leaderboard PAPI Placeholders. - Closes #5073. - New Placeholders: - %townyadvanced_top_town_balance_n% - (Replace n with a number) Displays the nth Town by money in the town bank. - %townyadvanced_top_town_residents_n% - (Replace n with a number) Displays the nth Town by number of residents. - %townyadvanced_top_town_land_n% - (Replace n with a number) Displays the nth Town by number of townblocks claimed. - New Config Option: filters_colour_chat.papi_leaderboard_formatting.format" - Default: "%s - %s", - How the %townyadvanced_top_....% placeholders will appear, first %s being the town name, with the second being the balance, resident count or town size.
I would like some new placeholders to display the top residents, townblocks and bank money of towns/nations.
I know there are placeholders for individual values like
%townyadvanced_town_balance%
for money, but i would like something like%townyadvanced_top_town_balance_{n}%
where {n} would be number in top (1 being the best one).I struggled a lot with tons of 3rd party plugins to try making this but i just cant, because most plugins are designed for per player values and not whole townys.
EDIT: like the
/t list by
command but in a placeholder format to use in holographic displays, chat messages, etc.The text was updated successfully, but these errors were encountered: