TNTRun Timed Rewards icon

TNTRun Timed Rewards -----

Reward players in-game based on survival time playing TNTRun_reloaded | Placeholders | Leaderboards



Version 1.1 update
This update is for Spigot/Minecraft 1.13.2 - 1.17.1, and has been compiled with Spigot API 1.17.1.

Leaderboards can now be created for each arena using placeholders. Leaderboards can be based on total playing time in an arena and/or longest survival time in an arena.
Code (Java):
%tntruntimedrewards_lb_totaltime_player_ <position >_ <arena >%
%tntruntimedrewards_lb_totaltime_score_ <position >_ <arena >%
%tntruntimedrewards_lb_longesttime_player_ <position >_ <arena >%
%tntruntimedrewards_lb_longesttime_score_ <position >_ <arena >%
Example time based leaderboard for arena test15 using Holographic Displays:
Code (Java):
  - '&a&lTNTRun Time Leaderboard - test15'
  - '{slowest} &bPlaying Time 1) &e%tntruntimedrewards_lb_totaltime_player_1_test15% : %tntruntimedrewards_lb_totaltime_score_1_test15%'
  - '{slowest} &bPlaying Time 2) &e%tntruntimedrewards_lb_totaltime_player_2_test15% : %tntruntimedrewards_lb_totaltime_score_2_test15%'
  - '{slowest} &bPlaying Time 3) &e%tntruntimedrewards_lb_totaltime_player_3_test15% : %tntruntimedrewards_lb_totaltime_score_3_test15%'
  - -=-=-=-=-=-=-=-=-
  - '{slowest} &bLongest Survival 1) &e%tntruntimedrewards_lb_longest_player_1_test15% : %tntruntimedrewards_lb_longest_score_1_test15%'
  - '{slowest} &bLongest Survival 2) &e%tntruntimedrewards_lb_longest_player_2_test15% : %tntruntimedrewards_lb_longest_score_2_test15%'
  - '{slowest} &bLongest Survival 3) &e%tntruntimedrewards_lb_longest_player_3_test15% : %tntruntimedrewards_lb_longest_score_3_test15%'


Player names have been added to the stats file under the UUID key to make the lookup of offline players usernames in the leaderboards more efficient as they can be cached rather than needing an internet lookup. If a player changes their name, it will be automatically updated the next time they join the server.

Note that this plugin is currently compiled with Java 8 but I would like to move to Java 16, in line with TNTRun_reloaded, at some point.


Change Log
==========
  • add leaderboard per arena
  • add some leaderboard placeholders
  • add player name to stats file for caching

Please report any issues found either in the discussion pages, on GitHub or Discord - https://discord.gg/wFYSAS4
----------, Aug 31, 2021
Resource Information
Author:
----------
Total Downloads: 18
First Release: Mar 18, 2021
Last Update: Jun 4, 2024
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings