Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- ActuelVersion: 0.2
- OldVersion: 0.1
- on script load:
- set {_Ver} to text from "https://pastebin.com/raw/0AWRcmD8"
- if {_Ver} is not "0.2":
- broadcast "&b&l(Ura&3&lLoad&b&l) &fLe Loader a été mis à jour : &bVersion 1.0 %nl% &8(Copyright, NeiZow 2019)"
- send "&b&l[Update] &fMise a jour du Loader..." to console
- download from "CHANGER" to "plugins/Skript/scripts/Uraload.sk"
- send "&b&l[Update] &fMise a jour effectuée !" to console
- make console execute command "/sk reload Uraload"
- stop
- command /uraloader:
- permission: OP
- permission message: &cVous n'avez pas la permission !
- trigger:
- send "&b&l(Ura&3&lLoad&b&l) &fLe Loader est installé en version 1.1 sur ce serveur."
- command /uraload [<text>]:
- permission: OP
- permission message: &cVous n'avez pas la permission !
- trigger:
- if arg 1 is not set:
- send "&f&l&m&o-------&b&l&m--------------&f&l&m-------"
- send ""
- send "&b&l(Ura&3&lLoad&b&l) &f&nListe des skripts disponibles:"
- send " "
- execute console command "/tellraw %player% ["""",{""text"":""&f[&a⬇&f] "",""clickEvent"":{""action"":""run_command"",""value"":""/uraload live""},""hoverEvent"":{""action"":""show_text"",""value"":""&fTélécharger le skript""}},{""text"":""&f- Skript de /live ""},{""text"":""&8(Dev: NeiZow)""}]"
- execute console command "/tellraw %player% ["""",{""text"":""&f[&a⬇&f] "",""clickEvent"":{""action"":""run_command"",""value"":""/uraload other""},""hoverEvent"":{""action"":""show_text"",""value"":""&fTélécharger le skript""}},{""text"":""&f- Skript Other ""},{""text"":""&8(Dev: NeiZow & Plaayeur)""}]"
- send " "
- send "&f&l&m&o-------&b&l&m--------------&f&l&m-------"
- if arg 1 is "live":
- send "&b&l(Ura&3&lLoad&b&l) &fTéléchargement du skript: &bLive"
- delete file "plugins/Skript/scripts/Live.sk"
- create file "plugins/Skript/scripts/Live.sk"
- download from "https://pastebin.com/raw/gRXwit6Z" to "plugins/Skript/scripts/Live.sk"
- wait 10 seconds
- execute console command "sk reload Live"
- wait 50 ticks
- send "&b&l(Ura&3&lLoad&b&l) &fTéléchargement terminer !"
- wait 1 second
- send "&b&l(Ura&3&lLoad&b&l) &fCommande disponibles..."
- stop
- if arg 1 is "other":
- send "&b&l(Ura&3&lLoad&b&l) &fTéléchargement du skript: &bOther"
- delete file "plugins/Skript/scripts/Other.sk"
- create file "plugins/Skript/scripts/Other.sk"
- download from "https://pastebin.com/raw/UJi6F4Ac" to "plugins/Skript/scripts/Other.sk"
- wait 10 seconds
- execute console command "sk reload Other"
- wait 60 ticks
- send "&b&l(Ura&3&lLoad&b&l) &fTéléchargement terminer !"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement