kenan10
Taş Madencisi
- En iyi cevaplar
- 0
Beyler adamin gunde 1kere kullanmasini istiyom yani /oyna yazicak item vericek tekrar yazinca olmucak bi bakarmisiniz
Kod:
command /SansOyunuOlustur:
permission: Sans.Oyunu
description: Sans Köylüsü Oluşturmak Icin Kodtur
trigger:
spawn a priest
set {SansOyunu::%spawned villager%} to true
set the name of the spawned villager to "SansOyunu"
on rightclick on a priest:
player has permission "Sans.Oyna"
{SansOyunu::%clicked villager%} is true
open chest with 3 rows named "<Gold>|||--->>[<Aqua>SansOyunu<Gold>]<<---|||" to player
format slot 11 of player with Lima Wool named "&aONAYLA" with lore "&aSans Oyununu Kabul Etmek Icin Tiklayiniz" to close then run [make Player execute command "Oyna"]
format slot 17 of player with Red Wool named "&4REDDET" with lore "&4Sans Oyununu Reddetmek Icin Tiklayiniz" to close then run [make Player execute command "send "&4Oyun Bitti" To Player"]
Command /oyna:
Permission: Sans.Oyna
Permission Message: Boşversene
Trigger:
If {GunlukKullanim.%Player%} Is Greater Than 1:
Set {GunlukKullanim.%Player%} To 0
Wait 2 Seconds
Send "<Pink>Sans Oyunu Basliyor<Red>[][][][]<Green>[]" To Player
Wait 2 Seconds
Send "<Pink>Sans Oyunu Basliyor<Red>[][][]<Green>[][]" To Player
Wait 2 Seconds
Send "<Pink>Sans Oyunu Basliyor<Red>[][]<Green>[][][]" To Player
Wait 2 Seconds
Send "<Pink>Sans Oyunu Basliyor<Red>[]<Green>[][][][]" To Player
Wait 2 Seconds
Send "<Pink>Sans Oyunu Basliyor<Green>[][][][][]" To Player
Wait 3 Seconds
Send "<Green>Lutfen Bekleyiniz..." To Player
chance of 20%:
give 1 diamond Chestplate of protection 1 Named "&a&l&kSa&3ProfosionelChestplate&a&l&kAs"To player
chance of 20%:
give 1 Diamond Leggings of protection 1 Named "&a&l&kSa<Aqua>ProfosionelLeggings&a&l&kAs" to player
chance of 20%:
give 1 Diamond Boots of protection 1 Named "&a&l&kSa<Aqua>ProfosionelBoots&a&l&kAs" to player
chance of 20%:
give 1 Diamond Helmet Of Protection 1 Named "&a&l&kSa<Aqua>ProfosionelHelmet&a&l&kAs" to player
chance of 10%:
give 1 Diamond Sword of Sharpness 1 Named "&a&l&kSa<Aqua>ProfosionelSword&a&l&kAs" to player
chance of 10%:
give 1 Diamond Sword of Smite 1 Named "&a&l&kSa<Aqua>DarbeKilici&a&l&kAs" to player
chance of 15%:
Send "&2Hıyar Cikti" To Player
Else:
Send "<Red>Gunluk Oyun Hakkini Astin" To Player
on login:
{girdi.%player%} isn't set:
set {girdi.%player%} to true
add player to {sansköylü::*}
every 1 minute:
if "%hour%" is "23":
if "%minute%" is "59":
loop {sansköylü::*}:
set {GunlukKullanim.%loop-value%} to 1