Sprache

Player Behavior Record

Player Behavior Record

Modrinth

Record player behavior and send to kafka.

623 Downloads 6 Follower aktualisiert 24mo ago
neueste vPlayerBehaviorRecord-1.3.0 Modrinth
Fabric 1.16.5 – 1.16.5 ManagementUtility

Player Behavior Record

License
Modrith
Release

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
}

Versionen

Release
PlayerBehaviorRecord-1.3.0
fabric · 1.16.5 · 24mo ago
###    🚀 Features - ✨ update PlayerLocationData structure  -  by @AnzhiZhang…
170
Release
PlayerBehaviorRecord-1.2.2
fabric · 1.16.5 · 28mo ago
###    🐞 Bug Fixes - ✏️ fix onlineDurationSeconds name  -  by @AnzhiZhang…
81
Release
PlayerBehaviorRecord-1.2.1
fabric · 1.16.5 · 28mo ago
###    🐞 Bug Fixes - 🐛 use Instant to replace LocalDateTime  -  by @AnzhiZhang…
75
Release
PlayerBehaviorRecord-1.2.0
fabric · 1.16.5 · 28mo ago
###    🚀 Features - ✨ set argument of send method to Object in KafkaManager  -  by @AnzhiZhang…
82
Release
PlayerBehaviorRecord-1.1.1
fabric · 1.16.5 · 29mo ago
###    🐞 Bug Fixes - 🐛 shutdown executorService in BehaviorManager on server stopping  -  by @AnzhiZhang…
72
Release
PlayerBehaviorRecord-1.1.0
fabric · 1.16.5 · 29mo ago
###    🚀 Features - ✨ rename config playerLocationDataPointIntervalMs to dataPointIntervalMs  -  by @AnzhiZhang…
73
Release
PlayerBehaviorRecord-1.0.0
fabric · 1.16.5 · 29mo ago
###    🚀 Features - ✨ collect player location  -  by @AnzhiZhang…
75

Kommentare 0

Noch keine Kommentare. Sei der Erste, der seine Meinung teilt.