Skip to content

Support wildcard in select parameters #350

@yqs112358

Description

@yqs112358

Is your feature request related to a problem?

Sometimes we need to batch search/purge logs that start or end with a specific pattern, for example:

  • All "stone-material" block?
  • Wood blocks of any type?
  • All records with player name begin with "bot_"?

Currently, Ledger's parameters does not support wildcard selection, and can only select a fixed target at one time.

Describe the solution you'd like.

Make all Ledger selector parameters support wildcards, just like:

/ledger purge source:bot_*
/ledger search object:minecraft:*_log

Describe alternatives you've considered.

None.

Agreements

  • I have searched for and ensured there isn't already an open issue regarding this.
  • I have ensured the feature I'm requesting isn't already in the latest supported mod version.

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions