pmmpStats APIs Plugin list Add a plugin
Add a plugin
Integrating pmmpStats into your plugin is very simple, just follow the following steps:

Note: pmmpStats use Poggit API so if your plugin is not on poggit you can't use our service!

1 - Create the pmmpStats folder inside your plugin

2 - Upload the pmmpStats core files

You can find these files here.

REMEMBER TO EDIT THE NAMESPACE!

3 - Add the task to the main file of the plugin

By adding this code:

                $this->getScheduler()->scheduleRepeatingTask(new pmmpStatsTask($this), 120*20);
            
REMEMBER TO IMPORT THE CLASS!

4 - Wait and see the statistics

Within a few minutes, statistics should be generated, and you can see them on the page https://pmmpstats.xyz/plugin/PluginName