To setup the spritesheet file itself, you have to make sure every pose has to be uniform with ALL frame amount. BUT the other motions with less frames can be left blank.
Then you can set it up in the plugin parameter with walk: 4, swing:6 etc etc