Score:0

How do you use wget to install files that change urls

co flag

I run a Minecraft server, but when I am trying to make it so every time the server starts, it would look for updates for plugins etc.

#!/bin/sh

wget -O EssentialsX.jar -P ~/Desktop/BlizzardMC/plugins https://ci.ender.zone/job/EssentialsX/lastSuccessfulBuild/artifact/jars/EssentialsX-2.19.0-dev+162-780aade.jar

This link will only get the current build. Once they update the plugin, the link will change. Now the link is useless. Is there a way to get the latest build or link change or something? Thanks

Nmath avatar
ng flag
See if the developers have a static link for the current version. Otherwise you might use the `-r` option of `wget` to download an entire directory recursively. In both cases, consider the possibility that your plan could backfire and cause problems with your software if an incorrect or incompatible version replaces a working one.
Blizzard avatar
co flag
Thanks, I’ll try that out
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.