LBStats by aciid
获取玩家的 LogBlock 数据,如首次出现时间、最后出现时间、游戏时长、IP 地址等
命令 & 权限 & 配置: 点击此处

#
使用之前务必注意!!!
首先请确保在 LogBlock 配置文件中编辑以下行: logPlayerInfo: true
#
LBStats 是为取代不再活跃的 LogBlockStats 插件而编写的,其功能基本相同。该插件会读取你 LogBlock MySQL 数据库中的数据,并为玩家和控制台提供简单的命令来显示这些数据。
功能包括:
- 查看玩家的游戏时长
- 列出游戏时长最高的 x 名玩家
- 查看玩家的加入日期
- 查看玩家最后游玩的日期
- 显示玩家最后记录的 IP 地址
- 轻松将玩家最后记录的 IP 地址与其他玩家进行匹配
- 支持通配符的自定义消息,兼容任何语言!
+ 更多功能即将推出
更新日志:
Quote from LBStats v0.8:你必须重新生成(删除)你的配置文件以启用新功能!!
+ 修复了 keepalive 打开过多连接的问题
+ 在 config.yml 中添加了可配置的消息
+ 添加了重载命令
+ 调整了一些其他内容
Quote from LBStats v0.7:+ 修复了 keepalive 打开过多连接的问题(注:失败)
+ 添加了 ip match 命令。
+ 解析 IP 地址以显示更友好的格式
+ 调整了一些内容
Quote from LBStats v0.6:重新生成配置文件或添加以下行:
KeepAlive: 600
添加了保持活跃线程(keepalive 值为刻数,将在每个间隔检查 SQL 连接)
+ 许多小调整
Quote from LBStats v0.4:如果未提供名称,则使用命令发送者的名称进行查询
为错误命令和异常添加了更多的捕获处理和警告消息
更改了 info 命令,使其外观变得不那么美观但稳定性大大提高,从而避免了大量代码的重写。
Quote from LBStats v0.3:为错误命令添加了更多的捕获处理和警告消息
现在 hopefully 安排了 SQL 调用,因此数据库查询不应导致服务器卡顿
Quote from LBStats v0.2:添加了 /lbs info <player> 以打印该玩家的所有信息
在此处彼处进行调整,修复了拼写错误等。
Quote from LBStats v0.1:创建了插件!
LBStats by aciid
Get player LogBlock data such as first seen, last seen, play time, IP and more
Commands & permissions & config: CLICK HERE

#
BEFORE USING!!!
FIRST MAKE SURE TO EDIT THIS LINE IN LOGBLOCK CONFIG: logPlayerInfo: true
#
LBStats was written as a replacement for the inactive LogBlockStats plugin, the features are effectively the same. The plugin will read the data in your LogBlock MySQL database and provide players/console with simple commands to display the data.
Features include:
- See a players play time
- List x players with the highest play time
- See a players join date
- See a players last played date
- Show player's last recorded IP
- Easily match a player's last recorded ip to other players
- Custom messages with wildcards so compatible with any language!
+ More to come
Changelog:
Quote from LBStats v0.8:YOU MUST REGENERATE (delete) YOUR CONFIG TO UPDATE WITH NEW FEATURES!!
+ Fixed keepalive opening too many connections
+ Added configurable messages in config.yml
+ Added reload command
+ Tweaked some more things
Quote from LBStats v0.7:+ Fixed keepalive opening too many connections (edit: failed)
+ Added ip match command.
+ Parsed IP to display more friendly
+ Tweaked some things
Quote from LBStats v0.6:REGENERATE CONFIG OR ADD THE FOLLOWING LINE:
KeepAlive: 600
Added keep alive thread (keepalive value in ticks, will check sql connection at each interval)
+Many small tweaks
Quote from LBStats v0.4:If no name is provided then use command sender's name for lookups
Added even more catches and warning messages for bad commands and exceptions
Changed info command to be uglier but far more stable, saved rewriting a lot of code.
Quote from LBStats v0.3:Added more catches and warning messages for bad commands
Hopefully now schedules sql calls so database lookups should not lag the server
Quote from LBStats v0.2:Added /lbs info <player> to print all information on the player
Tweaked things here and there, fixed typos, etc.
Quote from LBStats v0.1:Created plugin!
评论 0
登录后参与评分
还没有评论,来抢沙发吧