- Katılım
- 22 Ekim 2019
- Mesajlar
- 507
- Çözümler
- 1
- Elmaslar
- 155
- Puan
- 14.555
- Konum
- İzmir
- Minecraft
- yakurastype
?????ᴼᶠᶠᶦᶜᶦᵃˡ#8073
Merhabalar
Sunucumda 3 adet dünya var, 1 Tanesi (Hiroshima) paralı dünya. Diğer 2 bedava dünyadan Hiroshima'da ki bir oyuncuya tpa atılmamasını istiyorum.
Ama Hiroshimada ki bir oyuncu Hiroshima da ki bir başka oyuncuya tpa atabilecek. Yardımcı olabilecek var ise sevinirim
options:
prefix: &8&l»
command /tpa [<player>]:
trigger:
if arg-1 is set:
if arg-1 is not player:
if arg-1 is in "Hiroshima":
if player is in "dünya1" or "dünya2":
set {tpaa::%arg-1%} to player
send "{@prefix} &a%arg-1% &9Adlı kişiye tpa gönderdiniz."
send "{@prefix} &a%player% &3Adlı kişi size tpa gönderdi!" to arg-1
send "&c <command:/tpaccept><tooltip:&aKabul etmek için tıkla!>&8[&a&l✔&8] <reset><command:/tpdeny><tooltip:&cReddetmek için tıkla!>&8&l[&c&l✖&8]" to arg-1
else:
stop
else:
send "{@prefix} &cKendine tpa atamazsın!"
else:
send "{@prefix} &cTpa atacağın kişinin ismini gir."
command /tpdeny:
trigger:
if {tpaa::%player%} is set:
if player is in "dünya1" or "dünya2":
send "{@prefix} &a%player% &cTpa isteğini reddetti!" to {tpaa::%player%}
send "{@prefix} &a%{tpaa::%player%}% &cAdlı kişinin tpa isteğini reddetin!"
delete {tpaa::%player%}
else:
execute player command "ck"
else:
send "{@prefix} &cHiç tpa isteğin yok!"
command /tpaccept:
trigger:
if {tpaa::%player%} is set:
if player is in "dünya1" or "dünya2":
teleport {tpaa::%player%} to player
send "%player% isteğini kabul etti" to {tpaa::%player%}
send "{@prefix} &a%{tpaa::%player%}% &3Adlı kişinin tpa isteğini kabul ettin!"
delete {tpaa::%player%}
else:
stop
else:
send "{@prefix} &cHiç tpa isteğin yok!"
Kod:options: prefix: &8&l» command /tpa [<player>]: trigger: if arg-1 is set: if arg-1 is not player: if arg-1 is in "Hiroshima": if player is in "dünya1" or "dünya2": set {tpaa::%arg-1%} to player send "{@prefix} &a%arg-1% &9Adlı kişiye tpa gönderdiniz." send "{@prefix} &a%player% &3Adlı kişi size tpa gönderdi!" to arg-1 send "&c <command:/tpaccept><tooltip:&aKabul etmek için tıkla!>&8[&a&l✔&8] <reset><command:/tpdeny><tooltip:&cReddetmek için tıkla!>&8&l[&c&l✖&8]" to arg-1 else: stop else: send "{@prefix} &cKendine tpa atamazsın!" else: send "{@prefix} &cTpa atacağın kişinin ismini gir." command /tpdeny: trigger: if {tpaa::%player%} is set: if player is in "dünya1" or "dünya2": send "{@prefix} &a%player% &cTpa isteğini reddetti!" to {tpaa::%player%} send "{@prefix} &a%{tpaa::%player%}% &cAdlı kişinin tpa isteğini reddetin!" delete {tpaa::%player%} else: execute player command "ck" else: send "{@prefix} &cHiç tpa isteğin yok!" command /tpaccept: trigger: if {tpaa::%player%} is set: if player is in "dünya1" or "dünya2": teleport {tpaa::%player%} to player send "%player% isteğini kabul etti" to {tpaa::%player%} send "{@prefix} &a%{tpaa::%player%}% &3Adlı kişinin tpa isteğini kabul ettin!" delete {tpaa::%player%} else: stop else: send "{@prefix} &cHiç tpa isteğin yok!"
Kendi Sunucumda essentials tpa sı yerine bu tpa skriptini kullanıyorum
on command "/tpa":
set {_full_command} to full command
set {_command_args::*} to {_full_command} split at " "
if {_command_args::2} is set:
set {_p} to ({_commands_args::2} parsed as offline player)
if {_p}'s world is "Hiroshima": #<-- Dunya adi
cancel event
send "&cBu oyuncuya isinlanamazsin!"
stop
?????ᴼᶠᶠᶦᶜᶦᵃˡ#8073
essentialsın çeşitli tpa bugları var zaten burda essentials:tpa veya /tpask gibi şekilde komutlar var onun yerine yeni kod eklemek daha mantıklı "bana göre" sizin düşüncenize karışamam ama saygı duyuyorumYeni bir komut olusturmak yerine var olani degistirmek bence daha mantikli.
Bunu kullanmani oneririm (Calismasi lazim ancak test etmedim.) :
Umarim yardimci olabilmisimdir ^^Kod:on command "/tpa": set {_full_command} to full command set {_command_args::*} to {_full_command} split at " " if {_command_args::2} is set: set {_p} to ({_commands_args::2} parsed as offline player) if {_p}'s world is "Hiroshima": #<-- Dunya adi cancel event send "&cBu oyuncuya isinlanamazsin!" stop
Minecraft oynamadigimdan cok bilmiyorum normal /tpa komudu vs. sorunsuz calisiyor mu. Ancak zaten boyle bir komut mevcut ise tekrardan o komudu olusturmak bana sacma ve verimsiz geliyor, tabi ki bende sizin dusuncenize saygi duyuyorum.essentialsın çeşitli tpa bugları var zaten burda essentials:tpa veya /tpask gibi şekilde komutlar var onun yerine yeni kod eklemek daha mantıklı "bana göre" sizin düşüncenize karışamam ama saygı duyuyorum
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!