QuiltServerTools / Ledger

A server-side logging mod for fabric 1.17+
https://www.quiltservertools.net/Ledger/latest/
GNU Lesser General Public License v3.0
190 stars 52 forks source link

feat!: item components based item logging, standalone column `count` for items and events #267

Closed zly2006 closed 1 month ago

zly2006 commented 6 months ago

In this PR:

zly2006 commented 6 months ago

Hello @PotatoPresident @DrexHD I want to change the type of timestamps from TEXT to BIGINT, is there any reason why not to use BIGINT for timestamps? for human reading?

One of the problems this PR tries to solve is that some client-side mods that help players to sort items, will produce a very spammy log when the player sorts items in a chest. imo we can also prevent spamming entity-kill logs for farms by squashing them into one event. To achieve this, the timestamp has to be divided into start and end two timestamps, and a count field is used to log how many events like this happened. The messages and i18n should also be updated.

DrexHD commented 1 month ago

Superseded by #275