Slimefun / Slimefun4

Slimefun 4 - A unique Spigot/Paper plugin that looks and feels like a modpack. We've been giving you backpacks, jetpacks, reactors and much more since 2013.
GNU General Public License v3.0
961 stars 549 forks source link

Add update warning to /sf versions #4096

Closed WalshyDev closed 7 months ago

WalshyDev commented 8 months ago

Description

Adds a "Update available" to /sf versions if someone isn't on the latest Slimefun version. Hovering over will tell the user they should update and not to report bugs on this version.

Needs https://github.com/baked-libs/dough/pull/245 merged

Proposed changes

Check if we're on the latest version in the versions command and if not, send a update available message.

image image

Related Issues (if applicable)

N/A

Checklist

TODO

github-actions[bot] commented 8 months ago

Your Pull Request was automatically labelled as: "🧹 Chores" Thank you for contributing to this project! ❤️

github-actions[bot] commented 8 months ago

Slimefun preview build

A Slimefun preview build is available for testing! Commit: 2960136a

https://preview-builds.walshy.dev/download/Slimefun/4096/2960136a

Note: This is not a supported build and is only here for the purposes of testing. Do not run this on a live server and do not report bugs anywhere but this PR!

sonarcloud[bot] commented 8 months ago

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

5 New issues
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud