Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #--------------------------#
- #Criador : Frogguer
- #Nao remova os Creditos
- #--------------------------#
- command /set [<text>]:
- permission: set.setar
- permission message: &c[✖] Sem permissao Para Setar Locais
- trigger:
- if arg 1 is set:
- set {CL.%arg 1%} to location of player
- send "&a%arg 1% Setado Com Sucesso"
- if arg 1 is not set:
- send ""
- send "&c[✖] Você precisa colocar o nome deste Local"
- send ""
- stop
- on command:
- loop {CL::*}:
- if "%loop-index%" is "%command%":
- cancel the event
- if player has permission "Cl.%loop-index%" or "use.all":
- teleport player to {CL::%loop-index%}
- send "&6Teleportado!"
- else:
- send "&4Sem permissao"
- stop
- command /removerset [<text>]:
- permission: set.remover
- permission message: &cSem Permissao para Deletar Locais
- trigger:
- if arg 1 is set:
- if {CL.%arg 1%} is set:
- delete {CL.%arg 1%}
- send "%arg 1% Apagado Com Sucesso"
- if arg 1 is not set:
- send ""
- send "&c[✖] Vc Precisa Colocar o Nome Da Set"
- send ""
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement