jonahseguin / Reflex

A fast, accurate, and easy to use customizable AntiCheat for Spigot Minecraft servers
http://shawckz.com/project/reflex
8 stars 0 forks source link

Reflex Logger #44

Closed jonahseguin closed 7 years ago

jonahseguin commented 7 years ago

Create a custom reflex logging system with it's own log files.

Log Types

  1. In-depth details should be logged to a 'details' file so that we can analyze checks and issues.
  2. Per-player logs that can be captured for time periods and reviewed by administrators for in-depth details on how to improve checks

Example general log:

File name: plugins/Reflex/logs/2017-05-26.log

Example log lines

Format: [24 hr time]: [CATEGORY]

[10:01:05]: [PREVL] Shawckz for Fly (1/3) [10:01:05]: [PREVL] Shawckz for Fly (2/3) [10:01:05]: [PREVL] Shawckz for Fly (3/3) [10:01:05]: [FAIL] Shawckz failed Fly [lots of details] [10:01:05]: [SERVER] spiked TPS (19.89 --> 16.54) [10:01:10]: [ERROR] ReflexException:

Example per-player log:

File name: plugins/Reflex/playerlogs/2017-05-26_Shawckz_LOGNAME (player can prove a log name)

Example log lines

Format: [24 hr time-CURRENT_TICK]:

[10:11:50-01]: [PACKET] ClientBound KEEP_ALIVE [10:11:50-02]: [PACKET] ServerBound KeepAlive [10:11:50-01]: [PACKET] ServerBound POSITION_LOOK: x6 y10 z193 yaw90 pitch40

jonahseguin commented 7 years ago

TODO: Implement Per-player logs (later version?)