Removing Version Suffix from all jars #5187
-
Hello lads, I have a quick suggestion which would make automation for updating Essentials much better. I was thinking, it would be great if there was a change with how the files are listed, the directory structure, renamed all jar files to exclude any version names, and just leaving "Version" inside of the meta data. This is similar approach to plugins like Geyser, or Spigot. It would simply make life much easier, because instead of using the exact filename, we can do something like, https://github.com/EssentialsX/Essentials/releases/download/latest/EssentialsX.jar which will automatically, if the configuration is accepted; should automatically give the latest version, and it would just greatly improve how we use this plugin every day in our servers. Hope this finds some interest, thank you for reading, and have a good day. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 10 replies
-
Correction: This is a similar approach to Geyser and Floodgate |
Beta Was this translation helpful? Give feedback.
-
The version name is an important piece of information when you're updating plugin jars, as it tells you what versions you have at a glance (without starting up the server or opening the It is bad practice to automate any plugin updates in the first place - you should check what's changed in recent dev builds or read the full changelog for stable builds, then take backups of EssentialsX data and apply any config changes as required to avoid losing any data. Automatic updates are a recipe for disaster and not something we will facilitate. When updating plugins manually, it is incredibly trivial to move files from a shell. Once you're confident that the new versions are suitable and your data is safely backed up, you can move or rename your existing jars with a wildcard (don't delete old jars until you've tested the new builds - you might need to roll back). This makes it largely redundant to remove the version string from the file name. |
Beta Was this translation helpful? Give feedback.
-
I'm OK with the version suffix, but I wish all the .jar files could be downloaded together in a ZIP file. That way you're guaranteed to get a matching set and you could simply extract the .jar files you want to use. It's also a convenient way to keep the matching files together as a backup. |
Beta Was this translation helpful? Give feedback.
-
If you use Paper, you can just toss all your plugin JARs into the |
Beta Was this translation helpful? Give feedback.
The version name is an important piece of information when you're updating plugin jars, as it tells you what versions you have at a glance (without starting up the server or opening the
plugin.yml
to check). We will not be removing these from our published jar file names.It is bad practice to automate any plugin updates in the first place - you should check what's changed in recent dev builds or read the full changelog for stable builds, then take backups of EssentialsX data and apply any config changes as required to avoid losing any data. Automatic updates are a recipe for disaster and not something we will facilitate.
When updating plugins manually, it is incredibly trivial to move fi…