DYYVZ - FFA >> 1.8 , 1.9

VictoryTR

Taş Madencisi
En iyi cevaplar
0
sa.png

Artık sunucunuzda FFA atabileceksiniz hemde plugin olarak değil skript olarak

RESİMLER ;
(Resim sınırı olduğu için bazı resimleri birleştirdim)

1.png


RANK ÖRNEĞİ.PNG


RANK SATIN ALMA.PNG


Rank.PNG



PERMLER ;

Admin Permi - ffa.admin
Rank Kit Permi - ffa.kit.Rank


BİLGİ ;
Oyundaki puan ile rank satın alma

Diamond Ranklara Özel Efekt Menülü
Oyuncuya Özel Stats Menülü

Yanda Bulunan STAT
Olacak Eklentiler: Skript 2.2, Skqery, Wildscript, Skryfall , Umbaska


Linki görebilmek için üye olmanız gerekiyor. Giriş yap veya üye ol.

KOD ;
Kod:
#==============================================================================================================#
#
#                         SKRIPT TO DYVZ
#                            FFA
#                           DYVZ
#                           Version: 1.0
# Olacak Eklentiler: Skript 2.2, Skqery, Wildscript, Skryfall , Umbaska
# SKYPE:  dyavuz
#==============================================================================================================#


options:
    Prefix: &a&lFFA &b&l>> 

variables:
    {kills.%player%} = 0
    {deaths.%player%} = 0
    {ks.%player%} = 0
    
on join:
    set {ks.%player%} to 0
    make player execute command "ffa leave"
    stop
  
on chat:
    if {FFA.Join::Command} is true:
        if {FFA.Message.Rank.%player%} is set:
            cancel event
            broadcast "&a&l%{DUEL::PLAYER::%player%::ELO}% &c✯&b&l Diamond &c✯ &e%player% &b%message%"
        if {FFA.Message.Rank.%player%} is not set:           
            cancel event
            broadcast "&6&l%{DUEL::PLAYER::%player%::ELO}% &7%player% &a%message%"
        
every 10 seconds:
    loop all players:
        wipe loop-player's sidebar
        set name of sidebar of loop-player to "&6☢ &c&L<< &b&LFFA &c&l>> &6☢"
        set score "&e&l&m----------------------" in sidebar of loop-player to 23
        set score "&f" in sidebar of loop-player to 21
        set score "&c✯ &fKazanma : &a&l%number of all players%" in sidebar of loop-player to 20
        set score "&c✯ &fÖldürme :   &a&l%{kills.%loop-player%}%" in sidebar of loop-player to 16
        set score "&c✯ &fÖlme :   &a&l%{Deaths.%loop-player%}%" in sidebar of loop-player to 15 
        set score "&c✯ &fPuan :   &a&l%{DUEL::PLAYER::%loop-player%::ELO}%" in sidebar of loop-player to 14
        set score "&c✯ &fKillStreak :   &a&l%{ks.%loop-player%}%" in sidebar of loop-player to 15         
        set score "&f" in sidebar of loop-player to 12
        set score "&f" in sidebar of loop-player to 11
        set score "         &eDeveloper DenizYvz" in sidebar of loop-player to 9
        set score "&c&l&m----------------------" in sidebar of loop-player to 8       
        
        
command /itemsffa4798:
    trigger:
        wait 2 ticks
        set slot 4 of player to paper named "&6&lStats"
        set slot 0 of player to diamond sword named "&c&lKits"
        set slot 8 of player to redstone named "&b&lOptions"       
        set player's health to 20
        set player's hunger to 20
        set player's gamemode to survival
        
command /stats:
    trigger:
        open chest with 3 rows named "&aSTATS" to player
        format slot 10 of player with sunflower named "&b&lPuan" with lore "&a&l%{DUEL::PLAYER::%player%::ELO}%" to close
        format slot 12 of player with snowball named "&b&lÖlme" with lore "&a&l%{Deaths.%player%}%" to close
        format slot 14 of player with carrot named "&b&lÖldürme" with lore "&a&l%{kills.%player%}%" to close
        format slot 16 of player with ender pearl named "&b&lKillStreak" with lore "&a&l%{ks.%player%}%" to close
    

command /FFA [<text>] [<text>] [<text>]:
    aliases: ffa
    usage: &b&lType &c&l/ffa help
    trigger:
        if arg 1 is not set:
            send "c&l&m--------------------"
            send "&F"
            send "&e&l  > &a/ffa join       "
            send "&e&l  > &a/ffa leave      "
            send "&e&l  > &a/ffa spect      "   
            send "&f"
            send "c&l&m--------------------"
            if player has permission "ffa.admin":
                send "c&l&m---------------------------------"
                send "&f          Kodlar Admin"
                send "&f"               
                send "&2&l    > &b/ffa setspawn"
                send "&2&l    > &b/ffa setspect           &a&lCreator: &6&lDenizYvz "
                send "&2&l    > &b/ffa setreload            &d&l&n  FFA "
                send "&f"
                send "c&l&m----------------------------------"
                stop
            else:
                send "&c&lCreator DenizYvz"
        if arg 1 is "help":
            make player execute command "ffa help"
        if arg 1 is "setreload":
            wait 1 tick
            make player execute command "skript reload FFA"
            wait 2 second
            send "&c&lReload Başarılı"
        if arg 1 is "setspawn":
            if player has permission "ffa.admin":
                wait 1 tick
                set {FFA.Spawn} to location of player
                wait 3 tick
                send "&b&lSpawn Belirlendi"
        if arg 1 is "setspect":
            if player has permission "ffa.admin":
                wait 1 tick
                set {FFA.Setspect} to location of player
                wait 3 ticks
                send "&e&lSetSpect Belirlendi"               
        if arg 1 is "sethologram":
            make player execute command "ffa:hologram"
        if arg 1 is "join":
            if {FFA.Spawn} is set:
                teleport player to {FFA.Spawn}
                set {FFA.Join::Command} to on
                wait 5 ticks
                clear player's inventory
                wait 2 ticks
                make player execute command "itemsffa4798"
                wait 1 tick
                send "&b&l[-------------------------------]"
                send "&f"
                send "&c&l           > &6Sunucumuza Hoşgeldiniz &c&lFFA"
                send "&c&l     > &6Hile Veya Takım Olmak Ban Sebebidir"
                send "&f&l"
                send "&b&l[-------------------------------]"   
        if arg 1 is "leave":
            wait 1 second
            teleport player to {FFA.Spawn}
            clear player's inventory
            delete {FFA.Join::Command}
            send "&cYou have left the FFA mode !"
        if arg 1 is "spect":
            execute console command "gamemode 3 %player%"
            teleport player to {FFA.Setspect}
            send "&aOyuna Katılmanız İçin : - &b/ffa join"
            
                
on rightclick with diamond sword:
    tool's display name is "&c&lKits":
    wait 1 tick
    make player execute command "kitsffa"
 
on rightclick with paper:
    tool's display name is "&6&lStats":
    wait 1 tick
    make player execute command "stats"
    
on rightclick with redstone:
    tool's display name is "&b&lOptions":
    wait 1 tick
    make player execute command "options"   
    
