{"id":"group-accessor-syntax","text":"When hosts are added with `groups=[\"minecraft\"]`, all modules for that group are accessible via `ftl.minecraft.module()` — the group name becomes a proxy attribute on the automation context.","truth_value":"IN","source":"repo:ftl2-servercraft/ftl2_servercraft/scripts/neoforge.py","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{"example":"# Register host in a group\nftl.add_host(hostname=\"server1\", ansible_host=ip,\n             ansible_user=\"root\", groups=[\"minecraft\"])\n\n# Access modules via group name\nawait ftl.minecraft.shell(cmd=\"systemctl status game-server\")\nawait ftl.minecraft.copy(src=\"config.yml\", dest=\"/opt/game/config.yml\")\nawait ftl.minecraft.service(name=\"game-server\", state=\"restarted\")"},"explanation":{"steps":[{"node":"group-accessor-syntax","truth_value":"IN","reason":"premise"}]}}