List Items (listitems) chat command for Minetest
Description:
Chat Commands:
- list: Lists registered items or entities available in the game.
- Invocation:
`
/list type [options] [string1] [string2] ...`
- type: List type (e.g. "items", "entities", etc.) (currently, if omitted, defaults to "items").
- options: Switches to control output behavior.
- -v: Display description (if available) after object name.
- string[1,2] ...: String parameter(s) to filter output.
- Without any string parameters, all objects registered in game are listed.
- With string parameters, only objects matching any of the strings will be listed.
- listitems: Alias for /list items.
- listentities: Alias for /list entities.
- listnodes: Alias for /list nodes.
- listores: Alias for /list ores.
- listtools: Alias for /list tools.
- Invocation:
`
/ [options] [string1] [string2] ...`
- command: Name of the command (e.g. listitems, listentities, etc.)

Licensing:
Requirements:
- Dependencies:
- Privileges: none
Documentation:
TODO:
- Add -d option to search within descriptions.