options:
nethermap: #Nether haritasının adı.
netherspawnloc: #Nether spawn noktasının koordinatları. Örnek: 15 21 -984
endmap: #End haritasının adı.
endspawnloc: #End spawn noktasının koordinatları. Örnek: 15 21 -984
command /kağıtal [<text>]:
permission: op
trigger:
if arg-1 is "nether" or "end":
if arg-1 is "nether":
give 1 paper named "&2Nether Gidiş Bileti" with lore "&bNether'a gitmek için bu elindeyken sağ tıkla!" to player
if arg-1 is "end":
give 1 paper named "&2End Gidiş Bileti" with lore "&bEnd'e gitmek için bu elindeyken sağ tıkla!" to player
else:
send "&4Hata!"
else:
send "&4Hata! &cKomutu Yanlış Kullandın. Kullanım: &6/KağıtAl Nether/End"
rightclick with paper:
if "%name of player's tool%" contains "&2Nether Gidiş Bileti":
log "%player%: Kağıt kullanarak Nether'a gitti." to "Nether&End"
remove 1 of player's tool from player's inventory
execute console command "tp %player% {@nethermap} {@netherspawnloc}"
if "%name of player's tool%" contains "&2End Gidiş Bileti":
log "%player%: Kağıt kullanarak End'e gitti." to "Nether&End"
remove 1 of player's tool from player's inventory
execute console command "tp %player% {@endmap} {@endspawnloc}"
on portal:
cancel event
send "&4Hata! &cNether ve End'e sadece kağıdına sağ tıklayarak gidebilirsin."