Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- Prefix: &6[LOJA]
- # AAAAAAAAAA
- PermSetLoja: loja.setar
- PermAnunLoja: loja.anunciar
- PermDelLoja: loja.deletar
- # Set Loja
- CmdSetLoja: setloja
- PermSetLoja: loja.setar
- PermMsgSetLoja: &7* &6Comando exclusivo para jogadores VIPs
- MsgSetouLoja: &6* &eSua loja foi setada com sucesso!
- # Teleport Loja
- TempoTeleporte: 3
- MsgEsperar: &6Espere &e{@TempoTeleporte} &6segundos.
- Teleportado: &7Teleportado para a loja de
- SemLoja: &7não tem uma loja!
- command /{@CmdSetLoja}:
- permission: {@PermSetLoja}
- permission message: {@PermMsgSetLoja}
- trigger:
- set {loja.%player%} to location of player
- send "{@Prefix}"
- send "{@MsgSetouLoja}"
- send "&6* &eCaso queira anunciar sua loja utilize &7/anunciarloja&e."
- send "{@Prefix}"
- stop
- command /loja [<text>]:
- trigger:
- if arg 1 is set:
- if {loja.%arg 1%} is set:
- send "{@Prefix}"
- send "&7Espere &6{@TempoTeleporte} &7segundos"
- send "{@Prefix}"
- wait {@TempoTeleporte} seconds
- teleport player to {loja.%arg 1%}
- send "{@Prefix}"
- send "{@Teleportado} &e%arg 1%&6!"
- play raw sound "random.levelup" at player with pitch 1 volume 5
- set action bar of player to coloured "&6Bem-vindo a loja de &e%arg 1%"
- send "{@Prefix}"
- else:
- send "{@Prefix}"
- send "&e%arg 1% {@SemLoja}"
- send "{@Prefix}"
- stop
- else:
- send "{@Prefix}"
- send "&eUso correto: &6/loja <jogador>&e."
- send "{@Prefix}"
- command /anunciarloja:
- permission: {@PermAnunLoja}
- permission message: {@PermMsgSetLoja}
- trigger:
- if {loja.%player%} is set:
- set {_delay} to difference between {Esperar.Delay::%player%} and now
- if {_delay} is less than 1 minutes:
- send "{@Prefix}"
- send "&7Aguarde para usar este comando novamente."
- send "{@Prefix}"
- stop
- loop all players:
- set action bar of loop-player to coloured "&6[Loja] &7Vá a loja de &e%player%&7!"
- play raw sound "random.levelup" at loop-player with pitch 1 volume 5
- set {Esperar.Delay::%player%} to now
- broadcast "{@Prefix}"
- broadcast "&e%player% &6o convida para sua loja."
- broadcast "&eDigite &6/loja %player% &epara aceitar o convite."
- broadcast "{@Prefix}"
- set {FMegafone.Delay.%player%} to now
- stop
- else:
- send "{@Prefix}"
- send "&eVocê {@SemLoja}"
- send "{@Prefix}"
- command /deletarloja [<text>]:
- permission: {@PermDelLoja}
- permission message: {@PermMsgSetLoja}
- trigger:
- if {loja.%player%} is set:
- if arg 1 is set:
- if arg 1 is "confirmar":
- clear {loja.%player%}
- send "{@Prefix}"
- send "&7Sua loja foi excluida"
- send "{@Prefix}"
- stop
- else:
- wait 15 ticks
- play raw sound "random.chestopen" at player with pitch 1 volume 5
- open chest with 3 row named "&6» &7Confirmação" to player
- wait 5 ticks
- loop 26 times:
- add 1 to {_slot}
- format slot {_slot} of player with a blue stained glass pane named "&l" with lore "&l" to run ""
- format slot 0 of player with a blue stained glass pane named "&l" with lore "&l" to run ""
- format slot 10 of player with a light green wool named "&aConfirmar" with lore "&7Clique aqui para confirmar" to close then run [execute player command "deletarloja confirmar"]
- format slot 16 of player with a red wool named "&cCancelar" with lore "&7Clique aqui para cancelar" to close
- stop
- else:
- send "{@Prefix}"
- send "&eVocê {@SemLoja}"
- send "{@Prefix}"
- stop
Add Comment
Please, Sign In to add comment