command /options [<text>] [<text>]:
    trigger:
        if arg 1 is not set:
            open chest with 1 rows named "&c&l    AYARLAR" to player
            wait 3 ticks
            format slot 4 of player with sugar named "&e&lEffect" with lore "&cSadece Yetkililer Alır" to run [make player execute command "/options effect"]
            format slot 2 of player with enchantment table named "&a&lRank Satın Al" with lore "&cSadece Yetkililer Alır" to run [make player execute command "/options rank"]
        if arg 1 is "effect":     
            open chest with 1 rows named "&B&L       Effect on Kill" to player
            wait 5 ticks
            format slot 3 of player with emerald named "&e&LAktif" with lore "&2Aktif Etmek İçin Tıkla" to run [make player execute command "/options effect on"]
            format slot 5 of player with diamond named "&6Devredışı" with lore "&cDevre Dışı Bırakmak İçin Tıkla" to run [make player execute command "/options effect off"]
        if arg 1 is "effect":
            if arg 2 is "on":
                set {FFA.Options::Strike.%player%} to true
                send "&aYou have activated the death effect"
                close player's inventory
            if arg 2 is "off":
                delete {FFA.Options::Strike.%player%}
                send "&cYou have disabled the death effect"
                close player's inventory
        if arg 1 is "rank":
            open chest with 1 rows named "&B&L       RANKS" to player
            wait 3 ticks
            format slot 3 of player with book named "&e&LSatın Al > Diamond Rank" with lore "&2Tıkla!||&eBirçok Özelliğe Sahip Olcaksın!||&cTıklayarak Satın Alabilirsin" to run [make player execute command "/options rank buy"]
            format slot 5 of player with crafting table named "&6Örnek Bir Rank" with lore "&cTıkla ve neler olacağını gör" to run [make player execute command "/options rank example"]
        if arg 1 is "rank":
            if arg 2 is "example":
                close player's inventory
                wait 3 ticks
                send "&a&l%{DUEL::PLAYER::%player%::ELO}% &c✯&b&l Diamond &c✯ &e%player% &7&l> &bBunun Gibi Örnek , Satın Almak İçin Tıkla"
        if arg 1 is "rank":
            if arg 2 is "buy":
                if {FFA.Join::Command} is true:
                    if {DUEL::PLAYER::%player%::ELO} >= 1000:
                        remove 1000 from {DUEL::PLAYER::%player%::ELO}
                        set {FFA.Message.Rank.%player%} to true
                        close player's inventory
                        wait 1 second
                        play raw sound "random.anvil_use" at player with pitch 1 volume 2
                        send "&b&l--------------------------------------"
                        send "&f"
                        send "&a   Başarıyla &b&lDiamond &arank aldınız"
                        send "&f"
                        send "&b&l--------------------------------------"                       
                    else:
                        close player's inventory
                        wait 3 ticks
                        send "&b&l--------------------------------------"
                        send "&f"                   
                        send "      &cSenin Bu Kadar Puanın Yok. Puanın &b%{DUEL::PLAYER::%player%::ELO}% "
                        send "&f"
                        send "&b&l--------------------------------------"                     
command /kitsffa:
    trigger:
        open chest with 3 rows named "&c&lKits" to player
        format slot 11 of player with iron chestplate named "&b&lNormal" to close then run [make player execute command "/kit normal"]
        format slot 15 of player with diamond chestplate named "&c&lRank" to close then run [make player execute command "/kits rank"]
#Kits
command /kit normal:
    trigger:
        wait 3 ticks
        clear player's inventory
        wait 1 tick
        set slot 0 of player to iron sword named "&b&lSword Normal"
        set slot 1 of player to bow named "&c&lBow Normal"
        set slot 2 of player to fishing rod named "&b&lFishing Normal"
        set slot 9 of player to 16 arrow
        set slot 8 of player to 32 cooked beef named "C&lSteak"
        set helmet of player to iron helmet
        set chestplate of player to iron chestplate
        set leggings of player to iron leggings
        set boots of player to iron boots
        send "&bYou have chosen the Normal kit"
            
command /kits rank:
    trigger:
        if player has permission "ffa.kit.Rank":
            wait 3 ticks
            clear player's inventory
            wait 1 tick
            set slot 0 of player to iron sword named "&b&lSword Rank"
            set slot 1 of player to bow named "&c&lBow Rank"
            set slot 2 of player to fishing rod named "&b&lFishing Rank"
            set slot 9 of player to 16 arrow
            set slot 8 of player to 32 cooked beef named "C&lSteak"
            set helmet of player to iron helmet
            set chestplate of player to diamond chestplate
            set leggings of player to iron leggings
            set boots of player to iron boots
            send "&bYou have chosen the Rank kit"
        else:
            send "&bYou need at least one range to have this kit!"         

