PintoPlaytime
一款简单的 Spigot 插件,用于追踪玩家的游戏时长
功能特性
- 将游戏时长存储在 SQLite 数据库 (playtimes.db) 中
- 手动设置玩家的游戏时长
- 查看玩家的游戏时长
- 授予权限并在玩家达成游戏时长里程碑时进行公告
- 使用
/playtimetop命令显示服务器前十名的游戏时长排行榜- 支持从排行榜中排除特定玩家
- 追踪任意玩家的登录次数
- AFK(挂机)检测
命令
/playtime <player> # 获取指定玩家的游戏时长和登录次数(如果玩家之前曾登录过,即使离线也能查询)/playtime <player> <time> # 将指定玩家的游戏时长设置为指定值(格式为 X[单位] - 例如 5h)/playtimetop # 显示前十名的游戏时长
权限
pintoplaytime.playtime.get.self # 允许玩家查看自己的游戏时长pintoplaytime.playtime.get.others # 允许玩家查看其他玩家的游戏时长pintoplaytime.playtime.set # 允许玩家设置任何玩家的游戏时长pintoplaytime.top # 允许玩家查看前十名的游戏时长
配置文件
Milestones(里程碑)包含一个“里程碑”列表。格式如下:
time- 达成里程碑所需的时间。使用 X[单位] 格式(例如 3h),支持的单位有 m[分钟], h[小时], d[天]message- 达成里程碑时发送的消息。使用RECIPIENT:MESSAGE格式。有效的接收者为 ALL(所有在线玩家)或 PLAYER(达成里程碑的玩家)。消息支持使用 '&' 的颜色代码permission- 达成里程碑时授予玩家的权限。
错误/漏洞
请在此项目的仓库中提交 Issue
PintoPlaytime
A simple spigot plugin to track playtime for players
Features
- Stores playtimes in a SQLite DataBase (playtimes.db)
- Manually set playtime for a player
- View playtime for player
- Give permissions and announce when a player gets a playtime milestone
- Show top ten playtimes on server with
/playtimetop- Exclude specific players from playtime leaderboard
- Track how many times any player has joined
- AFK detection
Commands
/playtime <player> # Get's specified player's playtime and join count (works offline if player has joined previously)/playtime <player> <time> # Set's specified player's playtime to specified value (format as X[unit] - e.g. 5h)/playtimetop # Shows top ten playtimes
Permissions
pintoplaytime.playtime.get.self # Allows player to view their own playtimepintoplaytime.playtime.get.others # Allows player to view other player's playtimepintoplaytime.playtime.set # Allows player to set any player's playtimepintoplaytime.top # Allows player to view top ten playtimes
Config
Milestones contains a list of 'milestones'. Format is:
time- time required for the milestone. Format using X[unit] (e.g. 3h) supported units are m[minutes], h[hours], d[days]message- message to send when the milestone is achieved. Format usingRECIPIENT:MESSAGE. Valid recipients are ALL (all online players) or PLAYER (the player who achieved the milestone). Message supports color codes with '&'permission- permission to give player when the milestone is achieved.
Errors/Bugs
Make an issue on this project's repository
版本游戏版本平台发布时间本站下载
正式版
1.5
PintoPlaytime 1.5
1.21.111.21.10 PaperSpigot 9 个月前 ·
0
1.21.11
1.21.10
1.21.9
1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21
Paper
Spigot
9 个月前
0
下载 PintoPlaytime
版本:1.5
游戏版本:1.21.11、1.21.10、1.21.9 等
平台:Paper、Spigot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.4
PintoPlaytime 1.4
1.21.111.21.10 PaperSpigot 1 年前 ·
0
1.21.11
1.21.10
1.21.9
1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21
Paper
Spigot
1 年前
0
下载 PintoPlaytime
版本:1.4
游戏版本:1.21.11、1.21.10、1.21.9 等
平台:Paper、Spigot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.3
PintoPlaytime 1.3
1.21.111.21.10 PaperSpigot 1 年前 ·
0
1.21.11
1.21.10
1.21.9
1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21
Paper
Spigot
1 年前
0
下载 PintoPlaytime
版本:1.3
游戏版本:1.21.11、1.21.10、1.21.9 等
平台:Paper、Spigot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.2
PintoPlaytime 1.2
1.21.111.21.10 PaperSpigot 1 年前 ·
0
1.21.11
1.21.10
1.21.9
1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21
Paper
Spigot
1 年前
0
下载 PintoPlaytime
版本:1.2
游戏版本:1.21.11、1.21.10、1.21.9 等
平台:Paper、Spigot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.1
PintoPlaytime 1.1
1.21.111.21.10 PaperSpigot 1 年前 ·
0
1.21.11
1.21.10
1.21.9
1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21
Paper
Spigot
1 年前
0
下载 PintoPlaytime
版本:1.1
游戏版本:1.21.11、1.21.10、1.21.9 等
平台:Paper、Spigot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.0
PintoPlaytime 1.0
1.21.111.21.10 PaperSpigot 1 年前 ·
0
1.21.11
1.21.10
1.21.9
1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21
Paper
Spigot
1 年前
0
下载 PintoPlaytime
版本:1.0
游戏版本:1.21.11、1.21.10、1.21.9 等
平台:Paper、Spigot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
1.5
正式版
2026-01-28
- 添加了 AFK(离开)检测,当玩家处于 AFK 状态时暂停游戏时长统计
- 修复了
/playtimetop命令中排除特定玩家名称的问题 - 为 playtimetop 添加了最小游戏时长选项(即玩家在
/playtimetop列表中显示所需的最小累计游戏时长) - 为两个命令添加了 Tab 键补全功能
- 修复了 playtimetop 值的排序问题(按游戏时长排序)
- Bug 修复
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
数据包事件PacketEvents
retrooper
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
前置科技
27
插件
ExyliaLib
ExyliaServices
ExyliaPlugins 的库。
前置实用
26
插件
ProAuthMeLogin
3623813757
通过对话框或铁砧界面帮助你的 Anthme
实用
16
插件
Vessel
muhdfdeen
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
生物存储
13
插件
Vivecraft Spigot Extension
fayer3
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
前置实用
12
插件
旅行地图
mysticdrew
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
冒险实用
12
评论 0
登录后参与评分
还没有评论,来抢沙发吧