[wAutoUpdater]  A Skript Effect for you AutoUpdate your skripts. icon

[wAutoUpdater] A Skript Effect for you AutoUpdate your skripts. -----

A AutoUpdater skript effect for your skripts, keep them all up-to-date ✅



wAutoUpdater Informations!
  • This skript add an AutoUpdate Syntax for any skript, so you don't need to download them whenever there's a new update
Dependencies:
Changelog (1.3):
  • + Effect now runs asynchronous
  • + Effect is now more clear
  • + Added discord server for support
Discord server for support:

Syntaxes:
  • 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
upload_2021-3-16_13-52-52.png
upload_2021-3-16_13-53-39.png
upload_2021-3-16_13-53-56.png
upload_2021-3-16_13-54-12.png
upload_2021-3-16_13-54-48.png

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 }!'
 
Resource Information
Author:
----------
Total Downloads: 249
First Release: Mar 15, 2021
Last Update: May 5, 2021
Category: ---------------
All-Time Rating:
2 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings