lambda-client / lambda

Minecraft utility mod coded in Kotlin
GNU Lesser General Public License v3.0
584 stars 146 forks source link

Log Data to Latest.log #125

Open HoratioGamer opened 3 years ago

HoratioGamer commented 3 years ago

Is your feature request related to a problem? Please describe. The problem is, data related to the state of a player account is inside Minecraft, and if one wants to automate things outside of minecraft, one must export data.

Describe the solution you'd like A module called "LogData" with checkboxes for various data -- current player coordinates, current player speed, etc. I would like the ability to report telemetry to the latest.log file.

Describe alternatives you've considered I have written programs to track the data coming out of Latest.log, however little of it relates to current in game player state so there are limited things that one can do.

Additional context I have written many programs in the past that send a text message to my phone under certain circumstances. I generally use TCL to read data from files, and under certain conditions send messages.

I wrote an extensive program to track my position in Q while in non-prio Q, make predictions, detect restarts, etc, and send notifications to my cell phone. I could literally be away from the keyboard, and I would get data that would allow me to plan daily activities without running back to my computer to check what position I was in Q.

Right now, one of my accounts is on a long walk and I am forced to use a slower travel method than I am used to but, it slips out of a groove and travels even slower from time to time, or can be stopped by grief. It would be an option to write a minder program that alerts me when my player stops moving, or when its speed is reduced, so I can return to my computer and get it back on track.

There are means to log death coordinates, however, a log of live coordinates leading to the death would sometimes be useful.

The VisualRange detections are far more interesting to read in the logs in hindsight, if one can look up the coordinates where the player was when these alerts were made.

ToxicAven commented 3 years ago

Hm, good idea, i'll see what i can work on. I have a 8 hour plane trip coming up, and will work on this to the best of my ability. I think i'll nickname this BlackBox

HoratioGamer commented 3 years ago

^ Good name

Logging frequency would be a needed parameter.