BetterPlayTime 是一款现代化的插件,用于统计服务器中玩家的在线时长。它允许管理员轻松查看玩家的在线时长、浏览最活跃的玩家列表,并通过 PlaceholderAPI 在其他插件中使用这些时长数据。
功能:
- 自动追踪玩家在线时长
- 将玩家数据保存在 database.yml 中
- 支持在线和离线玩家
- 显示周、天、小时、分钟和秒
- 列出在线时长最高的玩家
- 清晰易读的排行榜
- TOP 排名位置也可通过 PlaceholderAPI 调用
- 支持 PlaceholderAPI
- 可启用或禁用单个时间单位
- 自定义秒、分钟、小时、天和周的词缀
命令:
/betterplaytime <player>
/betterplaytime top
/betterplaytime reload
- 重载 BetterPlayTime 的配置文件和语言文件
权限:
betterplaytime.reload
- 允许使用 /betterplaytime reload 命令。
占位符:
%betterplaytime_time% - 显示玩家当前的在线时长。
TOP 排行榜
%betterplaytime_top_1_name% - 显示排名第 1 的玩家名称。
%betterplaytime_top_1_time% - 显示排名第 1 的玩家的在线时长。
你可以将 "1" 替换为其他排名位置。
语言:
BetterPlayTime 默认包含英文和波兰语,同时也支持任何自定义语言。
默认语言文件:
messages/en.yml
messages/pl.yml
你可以通过在 messages 文件夹内创建新的语言文件来轻松添加自己的翻译,例如:
messages/de.yml
messages/cz.yml
然后在 config.yml 中设置所需的语言即可。
BetterPlayTime is a modern plugin for tracking player playtime on your server. It allows administrators to easily check player playtime, view the most active players and use playtime data in other plugins through PlaceholderAPI.
Features:
- Automatically tracks player playtime
- Saves player data in database.yml
- Supports both online and offline players
- Displays weeks, days, hours, minutes and seconds
- Displays players with the highest playtime
- Clean and easy-to-read ranking
- TOP ranking positions can also be used with PlaceholderAPI
- PlaceholderAPI support
- Enable or disable individual time units
- Customize suffixes for seconds, minutes, hours, days and weeks
Commands:
/betterplaytime <player>
- Shows the playtime of the selected player
/betterplaytime top
- Shows the TOP 10 players with the highest playtime
/betterplaytime reload
- Reloads BetterPlayTime configuration and language files
Permissions:
betterplaytime.reload
- Allows access to /betterplaytime reload.
Placeholders:
%betterplaytime_time% - Displays the player's current playtime.
TOP Ranking
%betterplaytime_top_1_name% - Displays the name of the player in TOP 1.
%betterplaytime_top_1_time% - Displays the playtime of the player in TOP 1.
You can replace "1" with another ranking position.
Language:
BetterPlayTime includes English and Polish by default, while also supporting any custom language.
Default language files:
messages/en.yml
messages/pl.yml
You can easily add your own translation by creating a new language file inside the messages folder, for example:
messages/de.yml
messages/cz.yml
Then simply set the desired language in config.yml.
评论 0
登录后参与评分
还没有评论,来抢沙发吧