on load: make new data of all players with all keys "lastBedLocation" and value of location of world's spawn command /bed: trigger: set {_lastBed} to value of data "lastBedLocation" at player if {_lastBed} is not set: message "&cEn son uyuduğunuz bir yatak yok." else: teleport player to {_lastBed} message "&aEn son uyuduğunuz yatağa ışınlandınız." command /setwarp : trigger: set {_warpName} to lowercase(arg-1) set data {_warpName} of player to location of player message "&aWarp noktası '&e%{_warpName}%&a' oluşturuldu." command /warp : trigger: # Komut argümanı olarak verilen warp noktasına ışınlanın set {_warpName} to lowercase(arg-1) set {_warpLocation} to data {_warpName} of player if {_warpLocation} is not set: message "&c'%{_warpName}%' adında bir warp noktası bulunamadı." else: # Oyuncuyu warp noktasına ışınlayın teleport player to {_warpLocation} message "&a'%{_warpName}%' adlı warp noktasına ışınlandınız."