P-UPDATER icon

P-UPDATER -----

This Lib will help you to automatically check for new plugin updated version



P-UPDATER
_____________________________________________________________​

  • DESCRIPTION:
- This is the lib will help you to check your minecraft plugin update on spigot and download it.​

  • USAGE:
1. Add the PUpdater.jar to your project and minecraft server.​

2. Create a new PUpdater to start using: ​

PUpdater pupdate = new PUpdater(plugin);

3. Setup your pupdate with some attribute: ​

pupdate.setResourceId(your_plugin_id_on_spigot);
pupdate.setAction(action);

4. Start checking:​

pupdate.RunChecking();

P/s: If you set Action to CHECKnDOWNLOAD, you need to set download path:​

pupdate.setPath(your_path);
  • USE AUTOCHECK

1. Set AutoCheck to true:

pupdate.setAutoCheck(true);

2. Set time between each check:

pupdate.setTimetocheck(time);
3. Start AutoCheck:

pupdate.StartAutoCheck();
P/s: To stop autocheck mode, please use pupdate.setAutoCheck(false)


  • IMPORTANT:
This is the beta version, so there may be some errors. If you find it, please contact me to fix it. Thanks!



  • SOURCECODE:
Resource Information
Author:
----------
Total Downloads: 34
First Release: Aug 26, 2021
Last Update: Aug 26, 2021
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings