Git Product home page Git Product logo

ifera-mc / updatenotifier Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 15.0 27 KB

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.

License: GNU Lesser General Public License v3.0

PHP 100.00%
virion php pocketmine pmmp pocketmine-plugin poggit updater notify plugin developers

updatenotifier's Introduction

UpdateNotifier

Discord Poggit License
Chat Poggit-CI 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($pluginName, $pluginVersion);
  • $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.

Poggit Setup

Edit the .poggit.yml in your repository and set it up like shown below.

--- 
branches:
- master
projects:
  PLUGIN_NAME:
    libs:
      - src: ifera-mc/UpdateNotifier/UpdateNotifier
        version: ^3.0.0
...

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:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.