Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #=================================================================
- # ★--------------★
- # WebsCho©
- # VERSION 1.4
- # By Choco3224
- # ★--------------★
- #=================================================================
- options:
- #-Idiomas-
- esp: true
- #Mensage de reload
- msgreload: &aReload completado
- #-Webs-(modificar para cambiar las webs de /web y /webs)
- web1: &2Web: &fwww.enderplay.net
- web2: &6Tienda: &fshop.enderplay.net
- web3: &9Discord: &fhttps://discord.gg/FvMUmGc
- web4: &3Twitter: &f@twenderplay
- web5: &9Fb: &f/EnderPlayEs
- web6: &4Yotube: &fEnderPlay
- foro: &3Foro: &2www.enderplay.net
- discord: &6https://discord.gg/K84sU7S
- #Permisos
- perm1: webscho.admin
- perm2: webscho.ac
- MainPermission: webscho.use
- ReloadPermission: webscho.admin
- NoPermissionMSG: &cTu no tienes permisos.
- #-Prefix-
- Webs: &7[&6WebsCho&7]&f
- Webs1: &7[&6WebsCho&7]
- #-Actualizar-
- updater: true
- Autoupdate: true
- #-----------------------NO EDITAR---------------------------------
- #Sonidos
- Sound0: AMBIENCE_CAVE
- Sound1: NOTE_PLING
- Sound2: AMBIENCE_THUNDER
- Sound3: EXPLODE
- Sound4: NOTE_BASS
- Sound5: ORB_PICKUP
- Sound6: FIREWORK_TWINKLE2
- Sound7: NOTE_SNARE_DRUM
- Sound8: NOTE_BASS_GUITAR
- Sound9: FIRE_IGNITE
- Sound10: FIZZ
- Sound11: SUCCESSFUL_HIT
- Sound13: YOUR_SOUND
- Sound14: Choco324
- SoundVolume: 200.0
- #Version
- version: V1.5
- on load:
- message "&a-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-" to console
- message "&fNueva version!" to console
- message "&fVersion: 1.5 - Webscho by choco3224" to console
- message "&b-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-" to console
- #Editar / Edit
- command /foro:
- trigger:
- if {@esp} is true:
- message "{@Webs1} {@foro}"
- command /discord:
- trigger:
- if {@esp} is true:
- message "{@Webs1} {@discord}"
- command /web:
- trigger:
- if {@esp} is true:
- message "&6=================&3Info&6==================="
- message "{@web1}"
- message "{@web2}"
- message "{@web3}"
- message "{@web4}"
- message "{@web5}"
- message "{@web6}"
- message "&6=========================================="
- command /webs:
- trigger:
- if {@esp} is true:
- message "&6=================&3Info&6==================="
- message "{@web1}"
- message "{@web2}"
- message "{@web3}"
- message "{@web4}"
- message "{@web5}"
- message "{@web6}"
- message "&6=========================================="
- command /websversion:
- trigger:
- if {@esp} is true:
- message "&fVersion: 1.5 - Webscho by choco3224"
- command /webscho [<text>]:
- aliases: /webcho
- usage: /webscho help,update,reload,version
- trigger:
- if player has permission "{@perm1}":
- if arg 1 is "update":
- if {@updater} is true:
- wait 1 second
- if text from "" is not "{@version}":
- message "{@Webs} Nueva version disponible! &6Descarga de: &bhttps://www.spigotmc.org/resources/Websich.22174/"
- if text from "" is "{@version}":
- message "{@Webs} No hay actualizacion disponible."
- stop
- if arg 1 is "version":
- message "&6================================"
- message "&3Version1.5"
- message "&6==============★★★★=============="
- stop
- if arg 1 is "Help":
- message "&6====================================================="
- message "/webscho version - Version de WebsCho"
- message "/webscho update - &7Comprueba si hay actualizacion"
- message "/webscho reload &7Recarga el plugin"
- message "&6========================★★★★★★========================"
- if arg 1 is "reload":
- make console execute command "sk reload WebsCho.sk"
- wait 2 seconds
- message "{@msgreload}"
- stop
- #---UPDATE---
- on join:
- if {@updater} is true:
- player has permission "{@perm1}":
- wait 1 second
- if text from "https://pastebin.com/BmkWCtBp" is not "{@version}":
- message "{@Webs1} Nueva version disponible! &6Descarga de: &bhttps://www.spigotmc.org/resources/Websich.22174/"
- on skript unload:
- wait a tick
- execute console command "sk reload WebsCho"
- send "{@Webs1} Cargando actualizacion..." to console
- on skript load:
- execute console command "sk reload WebsCho"
- send "{@Webs1} Actualizado correctamente :D &a {@version}" to console
- every 300 seconds:
- if {@Autoupdate} is true:
- if text from "https://pastebin.com/BmkWCtBp" is not "{@version}":
- download from "https://enderplay.net/archivos/WebsCho.sk" to "plugins/Skript/scripts/WebsCho.sk"
- wait 5 ticks
- execute console command "skript reload WebsCho"
- wait 5 ticks
- loop all players:
- if loop-player is op:
- send "&e&lActualización WebsCho a la version {@version}" to loop-player
- send "&bActualización de la sección de opciones si es necesario!" to loop-player
- send "&aPor favor reporta cualquier bug!" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement