Skip to content
EMQ X Plugin Template and Demo
Erlang Makefile
Branch: master
Clone or download


This is a template plugin for the EMQ X broker. And you can see Plugin Development Guide to learning how to use it.

Plugin Config

Each plugin should have a 'etc/{plugin_name}.conf|config' file to store application config.

Authentication and ACL

emqx:hook('client.authenticate', fun ?MODULE:on_client_authenticate/2, [Env]).
emqx:hook('client.check_acl', fun ?MODULE:on_client_check_acl/5, [Env]).

Plugin and Hooks

Plugin Design

Hooks Design


Apache License Version 2.0


EMQ X Team.

You can’t perform that action at this time.