
Player Behavior Record
Record player behavior and send to kafka.
- Загрузки
- 627
- Подписчики
- 6
- Обновлён
- 2 июня 2024 г.
- Лицензия
- GPL-3.0-or-later
Опубликован 20 января 2024 г.
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
}
Ченджлог
PlayerBehaviorRecord-1.3.0Релиз1.16.5 · 2 июня 2024 г.
PlayerBehaviorRecord-1.2.2Релиз1.16.5 · 4 февраля 2024 г.
PlayerBehaviorRecord-1.2.1Релиз1.16.5 · 2 февраля 2024 г.
PlayerBehaviorRecord-1.2.0Релиз1.16.5 · 2 февраля 2024 г.
🚀 Features
- ✨ set argument of send method to Object in KafkaManager - by @AnzhiZhang (c1602)
- ✨ add loginIP in player_activity - by @AnzhiZhang (25f71)
🐞 Bug Fixes
- 🐛 fix player login IP source - by @AnzhiZhang (12c4f)
- 🐛 check isBot in PlayerActivityBehaviorManager - by @AnzhiZhang (a9716)
View changes on GitHub
PlayerBehaviorRecord-1.1.1Релиз1.16.5 · 21 января 2024 г.
🐞 Bug Fixes
- 🐛 shutdown executorService in BehaviorManager on server stopping - by @AnzhiZhang (7a516)
- 🐛 fix server stop lifecycle listener - by @AnzhiZhang (e320e)
View changes on GitHub
PlayerBehaviorRecord-1.1.0Релиз1.16.5 · 21 января 2024 г.
🚀 Features
- ✨ rename config playerLocationDataPointIntervalMs to dataPointIntervalMs - by @AnzhiZhang (39574)
- ✨ update KafkaManager - by @AnzhiZhang (4c12c)
- ✨ record player activity - by @AnzhiZhang (cb459)
- 🔧 set required fabricloader version to >=0.14.0 - by @AnzhiZhang (080da)
View changes on GitHub
PlayerBehaviorRecord-1.0.0Релиз1.16.5 · 20 января 2024 г.
🚀 Features
- ✨ collect player location - by @AnzhiZhang (abd48)
- ✨ send player location to kafka - by @AnzhiZhang (de5ac)
- ✨ add kafkaReconnectBackoffMaxMs config - by @AnzhiZhang (7483f)
- ✨ set kafka producer close timeout to 5 seconds - by @AnzhiZhang (b84d9)
- 🔊 log error when sending player location - by @AnzhiZhang (a9ef4)
- 🍱 update icon - by @AnzhiZhang (4e610)
🐞 Bug Fixes
- 🚨 fix kafka require slf4j warning - by @AnzhiZhang (1225e)
View changes on GitHub
Комментарии
Загружаем…