Effect: check for updates using the spigot url "The spigot url of your skript"
Or if you want a custom URL for checking updates/downloading:
check for updates using the custom url "Raw Url with the first line a for the version and the second line, the direct link for downloading"
Examples:
Code (Text):
on load:
check for updates using the spigot url "https://www.spigotmc.org/resources/wupdater-a-skript-effect-for-you-autoupdate-your-skripts.90173/"
command /checkupdates:
trigger:
check for updates using the custom url "https://pastebin.com/BVgahwGU"
If you are using a custom url then you need to edit the raw everytime you update the skripts and the new link for downloading!
ScreenShots
Messages:
Code (YAML):
# Do you want to download automatically the Skript # When a new version is available? AutoDownload: true
Code (YAML):
Skript:
Added: '&aThe Skript
{SkriptName
} has been added to check for update list!'
NewVersionFound: '&aA new version of the Skript
{SkriptName
} is available! Current
version: {CurrentVersion
}/New Version
: {NewVersion
}'
DownloadSucessful: '&aThe Skript
{SkriptName
} has been Downloaded and Moved to
the script folder Sucessfully!'
UpToDate: '&aThe Skript
{SkriptName
} is up to date!'
# Errors can trigger when checking/moving/downloading a new Skript version! # It can be caused by the site down or a Host Problem! Error:
SyntaxIncorrect: '&cYour Effect isnt right for the Skript
: {SkriptName
}'
CantCopy: - '&6An error has ocurred when trying to move
{SkriptName
}! to the scripts folder!'
- '&6You need to move the file manually'
- '&6It''s located at the root of the server/
{SkriptName
}.sk'
CantDownload: '&cAn error has ocurred when trying to download new version of the
Skript: {SkriptName
}!'
InvalidSpigotURL: '&cinvalid URL when trying to check updates for
{SkriptName
}!
You need to put the spigot page of your Skript if you are using the Spigot
url Syntax!'
InvalidRawURL: '&cInvalid URL when trying to update
{SkriptName
}! You need to
put a URL with support for raw'
CantCheck: '&cAn error has occured when trying to check for Updates for
: {SkriptName
}!'