TNTRun Timed Rewards icon

TNTRun Timed Rewards -----

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




This update is for servers running Spigot/Minecraft 1.20.6 with a minimum of Java 21, and has been compiled with Spigot API 1.20.6.

Change Log
=========
  • update to Spigot API 1.20.6
  • update to TNTRun_reloaded 9.28-SNAPSHOT
  • requires Java 21
  • api-version updated to 1.20.6
  • update deprecated TextComponent#fromLegacyText
  • update Spigot version checker to fix potential leak

Please report any issues found either in the discussion pages, on GitHub or Discord - https://discord.gg/wFYSAS4
----------, Jun 4, 2024

This update is for servers running Spigot/Minecraft 1.17.1 - 1.20.4 with a minimum of Java 17, and has been compiled with Spigot API 1.20.4.

Change Log
=========
  • update to Spigot API 1.20.4
  • update to TNTRun_reloaded 9.27-SNAPSHOT
  • requires Java17
  • api-version updated to 1.17
  • add support for hex colours in action bar messages

Please report any issues found either in the discussion pages, on GitHub or Discord - https://discord.gg/wFYSAS4
----------, Jan 23, 2024

This update is for servers running Spigot/Minecraft 1.16.5 - 1.20.1 with a minimum of Java 16, and has been compiled with Spigot API 1.20.1.

Updated for latest TNTRun_reloaded and Spigot API 1.20.1.
Added a new placeholder which will display a running total of the rewards earned during a game.

Change Log
=========
  • update to Spigot API 1.20.1
  • update to TNTRun_reloaded 9.25
  • allow placeholderAPI placeholders in message strings
  • new placeholder to display current arena earned reward

Please report any issues found either in the discussion pages, on GitHub or Discord - https://discord.gg/wFYSAS4
----------, Jun 19, 2023

This update is for servers running Spigot/Minecraft 1.16.5 - 1.19.3 with a minimum of Java 16, and has been compiled with Spigot API 1.19.3.

This update adds the option to reward the player with doublejumps instead of money or Minecraft items.
When the arena is registered with TTR an entry is created in the config.yml which should be set to true to enable doublejump rewards.
Code (YAML):
arena3:
    enabled
: false
    stats
: true
    useArenaCurrency
: false
    rewardDoublejumps
: false
Existing TTR arenas will need that option manually added to the config.yml in order to enable doublejumps.


Change Log
==========
  • update to Spigot API 1.19.3
  • update to TNTRun_reloaded 9.22
  • add doublejumps as a reward option

Please report any issues found either in the discussion pages, on GitHub or Discord - https://discord.gg/wFYSAS4
----------, Dec 16, 2022

This update is for servers running Spigot/Minecraft 1.16.5 - 1.19 with a minimum of Java 16, and has been compiled with Spigot API 1.19.

Change Log
==========
  • update to Spigot API 1.19
  • fix bug where timer could continue to run if arena is in test mode

Please report any issues found either in the discussion pages, on GitHub or Discord - https://discord.gg/wFYSAS4
----------, Jun 13, 2022

This update is for servers running Spigot/Minecraft 1.16.5 - 1.18.2 with a minimum of Java 16, and has been compiled with Spigot API 1.18.2.

The main change is to allow other items to be rewarded instead of money. If an arena has been configured in TNTRun_reloaded to use a different currency (e.g. GOLD_NUGGET) then this plugin can be configured to reward the same currency instead of money.

Change Log
==========
  • update spigot to 1.18.2
  • update tntrun_reloaded dependency to 9.20-SNAPSHOT
  • add header comment to config.yml
  • allow arena currency to be used in place of money rewards

Please report any issues found either in the discussion pages, on GitHub or Discord - https://discord.gg/wFYSAS4
----------, May 6, 2022

This update is for servers running Spigot/Minecraft 1.16.5 - 1.17.1 with a minimum of Java 16, and has been compiled with Spigot API 1.17.1.

According to bstats metrics, 100% of servers using this plugin (with metrics enabled) are on Java 16, so to also keep in line with TNTRun_reloaded, it seemed like a good time to move this plugin up to require Java 16 also.

The only other change is that all message strings have now been added to messages.yml, so that they can be fully translated and/or formatted as desired.

Change Log
==========
  • update api-version to 1.16
  • add all message strings to messages.yml
  • update vault dependency details
  • update tntrun_reloaded dependency to 9.16
  • update to java 16
  • some small code improvements



Please report any issues found either in the discussion pages, on GitHub or Discord - https://discord.gg/wFYSAS4
----------, Nov 12, 2021

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

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

This update adds 2 new commands:
/ttr stats {arena} - display player's time stats for the arena
/ttr togglestats {arena} - toggle ON or OFF stats for an arena (requires tntruntimedrewards.admin permission)

The /ttr unregister {arena} command which removes an arena from TNTRunTimedRewards, will also clear all time stats relating to that arena.


Change Log
==========
  • add version update checker
  • add stats command
  • add togglestats command to enable/disable stats collection for arena
  • unregister arena will clear ALL ttr arena data including stats
  • allow setamount command to set reward to zero
  • allow setrepeat command to set repeat to zero
  • cancel task after first iteration if repeat is zero


Please report any issues found either in the discussion pages, on GitHub or Discord - https://discord.gg/wFYSAS4
----------, Aug 2, 2021

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

The players times are now saved on a per arena basis. After each game the number of seconds played is added to the player's total time played for that arena. Each player's longest survival time is also recorded for each arena.

The stats.yml file will now look like this:

Code (YAML):
Stats:
  <arena-name>
:
    <player-uuid>
:
      totaltime
: 156
      longesttime
: 34
The old entries were recorded as
Code (YAML):
Stats:
  <player-uuid>
:
      time
: 156
 
These old values will be ignored by the plugin. This data can either be manually added to player's new times or simply removed from the file.

When displaying the amount of reward given, the currency prefix and suffix (default 'coins') set in TNTRun_reloaded's config.yml will be used.

There is a new configuraton file, messages.yml, which will allow message strings to be changed or translated easily.
The in-game reward message has been moved to the new messages.yml file. The existing message in the config.yml should be removed manually.

When a player dies or wins a game, the survival time is sent as a chat message to the player. The units of time (default minutes and seconds) can be changed in the messages.yml.

New placeholders have been added, and the existing ones renamed to cater for the stats being saved per arena (see main overview page for details).


Change Log
==========
  • use currency prefix/suffix settings from tntrun_reloaded's config
  • save stats per arena
  • new placeholders per arena
  • add a messages.yml file
  • move reward message from config.yml to messages.yml
  • send message to player giving time survived e.g. "You survived for 3m 21s!"
  • time units are translatable in messages.yml
  • reload messages file when config is reloaded


Please report any issues found either in the discussion pages, on GitHub or Discord - https://discord.gg/wFYSAS4
----------, Jul 28, 2021

This plugin is a small add-on for TNTRun_reloaded and will only work with version 9.9 and later.

This is a small update which includes the ability to configure sounds related to the rewards, as well as some code improvements.
Code (YAML):
Sound:
  enabled
: true
  sound
: ENTITY_PLAYER_LEVELUP
  volume
: 5
  pitch
: 1.0
Please report any issues found either in the discussion pages or Discord - https://discord.gg/wFYSAS4
----------, Jun 7, 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