Adapted for MS2 version 1.5.0-pl. Not supports miniShop1.