
适用于我的 velocity playtime 插件的 PlaceholderAPI 扩展。
只需将 PlaytimeLink 添加到你的 bukkit 服务器,下载 velocity 插件的新版本更新,占位符即可立即生效——无需任何配置。(你只需将主 playtime 插件放置于 velocity 代理端,而此插件仅放置在你希望使用占位符的 bukkit 服务器上。)
如果你希望在 bukkit 服务器上执行 Rewards 命令,则需要在该插件的配置文件中添加它们。你可以使用权限 "vptlink.rewards.exempt" 来豁免玩家获得奖励。
可用的占位符:
- 个人游戏时长:
- %VPTlink_years% - 玩家的年数游戏时长。
- %VPTlink_months% - 玩家的月数游戏时长。
- %VPTlink_weeks% - 玩家的周数游戏时长。
- %VPTlink_days% - 玩家的天数游戏时长。
- %VPTlink_hours% - 玩家的小时数游戏时长。
- %VPTlink_minutes% - 玩家的分钟数游戏时长。
- %VPTlink_seconds% - 玩家的秒数游戏时长。
- %VPTlink_totalyears% - 玩家的总年数游戏时长。
- %VPTlink_totalmonths% - 玩家的总月数游戏时长。
- %VPTlink_totalweeks% - 玩家的总周数游戏时长。
- %VPTlink_totaldays% - 玩家的总天数游戏时长。
- %VPTlink_totalhours% - 玩家的总小时数游戏时长。
- %VPTlink_totalminutes% - 玩家的总分钟数游戏时长。
- %VPTlink_totalseconds% - 玩家的总秒数游戏时长。
- %VPTlink_place% - 玩家在排行榜中的位置。
- 榜首玩家游戏时长:
- %VPTlink_topname1% - 排名第一玩家的用户名
- %VPTlink_toptime1_years% - 排名第一玩家的年数游戏时长
- %VPTlink_toptime1_months% - 排名第一玩家的月数游戏时长
- %VPTlink_toptime1_weeks% - 排名第一玩家的周数游戏时长
- %VPTlink_toptime1_days% - 排名第一玩家的天数游戏时长
- %VPTlink_toptime1_hours% - 排名第一玩家的小时数游戏时长
- %VPTlink_toptime1_minutes% - 排名第一玩家的分钟数游戏时长
- %VPTlink_toptime1_seconds% - 排名第一玩家的秒数游戏时长
- %VPTlink_topname2% ... 依此类推 - 对排行榜上的每位玩家遵循此模式,此处也可使用总游戏时长,例如:
%VPTlink_toptime4_totalweeks%
自 v1.4.5 起,如果你想以小时为最大时间单位显示游戏时长(如旧版方式),你可以这样写:%VPTlink_totalhours% hours %VPTlink_minutes% minutes %VPTlink_playtime_seconds% seconds 作为示例。对于任何你想设为最高单位的时段,均可采用相同模式,只需将其设为 total,其余保持普通格式即可。
注意:该插件需要运行在 Java 21 或更高版本上。 github 欢迎提交错误报告和功能请求,感谢大家达成 1000 次下载。

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.
下载 PlaytimeLink
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlaytimeLink
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlaytimeLink
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlaytimeLink
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlaytimeLink
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlaytimeLink
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlaytimeLink
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlaytimeLink
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlaytimeLink
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PlaytimeLink
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
v1.6
- 已更新至 Java 21,此为插件当前所需版本。
- 占位符现在更短,你不再需要在每个占位符中添加 "_playtime"。
- 游戏时长现以秒为单位处理,而非毫秒。
- 月份和年份占位符现已正常工作,且更加准确。
- 修复了更新检查器在使用后正确关闭 HttpClient 的问题。
- 更新了依赖库。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
创建用户友好的菜单以前往不同的世界
评论 0
登录后参与评分
还没有评论,来抢沙发吧