Skip to content

katorlys/Spigot-CheckUpdate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Spigot-CheckUpdate

License Pull Requests Issues Lines

Introduction

Check plugin update automatically when enabling it.

Usage

  1. Create a TXT file in your Github repository, and write down your plugin's latest version number in it.
  2. Use the method in onEnable() or anywhere you want, and remember to change %Github-user-name% into your username and %Github-repo% into your repo name:
PluginUpdater.check(this, "%Github-user-name%", "%Github-repo%");
  1. Change the version number in the TXT file when you update your plugin version. Remember to update the version of your plugin every time you publish it.

About

Check plugin update automatically when enabling it.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages