My self written Wordpress wordpress plugin features a custom publish type. I wish to deploy a default template with this publish type. Can you really do that within the plugin's directory? I am unable to find any documentation about this.

Getting the wordpress plugin running "as they areInch appears easier to me than telling the consumer copying the default template for their theme's directory.

This information has a walkthrough from the functions you will need to include page templates inside your wordpress plugin:

It sohuld be defined on templates directory as single-xxxx.php