basic hmapi pluggin