Despical / TNTRun

Don't stop running to win and also you can do parkour on the blocks or can you?
https://spigotmc.org/resources/83196/
GNU General Public License v3.0
11 stars 2 forks source link

Leaderbord placeholder update - feature #10

Closed tantrum90 closed 1 day ago

tantrum90 commented 4 days ago

At the moment placeholders for TNTrun top survive name and value gives you the highest survive times which is great. But this should be calculated only if the player wins. At the moment the first and second player always have the same time score because the game ends in the same time for the winner and for the runner-up. The player which finished second, third etc. should not be calculated in the leaderboard.

%trlb_top_survive_name_1% -> Top players' name based on longest plays. %trlb_top_survive_value_1% -> Top players' longest survive time in "mm:ss" format.

Or the option is to create new leaderboard placeholder for this request.

Despical commented 3 days ago

Hey there,

I understand your situation, but since there is only one winner in TNT Run, every player may want to know their longest survival time. I suggest adding one more second to the winner's survival time. This will make a clear distinction between the first and second-place players.

I'm also transfering this issue to the TNT Run repository, as Despicaleaderboards simply acts as a bridge between plugins' APIs and PlaceholderAPI.

Best regards, Despical

tantrum90 commented 3 days ago

Can you create additional placeholder for Longest Winner Times? Thanks

Despical commented 3 days ago

What is it going to represent?

tantrum90 commented 3 days ago

As it is stated: Longest run from those who won the game.

tantrum90 commented 3 days ago

I suggest adding one more second to the winner's survival time. This will make a clear distinction between the first and second-place players.

How to do this?

Despical commented 3 days ago

I suggest adding one more second to the winner's survival time. This will make a clear distinction between the first and second-place players.

How to do this?

I am going to release an update this week probably.

Despical commented 3 days ago

As it is stated: Longest run from those who won the game.

Do you mean a win streak? Please clearly state what you want. I cannot read minds, sorry.

tantrum90 commented 2 days ago

I mean same as: %trlb_top_survive_name_1% -> Top players' name based on longest plays. %trlb_top_survive_value_1% -> Top players' longest survive time in "mm:ss" format. but only for those player that WON the game :)

Despical commented 1 day ago
# Should we only update players' longest survive statistic when they win?
Longest-Survive-On-Wins: false

Add and enable the option above when you update the plugin.