Skript Paylaşımı Kredi ve Spawner Kutu Skriptti

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
D

ddarkk

Ziyaretçi
Bilgilendirme:
MaynGraft Yazılım Ekibi tarafından yapılmıştır. Güncellemeler konu altında bilgilendirme olarak verilecektir.
Ekte bulunan dosyayı indirip. ChestCommands/menu içerisine atınız.

Kredi Kutusu Skriptti nedir?:
Bu skript; Adminler tarafından belli bir komut ile oyunculara kredi verir. Oyuncular'da krediyle oyun parası, vip ve vip kitleri alabilirler.
Ekstra olarak 5000 lapis kazıp 1 kredi kazanıp biriktirdiği kredilere ile Kredi kutusu açabilirler. Şanslarına göre kredi kazanabilirler.
Tabi ki aldığı vipler 30 gün sonunda bitmektedir. Ekstra olarak kaç adet lapis kırdığını da görebilirler.


Spawner Kutusu Skriptti nedir?:
Bu ise yetkili bir kişiye oyuncuya spawner kutusu verir. Kutuyu açar ve şansına göre bir spawner kazanır.
Spawner otomatik olarak verilmektedir.


Kredi Skript:
Aşağıdaki güncelleme notları bölümünden indirebilirsiniz.

Spawner Skriptti:
Kod:
# [---]  Coded By EnesAkkaya  [---] #
options:
    p: &3MC-TR &8>  #server ismi
   
command /spkutuver [<player>]:
    permission: spkutu.ver
    permission message: "{@p}" &cGerekli yetkiniz bulunmamakta
    trigger:
        give 1 of ender chest named "&b&lSpawner Kutusu" to arg 1

command /spbilgi:
    trigger:
        wait 0.5 seconds
        send "&6&m-------------------------------------------------"
        send "                  &3&lMC-TR Yardim                    "
        send "         &c&lWebsite: &b&lwww.mc-tr.com        "
        send "&6&m-------------------------------------------------"
        send "  "
        send "  "
        send "&6> &e/spkutuver &8<&cOyuncu&8> &r- &8(&6Admin&8)"  
        send "&7> &fOyuncuya spawnerkutusu verir. "

on place a ender chest:
    if tool's name is "&bSpawner Kutusu":
        cancel event
   
on rightclick with a ender chest:
    if display name of player's tool contains "&b&lSpawner Kutusu":
        cancel event
        remove 1 ender chest named "&b&lSpawner Kutusu" from player
        open chest with 3 rows named "&6&lSpawner Kutusu" to player
        wait a tick
        #!Add your items below
        add Iron Ingot named "&cIronGolem SP" to {_roll::*}
        add Leather named "&cInek SP" to {_roll::*}
        add Brick named "&5Domuz SP" to {_roll::*}
        add Wheat named "&2Moshroom SP" to {_roll::*}
        add Eye of Ender named "&2Enderman SP" to {_roll::*}
        #!Speed option safety net, so running 0 ticks doesn't crash your server
        set {_speedFinal} to 2
        #!Selector settings
        set {_Selector1} to 4
        set {_Selector2} to 22
        #!Main code below. This random integer is the length of the crate opening, which is random
        loop (random integer between 11 and 40) times:
            if inventory name of player's current inventory is not "&6&lSpawner Kutusu":
                stop
            #The 11 tells the script how many items to save
            set {_sel} to 11
            loop 11 times:
                #!This is the data saving for the scroll effect
                set {_sel2} to {_sel} - 1
                set {_item::%{_sel}%} to {_item::%{_sel2}%}
                subtract 1 from {_sel}
            set {_item::1} to a random element out of {_roll::*}
            #!This below just updates the GUI (53 means max slots per chest)
            loop integers between 0 and 26:
                if loop-number-2 is {_Selector1} or {_Selector2}:
                    set slot loop-number-2 of player's current inventory to light green stained glass named "&aKazandigin Spawner" with lore ""
                else:
                    set slot loop-number-2 of player's current inventory to black stained glass pane named "&cNitrado"
                loop 11 times:
                    if loop-number-3 = 1:
                        set slot 9 of player's current inventory to {_item::%loop-number-3%}
                    else if loop-number-3 = 2:
                        set slot 10 of player's current inventory to {_item::%loop-number-3%}
                    else if loop-number-3 = 3:
                        set slot 11 of player's current inventory to {_item::%loop-number-3%}
                    else if loop-number-3 = 4:
                        set slot 12 of player's current inventory to {_item::%loop-number-3%}
                    else if loop-number-3 = 5:
                        set slot 13 of player's current inventory to {_item::%loop-number-3%}
                    else if loop-number-3 = 6:
                        set slot 14 of player's current inventory to {_item::%loop-number-3%}
                    else if loop-number-3 = 7:
                        set slot 15 of player's current inventory to {_item::%loop-number-3%}
                    else if loop-number-3 = 8:
                        set slot 16 of player's current inventory to {_item::%loop-number-3%}
                    else if loop-number-3 = 9:
                        set slot 17 of player's current inventory to {_item::%loop-number-3%}
            #!This below is just sound. It plays it at the location of the player, so you can change it to client side sounds, etc.
            add 1 to {_sound}
            if {_sound} > 3:
                set {_sound} to 1
            if {_sound} = 1:
                play note pling at player with pitch 2
            if {_sound} = 2:
                play note pling at player with pitch 1
            if {_sound} = 3:
                play note pling at player with pitch 0.5
            #!This below causes the crate to slow down when it gets closer to the end of the animation. The more the percent, the longer the tick delay will be.
            add 1 to {_speed}
            #!This below is the ticks per lowering. Meaning it will lower the speed per every X number of loops
            if {_speed} is 3:
                set {_speed} to 0
                add 1 to {_speedFinal}
            loop {_speedFinal} times:
                wait a tick
        #!This is where you can give players or test for which item has won.
        broadcast "{@p} &c&l%player% &7Spawner kutusu acti."
        give player slot 13 of player's current inventory
       
