command /otosat [<text>]:
permission: vip.sat
permission message: &4HATA &8» &fBunun için VIP Al!
trigger:
if arg 1 is "aç":
set {otosat.%player%} to true
send "&eBaşarıyla otosatma açıldı"
if arg 1 is "kapat":
set {otosat.%player%} to false
send "&eOtosatma kapandı"
every 10 seconds:
if {otosat.%player%} is true:
execute player command "sell istediğin item kodu"
otosatı açtıktan sonra satısı yapmıyorKod:command /otosat [<text>]: permission: vip.sat permission message: &4HATA &8» &fBunun için VIP Al! trigger: if arg 1 is "aç": set {otosat.%player%} to true send "&eBaşarıyla otosatma açıldı" if arg 1 is "kapat": set {otosat.%player%} to false send "&eOtosatma kapandı" every 10 seconds: if {otosat.%player%} is true: execute player command "sell istediğin item kodu"
maalesef gene olmadıBlok kodunu ayarladınmı?
Ayrıca o bloğu eline alıp /setworth tanefiyatı
şeklinde ayarlıycaksın.
options:
prefix: &f[&bBuraya Prefix&f]
command /otosat <text>:
description: 10 saniyede 1 item satar
permission: vip.otosat
permission message: &cBunun İçin Yetkin Yok
executable by: player
usage: /otosat <aktif/kapali>
trigger:
if arg 1 is "aktif":
send "{@prefix} &aOto item satmayı açtın!" to player
set {oto.%player%} to 1
stop
else if arg 1 is "kapali":
if {oto.%player%} is set:
delete {oto.%player%}
send "{@prefix} &aOto item satmayı kapattın!" to player
stop
else:
send "{@prefix} &cOto satma açık değil!" to player
stop
else:
send "{@prefix} &cNe dediğini anlamadım" to player
stop
every 10 seconds:
loop all players:
if {oto.%loop-player%} is set:
make loop-player execute command "sell hand"