A handy virion for PocketMine-MP plugin developers that checks if a new release for a plugin is available on Poggit. If so then it notifies the user about the new release.
Clone or download
poggit-bot Create .poggit.yml
Poggit-CI is enabled for this repo by @JackMD
Visit the Poggit-CI page for this repo at https://poggit.pmmp.io/ci/JackMD/UpdateNotifier
Latest commit 98aae41 Dec 17, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/JackMD/UpdateNotifier Initial Commit Dec 17, 2018
.poggit.yml Create .poggit.yml Dec 17, 2018
LICENSE Initial commit Dec 17, 2018
README.md Update README.md Dec 17, 2018
virion.yml Initial Commit Dec 17, 2018

README.md

UpdateNotifier

HitCount License
HitCount GitHub license

A handy virion for PocketMine-MP plugin developers that checks if a new release for a plugin is available on Poggit. If so then it notifies the user about the new release.

Features

  • Super simple virion to be used in your plugins.
  • It checks if a new release for a plugin is available on Poggit. If so then it notifies the user about the new release.

API

JackMD\UpdateNotifier\UpdateNotifier::checkUpdate($plugin, $pluginName, $pluginVersion);
  • $plugin is the plugin whose update you want to check.
  • $pluginName is the name of the plugin whose update you want to check.
  • $pluginVersion is the current version of the plugin whose update you want to check.

  • For information regarding how to use a virion in a plugin please refer here.

Disclaimer

This plugin is designed to be used only by PocketMine-MP developers who wish to provide their users with the info of when an update to the plugin is available.

Credits:

  • Sandertv for helping me with the code. I know you said that you didn't want any credits but it only seems fair by doing so.