• 周年纪念勋章活动已圆满结束,如有已购买但仍未申请的用户,可以通过对应勋章的下载链接申请~
资源图标

LSE 统计玩家的游玩时间 1.0.2

版权类型
原创
版权链接
#
语言支持
其他
前置组件
LL
https://minebbs.com/liteloader/
适配版本(基岩)
  1. 全版本
本插件所用的计算方式为计分板,所以有需要时,可以使用计分板来获取资料
The calculation method used by this plugins is the scoreboard, so when necessary, you can use the scoreboard to obtain information

计分板(scoreboard):
playSec秒(sec)
playMin分(min)
playHours时(hour)
playDays天(day)

JavaScript:
const time_TW = ll.import('timecount','time_zh_TW') //获取玩家游玩时间 Get player play time (繁体中文,Traditional Chinese)
const time_CN = ll.import('timecount','time_zh_CN') //获取玩家游玩时间 Get player play time (简体中文,Simplified Chinese)
const time_Eng = ll.import('timecount','time_Eng') //获取玩家游玩时间 Get player play time (英文,English)
//可用在编写计分板/Bossbar插件时 Can use at writing sidebar or bossbar plugins
//例子 example
pl.setBossBar(1,'游玩时间 Play time' + time_CN(), 100 , 2)
作者
hi smailcup
价格
15金粒
下载
31
查看
945
首次发布
最后更新

评分

0.00 星 0 次评分

hi smailcup 的其他资源

最新更新

  1. 1.0.2

    增加import功能 add import function
  2. 修复插件Bug

    修复首次加载时的colorLog()的问题
后退
顶部 底部