Closed jonahseguin closed 7 years ago
Create a custom reflex logging system with it's own log files.
File name: plugins/Reflex/logs/2017-05-26.log
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:
File name: plugins/Reflex/playerlogs/2017-05-26_Shawckz_LOGNAME (player can prove a log name)
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
TODO: Implement Per-player logs (later version?)
Create a custom reflex logging system with it's own log files.
Log Types
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