介绍
中文介绍正在准备中,下面暂时显示原文。
Player Behavior Record
Record player behavior and send to kafka.
Configuration
threadPoolSize
Thread pool size.
Default: 10
serverName
Server name, if you need install this mod on multiple servers, this could be used to identify which server the record is from.
Default: server
dataPointIntervalMs
Interval of data points for periodic record in milliseconds.
Default: 500
kafkaBootstrapServers
Kafka bootstrap servers.
Default: localhost:9092
kafkaReconnectBackoffMaxMs
Kafka reconnect backoff max ms.
Default: 5000
kafkaTopic
Kafka topic name.
Features
Player Location
Record player location with fixed interval.
Key: player_location
Value:
{
"time": "2024-01-01T00:00:00.000Z",
"serverName": "server",
"playerUUID": "00000000-0000-0000-0000-000000000000",
"playerName": "player",
"worldName": "minecraft:overworld",
"x": 0.0,
"y": 0.0,
"z": 0.0
}
Player Activity
Record player login/logout.and online time.
Key: player_activity
Value:
{
"time": "2024-01-01T00:00:00.000Z",
"serverName": "server",
"playerUUID": "00000000-0000-0000-0000-000000000000",
"playerName": "player",
"loginIP": "127.0.0.1",
"loginAt": "2024-01-01T00:00:00.000Z",
"logoutAt": "2024-01-01T00:00:00.000Z",
"onlineTimeSeconds": 0
}
常见问题
Player Behavior Record 支持哪些 Minecraft 版本?
Player Behavior Record 支持 Minecraft Java 版 1.16.5,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Player Behavior Record 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
评论
登录后评论和评分