Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # #!============[ DTagsVip ]============!# #
- # #! | Skript Feito Por: Delavor | !# #
- # #!============[ DTagsVip ]============!# #
- options:
- # Lista de tags
- ptag1: &7[&4»&7Minerador] &r # Tag que ele irá receber no chat.
- ttag1: minerador # Nome da tag que ele ira ter que digitar no /tag
- itag1: wooden pickaxe # Item que ficará no menu gui do /tags
- ptag2: &7[&4»&7Lenhador] &r
- ttag2: lenhador
- itag2: wooden axe
- ptag3: &7[&4»&7Pescador] &r
- ttag3: pescador
- itag3: fishing rod
- ptag4: &7[&4»&7Herbalista] &r
- ttag4: herbalista
- itag4: wooden hoe
- ptag5: &7[&4»&7Escavador] &r
- ttag5: escavador
- itag5: wooden spade
- ptag6: &7[&4»&7Assassino] &r
- ttag6: assassino
- itag6: wooden sword
- ptag7: &7[&4»&7Empresario] &r
- ttag7: empresario
- itag7: glowstone dust
- ptag8: &7[&4»&7Construtor] &r
- ttag8: construtor
- itag8: oak wood planks
- ptag9: &d[&4»&dLindinha] &r
- ttag9: lindinha
- itag9: rose
- # Tag do Servidor.
- servidor: &3[DTagsVip]
- # Mensagem sem permissão.
- sempermissao: &cVocê não é um player VIP.
- #Mensagem de usou a tag.
- usoutag: &aAproveite sua tag
- # Mensagem de comando incorreto.
- comandocorreto: &aUtilize /tag <nome>, para ver as tags use /tags.
- # Mensagem de tag não existe.
- tagnaoexiste: &cEssa tag não existe, veja a lista de tags use /tags.
- # Titulo do Menu Gui do /tags
- titulogui: &5&lTags do Servidor
- # Permissão do player pra usar uma tag
- permissao: DVipTags.use
- command /tag [<text>]:
- permission:{@permissao}
- permission message: {@servidor} {@sempermissao}
- trigger:
- if arg 1 is set:
- if arg 1 is "{@ttag1}":
- set tag of player replacer "groupprefix" to "{@ptag1}"
- set tag of player replacer "prefix" to "{@ptag1}"
- set {DTagsVip.%player%} to true
- message "{@servidor} {@usoutag} {@ptag1}"
- stop
- else if arg 1 is "{@ttag2}":
- set tag of player replacer "groupprefix" to "{@ptag2}"
- set tag of player replacer "prefix" to "{@ptag2}"
- set {DTagsVip.%player%} to true
- message "{@servidor} {@usoutag} {@ptag2}" to player
- stop
- else if arg 1 is "{@ttag3}":
- set tag of player replacer "groupprefix" to "{@ptag3}"
- set tag of player replacer "prefix" to "{@ptag3}"
- set {DTagsVip.%player%} to true
- message "{@servidor} {@usoutag} {@ptag3}" to player
- stop
- else if arg 1 is "{@ttag4}":
- set tag of player replacer "groupprefix" to "{@ptag4}"
- set tag of player replacer "prefix" to "{@ptag4}"
- set {DTagsVip.%player%} to true
- message "{@servidor} {@usoutag} {@ptag4}" to player
- stop
- else if arg 1 is "{@ttag5}":
- set tag of player replacer "groupprefix" to "{@ptag5}"
- set tag of player replacer "prefix" to "{@ptag5}"
- set {DTagsVip.%player%} to true
- message "{@servidor} {@usoutag} {@ptag5}" to player
- stop
- else if arg 1 is "{@ttag6}":
- set tag of player replacer "groupprefix" to "{@ptag6}"
- set tag of player replacer "prefix" to "{@ptag6}"
- set {DTagsVip.%player%} to true
- message "{@servidor} {@usoutag} {@ptag6}" to player
- stop
- else if arg 1 is "{@ttag7}":
- set tag of player replacer "groupprefix" to "{@ptag7}"
- set tag of player replacer "prefix" to "{@ptag7}"
- set {DTagsVip.%player%} to true
- message "{@servidor} {@usoutag} {@ptag7}" to player
- stop
- else if arg 1 is "{@ttag8}":
- set tag of player replacer "groupprefix" to "{@ptag8}"
- set tag of player replacer "prefix" to "{@ptag8}"
- set {DTagsVip.%player%} to true
- message "{@servidor} {@usoutag} {@ptag8}" to player
- stop
- else if arg 1 is "{@ttag9}":
- set tag of player replacer "groupprefix" to "{@ptag9}"
- set tag of player replacer "prefix" to "{@ptag9}"
- set {DTagsVip.%player%} to true
- message "{@servidor} {@usoutag} {@ptag9}" to player
- stop
- else:
- message "{@servidor} {@tagnaoexiste}" to player
- else:
- message "{@servidor} {@comandocorreto}"
- command /tags:
- trigger:
- open chest with 1 row named "{@titulogui}" to player
- format slot 0 of player with {@itag1} named "&b/tag {@ttag1}" with lore "{@ptag1}" to close then run [make player execute command "/tag {@ttag1}"]
- format slot 1 of player with {@itag2} named "&b/tag {@ttag2}" with lore "{@ptag2}" to close then run [make player execute command "/tag {@ttag2}"]
- format slot 2 of player with {@itag3} named "&b/tag {@ttag3}" with lore "{@ptag3}" to close then run [make player execute command "/tag {@ttag3}"]
- format slot 3 of player with {@itag4} named "&b/tag {@ttag4}" with lore "{@ptag4}" to close then run [make player execute command "/tag {@ttag4}"]
- format slot 4 of player with {@itag5} named "&b/tag {@ttag5}" with lore "{@ptag5}" to close then run [make player execute command "/tag {@ttag5}"]
- format slot 5 of player with {@itag6} named "&b/tag {@ttag6}" with lore "{@ptag6}" to close then run [make player execute command "/tag {@ttag6}"]
- format slot 6 of player with {@itag7} named "&b/tag {@ttag7}" with lore "{@ptag7}" to close then run [make player execute command "/tag {@ttag7}"]
- format slot 7 of player with {@itag8} named "&b/tag {@ttag8}" with lore "{@ptag8}" to close then run [make player execute command "/tag {@ttag8}"]
- format slot 8 of player with {@itag9} named "&b/tag {@ttag9}" with lore "{@ptag9}" to close then run [make player execute command "/tag {@ttag9}"]
- on disconnect:
- if {DTagsVip.%player%} is true:
- clear tag of player replacer "prefix"
- clear tag of player replacer "groupprefix"
- delete {DTagsVip.%player%}
- on script load:
- message "&3+--------------------------+" to console
- message " &aLigando Skript" to console
- message " &bSkript: &fDTagsVip" to console
- message " &bVersão: &f1.0" to console
- message " &bAutor: &fDelavor" to console
- message "&3+--------------------------+" to console
- on script unload:
- message "&3+--------------------------+" to console
- message " &cDesligando Skript" to console
- message " &bSkript: &fDTagsVip" to console
- message " &bVersão: &f1.0" to console
- message " &bAutor: &fDelavor" to console
- message "&3+--------------------------+" to console
Advertisement
Add Comment
Please, Sign In to add comment