on drop:
    cancel event   
    
on death of player:
    if attacker is a player:
        if {FFA.Options::Strike.%player%} is set:
            strike lightning effect at victim
        
        
    
on rightclick with golden apple:
    if name of player's tool contains "&6Apple Head":
        apply regeneration 2 to the player for 8 seconds
        play raw sound "random.burp" at player with pitch 2 volume 1
        stop   
        
on damage of a player:
    if attacker is a player:
        if projectile is set:
            if projectile is arrow:
                wait 0.10 ticks
                send "{@Prefix} &b&l%victim% &c&l its now &b&l%health of victim*2%&c&l❤ " to attacker
                stop       
on projectile hit:
    if projectile is arrow:
        clear projectile
                
on weather change to rain or thunder:
    cancel event

on damage of a player:
    if {FFA.Join::Command} is set:
        damage cause is fall:
            cancel event
            stop   
    
on sign change:
    if line 1 is "[FFA]":
        if line 2 is "Join":
            if player has permission "FFA.Admin":
                set line 1 to "&l[&c&lFFA&l]"
                set line 2 to ""
                set line 3 to "&5&lClick To Join"
                set line 4 to ""
                stop

on rightclick on sign:
    if line 1 of clicked block is "&l[&c&lFFA&l]]":
        if line 2 of clicked block is "":
            if line 3 of clicked block is "&5&lClick To Join":
                if line 4 of clicked block is "":
                    make player execute command "/ffa join"
                    stop   
                    
command /points give4798:
    trigger:
        if {FFA.Join::Command} is set:
            add 200 to {DUEL::PLAYER::%player%::ELO}     
            send "&aYou received 20 points for your KillStreak"
    
on death of player:
    if attacker is a player:
        if {FFA.Join::Command} is set:
        clear drops
        set death message to ""
        wait 2 ticks
        drop golden apple named "&6Apple Head" at block 1 above block in front of victim
        set action bar of attacker to "&c&lYou have been given &b+ &l5 &c&lPoints"       
        add 1 to {Deaths.%victim%}
        set {ks.%victim%} to 0
        add 1 to {kills.%attacker%}
        add 1 to {ks.%attacker%}
        add 5 to {DUEL::PLAYER::%attacker%::ELO}
        remove 5 from {DUEL::PLAYER::%victim%::ELO}
        if {ks.%attacker%} = 5:
            make player execute command "points give4798"     
            broadcast "{@Prefix} &c%attacker% &bÖldürmen 5'e ulaştı . &cAMATÖR !"
            stop
        if {ks.%attacker%} = 8:
            make player execute command "points give4798"     
            broadcast "{@Prefix} &c%attacker% &bÖldürmen 8'e ulaştı . &cEHH BABA BE !"
            stop     
        if {ks.%attacker%} = 12:
            make player execute command "points give4798"     
            broadcast "{@Prefix} &c%attacker% &bÖldürmen 12'ye ulaştı . &cGÜZELL!"
            stop
        if {ks.%attacker%} = 20:
            make player execute command "points give4798"     
            broadcast "{@Prefix} &c%attacker% &bÖldürmen 20'ye ulaştı. &cADAMIM !"
            stop           
on respawn:
    teleport player to {FFA.Spawn}
    make player execute command "itemsffa4798"
        
on quit:
    make player execute command "ffa leave"
    stop




Hadi Arkadaşlar önerilerinizi bekliyorum :)

Güncel ++
 

CryZoneTR

Ağaç Yumruklayıcı
En iyi cevaplar
0
Bence başarılı olmuş. Videolu ve detaylı anlatım yaparsan çok daha güzel olacaktır. Şimdiden başarılar.
 
Üst