Перейти к содержимому
Mineforgian

PlaytimeLink

PlaceholderAPI extension for my velocity playtime plugin.

Загрузки
2K
Подписчики
9
Обновлён
10 мая 2025 г.
Лицензия
GPL-3.0-only

Опубликован 7 июля 2024 г.

PlayTimeLink logo

PlaceholderAPI extension for my velocity playtime plugin.

Simply add PlaytimeLink to your bukkit servers, download the new update for my velocity plugin, and the placeholders will start working immediately —no configuration required. (You only need to put the main playtime plugin to your velocity proxy, and this plugin only to your bukkit servers where you want placeholders.)

If you want to execute Rewards commands on the bukkit server, you'll need to add them in this plugin's config file. You can use the permission "vptlink.rewards.exempt" to exempt players from getting rewards.

Available Placeholders:

  • Individual Playtime:
  • %VPTlink_years% - Playtime years of a player.
  • %VPTlink_months% - Playtime months of a player.
  • %VPTlink_weeks% - Playtime weeks of a player.
  • %VPTlink_days% - Playtime days of a player.
  • %VPTlink_hours% - Playtime hours of a player.
  • %VPTlink_minutes% - Playtime minutes of a player.
  • %VPTlink_seconds% - Playtime seconds of a player.

  • %VPTlink_totalyears% - Total playtime of a player in years.
  • %VPTlink_totalmonths% - Total playtime of a player in months.
  • %VPTlink_totalweeks% - Total playtime of a player in weeks.
  • %VPTlink_totaldays% - Total playtime of a player in days.
  • %VPTlink_totalhours% - Total playtime of a player in hours.
  • %VPTlink_totalminutes% - Total playtime of a player in minutes.
  • %VPTlink_totalseconds% - Total playtime of a player in seconds.
  • %VPTlink_place% - Toplist position of the player.
  • Top Player Playtime:
  • %VPTlink_topname1% - Username of the top player
  • %VPTlink_toptime1_years% - Playtime years of the top player
  • %VPTlink_toptime1_months% - Playtime months of the top player
  • %VPTlink_toptime1_weeks% - Playtime weeks of the top player
  • %VPTlink_toptime1_days% - Playtime days of the top player
  • %VPTlink_toptime1_hours% - Playtime hours of the top player
  • %VPTlink_toptime1_minutes% - Playtime minutes of the top player
  • %VPTlink_toptime1_seconds% - Playtime seconds of the top player
  • %VPTlink_topname2% ... etc. - Continue this pattern for each player on the toplist, total playtime can also be used here, like: %VPTlink_toptime4_totalweeks%

Since v1.4.5, if you you wanna display playtime with hours as the max time format, like it used to be, you can do: %VPTlink_totalhours% hours %VPTlink_minutes% minutes %VPTlink_playtime_seconds% seconds for example. You can do the same pattern for any time unit you want to be the highest, you just need to put it as total, and the rest as normal.

Note: the plugin needs to be ran on Java 21 or newer. Bug reports and feature requests are welcome on github, thank you for the 1000 downloads.

Ченджлог

1.6Релиз1.21.6, 1.21.7, 1.21.8 · 10 мая 2025 г.

v1.6

  • Updated to java 21, which the plugin now requires.
  • Placeholders are now shorter, you no longer need to put "_playtime" in each of them.
  • Playtime is now processed in seconds instead of milliseconds.
  • The month and year placeholders now work properly and are more accurate.
  • Made it so the update checker now properly closes it's HttpClient after usage.
  • Updated libs.
1.5.6Релиз1.21.2, 1.21.3, 1.21.4 · 19 января 2025 г.

v1.5.6

  • Fixed two issues related to bukkit async tasks, which broke 1.8 compatibility. Thanks for finding & fixing one of them to amiralimollaei
1.5.5Релиз1.21.2, 1.21.3, 1.21.4 · 19 января 2025 г.

v1.5.5

  • Fixed multiple bugs with the rewards system.
  • Made it so you can now use the %player% placeholder when defining rewards.
  • Added the permission vptlink.rewards.exempt to make given players not receive rewards.
1.5.0Релиз1.21.2, 1.21.3, 1.21.4 · 2 января 2025 г.

v1.5.0

  • Made it so the %place% placeholder will now display your place in the total toplist, so now it will work for every player, not just the top 10 or whatever.
  • Fixed a bug where if you only used the %place% placeholder without the toplist ones, it didn't work.
  • Playtime syncing should be more optimal now in certain scenarios.
  • Smaller code improvements.
1.4.7Релиз1.21.2, 1.21.3, 1.21.4 · 9 декабря 2024 г.

v1.4.7

  • Fixed a bug where the toplist placeholders only worked till the 9th element.
  • Made the update checker work again by changing it to use the modrinth api.
1.4.6Релиз1.20.6, 1.21, 1.21.1 · 15 октября 2024 г.

v1.4.6

  • Fixed a bug where sometimes the placeholders wouldn't load when the server was restarted, by adding confirmation packets.
  • Added placeholders preloading.
  • Added multiple new placeholders (years, months, weeks, days).
  • Added total placeholders that display all of the playtime in the given time unit.
  • Made the message for the %VPTlink_place% placeholder configurable, when the player isn't in the toplist.
1.4.1Релиз1.20.6, 1.21, 1.21.1 · 8 октября 2024 г.

v1.4.1

  • Fixed an error that prevented the plugin from loading on linux based systems.
1.4Релиз1.20.6, 1.21, 1.21.1 · 4 октября 2024 г.

v1.4

  • -Added support for the rewards system to execute commands locally on the bukkit servers too.
  • -Fixed a bug where placeholders wouldn't update after the proxy was restarted.
  • -Updated some libs.

Комментарии

Загружаем…