command /ucuskagidi [<integer>]:
permission: ucuskagidi.admin
permission message: &cBunun için yetkin yok!
trigger:
if arg-1 is not set:
send "&e/ucuskagidi &aadet" to player
if arg 1 is set:
give arg 1 of paper named "&cUçuş Kağıdı" to player
send "&a%arg 1%, &7adet Uçuş Kağıdı aldın!" to player
command /ucusadmin [<text>] [<player>]:
permission: ucuskagidi.admin
permission message: &cBunun için yetkin yok!
trigger:
if arg-1 is not set:
send "&e/ucusadmin &ayenile &asil" to player
if arg 1 is "sil":
if arg 2 is set:
delete {ucus::%arg 2%}
set {ucusizin::%arg 2%} to true
set player's fly mode to false
send "&a%arg 2%, &eadlı oyuncunun uçuşu silindi!" to player
on break:
if event-block is cobblestone:
if chance of 3%:
give 1 of paper named "&cUçuş Kağıdı" to player
on rightclick holding a paper:
if name of player's tool is "&cUçuş Kağıdı":
if {ucus::%player%} is not set:
set {ucus::%player%} to true
set {_adet} to amount of paper named "&cUçuş Kağıdı" in the player's inventory
remove {_adet} of player's tool from player
set player's fly mode to true
send "&a%{_adet}% &cdakikalık uçuş kazandın!" to player
set {_sure} to {_adet} * 60
wait {_sure} seconds
delete {ucus::%player%}
delete {ucusizin::%player%}
set player's fly mode to false
send "&cUçuş bitti." to player
else:
send "&cZaten kullanmışsın, bitmesini bekle!" to player
on death:
victim is a player:
if {ucus::%victim%} is set:
wait 2 seconds
set victim's fly mode to true
on player world change:
wait 2 seconds
if {ucus::%player%} is set:
set player's fly mode to true