Need help with Yanfly's Selection Control

[SOLVED]

[THIS] video demostrates that they configured the plugin so melee fighters in the back row can't attack (Attack command disabled), but the archer, a ranged fighter, could. I tried to replicate this, but after reading the plugin's documentation and experimenting for a couple of hours... I had no luck.

In less words: I want only archers and mages in the player's party to be able to attack from the back row.

If anyone has an idea of how he did this, I'd appreciate if you share it with me. Thanks.

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-yanflys-selection-control.108293/