on inventory click:
    if inventory name of player's current inventory is "&6Spawner Kutusu":
        cancel event
   
on rightclick with a Iron Ingot:
    if display name of player's tool contains "&cIronGolem SP":
        remove 1 Iron Ingot named "&cIronGolem SP" from player
        execute console command "/ss give %player% irongolem 1"
        send "{@p} &a&lBasarili! &6IronGolem SP envanterine geldi."

on rightclick with a Leather:
    if display name of player's tool contains "&cInek SP":
        remove 1 Leather named "&cInek SP" from player
        execute console command "/ss give %player% cow 1"
        send "{@p} &a&lBasarili! &6Inek SP envanterine geldi."
       
on rightclick with a Brick:
    if display name of player's tool contains "&5Domuz SP":
        remove 1 Brick named "&5Domuz SP" from player
        execute console command "/ss give %player% pig 1"
        send "{@p} &a&lBasarili! &6Domuz SP envanterine geldi."

on rightclick with a Wheat:
    if display name of player's tool contains "&2Moshroom SP":
        remove 1 Wheat named "&2Moshroom SP" from player
        execute console command "/ss give %player% mooshroom 1"
        send "{@p} &a&lBasarili! &6Moshroom SP envanterine geldi."
       
on rightclick with a Eye of Ender:
    if display name of player's tool contains "&2Enderman SP":
        remove 1 Eye of Ender named "&2Enderman SP" from player
        execute console command "/ss give %player% enderman 1"
        send "{@p} &a&lBasarili! &6Enderman SP envanterine geldi."



Gerekli Pluginler:

ChestCommands
Vault
Economy
GroupManager
SilkSpawner (Spawner Skriptti için)
Skript
SkQuery
SkRayfall


Resimler:

aEXAGz.png


2Zjl9q.png


NEkoOO.png


9LG7m5.png


Güncelleme notları:


# /kredigonder komutu getirildi. Oyuncular artık kendi aralarında kredi gönderebilecekler.

# Tabela sistemi getirildi. Tabelaya sağ tıklandığı takdirde oyuncuya kredisi gösterilecek. Aşağıdaki şekilde yazınız.

# Edit kazma eşyaları eklendi.

# Gerekli eklentiler hala aynıdır. ChestCommands menülerini kurmayı unutmayınız!

Kredi Skriptti(İndir):
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.


CreditVip, kaynağına benzer bir alt yapı ile yapılmıştır.
http://www.mc-tr.com/konu/creditvip-kredi-ile-vip-xp-vip-kitleri-oyun-parasi-satin-alma-beta.8005/
 
@ddarkk Sizden şunu istesem yaparmısınız 5000 lapis kırınca gui bi ekran olsun ordan xp alsınlar 5000 lapis kırınca?
 
Selam Bay ddarkk Çok Güzel Bir Skript, Kendi Skyblock sunucumda kullanmayı düşünüyorum.
 
Skript Alıntı.
 
Alıntı Skript
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst