Extension Examples

For developers' convenience, we have created several extension examples. They might help you understand how to develop certain functionality. Before implementing certain aspects of an extension, we recommend that you familiarize yourself with examples and their code. A task that you need to accomplish might be a typical one, and there is a chance that there is a ready implementation example that will help you speed up development.

The extension examples can be found on our GitHub page. You can install them into Plesk by using the Plesk administrator's interface.

Panel Stats

The extension enables external or third-party systems to retrieve statistics about Plesk usage. It is possible to retrieve data at a special URL. The data include information about the number of subscriptions, domains, customers, and resellers. The information can be presented in various formats. This extension can be useful for integration with external monitoring and statistics calculation systems.

The following techniques are demonstrated:

Panel News

The extension is a widget for the administrator's Home page in Plesk. It shows the latest news about Plesk (based on an RSS channel). The RSS feed is updated daily.

The following techniques are demonstrated:

Requests Tracker

The extension adds a request tracking system, which customers can use to file requests to the Plesk administrator. The administrator can comment on request tickets and close them.

The following techniques are demonstrated:

Module Example

A test extension intended to demonstrate various aspects of using the API.

The following techniques are demonstrated:

There are a number of other sample extensions available in our GitHub repository here. Look for the repositories with the ext- prefix, for example, ext-embed-js.