[SK] İsteklerim

EnesXYZ

Kızıltaş Madencisi
Mesajlar
426
En iyi cevaplar
0
Beğeniler
138
Puanları
0
Arkadaşlar DevBukkitde bulunan PlayerHeads eklentisini Skripte geçirebilirmisiniz.
Bir kişiyi veya mobu öldürünce o kişinin kafası düşecek fakat bu belli bir oranla olacak.

Skript ile Seviye(Level) sistemi.
Bazı levellerde oyuncular ek izinler(permissions) kazanacak.
Level atlamak için belirli bir miktarda, para, tecrübe veya süre gerekecek.
 


MeeRach

Vi3e
Mesajlar
1,113
En iyi cevaplar
0
Beğeniler
580
Puanları
1,335
Ruh hali
1.

PHP:
options:
    kafa.dusme.orani: 10

on death:
    if victim is player:
        chance of {@kafa.dusme.orani}%:
            execute console command "/give %attacker% 397:3 1 player:%victim%"
on death:
    if victim is villager:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Villager"
on death:
    if victim is magma cube:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_LavaSlime"
on death:
    if victim is zombie pigman:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_PigZombie"
on death:
    if victim is blaze:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Blaze"
on death:
    if victim is cave spider:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_CaveSpider"
on death:
    if victim is chicken:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Chicken"
on death:
    if victim is cow:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Cow"
on death:
    if victim is enderman:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Enderman"
on death:
    if victim is ghast:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Ghast"
on death:
    if victim is iron golem:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Golem"
on death:
    if victim is ocelot:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Ocelot"
on death:
    if victim is pig:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Pig"
on death:
    if victim is sheep:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Sheep"
on death:
    if victim is slime:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Slime"
on death:
    if victim is spider:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Spider"
on death:
    if victim is squid:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Squid"

2.Kısa yaptım,devam ettirirsin diye ümit ediyorum...
PHP:
on login:
 {level.%player%} is not set:
  set {level.%player%} to 0
every 3 minutes:
 add 1 to {level.%player%}
 {level.%player%} is equal to 8:
  execute console command "/manuaddp %player% perm"
 

EnesXYZ

Kızıltaş Madencisi
Mesajlar
426
En iyi cevaplar
0
Beğeniler
138
Puanları
0
1.

PHP:
options:
    kafa.dusme.orani: 10

on death:
    if victim is player:
        chance of {@kafa.dusme.orani}%:
            execute console command "/give %attacker% 397:3 1 player:%victim%"
on death:
    if victim is villager:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Villager"
on death:
    if victim is magma cube:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_LavaSlime"
on death:
    if victim is zombie pigman:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_PigZombie"
on death:
    if victim is blaze:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Blaze"
on death:
    if victim is cave spider:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_CaveSpider"
on death:
    if victim is chicken:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Chicken"
on death:
    if victim is cow:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Cow"
on death:
    if victim is enderman:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Enderman"
on death:
    if victim is ghast:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Ghast"
on death:
    if victim is iron golem:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Golem"
on death:
    if victim is ocelot:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Ocelot"
on death:
    if victim is pig:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Pig"
on death:
    if victim is sheep:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Sheep"
on death:
    if victim is slime:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Slime"
on death:
    if victim is spider:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Spider"
on death:
    if victim is squid:
        chance of {@kafa.dusme.orani}%:
            make console execute command "/give %attacker% 397:3 1 player:MHF_Squid"

2.Kısa yaptım,devam ettirirsin diye ümit ediyorum...
PHP:
on login:
{level.%player%} is not set:
  set {level.%player%} to 0
every 3 minutes:
add 1 to {level.%player%}
{level.%player%} is equal to 8:
  execute console command "/manuaddp %player% perm"

DeathMessages skripti kullanıyorum ondada options var aynı .skya koyarsam çakışırmı ??
 

EnesXYZ

Kızıltaş Madencisi
Mesajlar
426
En iyi cevaplar
0
Beğeniler
138
Puanları
0
Peki bu level olayında oyuncunun başında [Seviye 1] gibi bir prefix olabilir mi?
Olmuyor ise ayrı ayrı groupmanagerde grup oluşturmam gerekecek .s
 

MeeRach

Vi3e
Mesajlar
1,113
En iyi cevaplar
0
Beğeniler
580
Puanları
1,335
Ruh hali
Peki bu level olayında oyuncunun başında [Seviye 1] gibi bir prefix olabilir mi?
Olmuyor ise ayrı ayrı groupmanagerde grup oluşturmam gerekecek .s
PHP:
on chat:
 cancel event
 broadcast "&c[Seviye %level.%player%] &a%player% &9>> &f%message%"
 

EnesXYZ

Kızıltaş Madencisi
Mesajlar
426
En iyi cevaplar
0
Beğeniler
138
Puanları
0
Kardeşim aklıma tek bir şey takılıyor aslında başından beri, sunucu reslenince bu leveller sıfırlanacak değilmi :( :(
 

Üst