Add support for a qty: lookup flag that filters container or item events by per-event item quantity (e.g., only show entries where amount >= 64).
Use Case
Server moderators often need to identify suspicious large chest deposits or mass item moves.
Currently, /co l a:container i:diamond shows every transaction, even single items, which floods the output.
A qty: filter would make moderation and dupe investigation faster.
Example Command
/co l a:container i:diamond qty:>=64 t:24h
→ shows only container transactions where the logged amount is >= 64.
Minimal Scope:
- Applies only to container and item actions (where an amount field exists).
- Adds one simple SQL predicate (AND amount >= ?) with no schema changes.
- Does not change default lookup behavior.
Minimal or negligible performance impact
Filtering by amount is low-cost, the lookup already filters by time/action/world/item first.
This just adds a single numeric comparison to the existing query.
Implementation Notes
- Parser: accept
qty:(>|>=|=|<=|<)N.
- Validation: only valid for container/item actions.
- Docs: add a short note in
/co help lookup.
I can implement the feature and make a pull request if you guys like the idea.
Add support for a
qty:lookup flag that filters container or item events by per-event item quantity (e.g., only show entries where amount >= 64).Use Case
Server moderators often need to identify suspicious large chest deposits or mass item moves.
Currently,
/co l a:container i:diamondshows every transaction, even single items, which floods the output.A
qty:filter would make moderation and dupe investigation faster.Example Command
/co l a:container i:diamond qty:>=64 t:24h→ shows only container transactions where the logged amount is >= 64.
Minimal Scope:
Minimal or negligible performance impact
Filtering by
amountis low-cost, the lookup already filters by time/action/world/item first.This just adds a single numeric comparison to the existing query.
Implementation Notes
qty:(>|>=|=|<=|<)N./co help lookup.I can implement the feature and make a pull request if you guys like the idea.