Could store folder --> group mapping in player yaml API of CMC, see also https://github.com/DevotedMC/NameLayer/issues/48