Skocz do zawartości
  • 0

Ktoś naprawi mi skrypt ? (ma kilka błędów).


klipbun
 Udostępnij

Pytanie

Skrypt (z błędami):

 

Spoiler
 
variables:
        {diamenty.%player%} = 0
        {emeraldy.%player%} = 0
        {zelazo.%player%} = 0
        {zloto.%player%} = 0
        {gunpowder.%player%} = 0
        {enderpearl.%player%} = 0
        {apple.%player%} = 0
        {redstone.%player%} = 0
        {lapis.%player%} = 0
        {wegiel.%player%} = 0
        {piasek.%player%} = 0
        {wykopanystone.%player%} = 0
        {cobblestone.%player%} = true
 
 
options:
        szansa_diament: 0.75
        szansa_emerald: 0.50
        szansa_zelazo: 1.50
        szansa_zloto: 0.25
        szansa_gunpowder: 2.50
        szansa_apple: 0.75%
        szansa_enderpearl: 0.50
        szansa_redstone: 1.25
        szansa_lapis: 1.25
        szansa_wegiel: 1.50
        szansa_piasek: 2.50
        szansa_magicznaskrzynka: 0.001
 
        szansa_diamentvip: 0.75
        szansa_emeraldvip: 0.50
        szansa_zelazovip: 1.50
        szansa_zlotovip: 0.25
        szansa_gunpowdervip: 2.50
        szansa_applevip: 0.75
        szansa_enderpearlvip: 0.50
        szansa_redstonevip: 1.25
        szansa_lapisvip: 1.25
        szansa_wegielvip: 1.50
        szansa_piasekvip: 2.50
        szansa_magicznaskrzynkavip: 0.001
 
        wysokosc_diament: 1200
        wysokosc_emerald: 1200
        wysokosc_zelazo: 1200
        wysokosc_zloto: 120
        wysokosc_gunpowder: 1200
        wysokosc_apple: 1200
        wysokosc_enderpearl: 1200
        wysokosc_redstone: 1200
        wysokosc_lapis: 1200
        wysokosc_wegiel: 1200
        wysokosc_piasek: 1200
        wysokosc_magicznaskrzynka: 1209
 
on break of stone or cobblestone:
    if {cobblestone.%player%} is false:
        cancel event
        set event-block to air
 
on mine of stone:
        chance of 100%:
                add 1 xp to the player
 
on mine of stone:
        chance of {@szansa_magicznaskrzynka}%:
                if player's y-coordinate is smaller than {@wysokosc_magicznaskrzynka}:
                        drop 1 chest named "&3&lMagiczna Skrzynka"
                        send "&a&lUdalo ci sie wykopac magiczna skrzynke! Gratulacje!"
                        broadcast "&4&lGraczowi %player% udalo sie wykopac &3&lMAGICZNA SKRZYNKE!"
 
on place of chest:
    if name of the player's tool is "&3&lMagiczna Skrzynka":
        send "&7Postawiles: &3&lMagiczna skrzynke"
        wait 2 seconds
        drop 322:2 or 322 or stone or ender pearl or 64 diamond or 32 emerald or 64 tnt or 32 apple
        set block to air
 
 
 
 
on mine of stone:
        if player's gamemode is survival:
                add 1 to {wykopanystone.%player%}
               
                chance of {@szansa_diament}%:
                        if player's y-coordinate is smaller than {@wysokosc_diament}:
                                drop 1 diamond
                                add 1 to {diamenty.%player%}
                                send "&7&lZnalazles: &b&lDiament!"
 
                chance of {@szansa_emerald}%:
                        if player's y-coordinate is smaller than {@wysokosc_emerald}:
                                drop 1 emerald
                                add 1 to {emeraldy.%player%}
                                send "&7&lZnalazles: &2&lEmerald!"
 
                chance of {@szansa_zelazo}%:
                        if player's y-coordinate is smaller than {@wysokosc_zelazo}:
                                drop 1 iron ore
                                add 1 to {zelazo.%player%}
                                send "&7&lZnalazles: &1&8Zelazo"
 
                chance of {@szansa_zloto}%:
                        if player's y-coordinate is smaller than {@wysokosc_zloto}:
                                drop 1 gold ore
                                add 1 to {zloto.%player%}
                                send "&7&lZnalazles: &6&lZloto"
 
                chance of {@szansa_gunpowder}%:
                        if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
                                drop 1 gunpowder
                                add 1 to {gunpowder.%player%}
                                send "&7&lZnalazles: &9&lProch"
 
                chance of {@szansa_enderpearl}%:
                        if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
                                drop 1 ender pearl
                                add 1 to {enderpearl.%player%}
                                send "&7&lZnalazles: &1&2Enderperle!"
 
                chance of {@szansa_apple}%:
                        if player's y-coordinate is smaller than {@wysokosc_apple}:
                                drop 1 apple
                                add 1 to {apple.%player%}
                                send "&7&lZnalazles: &4&lJablko!"
 
                chance of {@szansa_redstone}%:
                        if player's y-coordinate is smaller than {@wysokosc_redstone}:
                                drop a random number between 4 and 1 of redstone
                                add 1 to {redstone.%player%}
                                send "&7&lZnalazles: &4&lRedstone'a!"
 
                chance of {@szansa_lapis}%:
                        if player's y-coordinate is smaller than {@wysokosc_lapis}:
                                drop a random number between 4 and 1 of lapis lazuli
                                add 1 to {lapis.%player%}
                                send "&7&lZnalazles: &1&lLapis!"
               
                chance of {@szansa_wegiel}%:
                        if player's y-coordinate is smaller than {@wysokosc_wegiel}:
                                drop 1 coal
                                add 1 to {wegiel.%player%}
                                send "&7&lZnalazles: &0&lWegiel!"
 
                if player's tool is a diamond pickaxe of fortune 1:
                        chance of {@szansa_diament}%:
                                if player's y-coordinate is smaller than {@wysokosc_diament}:
                                        drop a random number between 3 and 2 of diamond
                                        add 1 to {diamenty.%player%}
                                        send "&7&lZnalazles: &b&lDiamenty!"
 
 
                        chance of {@szansa_emerald}%:
                                if player's y-coordinate is smaller than {@wysokosc_emerald}:
                                        drop a random number between 3 and 2 of emerald
                                        add 1 to {emeraldy.%player%}
                                        send "&7&lZnalazles: &2&lEmeraldy!"
 
                        chance of {@szansa_zelazo}%:
                                if player's y-coordinate is smaller than {@wysokosc_zelazo}:
                                        drop a random number between 3 and 2 of iron ore
                                        add 1 to {zelazo.%player%}
                                        send "&7&lZnalazles: &8&lZelazo!"
 
                        chance of {@szansa_zloto}%:
                                if player's y-coordinate is smaller than {@wysokosc_zloto}:
                                        drop a random number between 3 and 2 of emerald
                                        add 1 to {zloto.%player%}
                                        send "&7&lZnalazles: &6&lZloto!"
 
                        chance of {@szansa_gunpowder}%:
                                if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
                                        drop a random number between 3 and 2 of gunpowder
                                        add 1 to {gunpowder.%player%}
                                        send "&7&lZnalazles: &8&lProch!"
 
                        chance of {@szansa_apple}%:
                                if player's y-coordinate is smaller than {@wysokosc_apple}:
                                        drop a random number between 3 and 2 of apple
                                        add 1 to {apple.%player%}
                                        send "&7&lZnalazles: &4&lJablka!"
 
                        chance of {@szansa_enderpearl}%:
                                if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
                                        drop a random number between 3 and 2 of ender pearl
                                        add 1 to {enderpearl.%player%}
                                        send "&7&lZnalazles: &a&lEnderperly!"
 
                        chance of {@szansa_redstone}%:
                                if player's y-coordinate is smaller than {@wysokosc_redstone}:
                                        drop a random number between 5 and 4 of redstone
                                        add 1 to {redstone.%player%}
                                        send "&7&lZnalazles: &4&lRedstone'a!"
 
                        chance of {@szansa_lapis}%:
                                if player's y-coordinate is smaller than {@wysokosc_lapis}:
                                        drop a random number between 5 and 4 of lapis lazuli
                                        add 1 to {lapis.%player%}
                                        send "&7&lZnalazles: &1&lLapis!"
 
                        chance of {@szansa_wegiel}%:
                                if player's y-coordinate is smaller than {@wysokosc_wegiel}:
                                        drop a random number between 3 and 2 of coal
                                        add 1 to {wegiel.%player%}
                                        send "&7&lZnalazles: &0&lWegiel!"
 
                if player's tool is a diamond pickaxe of fortune 2:
                        chance of {@szansa_diament}%:
                                if player's y-coordinate is smaller than {@wysokosc_diament}:
                                        drop a random number between 4 and 3 of diamond
                                        add 1 to {diamenty.%player%}
                                        send "&7&lZnalazles: &b&lDiamenty!"
 
                        chance of {@szansa_emerald}%:
                                if player's y-coordinate is smaller than {@wysokosc_emerald}:
                                        drop a random number between 4 and 3 of emerald
                                        add 1 to {emeraldy.%player%}
                                        send "&7&lZnalazles: &2&lEmeraldy!"
 
                        chance of {@szansa_zelazo}%:
                                if player's y-coordinate is smaller than {@wysokosc_zelazo}:
                                        drop a random number between 4 and 3 of iron ore
                                        add 1 to {zelazo.%player%}
                                        send "&7&lZnalazles: &8&lZelazo!"
 
                        chance of {@szansa_zloto}%:
                                if player's y-coordinate is smaller than {@wysokosc_zloto}:
                                        drop a random number between 4 and 3 of emerald
                                        add 1 to {zloto.%player%}
                                        send "&7&lZnalazles: &6&lZloto!"
 
                        chance of {@szansa_gunpowder}%:
                                if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
                                        drop a random number between 4 and 3 of gunpowder
                                        add 1 to {gunpowder.%player%}
                                        send "&7&lZnalazles: &8&lProch!"
 
                        chance of {@szansa_apple}%:
                                if player's y-coordinate is smaller than {@wysokosc_apple}:
                                        drop a random number between 4 and 3 of apple
                                        add 1 to {apple.%player%}
                                        send "&7&lZnalazles: &4&lJablka!"
 
                        chance of {@szansa_enderpearl}%:
                                if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
                                        drop a random number between 4 and 3 of ender pearl
                                        add 1 to {enderpearl.%player%}
                                        send "&7&lZnalazles: &a&lEnderperly!"
 
                        chance of {@szansa_redstone}%:
                                if player's y-coordinate is smaller than {@wysokosc_redstone}:
                                        drop a random number between 6 and 5 of redstone
                                        add 1 to {redstone.%player%}
                                        send "&7&lZnalazles: &4&lRedstone'a!"
 
                        chance of {@szansa_redstone}%:
                                if player's y-coordinate is smaller than {@wysokosc_redstone}:
                                        drop a random number between 6 and 5 of redstone
                                        add 1 to {redstone.%player%}
                                        send "&7&lZnalazles: &4&lRedstone'a!"
 
                        chance of {@szansa_lapis}%:
                                if player's y-coordinate is smaller than {@wysokosc_lapis}:
                                        drop a random number between 6 and 5 of lapis lazuli
                                        add 1 to {lapis.%player%}
                                        send "&7&lZnalazles: &1&lLapis!"
 
                        if player's tool is a diamond pickaxe of fortune 3:
                        chance of {@szansa_diament}%:
                                if player's y-coordinate is smaller than {@wysokosc_diament}:
                                        drop a random number between 5 and 4 of diamond
                                        add 1 to {diamenty.%player%}
                                        send "&7&lZnalazles: &b&lDiamenty!"
 
                        chance of {@szansa_piasek}%:
                                if player's y-coordinate is smaller than {@wysokosc_piasek}:
                                        drop a random number between 5 and 4 of sand
                                        add 1 to {piasek.%player%}
                                        send "&7&lZnalazles: &6&lPiasek!"
 
                        chance of {@szansa_emerald}%:
                                if player's y-coordinate is smaller than {@wysokosc_emerald}:
                                        drop a random number between 5 and 4 of emerald
                                        add 1 to {emeraldy.%player%}
                                        send "&7&lZnalazles: &2&lEmeraldy!"
 
                        chance of {@szansa_zelazo}%:
                                if player's y-coordinate is smaller than {@wysokosc_zelazo}:
                                        drop a random number between 5 and 4 of iron ore
                                        add 1 to {zelazo.%player%}
                                        send "&7&lZnalazles: &8&lZelazo!"
 
                        chance of {@szansa_zloto}%:
                                if player's y-coordinate is smaller than {@wysokosc_zloto}:
                                        drop a random number between 5 and 4 of emerald
                                        add 1 to {zloto.%player%}
                                        send "&7&lZnalazles: &6&lZloto!"
 
                        chance of {@szansa_gunpowder}%:
                                if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
                                        drop a random number between 5 and 4 of gunpowder
                                        add 1 to {gunpowder.%player%}
                                        send "&7&lZnalazles: &8&lProch!"
 
                        chance of {@szansa_apple}%:
                                if player's y-coordinate is smaller than {@wysokosc_apple}:
                                        drop a random number between 5 and 4 of apple
                                        add 1 to {apple.%player%}
                                        send "&7&lZnalazles: &4&lJablka!"
 
                        chance of {@szansa_enderpearl}%:
                                if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
                                        drop a random number between 5 and 4 of ender pearl
                                        add 1 to {enderpearl.%player%}
                                        send "&7&lZnalazles: &a&lEnderperly!"
 
                        chance of {@szansa_redstone}%:
                                if player's y-coordinate is smaller than {@wysokosc_redstone}:
                                        drop a random number between 6 and 5 of redstone
                                        add 1 to {redstone.%player%}
                                        send "&7&lZnalazles: &4&lRedstone'a!"
 
                        chance of {@szansa_lapis}%:
                                if player's y-coordinate is smaller than {@wysokosc_lapis}:
                                        drop a random number between 6 and 5 of lapis lazuli
                                        add 1 to {lapis.%player%}
                                        send "&7&lZnalazles: &1&lLapis!"
 
                        chance of {@szansa_wegiel}%:
                                if player's y-coordinate is smaller than {@wysokosc_wegiel}:
                                        drop a random number between 5 and 4 of coal
                                        add 1 to {wegiel.%player%}
                                        send "&7&lZnalazles: &0&lWegiel!"
#<Drop Dla VIPA>#
 
on mine of stone:
        if player has permission "pstone.vip":
                add 1 to {wykopanystone.%player%}
               
                chance of {@szansa_diamentvip}%:
                        if player's y-coordinate is smaller than {@wysokosc_diament}:
                                drop 1 diamond
                                add 1 to {diamenty.%player%}
                                send "&7&lZnalazles: &b&lDiament!"
 
                chance of {@szansa_emeraldvip}%:
                        if player's y-coordinate is smaller than {@wysokosc_emerald}:
                                drop 1 emerald
                                add 1 to {emeraldy.%player%}
                                send "&7&lZnalazles: &2&lEmerald!"
 
                chance of {@szansa_zelazovip}%:
                        if player's y-coordinate is smaller than {@wysokosc_zelazo}:
                                drop 1 iron ore
                                add 1 to {zelazo.%player%}
                                send "&7&lZnalazles: &1&8Zelazo"
 
                chance of {@szansa_zlotovip}%:
                        if player's y-coordinate is smaller than {@wysokosc_zloto}:
                                drop 1 gold ore
                                add 1 to {zloto.%player%}
                                send "&7&lZnalazles: &6&lZloto"
 
                chance of {@szansa_gunpowdervip}%:
                        if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
                                drop 1 gunpowder
                                add 1 to {gunpowder.%player%}
                                send "&7&lZnalazles: &9&lProch"
 
                chance of {@szansa_enderpearlvip}%:
                        if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
                                drop 1 ender pearl
                                add 1 to {enderpearl.%player%}
                                send "&7&lZnalazles: &1&2Enderperle!"
 
                chance of {@szansa_applevip}%:
                        if player's y-coordinate is smaller than {@wysokosc_apple}:
                                drop 1 apple
                                add 1 to {apple.%player%}
                                send "&7&lZnalazles: &4&lJablko!"
 
                chance of {@szansa_redstonevip}%:
                        if player's y-coordinate is smaller than {@wysokosc_redstone}:
                                drop a random number between 4 and 1 of redstone
                                add 1 to {redstone.%player%}
                                send "&7&lZnalazles: &4&lRedstone'a!"
 
                chance of {@szansa_lapisvip}%:
                        if player's y-coordinate is smaller than {@wysokosc_lapis}:
                                drop a random number between 4 and 1 of lapis lazuli
                                add 1 to {lapis.%player%}
                                send "&7&lZnalazles: &1&lLapis!"
               
                chance of {@szansa_wegielvip}%:
                        if player's y-coordinate is smaller than {@wysokosc_wegiel}:
                                drop 1 coal
                                add 1 to {wegiel.%player%}
                                send "&7&lZnalazles: &0&lWegiel!"
 
                if player's tool is a diamond pickaxe of fortune 1:
                        chance of {@szansa_diamentvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_diament}:
                                        drop a random number between 3 and 2 of diamond
                                        add 1 to {diamenty.%player%}
                                        send "&7&lZnalazles: &b&lDiamenty!"
 
 
                        chance of {@szansa_emeraldvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_emerald}:
                                        drop a random number between 3 and 2 of emerald
                                        add 1 to {emeraldy.%player%}
                                        send "&7&lZnalazles: &2&lEmeraldy!"
 
                        chance of {@szansa_zelazovip}%:
                                if player's y-coordinate is smaller than {@wysokosc_zelazo}:
                                        drop a random number between 3 and 2 of iron ore
                                        add 1 to {zelazo.%player%}
                                        send "&7&lZnalazles: &8&lZelazo!"
 
                        chance of {@szansa_zlotovip}%:
                                if player's y-coordinate is smaller than {@wysokosc_zloto}:
                                        drop a random number between 3 and 2 of emerald
                                        add 1 to {zloto.%player%}
                                        send "&7&lZnalazles: &6&lZloto!"
 
                        chance of {@szansa_gunpowdervip}%:
                                if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
                                        drop a random number between 3 and 2 of gunpowder
                                        add 1 to {gunpowder.%player%}
                                        send "&7&lZnalazles: &8&lProch!"
 
                        chance of {@szansa_applevip}%:
                                if player's y-coordinate is smaller than {@wysokosc_apple}:
                                        drop a random number between 3 and 2 of apple
                                        add 1 to {apple.%player%}
                                        send "&7&lZnalazles: &4&lJablka!"
 
                        chance of {@szansa_enderpearlvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
                                        drop a random number between 3 and 2 of ender pearl
                                        add 1 to {enderpearl.%player%}
                                        send "&7&lZnalazles: &a&lEnderperly!"
 
                        chance of {@szansa_redstonevip}%:
                                if player's y-coordinate is smaller than {@wysokosc_redstone}:
                                        drop a random number between 5 and 4 of redstone
                                        add 1 to {redstone.%player%}
                                        send "&7&lZnalazles: &4&lRedstone'a!"
 
                        chance of {@szansa_lapisvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_lapis}:
                                        drop a random number between 5 and 4 of lapis lazuli
                                        add 1 to {lapis.%player%}
                                        send "&7&lZnalazles: &1&lLapis!"
 
                        chance of {@szansa_wegielvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_wegiel}:
                                        drop a random number between 3 and 2 of coal
                                        add 1 to {wegiel.%player%}
                                        send "&7&lZnalazles: &0&lWegiel!"
 
                if player's tool is a diamond pickaxe of fortune 2:
                        chance of {@szansa_diamentvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_diament}:
                                        drop a random number between 4 and 3 of diamond
                                        add 1 to {diamenty.%player%}
                                        send "&7&lZnalazles: &b&lDiamenty!"
 
                        chance of {@szansa_emeraldvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_emerald}:
                                        drop a random number between 4 and 3 of emerald
                                        add 1 to {emeraldy.%player%}
                                        send "&7&lZnalazles: &2&lEmeraldy!"
 
                        chance of {@szansa_zelazovip}%:
                                if player's y-coordinate is smaller than {@wysokosc_zelazo}:
                                        drop a random number between 4 and 3 of iron ore
                                        add 1 to {zelazo.%player%}
                                        send "&7&lZnalazles: &8&lZelazo!"
 
                        chance of {@szansa_zlotovip}%:
                                if player's y-coordinate is smaller than {@wysokosc_zloto}:
                                        drop a random number between 4 and 3 of emerald
                                        add 1 to {zloto.%player%}
                                        send "&7&lZnalazles: &6&lZloto!"
 
                        chance of {@szansa_gunpowdervip}%:
                                if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
                                        drop a random number between 4 and 3 of gunpowder
                                        add 1 to {gunpowder.%player%}
                                        send "&7&lZnalazles: &8&lProch!"
 
                        chance of {@szansa_applevip}%:
                                if player's y-coordinate is smaller than {@wysokosc_apple}:
                                        drop a random number between 4 and 3 of apple
                                        add 1 to {apple.%player%}
                                        send "&7&lZnalazles: &4&lJablka!"
 
                        chance of {@szansa_enderpearlvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
                                        drop a random number between 4 and 3 of ender pearl
                                        add 1 to {enderpearl.%player%}
                                        send "&7&lZnalazles: &a&lEnderperly!"
 
                        chance of {@szansa_redstonevip}%:
                                if player's y-coordinate is smaller than {@wysokosc_redstone}:
                                        drop a random number between 6 and 5 of redstone
                                        add 1 to {redstone.%player%}
                                        send "&7&lZnalazles: &4&lRedstone'a!"
 
                        chance of {@szansa_redstonevip}%:
                                if player's y-coordinate is smaller than {@wysokosc_redstone}:
                                        drop a random number between 6 and 5 of redstone
                                        add 1 to {redstone.%player%}
                                        send "&7&lZnalazles: &4&lRedstone'a!"
 
                        chance of {@szansa_lapisvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_lapis}:
                                        drop a random number between 6 and 5 of lapis lazuli
                                        add 1 to {lapis.%player%}
                                        send "&7&lZnalazles: &1&lLapis!"
 
                        if player's tool is a diamond pickaxe of fortune 3:
                        chance of {@szansa_diamentvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_diament}:
                                        drop a random number between 5 and 4 of diamond
                                        add 1 to {diamenty.%player%}
                                        send "&7&lZnalazles: &b&lDiamenty!"
 
                        chance of {@szansa_piasekvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_piasek}:
                                        drop a random number between 5 and 4 of sand
                                        add 1 to {piasek.%player%}
                                        send "&7&lZnalazles: &6&lPiasek!"
 
                        chance of {@szansa_emeraldvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_emerald}:
                                        drop a random number between 5 and 4 of emerald
                                        add 1 to {emeraldy.%player%}
                                        send "&7&lZnalazles: &2&lEmeraldy!"
 
                        chance of {@szansa_zelazovip}%:
                                if player's y-coordinate is smaller than {@wysokosc_zelazo}:
                                        drop a random number between 5 and 4 of iron ore
                                        add 1 to {zelazo.%player%}
                                        send "&7&lZnalazles: &8&lZelazo!"
 
                        chance of {@szansa_zlotovip}%:
                                if player's y-coordinate is smaller than {@wysokosc_zloto}:
                                        drop a random number between 5 and 4 of emerald
                                        add 1 to {zloto.%player%}
                                        send "&7&lZnalazles: &6&lZloto!"
 
                        chance of {@szansa_gunpowdervip}%:
                                if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
                                        drop a random number between 5 and 4 of gunpowder
                                        add 1 to {gunpowder.%player%}
                                        send "&7&lZnalazles: &8&lProch!"
 
                        chance of {@szansa_applevip}%:
                                if player's y-coordinate is smaller than {@wysokosc_apple}:
                                        drop a random number between 5 and 4 of apple
                                        add 1 to {apple.%player%}
                                        send "&7&lZnalazles: &4&lJablka!"
 
                        chance of {@szansa_enderpearlvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
                                        drop a random number between 5 and 4 of ender pearl
                                        add 1 to {enderpearl.%player%}
                                        send "&7&lZnalazles: &a&lEnderperly!"
 
                        chance of {@szansa_redstonevip}%:
                                if player's y-coordinate is smaller than {@wysokosc_redstone}:
                                        drop a random number between 6 and 5 of redstone
                                        add 1 to {redstone.%player%}
                                        send "&7&lZnalazles: &4&lRedstone'a!"
 
                        chance of {@szansa_lapisvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_lapis}:
                                        drop a random number between 6 and 5 of lapis lazuli
                                        add 1 to {lapis.%player%}
                                        send "&7&lZnalazles: &1&lLapis!"
 
                        chance of {@szansa_wegielvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_wegiel}:
                                        drop a random number between 5 and 4 of coal
                                        add 1 to {wegiel.%player%}
                                        send "&7&lZnalazles: &0&lWegiel!"
 
on mine of any ore:
        cancel event
        drop 1 cobblestone
        set block to air
        send "&a&lTen surowiec dropi tylko ze stone! Wiecej Informacji: /stone"
 
on mine of emerald ore:
        cancel event
        drop 1 cobblestone
        set block to air
        send "&a&lTen surowiec dropi tylko ze stone! Wiecej Informacji: /stone"
 
command /stone:
        aliases: kamien, drop
        trigger:
                send "&3&l==========&c&lDrop Ze Stone&3&l=========="
                send "&3&lDiament: {@szansa_diament} Procent"
                send "&2&lEmerald: {@szansa_emerald} Procent"
                send "&8&lZelazo: {@szansa_zelazo} Procent"
                send "&6&lZloto: {@szansa_zloto} Procent"
                send "&4&lRedStone: {@szansa_redstone} Procent"
                send "&1&lLapis: {@szansa_lapis} Procent"
                send "&0&lWegiel: {@szansa_wegiel} Procent"
                send "&6&lPiasek: {@szansa_piasek} Procent"
                send "&2&lEnderPearl: {@szansa_enderpearl} Procent"
                send "&7&lProch: {@szansa_gunpowder} Procent"
                send "&4&lJablko: {@szansa_apple} Procent"
 
 
command /cobble:
    trigger:
        if {cobblestone.%player%} is true:
            set {cobblestone.%player%} to false
            send "&cWylaczono wypadanie cobblestone!"
        else if {cobblestone.%player%} is false:
            set {cobblestone.%player%} to true
            send "&aWlaczono wypadanie cobblestone!"
 
command /statystyki [<text>]:
        aliases: staty
        trigger:
                if arg 1 is not set:
                        send "&7Wykopane &bDiamenty: &7%{diamenty.%player%}%"
                        send "&7Wykopane &eZloto: &7%{zloto.%player%}%"
                        send "&7Wykopane &8Zelazo: &7%{zelazo.%player%}%"
                        send "&7Wykopany &0Wegiel: &7%{wegiel.%player%}%"
                        send "&7Wykopane &aEmeraldy: &7%{emeraldy.%player%}%"
                        send "&7Wykopane &7Proch: &7%{gunpowder.%player%}%"
                        send "&7Wykopane &cRedstone: &7%{redstone.%player%}%"
                        send "&7Wykopane &9Lapis: &7%{lapis.%player%}%"
                        send "&7Wykopany &6STONE: &7%{wykopanystone.%player%}%"
                if arg 1 is set:
                        if arg 1 is player:
                                send "&8====================="
                                send "&7Gracz: &6&o%arg 1%"
                                send "&7Wykopane &bDiamenty: &7%{diamenty.%arg 1%}%"
                                send "&7Wykopane &eZloto: &7%{zloto.%arg 1%}%"
                                send "&7Wykopane &8Zelazo: &7%{zelazo.%arg 1%}%"
                                send "&7Wykopany &0Wegiel: &7%{wegiel.%arg 1%}%"
                                send "&7Wykopane &aEmeraldy: &7%{emeraldy.%arg 1%}%"
                                send "&7Wykopane &7Proch: &7%{gunpowder.%arg 1%}%"
                                send "&7Wykopane &cRedstone: &7%{redstone.%arg 1%}%"
                                send "&7Wykopane &9Lapis: &7%{lapis.%arg 1%}%"
                                send "&7Wykopany &6STONE: &7%{wykopanystone.%arg 1%}%"
                        else:
                                send "&cTakiego gracza nie ma na serwerze!"

a błędy są takie:

 

Spoiler

[23:53:10 WARN]: [Skript] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (DROPS2.sk, line 271: if player's tool is a diamond pickaxe of fortune 3:')

[23:53:10 WARN]: [Skript] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (DROPS2.sk, line 526: if player's tool is a diamond pickaxe of fortune 3:')

[23:53:40 WARN]: [Skript] Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please crate an alias for '322' (GOLDEN_APPLE) in aliases-english.sk or the script's aliases section and use that instead. (DROPS2.sk, line 78: drop 322:2 or 322 or stone or ender pearl or 64 diamond or 32 emerald or 64 tnt or 32 apple')

[23:53:40 WARN]: [Skript] Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please crate an alias for '322 or '322:2'' (GOLDEN_APPLE) in aliases-english.sk or the script's aliases section and use that instead. (DROPS2.sk, line 78: drop 322:2 or 322 or stone or ender pearl or 64 diamond or 32 emerald or 64 tnt or 32 apple')

[23:54:54 ERROR]: [Skript] The percent sign is used for expressions (e.g. %player%). To insert a '%' type it twice: %%. (DROPS2.sk, line 619: send "&4&lJablko: {@szansa_apple} Procent"')

 

 

 

Odnośnik do komentarza
Udostępnij na innych stronach

6 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
Godzinę temu, Ixidi napisał:

Daj SS błędów ;)

kwf14p.jpg

7nrrgz.jpg

qzu7in.jpg

te błędy z konsoli (tam gdzie dałem kod skryptu jest drugi spoiler z tymi samymi błędami):

[23:53:10 WARN]: [Skript] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (DROPS2.sk, line 271: if player's tool is a diamond pickaxe of fortune 3:')

[23:53:10 WARN]: [Skript] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (DROPS2.sk, line 526: if player's tool is a diamond pickaxe of fortune 3:')

[23:53:40 WARN]: [Skript] Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please crate an alias for '322' (GOLDEN_APPLE) in aliases-english.sk or the script's aliases section and use that instead. (DROPS2.sk, line 78: drop 322:2 or 322 or stone or ender pearl or 64 diamond or 32 emerald or 64 tnt or 32 apple')

[23:53:40 WARN]: [Skript] Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please crate an alias for '322 or '322:2'' (GOLDEN_APPLE) in aliases-english.sk or the script's aliases section and use that instead. (DROPS2.sk, line 78: drop 322:2 or 322 or stone or ender pearl or 64 diamond or 32 emerald or 64 tnt or 32 apple')

[23:54:54 ERROR]: [Skript] The percent sign is used for expressions (e.g. %player%). To insert a '%' type it twice: %%. (DROPS2.sk, line 619: send "&4&lJablko: {@szansa_apple} Procent"')

 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
8 minut temu, ShroN napisał:

W options: masz linijke szansa_apple: 0.75% usuń z niej %. Ma wyglądać tak:

szansa_apple: 0.75

Nadal są błędy:

[17:33:55 INFO]: [Skript] You're currently running the latest stable version of Skript.
[17:33:55 WARN]: [Skript] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (DROPS2.sk, line 271: if player's tool is a diamond pickaxe of fortune 3:')
[17:33:55 WARN]: [Skript] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (DROPS2.sk, line 526: if player's tool is a diamond pickaxe of fortune 3:')
[17:33:55 INFO]: [Skript] You're currently running the latest stable version of Skript.
[17:33:55 WARN]: [Skript] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (DROPS2.sk, line 271: if player's tool is a diamond pickaxe of fortune 3:')
[17:33:55 WARN]: [Skript] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (DROPS2.sk, line 526: if player's tool is a diamond pickaxe of fortune 3:')
[17:34:25 WARN]: [Skript] Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please crate an alias for '322' (GOLDEN_APPLE) in aliases-english.sk or the script's aliases section and use that instead. (DROPS2.sk, line 78: drop 322:2 or 322 or stone or ender pearl or 64 diamond or 32 emerald or 64 tnt or 32 apple')
[17:34:25 WARN]: [Skript] Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please crate an alias for '322 or '322:2'' (GOLDEN_APPLE) in aliases-english.sk or the script's aliases section and use that instead. (DROPS2.sk, line 78: drop 322:2 or 322 or stone or ender pearl or 64 diamond or 32 emerald or 64 tnt or 32 apple')
[17:34:25 WARN]: [Skript] Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please crate an alias for '322' (GOLDEN_APPLE) in aliases-english.sk or the script's aliases section and use that instead. (DROPS2.sk, line 78: drop 322:2 or 322 or stone or ender pearl or 64 diamond or 32 emerald or 64 tnt or 32 apple')
[17:34:25 WARN]: [Skript] Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please crate an alias for '322 or '322:2'' (GOLDEN_APPLE) in aliases-english.sk or the script's aliases section and use that instead. (DROPS2.sk, line 78: drop 322:2 or 322 or stone or ender pearl or 64 diamond or 32 emerald or 64 tnt or 32 apple')

 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
