PHPackages                             davidglitch04/pluginupdater - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. davidglitch04/pluginupdater

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

davidglitch04/pluginupdater
===========================

A PocketMine-MP Virion for automatically updates the plugin in poggit

34PHP

Since May 19Pushed 3y ago1 watchersCompare

[ Source](https://github.com/DavidGlitch04/PluginUpdater)[ Packagist](https://packagist.org/packages/davidglitch04/pluginupdater)[ RSS](/packages/davidglitch04-pluginupdater/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (1)Used By (0)

PluginUpdater[![](icon.png)](icon.png) [![](https://camo.githubusercontent.com/51f3e826b85d378af680c964c1d9ddce6ac0f0f4b6908ffed30515c095c14e46/68747470733a2f2f706f676769742e706d6d702e696f2f63692e736869656c642f4461766964476c6974636830342f506c7567696e557064617465722f7e)](https://camo.githubusercontent.com/51f3e826b85d378af680c964c1d9ddce6ac0f0f4b6908ffed30515c095c14e46/68747470733a2f2f706f676769742e706d6d702e696f2f63692e736869656c642f4461766964476c6974636830342f506c7567696e557064617465722f7e)
================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#pluginupdater)

A PocketMine-MP Virion for automatically updates the plugin in poggit.

Usage:
======

[](#usage)

Installation is easy, you may get a compiled phar [here](https://poggit.pmmp.io/ci/DavidGlitch04/PluginUpdater/~), integrate the virion itself into your plugin or you could also use it as a composer library by running the command below:

`composer require davidglitch04/pluginupdater`

### Configuration

[](#configuration)

To have the plugin automatically update when a new update is available, copy the following to your defaults `config.yml`.

```
AutoUpdater:
  # Current version of the plugin
  "version": "1.0.0-beta"
  # Link to get new update information
  "url": "https://raw.githubusercontent.com////poggit_news.json"
  # This section helps users to turn off autoupdate
  "enable": true
```

### Update information

[](#update-information)

In order for the plugin to automatically download new plugin updates, create a file `poggit_news.json` in the repositories.

```
{
  "version": "1.0.0",
  "time": 1652576220,
  "link": "Release link",
  "download_link": "Download link",
  "patch_notes": "Note of new version"
}
```

"version" is the latest version of the plugin
"time" is time to release a new version
"link" is the link of the new version "download\_link" is the link for the plugin to download the update, for example: `https://poggit.pmmp.io/r/175835/iLand_dev-66.phar`
"patch\_notes" is the information of the new version

### Initialization and Finalization

[](#initialization-and-finalization)

```
use pocketmine\plugin\PluginBase;
use davidglitch04\PluginUpdater\PluginUpdater;

class Main extends PluginBase
{
    public function onEnable() : void{
        $PluginUpdater = PluginUpdater::checkUpdate($this, $this->getConfig()->get("AutoUpdater"));
        $PluginUpdater->check();
    }

    public function getPathFile() : string{
		return $this->getFile();
	}
}
```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4873e3ddb724b0eba55b1b12976d4c401375b912996ef149aa8eebf2ab040641?d=identicon)[DavidGlitch04](/maintainers/DavidGlitch04)

---

Top Contributors

[![poggit-bot](https://avatars.githubusercontent.com/u/22427965?v=4)](https://github.com/poggit-bot "poggit-bot (1 commits)")

### Embed Badge

![Health badge](/badges/davidglitch04-pluginupdater/health.svg)

```
[![Health](https://phpackages.com/badges/davidglitch04-pluginupdater/health.svg)](https://phpackages.com/packages/davidglitch04-pluginupdater)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
