This is the documentation for the publicly accessible Dalamud plugin API. See the rich presence plugin as an example.
All plugins have to implement the IDalamudPlugin interface that gives them access to objects like the chat command manager and game client information.