- Katılım
- 1 Ara 2009
- Mesajlar
- 53
- Tepkime puanı
- 3
- Puanları
- 16
- İsim
- Celil
- Konbuyu başlatan
- Yöneticiler
- #1
ENVANTER SKRIPTI
Envanter skripti istediğiniz bir oyuncunun envanterinigörmenize ve oyuncunun üstündeki seti görmenize yarar.
GEREKLI PLUGINLER
SkriptTuSKe
EKRAN GORUNTULERI
Kod:
options:
perm: env.admin #Komutları kullanmak için gerekli olan yetki
noperm: &cMalesef, bu komutu kullanmak için yetkiniz yok. #Komutu kullanmak isteyen kişinin yetkisi yok ise iletilen mesaj
arg: &cBir oyuncu belirtiniz.
command /envanter [<player>]:
permission: env.admin
permission message: {@noperm}
trigger:
if arg 1 is set:
open virtual chest with size 1 named "&6%arg% &eOyuncu Menüsü" to player
make gui slot 3 of player with book named "&4&l* &6Envanter &4&l*" to run player command "/einv %arg%"
make gui slot 5 of player with iron chestplate named "&4&l* &eArmor &4&l*" to run player command "/earmor %arg%"
stop
else:
send "{@arg}" to player
stop
command /earmor [<player>]:
permission: env.admin
permission message: {@noperm}
trigger:
open virtual chest with size 1 named "&6%arg%" to player
set {armor.%arg 1%.1} to helmet of arg 1
set {armor.%arg 1%.2} to chestplate of arg 1
set {armor.%arg 1%.3} to leggings of arg 1
set {armor.%arg 1%.4} to boots of arg 1
make gui slot 0 of player with {armor.%arg 1%.1} to do nothing
make gui slot 1 of player with {armor.%arg 1%.2} to do nothing
make gui slot 2 of player with {armor.%arg 1%.3} to do nothing
make gui slot 3 of player with {armor.%arg 1%.4} to do nothing
make gui slot 7 of player with book named "&eYenile" to run player command "/earmor %arg%"
make gui slot 8 of player with redstone named "&cGeri" to run player command "/envanter %arg%"
stop
command /einv [<player>]:
permission: env.admin
permission message: {@noperm}
trigger:
open the arg-1's inventory for the player
stop