how to make a plugin

I wonder how can i make a plugin for use in ue4?
What are some of the basic steps to make a plugin?

I’ve learned by trial and error…
but maybe you could take a look at example plugins that ship with the engine.

Thanks to the Plugin Wizard most of the steps regarding plugin setup are covered for you.

  1. Launch Unreal Editor. Navigate to “Edit -> Plugins”. A new window will pop up.
  2. Click the green button “New plugin” in the lower right corner of this new window. Select the appropriate Plugin type and specify some additional information.
  3. ???
  4. Profit

I have merged the threads due to them being duplicates and people already responding to both.

I think this tutorial series(3 videos, but the first one is about creating plugin) could help you start: C++ Plugin Based State Machine: Game Code | 01 | Live Training | Unreal Engine - YouTube
Good luck.

That video was very helpful for me… (the first 20 minutes)… Give it a watch.