Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ynfuien/yupdatechecker
Plug-and-play update checker for plugins and datapacks that were downloaded from Modrinth!
https://github.com/ynfuien/yupdatechecker
Last synced: 5 days ago
JSON representation
Plug-and-play update checker for plugins and datapacks that were downloaded from Modrinth!
- Host: GitHub
- URL: https://github.com/ynfuien/yupdatechecker
- Owner: Ynfuien
- License: gpl-3.0
- Created: 2024-07-02T21:02:07.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-07-11T08:39:49.000Z (6 months ago)
- Last Synced: 2024-11-09T07:42:18.612Z (about 2 months ago)
- Language: Java
- Homepage: https://modrinth.com/plugin/yupdatechecker
- Size: 104 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Discord](https://img.shields.io/discord/1236019317208776786?style=flat&logo=discord&label=Discord&color=%235d6af2
)](https://discord.gg/kZJhKZ48j8)
# YUpdateChecker
Plugin and datapack update checker that works out of the box. No need to configure anything. Too good to be true? Well, yes. The catch is that it works only with projects downloaded from Modrinth, thanks to their awesome [API](https://docs.modrinth.com).Supports Paper 1.20+
## How it works?
It's really simple. Plugin hashes a file (.jar or .zip), checks the hash using Modrinth API and logs the results. Yep, that's it. Modrinth is doing the heavy lifting by hashing every single file that is uploaded and then making it available via their API. Only caveat is - you can't change the contents of a downloaded jar or datapack. So no editing `plugin.yml` or MC functions. That's how hashing works, different file - different hash. I mean, you can change it of course, it just won't be picked by the plugin ¯\\_(ツ)\_/¯### Additional info
- Messages are fully customizable with a lang file, supporting [PlaceholderAPI](https://github.com/PlaceholderAPI/PlaceholderAPI) and [MiniMessage](https://docs.advntr.dev/minimessage/index.html)
- Commands have tab completions
- Modrinth API is currently [rate limited](https://docs.modrinth.com/#section/Ratelimits) at 300 requests per minute per IP. Which means that an update check may take a little bit longer, if you have wayyy too many plugins/datapacks ~~or if you spam the check command~~. (Plugin makes 1 request per every Modrinth project that you use)# Download
You can download the plugin only on [Modrinth](https://modrinth.com/plugin/yupdatechecker) or compile it yourself.# Permissions
| Permission | Access to |
|--------------------------------|--------------------------------------|
| `yupdatechecker.admin` | /yuc \ |
| `yupdatechecker.updates` | /updates |
| `yupdatechecker.updates.check` | /updates check |
| `yupdatechecker.updates.show` | /updates show [plugins \| datapacks] |# Media
Checking updates
![Gif presents an usage of the in-game commands. "/updates check" command is entered. Plugin proceeds to check updates while showing an action bar with current progress status. Upon completion a message is sent with a suggestion of running "/updates show" next. After running it, general data about the check is shown: how many plugins and datapacks were found on Modrinth, how many is up to date, and how long it took to complete the check.](https://i.imgur.com/rea1vRx.gif)Looking through results
![Presented are results of "/updates show plugins" and "show datapacks". Those are split into pages of 10 items, each listed under one another, with a name of a plugin/datapack and an information whether it's up to date or whether it's X versions behind. Names of the projects can be hovered for additional info like description and current/new version numbers. When clicked it will open an url with the latest plugin/datapack version that meets the config and Minecraft version requirements.](https://i.imgur.com/llPpHuL.gif)# License
This project uses [GNU GPLv3](https://github.com/Ynfuien/YUpdateChecker/main/blob/LICENSE) license.