QA-Block

Description

The mod is for mods developers. The mod allow run ad-hoc lua scripts and browsing trough lua golbal variables namespace.

Reviews

Review

Do you recommend this mod?

  • Very helpful debugging aid

    This mod has two main functions: Browsing the global namespace, and running scripts. Even if you only use it for the first, it's still well worth it.

    Browsing the global namespace has a lot of useful functions: It's a great way to learn about the environment of Minetest with its data tables of registered items, constants, and also every API, documented or undocumented (mostly the former). Likewise with mods' APIs and data tables that are in the global namespace. Sometimes you spot a global that's not meant to be there and can go fix it - though other tools like Luacheck are meant to help with problems like that as well. Other times you want to look through and check what's registered in terms of ABMs, schematics, entities and so on.

    Although the presentation is not as ideal as a specialised view for developers or as easy to read as an Wuzzy's doc mod, you know you're getting the actual data when you view it through the QA Block and can refer to it in your code. You can't find everything with the QA Block of course - a lot of mods have local variables embedded in their code that can't be accessed from outside the mod. But QA block inspects the overall system and global namespace comprehensively.

    Review concludes in a comment

    1 comments

Releases

2025-11-07

Download

2025-11-07 02:13 UTC

2025-11-07 🔗

  • Add description and depends to mod.conf

2025-11-05

Download

2025-11-05 02:28 UTC

2025-11-05 🔗

  • Update global_variables.lua (#25)
  • Add scripts for listing fuel and cooking recipes
  • Exclude QA block from some checks

2022-09-12

Download

2022-09-19 06:11 UTC

2022-09-12 🔗

No release notes

2022-01-27

Download

2022-01-27 08:32 UTC

2022-01-27 🔗

No release notes

All releases

Information

Provides

qa_block

Dependencies

Required
No required dependencies
Optional
smartfs

Information

Type
Mod
Technical Name
qa_block
Languages
English
License
GPL-3.0-only
Maintenance State
Unknown
Added
2019-02-14 14:57 UTC
Maintainers
bell07