We make available a sample provisioning module on GitHub. We recommend using this as a starting point for a custom module.
https://github.com/WHMCS/sample-provisioning-module
Provisioning Modules are located in the /modules/servers/ directory.
Info
Module names should be a single word, consisting of only lowercase letters and numbers. The name must start with a letter, and must be unique.