TDR Playtime | Rewards | Mysql icon

TDR Playtime | Rewards | Mysql -----

Playtime plugin for minecraft servers with mysql support and custom milestones/rewards




Fix placeholders
----------, Nov 30, 2023

MongoDB:
Mongodb support has been added for storing playerdata and milestones

Messages in milestones:

Added command's to send messages to players when they receive a milestone.
/milestone addMessage <milestone> <message>
/repeatingmilestone addMessage <milestone> <message>

Bugfixes:

  • fix issue with milestone's and 0 playtime
  • Refresh translations on reload
  • Fix issue with yaml storage and placeholder api
----------, Nov 19, 2023

Remove a forgotten log
----------, Sep 10, 2023

AFK:
To not count afk time, it is possible to set countAfkTime to false in the config.
It is also possible to use the essentials api to check whether players are disabled, for this you set useEssentialsApi to true in the config

Language:
If your server version is newer or equal to 1.16 you can now use hex colors in the language files.
[​IMG]
[​IMG]
----------, Sep 9, 2023

Add fixes for milestones and repeating milestones that don't exists
----------, Sep 4, 2023

  • New caching system implemented for placeholders
  • Added some bug fixes for saving and loading users
  • Add test command for milestone rewards
  • Add set command for playtime
----------, Aug 12, 2023

Bugfixes:
- The bug with the wrong top list in the place holder has been fixed
- The limits are gone from the placeholders
- Fix bug with errors in the console if new players where in the top list
----------, Apr 11, 2023

Fixed bugs in the sql statements.
----------, Oct 1, 2022

Fix config for lower versions
----------, Sep 29, 2022

- Fixed an config error on lower minecraft versions
- Fixed an placeholder api error
----------, Sep 17, 2022

It's time for another update again and in this update we've added a few new placeholders, fixed the import of existing playtime and fixed a bugfix for booting on older minecraft versions.

The new placeholders are for the top playtimes:
%tdrplaytime_top_time_{1-10}_seconds% : Shows the number of seconds the top player has played.
%tdrplaytime_top_time_{1-10}_minutes% : Shows the number of minutes the top player has played.
%tdrplaytime_top_time_{1-10}_hours% : Shows the number of hours the top player has played.
%tdrplaytime_top_time_{1-10}_days% : Shows the number of days the top player has played.

The command added again is:

/playtime importPlaytime : this command imports the existing time in minecraft from all your players. WARNING: All playing time in the database will be overwritten.

The permission for it is : playtime.playtime.importPlaytime

bug fix:

There was an error that there was an error with versions before 1.17 this error is now fixed
----------, Sep 11, 2022

Fixed a bug that repeating milestones wont save with yaml.
Fixed an error with the config header on old versions
----------, Aug 16, 2022

1.11 update.png In the new update i created a new command system and implemented it.
Also there is now an afk check for the playtime.
You can indicate in the config whether afk time should be included and whether it should be reset when someone is talking, for example.

It is now also possible to edit milestones. You can edit the items and the commands via /milestone info <milestone> and then clicking on the commands or items. This also applies to the repeating milestone.
You can also remove milestones via /milestone remove <milestone>

This update also includes a new placeholder api placeholder : %tdrplaytime_top_time_{1-10}% showing you the time of the top 10.

Finally, this update also includes bug fixes such as displaying the top 10 with yaml as the database.
And the update checker should no longer give an error.
----------, Jul 30, 2022

Forgot to remove the debugging
----------, Feb 9, 2022

- fixed a bug in the classloader that the plugin wont start without placeholder api
----------, Feb 9, 2022

- fixed a bug in the classloader that the plugin wont start without placeholder api
----------, Feb 9, 2022

Imports optimized
File size reduced
----------, Jan 24, 2022

- listeners are moved to my custom core

- Better checks for mysql connections

- Fixed some error when playtime got updated
----------, Jan 20, 2022

New:

/playtime set : set the playtime of a player
Mysql table prefix (thanks to SomeKoder)
updates dependencies

Bug fixes:

Commands in rewards wil execute correct now
Placeholderapi expention wil format correct now
----------, Nov 24, 2021

In this update i fixed an error that appears when saving.
And in this update i added more placeholder api replacements
%tdrplaytime_top_names_{1-10}%: Show the name of one of the top 10 to let this work you need to replace the {1-10} with a number from 1 to 10

In this update i also added /playtime reload to reload the plugin
----------, Sep 17, 2021

In this version i made some bug fixes and made the repeating milestone

Bug fixes:
- Mysql reconnect automatically
- Safe error on disable has been fixed

New:
- Firework for milestones
- Repeating milestones
----------, Sep 9, 2021

Fixed a mysql error
----------, Jun 11, 2021

Added an API and a extra placeholderapi extention
----------, Jun 10, 2021

Update the download link
----------, May 2, 2021

- Make sql and yml async
- Added milestone support
- add placeholder api extention
----------, Apr 1, 2021

+ added reset command (/playtime reset <username>)
+ updated dependencies
----------, Feb 7, 2021

- top list fix for yaml users
----------, Nov 16, 2020

I remaked the whole plugin.

Commands:
/playtime
description: shows the online time of the player
permission : playtime.playtime
/playtime top
description: shows the top 10 online time
permission: playtime.playtime.top
/playtime <name>
description: shows other users online time
permission: playtime.playtime.other

Config:
Database:
In the database section you can put yaml and mysql to save the player time
----------, Nov 14, 2020

Update Command fout
----------, Oct 3, 2017

i uploaded the wrong file by update 1.0
----------, Oct 2, 2017

Resource Information
Author:
----------
Total Downloads: 10,398
First Release: Oct 2, 2017
Last Update: Nov 30, 2023
Category: ---------------
All-Time Rating:
24 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings