hat-plugin