[17:34:25 WARN]: [Skript] Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please crate an alias for '322' (GOLDEN_APPLE) in aliases-english.sk or the script's aliases section and use that instead. (DROPS2.sk, line 78: drop 322:2 or 322 or stone or ender pearl or 64 diamond or 32 emerald or 64 tnt or 32 apple')
[17:34:25 WARN]: [Skript] Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please crate an alias for '322 or '322:2'' (GOLDEN_APPLE) in aliases-english.sk or the script's aliases section and use that instead. (DROPS2.sk, line 78: drop 322:2 or 322 or stone or ender pearl or 64 diamond or 32 emerald or 64 tnt or 32 apple')
[17:34:25 WARN]: [Skript] Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please crate an alias for '322' (GOLDEN_APPLE) in aliases-english.sk or the script's aliases section and use that instead. (DROPS2.sk, line 78: drop 322:2 or 322 or stone or ender pearl or 64 diamond or 32 emerald or 64 tnt or 32 apple')
[17:34:25 WARN]: [Skript] Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please crate an alias for '322 or '322:2'' (GOLDEN_APPLE) in aliases-english.sk or the script's aliases section and use that instead. (DROPS2.sk, line 78: drop 322:2 or 322 or stone or ender pearl or 64 diamond or 32 emerald or 64 tnt or 32 apple')

Translator:

W linii 78 zmień 322:2 na angielską nazwę odpowiednika tego id, tak samo z 322

Wskazówka: Nie można sobie używać id oraz angielskich nazw jednocześnie, to tak jakbyś używał spacji i tab.

 

[17:33:55 WARN]: [Skript] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (DROPS2.sk, line 271: if player's tool is a diamond pickaxe of fortune 3:')
[17:33:55 WARN]: [Skript] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (DROPS2.sk, line 526: if player's tool is a diamond pickaxe of fortune 3:')
[17:33:55 WARN]: [Skript] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (DROPS2.sk, line 271: if player's tool is a diamond pickaxe of fortune 3:')
[17:33:55 WARN]: [Skript] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (DROPS2.sk, line 526: if player's tool is a diamond pickaxe of fortune 3:')

Translator: Skrypt się pluje że po if player's tool is a diamond pickaxe of fortune 3: w lini 271 oraz 526 nie ma żadnego kodu podległego pod ten if.

Rozwiązanie: Źle wytabowałeś :)

 

Pozdrawiam

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
2 godziny temu, ShroN napisał:
[17:34:25 WARN]: [Skript] Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please crate an alias for '322' (GOLDEN_APPLE) in aliases-english.sk or the script's aliases section and use that instead. (DROPS2.sk, line 78: drop 322:2 or 322 or stone or ender pearl or 64 diamond or 32 emerald or 64 tnt or 32 apple')
[17:34:25 WARN]: [Skript] Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please crate an alias for '322 or '322:2'' (GOLDEN_APPLE) in aliases-english.sk or the script's aliases section and use that instead. (DROPS2.sk, line 78: drop 322:2 or 322 or stone or ender pearl or 64 diamond or 32 emerald or 64 tnt or 32 apple')
[17:34:25 WARN]: [Skript] Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please crate an alias for '322' (GOLDEN_APPLE) in aliases-english.sk or the script's aliases section and use that instead. (DROPS2.sk, line 78: drop 322:2 or 322 or stone or ender pearl or 64 diamond or 32 emerald or 64 tnt or 32 apple')
[17:34:25 WARN]: [Skript] Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please crate an alias for '322 or '322:2'' (GOLDEN_APPLE) in aliases-english.sk or the script's aliases section and use that instead. (DROPS2.sk, line 78: drop 322:2 or 322 or stone or ender pearl or 64 diamond or 32 emerald or 64 tnt or 32 apple')

Translator:

W linii 78 zmień 322:2 na angielską nazwę odpowiednika tego id, tak samo z 322

Wskazówka: Nie można sobie używać id oraz angielskich nazw jednocześnie, to tak jakbyś używał spacji i tab.

 

[17:33:55 WARN]: [Skript] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (DROPS2.sk, line 271: if player's tool is a diamond pickaxe of fortune 3:')
[17:33:55 WARN]: [Skript] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (DROPS2.sk, line 526: if player's tool is a diamond pickaxe of fortune 3:')
[17:33:55 WARN]: [Skript] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (DROPS2.sk, line 271: if player's tool is a diamond pickaxe of fortune 3:')
[17:33:55 WARN]: [Skript] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (DROPS2.sk, line 526: if player's tool is a diamond pickaxe of fortune 3:')

Translator: Skrypt się pluje że po if player's tool is a diamond pickaxe of fortune 3: w lini 271 oraz 526 nie ma żadnego kodu podległego pod ten if.

Rozwiązanie: Źle wytabowałeś :)

 

Pozdrawiam

 

Byś mógł mi wytabować (tab) linijki 271 oraz 526 bo ja za bardzo nie umiem i pokazuje w konsoli że 40 spacji czy jakoś tak

 

kod:

 

 
variables:
        {diamenty.%player%} = 0
        {emeraldy.%player%} = 0
        {zelazo.%player%} = 0
        {zloto.%player%} = 0
        {gunpowder.%player%} = 0
        {enderpearl.%player%} = 0
        {apple.%player%} = 0
        {redstone.%player%} = 0
        {lapis.%player%} = 0
        {wegiel.%player%} = 0
        {piasek.%player%} = 0
        {wykopanystone.%player%} = 0
        {cobblestone.%player%} = true
 
 
options:
        szansa_diament: 0.75
        szansa_emerald: 0.50
        szansa_zelazo: 1.50
        szansa_zloto: 0.25
        szansa_gunpowder: 2.50
        szansa_apple: 0.75
        szansa_enderpearl: 0.50
        szansa_redstone: 1.25
        szansa_lapis: 1.25
        szansa_wegiel: 1.50
        szansa_piasek: 2.50
        szansa_magicznaskrzynka: 0.001
 
        szansa_diamentvip: 0.75
        szansa_emeraldvip: 0.50
        szansa_zelazovip: 1.50
        szansa_zlotovip: 0.25
        szansa_gunpowdervip: 2.50
        szansa_applevip: 0.75
        szansa_enderpearlvip: 0.50
        szansa_redstonevip: 1.25
        szansa_lapisvip: 1.25
        szansa_wegielvip: 1.50
        szansa_piasekvip: 2.50
        szansa_magicznaskrzynkavip: 0.001
 
        wysokosc_diament: 1200
        wysokosc_emerald: 1200
        wysokosc_zelazo: 1200
        wysokosc_zloto: 120
        wysokosc_gunpowder: 1200
        wysokosc_apple: 1200
        wysokosc_enderpearl: 1200
        wysokosc_redstone: 1200
        wysokosc_lapis: 1200
        wysokosc_wegiel: 1200
        wysokosc_piasek: 1200
        wysokosc_magicznaskrzynka: 1209
 
on break of stone or cobblestone:
    if {cobblestone.%player%} is false:
        cancel event
        set event-block to air
 
on mine of stone:
        chance of 100%:
                add 1 xp to the player
 
on mine of stone:
        chance of {@szansa_magicznaskrzynka}%:
                if player's y-coordinate is smaller than {@wysokosc_magicznaskrzynka}:
                        drop 1 chest named "&3&lMagiczna Skrzynka"
                        send "&a&lUdalo ci sie wykopac magiczna skrzynke! Gratulacje!"
                        broadcast "&4&lGraczowi %player% udalo sie wykopac &3&lMAGICZNA SKRZYNKE!"
 
on place of chest:
    if name of the player's tool is "&3&lMagiczna Skrzynka":
        send "&7Postawiles: &3&lMagiczna skrzynke"
        wait 2 seconds
        drop golden_apple or stone or ender pearl or 32 diamond or 32 emerald or 32 apple
        set block to air
 
 
 
 
on mine of stone:
        if player's gamemode is survival:
                add 1 to {wykopanystone.%player%}
               
                chance of {@szansa_diament}%:
                        if player's y-coordinate is smaller than {@wysokosc_diament}:
                                drop 1 diamond
                                add 1 to {diamenty.%player%}
                                send "&7&lZnalazles: &b&lDiament!"
 
                chance of {@szansa_emerald}%:
                        if player's y-coordinate is smaller than {@wysokosc_emerald}:
                                drop 1 emerald
                                add 1 to {emeraldy.%player%}
                                send "&7&lZnalazles: &2&lEmerald!"
 
                chance of {@szansa_zelazo}%:
                        if player's y-coordinate is smaller than {@wysokosc_zelazo}:
                                drop 1 iron ore
                                add 1 to {zelazo.%player%}
                                send "&7&lZnalazles: &1&8Zelazo"
 
                chance of {@szansa_zloto}%:
                        if player's y-coordinate is smaller than {@wysokosc_zloto}:
                                drop 1 gold ore
                                add 1 to {zloto.%player%}
                                send "&7&lZnalazles: &6&lZloto"
 
                chance of {@szansa_gunpowder}%:
                        if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
                                drop 1 gunpowder
                                add 1 to {gunpowder.%player%}
                                send "&7&lZnalazles: &9&lProch"
 
                chance of {@szansa_enderpearl}%:
                        if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
                                drop 1 ender pearl
                                add 1 to {enderpearl.%player%}
                                send "&7&lZnalazles: &1&2Enderperle!"
 
                chance of {@szansa_apple}%:
                        if player's y-coordinate is smaller than {@wysokosc_apple}:
                                drop 1 apple
                                add 1 to {apple.%player%}
                                send "&7&lZnalazles: &4&lJablko!"
 
                chance of {@szansa_redstone}%:
                        if player's y-coordinate is smaller than {@wysokosc_redstone}:
                                drop a random number between 4 and 1 of redstone
                                add 1 to {redstone.%player%}
                                send "&7&lZnalazles: &4&lRedstone'a!"
 
                chance of {@szansa_lapis}%:
                        if player's y-coordinate is smaller than {@wysokosc_lapis}:
                                drop a random number between 4 and 1 of lapis lazuli
                                add 1 to {lapis.%player%}
                                send "&7&lZnalazles: &1&lLapis!"
               
                chance of {@szansa_wegiel}%:
                        if player's y-coordinate is smaller than {@wysokosc_wegiel}:
                                drop 1 coal
                                add 1 to {wegiel.%player%}
                                send "&7&lZnalazles: &0&lWegiel!"
 
                if player's tool is a diamond pickaxe of fortune 1:
                        chance of {@szansa_diament}%:
                                if player's y-coordinate is smaller than {@wysokosc_diament}:
                                        drop a random number between 3 and 2 of diamond
                                        add 1 to {diamenty.%player%}
                                        send "&7&lZnalazles: &b&lDiamenty!"
 
 
                        chance of {@szansa_emerald}%:
                                if player's y-coordinate is smaller than {@wysokosc_emerald}:
                                        drop a random number between 3 and 2 of emerald
                                        add 1 to {emeraldy.%player%}
                                        send "&7&lZnalazles: &2&lEmeraldy!"
 
                        chance of {@szansa_zelazo}%:
                                if player's y-coordinate is smaller than {@wysokosc_zelazo}:
                                        drop a random number between 3 and 2 of iron ore
                                        add 1 to {zelazo.%player%}
                                        send "&7&lZnalazles: &8&lZelazo!"
 
                        chance of {@szansa_zloto}%:
                                if player's y-coordinate is smaller than {@wysokosc_zloto}:
                                        drop a random number between 3 and 2 of emerald
                                        add 1 to {zloto.%player%}
                                        send "&7&lZnalazles: &6&lZloto!"
 
                        chance of {@szansa_gunpowder}%:
                                if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
                                        drop a random number between 3 and 2 of gunpowder
                                        add 1 to {gunpowder.%player%}
                                        send "&7&lZnalazles: &8&lProch!"
 
                        chance of {@szansa_apple}%:
                                if player's y-coordinate is smaller than {@wysokosc_apple}:
                                        drop a random number between 3 and 2 of apple
                                        add 1 to {apple.%player%}
                                        send "&7&lZnalazles: &4&lJablka!"
 
                        chance of {@szansa_enderpearl}%:
                                if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
                                        drop a random number between 3 and 2 of ender pearl
                                        add 1 to {enderpearl.%player%}
                                        send "&7&lZnalazles: &a&lEnderperly!"
 
                        chance of {@szansa_redstone}%:
                                if player's y-coordinate is smaller than {@wysokosc_redstone}:
                                        drop a random number between 5 and 4 of redstone
                                        add 1 to {redstone.%player%}
                                        send "&7&lZnalazles: &4&lRedstone'a!"
 
                        chance of {@szansa_lapis}%:
                                if player's y-coordinate is smaller than {@wysokosc_lapis}:
                                        drop a random number between 5 and 4 of lapis lazuli
                                        add 1 to {lapis.%player%}
                                        send "&7&lZnalazles: &1&lLapis!"
 
                        chance of {@szansa_wegiel}%:
                                if player's y-coordinate is smaller than {@wysokosc_wegiel}:
                                        drop a random number between 3 and 2 of coal
                                        add 1 to {wegiel.%player%}
                                        send "&7&lZnalazles: &0&lWegiel!"
 
                if player's tool is a diamond pickaxe of fortune 2:
                        chance of {@szansa_diament}%:
                                if player's y-coordinate is smaller than {@wysokosc_diament}:
                                        drop a random number between 4 and 3 of diamond
                                        add 1 to {diamenty.%player%}
                                        send "&7&lZnalazles: &b&lDiamenty!"
 
                        chance of {@szansa_emerald}%:
                                if player's y-coordinate is smaller than {@wysokosc_emerald}:
                                        drop a random number between 4 and 3 of emerald
                                        add 1 to {emeraldy.%player%}
                                        send "&7&lZnalazles: &2&lEmeraldy!"
 
                        chance of {@szansa_zelazo}%:
                                if player's y-coordinate is smaller than {@wysokosc_zelazo}:
                                        drop a random number between 4 and 3 of iron ore
                                        add 1 to {zelazo.%player%}
                                        send "&7&lZnalazles: &8&lZelazo!"
 
                        chance of {@szansa_zloto}%:
                                if player's y-coordinate is smaller than {@wysokosc_zloto}:
                                        drop a random number between 4 and 3 of emerald
                                        add 1 to {zloto.%player%}
                                        send "&7&lZnalazles: &6&lZloto!"
 
                        chance of {@szansa_gunpowder}%:
                                if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
                                        drop a random number between 4 and 3 of gunpowder
                                        add 1 to {gunpowder.%player%}
                                        send "&7&lZnalazles: &8&lProch!"
 
                        chance of {@szansa_apple}%:
                                if player's y-coordinate is smaller than {@wysokosc_apple}:
                                        drop a random number between 4 and 3 of apple
                                        add 1 to {apple.%player%}
                                        send "&7&lZnalazles: &4&lJablka!"
 
                        chance of {@szansa_enderpearl}%:
                                if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
                                        drop a random number between 4 and 3 of ender pearl
                                        add 1 to {enderpearl.%player%}
                                        send "&7&lZnalazles: &a&lEnderperly!"
 
                        chance of {@szansa_redstone}%:
                                if player's y-coordinate is smaller than {@wysokosc_redstone}:
                                        drop a random number between 6 and 5 of redstone
                                        add 1 to {redstone.%player%}
                                        send "&7&lZnalazles: &4&lRedstone'a!"
 
                        chance of {@szansa_redstone}%:
                                if player's y-coordinate is smaller than {@wysokosc_redstone}:
                                        drop a random number between 6 and 5 of redstone
                                        add 1 to {redstone.%player%}
                                        send "&7&lZnalazles: &4&lRedstone'a!"
 
                        chance of {@szansa_lapis}%:
                                if player's y-coordinate is smaller than {@wysokosc_lapis}:
                                        drop a random number between 6 and 5 of lapis lazuli
                                        add 1 to {lapis.%player%}
                                        send "&7&lZnalazles: &1&lLapis!"
 
					if player's tool is a diamond pickaxe of fortune 3:
                        chance of {@szansa_diament}%:
                                if player's y-coordinate is smaller than {@wysokosc_diament}:
                                        drop a random number between 5 and 4 of diamond
                                        add 1 to {diamenty.%player%}
                                        send "&7&lZnalazles: &b&lDiamenty!"
 
                        chance of {@szansa_piasek}%:
                                if player's y-coordinate is smaller than {@wysokosc_piasek}:
                                        drop a random number between 5 and 4 of sand
                                        add 1 to {piasek.%player%}
                                        send "&7&lZnalazles: &6&lPiasek!"
 
                        chance of {@szansa_emerald}%:
                                if player's y-coordinate is smaller than {@wysokosc_emerald}:
                                        drop a random number between 5 and 4 of emerald
                                        add 1 to {emeraldy.%player%}
                                        send "&7&lZnalazles: &2&lEmeraldy!"
 
                        chance of {@szansa_zelazo}%:
                                if player's y-coordinate is smaller than {@wysokosc_zelazo}:
                                        drop a random number between 5 and 4 of iron ore
                                        add 1 to {zelazo.%player%}
                                        send "&7&lZnalazles: &8&lZelazo!"
 
                        chance of {@szansa_zloto}%:
                                if player's y-coordinate is smaller than {@wysokosc_zloto}:
                                        drop a random number between 5 and 4 of emerald
                                        add 1 to {zloto.%player%}
                                        send "&7&lZnalazles: &6&lZloto!"
 
                        chance of {@szansa_gunpowder}%:
                                if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
                                        drop a random number between 5 and 4 of gunpowder
                                        add 1 to {gunpowder.%player%}
                                        send "&7&lZnalazles: &8&lProch!"
 
                        chance of {@szansa_apple}%:
                                if player's y-coordinate is smaller than {@wysokosc_apple}:
                                        drop a random number between 5 and 4 of apple
                                        add 1 to {apple.%player%}
                                        send "&7&lZnalazles: &4&lJablka!"
 
                        chance of {@szansa_enderpearl}%:
                                if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
                                        drop a random number between 5 and 4 of ender pearl
                                        add 1 to {enderpearl.%player%}
                                        send "&7&lZnalazles: &a&lEnderperly!"
 
                        chance of {@szansa_redstone}%:
                                if player's y-coordinate is smaller than {@wysokosc_redstone}:
                                        drop a random number between 6 and 5 of redstone
                                        add 1 to {redstone.%player%}
                                        send "&7&lZnalazles: &4&lRedstone'a!"
 
                        chance of {@szansa_lapis}%:
                                if player's y-coordinate is smaller than {@wysokosc_lapis}:
                                        drop a random number between 6 and 5 of lapis lazuli
                                        add 1 to {lapis.%player%}
                                        send "&7&lZnalazles: &1&lLapis!"
 
                        chance of {@szansa_wegiel}%:
                                if player's y-coordinate is smaller than {@wysokosc_wegiel}:
                                        drop a random number between 5 and 4 of coal
                                        add 1 to {wegiel.%player%}
                                        send "&7&lZnalazles: &0&lWegiel!"
#<Drop Dla VIPA>#
 
on mine of stone:
        if player has permission "pstone.vip":
                add 1 to {wykopanystone.%player%}
               
                chance of {@szansa_diamentvip}%:
                        if player's y-coordinate is smaller than {@wysokosc_diament}:
                                drop 1 diamond
                                add 1 to {diamenty.%player%}
                                send "&7&lZnalazles: &b&lDiament!"
 
                chance of {@szansa_emeraldvip}%:
                        if player's y-coordinate is smaller than {@wysokosc_emerald}:
                                drop 1 emerald
                                add 1 to {emeraldy.%player%}
                                send "&7&lZnalazles: &2&lEmerald!"
 
                chance of {@szansa_zelazovip}%:
                        if player's y-coordinate is smaller than {@wysokosc_zelazo}:
                                drop 1 iron ore
                                add 1 to {zelazo.%player%}
                                send "&7&lZnalazles: &1&8Zelazo"
 
                chance of {@szansa_zlotovip}%:
                        if player's y-coordinate is smaller than {@wysokosc_zloto}:
                                drop 1 gold ore
                                add 1 to {zloto.%player%}
                                send "&7&lZnalazles: &6&lZloto"
 
                chance of {@szansa_gunpowdervip}%:
                        if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
                                drop 1 gunpowder
                                add 1 to {gunpowder.%player%}
                                send "&7&lZnalazles: &9&lProch"
 
                chance of {@szansa_enderpearlvip}%:
                        if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
                                drop 1 ender pearl
                                add 1 to {enderpearl.%player%}
                                send "&7&lZnalazles: &1&2Enderperle!"
 
                chance of {@szansa_applevip}%:
                        if player's y-coordinate is smaller than {@wysokosc_apple}:
                                drop 1 apple
                                add 1 to {apple.%player%}
                                send "&7&lZnalazles: &4&lJablko!"
 
                chance of {@szansa_redstonevip}%:
                        if player's y-coordinate is smaller than {@wysokosc_redstone}:
                                drop a random number between 4 and 1 of redstone
                                add 1 to {redstone.%player%}
                                send "&7&lZnalazles: &4&lRedstone'a!"
 
                chance of {@szansa_lapisvip}%:
                        if player's y-coordinate is smaller than {@wysokosc_lapis}:
                                drop a random number between 4 and 1 of lapis lazuli
                                add 1 to {lapis.%player%}
                                send "&7&lZnalazles: &1&lLapis!"
               
                chance of {@szansa_wegielvip}%:
                        if player's y-coordinate is smaller than {@wysokosc_wegiel}:
                                drop 1 coal
                                add 1 to {wegiel.%player%}
                                send "&7&lZnalazles: &0&lWegiel!"
 
                if player's tool is a diamond pickaxe of fortune 1:
                        chance of {@szansa_diamentvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_diament}:
                                        drop a random number between 3 and 2 of diamond
                                        add 1 to {diamenty.%player%}
                                        send "&7&lZnalazles: &b&lDiamenty!"
 
 
                        chance of {@szansa_emeraldvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_emerald}:
                                        drop a random number between 3 and 2 of emerald
                                        add 1 to {emeraldy.%player%}
                                        send "&7&lZnalazles: &2&lEmeraldy!"
 
                        chance of {@szansa_zelazovip}%:
                                if player's y-coordinate is smaller than {@wysokosc_zelazo}:
                                        drop a random number between 3 and 2 of iron ore
                                        add 1 to {zelazo.%player%}
                                        send "&7&lZnalazles: &8&lZelazo!"
 
                        chance of {@szansa_zlotovip}%:
                                if player's y-coordinate is smaller than {@wysokosc_zloto}:
                                        drop a random number between 3 and 2 of emerald
                                        add 1 to {zloto.%player%}
                                        send "&7&lZnalazles: &6&lZloto!"
 
                        chance of {@szansa_gunpowdervip}%:
                                if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
                                        drop a random number between 3 and 2 of gunpowder
                                        add 1 to {gunpowder.%player%}
                                        send "&7&lZnalazles: &8&lProch!"
 
                        chance of {@szansa_applevip}%:
                                if player's y-coordinate is smaller than {@wysokosc_apple}:
                                        drop a random number between 3 and 2 of apple
                                        add 1 to {apple.%player%}
                                        send "&7&lZnalazles: &4&lJablka!"
 
                        chance of {@szansa_enderpearlvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
                                        drop a random number between 3 and 2 of ender pearl
                                        add 1 to {enderpearl.%player%}
                                        send "&7&lZnalazles: &a&lEnderperly!"
 
                        chance of {@szansa_redstonevip}%:
                                if player's y-coordinate is smaller than {@wysokosc_redstone}:
                                        drop a random number between 5 and 4 of redstone
                                        add 1 to {redstone.%player%}
                                        send "&7&lZnalazles: &4&lRedstone'a!"
 
                        chance of {@szansa_lapisvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_lapis}:
                                        drop a random number between 5 and 4 of lapis lazuli
                                        add 1 to {lapis.%player%}
                                        send "&7&lZnalazles: &1&lLapis!"
 
                        chance of {@szansa_wegielvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_wegiel}:
                                        drop a random number between 3 and 2 of coal
                                        add 1 to {wegiel.%player%}
                                        send "&7&lZnalazles: &0&lWegiel!"
 
                if player's tool is a diamond pickaxe of fortune 2:
                        chance of {@szansa_diamentvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_diament}:
                                        drop a random number between 4 and 3 of diamond
                                        add 1 to {diamenty.%player%}
                                        send "&7&lZnalazles: &b&lDiamenty!"
 
                        chance of {@szansa_emeraldvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_emerald}:
                                        drop a random number between 4 and 3 of emerald
                                        add 1 to {emeraldy.%player%}
                                        send "&7&lZnalazles: &2&lEmeraldy!"
 
                        chance of {@szansa_zelazovip}%:
                                if player's y-coordinate is smaller than {@wysokosc_zelazo}:
                                        drop a random number between 4 and 3 of iron ore
                                        add 1 to {zelazo.%player%}
                                        send "&7&lZnalazles: &8&lZelazo!"
 
                        chance of {@szansa_zlotovip}%:
                                if player's y-coordinate is smaller than {@wysokosc_zloto}:
                                        drop a random number between 4 and 3 of emerald
                                        add 1 to {zloto.%player%}
                                        send "&7&lZnalazles: &6&lZloto!"
 
                        chance of {@szansa_gunpowdervip}%:
                                if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
                                        drop a random number between 4 and 3 of gunpowder
                                        add 1 to {gunpowder.%player%}
                                        send "&7&lZnalazles: &8&lProch!"
 
                        chance of {@szansa_applevip}%:
                                if player's y-coordinate is smaller than {@wysokosc_apple}:
                                        drop a random number between 4 and 3 of apple
                                        add 1 to {apple.%player%}
                                        send "&7&lZnalazles: &4&lJablka!"
 
                        chance of {@szansa_enderpearlvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
                                        drop a random number between 4 and 3 of ender pearl
                                        add 1 to {enderpearl.%player%}
                                        send "&7&lZnalazles: &a&lEnderperly!"
 
                        chance of {@szansa_redstonevip}%:
                                if player's y-coordinate is smaller than {@wysokosc_redstone}:
                                        drop a random number between 6 and 5 of redstone
                                        add 1 to {redstone.%player%}
                                        send "&7&lZnalazles: &4&lRedstone'a!"
 
                        chance of {@szansa_redstonevip}%:
                                if player's y-coordinate is smaller than {@wysokosc_redstone}:
                                        drop a random number between 6 and 5 of redstone
                                        add 1 to {redstone.%player%}
                                        send "&7&lZnalazles: &4&lRedstone'a!"
 
                        chance of {@szansa_lapisvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_lapis}:
                                        drop a random number between 6 and 5 of lapis lazuli
                                        add 1 to {lapis.%player%}
                                        send "&7&lZnalazles: &1&lLapis!"
                                      
					if player's tool is a diamond pickaxe of fortune 3:
                        chance of {@szansa_diamentvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_diament}:
                                        drop a random number between 5 and 4 of diamond
                                        add 1 to {diamenty.%player%}
                                        send "&7&lZnalazles: &b&lDiamenty!"
 
                        chance of {@szansa_piasekvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_piasek}:
                                        drop a random number between 5 and 4 of sand
                                        add 1 to {piasek.%player%}
                                        send "&7&lZnalazles: &6&lPiasek!"
 
                        chance of {@szansa_emeraldvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_emerald}:
                                        drop a random number between 5 and 4 of emerald
                                        add 1 to {emeraldy.%player%}
                                        send "&7&lZnalazles: &2&lEmeraldy!"
 
                        chance of {@szansa_zelazovip}%:
                                if player's y-coordinate is smaller than {@wysokosc_zelazo}:
                                        drop a random number between 5 and 4 of iron ore
                                        add 1 to {zelazo.%player%}
                                        send "&7&lZnalazles: &8&lZelazo!"
 
                        chance of {@szansa_zlotovip}%:
                                if player's y-coordinate is smaller than {@wysokosc_zloto}:
                                        drop a random number between 5 and 4 of emerald
                                        add 1 to {zloto.%player%}
                                        send "&7&lZnalazles: &6&lZloto!"
 
                        chance of {@szansa_gunpowdervip}%:
                                if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
                                        drop a random number between 5 and 4 of gunpowder
                                        add 1 to {gunpowder.%player%}
                                        send "&7&lZnalazles: &8&lProch!"
 
                        chance of {@szansa_applevip}%:
                                if player's y-coordinate is smaller than {@wysokosc_apple}:
                                        drop a random number between 5 and 4 of apple
                                        add 1 to {apple.%player%}
                                        send "&7&lZnalazles: &4&lJablka!"
 
                        chance of {@szansa_enderpearlvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
                                        drop a random number between 5 and 4 of ender pearl
                                        add 1 to {enderpearl.%player%}
                                        send "&7&lZnalazles: &a&lEnderperly!"
 
                        chance of {@szansa_redstonevip}%:
                                if player's y-coordinate is smaller than {@wysokosc_redstone}:
                                        drop a random number between 6 and 5 of redstone
                                        add 1 to {redstone.%player%}
                                        send "&7&lZnalazles: &4&lRedstone'a!"
 
                        chance of {@szansa_lapisvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_lapis}:
                                        drop a random number between 6 and 5 of lapis lazuli
                                        add 1 to {lapis.%player%}
                                        send "&7&lZnalazles: &1&lLapis!"
 
                        chance of {@szansa_wegielvip}%:
                                if player's y-coordinate is smaller than {@wysokosc_wegiel}:
                                        drop a random number between 5 and 4 of coal
                                        add 1 to {wegiel.%player%}
                                        send "&7&lZnalazles: &0&lWegiel!"
 
on mine of any ore:
        cancel event
        drop 1 cobblestone
        set block to air
        send "&a&lTen surowiec dropi tylko ze stone! Wiecej Informacji: /stone"
 
on mine of emerald ore:
        cancel event
        drop 1 cobblestone
        set block to air
        send "&a&lTen surowiec dropi tylko ze stone! Wiecej Informacji: /stone"
 
command /stone:
        aliases: kamien, drop
        trigger:
                send "&3&l==========&c&lDrop Ze Stone&3&l=========="
                send "&3&lDiament: {@szansa_diament} Procent"
                send "&2&lEmerald: {@szansa_emerald} Procent"
                send "&8&lZelazo: {@szansa_zelazo} Procent"
                send "&6&lZloto: {@szansa_zloto} Procent"
                send "&4&lRedStone: {@szansa_redstone} Procent"
                send "&1&lLapis: {@szansa_lapis} Procent"
                send "&0&lWegiel: {@szansa_wegiel} Procent"
                send "&6&lPiasek: {@szansa_piasek} Procent"
                send "&2&lEnderPearl: {@szansa_enderpearl} Procent"
                send "&7&lProch: {@szansa_gunpowder} Procent"
                send "&4&lJablko: {@szansa_apple} Procent"
 
 
command /cobble:
    trigger:
        if {cobblestone.%player%} is true:
            set {cobblestone.%player%} to false
            send "&cWylaczono wypadanie cobblestone!"
        else if {cobblestone.%player%} is false:
            set {cobblestone.%player%} to true
            send "&aWlaczono wypadanie cobblestone!"
 
command /statystyki [<text>]:
        aliases: staty
        trigger:
                if arg 1 is not set:
                        send "&7Wykopane &bDiamenty: &7%{diamenty.%player%}%"
                        send "&7Wykopane &eZloto: &7%{zloto.%player%}%"
                        send "&7Wykopane &8Zelazo: &7%{zelazo.%player%}%"
                        send "&7Wykopany &0Wegiel: &7%{wegiel.%player%}%"
                        send "&7Wykopane &aEmeraldy: &7%{emeraldy.%player%}%"
                        send "&7Wykopane &7Proch: &7%{gunpowder.%player%}%"
                        send "&7Wykopane &cRedstone: &7%{redstone.%player%}%"
                        send "&7Wykopane &9Lapis: &7%{lapis.%player%}%"
                        send "&7Wykopany &6STONE: &7%{wykopanystone.%player%}%"
                if arg 1 is set:
                        if arg 1 is player:
                                send "&8====================="
                                send "&7Gracz: &6&o%arg 1%"
                                send "&7Wykopane &bDiamenty: &7%{diamenty.%arg 1%}%"
                                send "&7Wykopane &eZloto: &7%{zloto.%arg 1%}%"
                                send "&7Wykopane &8Zelazo: &7%{zelazo.%arg 1%}%"
                                send "&7Wykopany &0Wegiel: &7%{wegiel.%arg 1%}%"
                                send "&7Wykopane &aEmeraldy: &7%{emeraldy.%arg 1%}%"
                                send "&7Wykopane &7Proch: &7%{gunpowder.%arg 1%}%"
                                send "&7Wykopane &cRedstone: &7%{redstone.%arg 1%}%"
                                send "&7Wykopane &9Lapis: &7%{lapis.%arg 1%}%"
                                send "&7Wykopany &6STONE: &7%{wykopanystone.%arg 1%}%"
                        else:
                                send "&cTakiego gracza nie ma na serwerze!"

 

Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...