Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Problem] Działanie skript


drooom

Rekomendowane odpowiedzi

Gość FallingCookie
Opublikowano

Sprawdź, czy nie usunąłeś jakiegoś pliku z folderu z pluginem, np. "aliases-english", "config.yml" albo coś w ten deseń.

Opublikowano

nie wszystko mam bo nawet próbowałem reinstala pluginu

 

Plugin skript działa normalnie bo mam 1 skrypt i on działa ale jak chce nowe sobie wkleić to za nic nie chcą działać to coś w kodzie albo nie wiem ale 2 dni temu te same skrypty mi działały

Gość FallingCookie
Opublikowano

Podaj błędy z konsoli przy wpisaniu komendy /sk reload all

Opublikowano

W konsoli nic nie pisze ale w grze pisze

 

reloading the config and all scripts loaded a total of 11504 english aliases indentation erro: expected 2 tabs.but found 8 spaces (drop.sk) line 62 send ''&7Fortuna zwiększa drop oraz ilosc'' loaded 2 scripts with a total oftiggers and 5 commands in 0.53 seconds

Opublikowano

# Autor: MrVoul- kamyk25902
# Nazwa: Mini_Drop skrypt z serwera MiniHC  
# Versja: 1.0

# Info:
# Opcje nie sa podloczne zrobilem je sobie tylko tak D:
# Skrypt pisany przeze mnie

#Licenja:
# Nie zmieniac Autora!
# Nie Rozpowrzechniac!
# Kod Mozna zmieniac !




options:
    drop.diamond: 6
    drop.emerald: 6
    drop.iron: 5
    drop.gold: 8
    drop.coal: 3
    drop.enderpearl: 0.50
    drop.gunpowder: 4
    drop.apple: 2
    drop.exp: 1000
#------------------------------------
    wysokosc.diamond: 40
    wysokosc.emerald: 120
    wysokosc.iron: 1000
    wysokosc.gold: 45
    wysokosc.coal: 60
    wysokosc.enderpearl: 70
    wysokosc.gunpowder: 120
    wysokosc.apple: 120
    wysokosc.exp: 700
#------------------------------------
    fortuna1: 50
    fortuna2: 30
    fortuna3: 10
#------------------------------------
    ilosc.fortuny1: 1-2
    ilosc.fortuny2: 1-3
    ilosc:fortuny3: 1-5

variables:
    {lvl.%player%} = 1
    {pkt.%player%} = 0
    {cb.%player%} = true

command /stone:
    aliases: /drop, /kamien, /surowce
    trigger:
        send "&6Diament: &76%% &8| &7y: 40"
        send "&6Szmaragd: &76%% &8| &7y: 120"
        send "&6Zelazo: &75%% &8| &7y: 1000"
        send "&6Zloto: &78%% &8| &7y: 45"
        send "&6Wegiel: &73%% &8| &7y: 60"
        send "&6Perla: &70.5%% &8| &7y: 70"
        send "&6Proch: &74%% &8| &7y: 120"
        send "&4Jablko &72%% &8| &7y: 120"
        send "&7Fortuna zwieksza drop oraz ilosc"
        
command /pkt:
    trigger:
        send "&9Aktulanie posiadasz &c%{pkt.%player%}% &9punktow czyli &c%{lvl.%player%}% &9lvl"
command /pktreset:
    trigger:
        set {pkt.%player%} to 0
        set {lvl.%player%} to 0
command /gowno:
    trigger:
        if {cb.%player%} is true:
            set {cb.%player%} to false
            send " &6» &7Wylaczyles drop cobblestone!"
            stop
        if {cb.%player%} is false:
            set {cb.%player%} to true
            send " &6» &7Wlaczyles drop cobblestone!"
            stop  
        
#-------------------Koniec Komend-----------------------
on explode:
    if {drop} is true:
        loop blocks in radius 10:
            if loop-block is diamond ore:
                set loop-block to air
            if loop-block is emerald ore:
                set loop-block to air
            if loop-block is gold ore:
                set loop-block to air
            if loop-block is iron ore:
                set loop-block to air




on mine of diamond ore:
    if {drop} is true:
        cancel event
        set block to air
        send " &6» &7Drop z tej rudy jest wylaczony!"
        send " &6» &7Aby zobaczyc  szanse na drop wpisz &6/drop&7!"
        stop
    else:
        stop
on mine of emerald ore:
    if {drop} is true:
        cancel event
        set block to air
        send " &6» &7Drop z tej rudy jest wylaczony!"
        send " &6» &7Aby zobaczyc  szanse na drop wpisz &6/drop&7!"
        stop
    else:
        stop
on mine of gold ore:
    if {drop} is true:
        cancel event
        set block to air
        send " &6» &7Drop z tej rudy jest wylaczony!"
        send " &6» &7Aby zobaczyc  szanse na drop wpisz &6/drop&7!"
        stop
    else:
        stop
on mine of iron ore:
    if {drop} is true:
        cancel event
        set block to air
        send " &6» &7Drop z tej rudy jest wylaczony!"
        send " &6» &7Aby zobaczyc  szanse na drop wpisz &6/drop&7!"
        stop
    else:
        stop
on chat:
    set the player's display name to "&7[&6%{lvl.%player%}%&7] &7%display name of player%"

on mine of stone:
    chance of 6%:
        if player's y-coordinate is less than 40:
            give 10 xp to the player
            add 25 to {pkt.%player%}
            give 1 diamond to the player
            send "&6Wydobyles:&bDiament &6(+25 pkt)"
            stop
    chance of 6%:
        if player's y-coordinate is less than 120:
            give 10 xp to the player
            add 12 to {pkt.%player%}
            give 1 emerald to the player
            send "&6Wydobyles:&aSzmaragd &6(+12 pkt)"
    chance of 5%:
        if player's y-coordinate is less than 1000:
            give 10 xp to the player
            add 5 to {pkt.%player%}
            give 1 iron ore to the player
            send "&6Wydobyles:&7Zelazo &6(+5 pkt)"
    chance of 8%:
        if player's y-coordinate is less than 45:
            give 10 xp to the player
            add 8 to {pkt.%player%}
            give 1 gold ore to the player
            send "&6Wydobyles:&eZloto &6(+8 pkt)"
    chance of 3%:
        if player's y-coordinate is less than 60:
            give 12 xp to the player
            add 18 to {pkt.%player%}
            give 1 coal to the player
            send "&6Wydobyles:&8Wegiel &6(+18 pkt)"
    chance of 0.50%:
        if player's y-coordinate is less than 70:
            give 28 xp to the player
            add 80 to {pkt.%player%}
            give 1 ender pearl to the player
            send "&6Wydobyles:&5Perle &6(+80 pkt)"
    chance of 4%:
        if player's y-coordinate is less than 120:
            give 15 xp to the player
            add 14 to {pkt.%player%}
            give 1 gunpowder to the player
            send "&6Wydobyles:&7Proch &6(+14 pkt)"
    chance of 2%:
        if player's y-coordinate is less than 120:
            give 9 xp to the player
            add 38 to {pkt.%player%}
            give 1 slimeball to the player
            send "&6Wydobyles:&4Jablko &6(+38 pkt)"
    chance of 6%:
        if player's y-coordinate is less than 40:
            if player is holding diamond pickaxe of fortune 1:
                chance of 50%:
                    give 2 diamond to the player
                    give 12 xp to the player
                    add 25 to {pkt.%player%}
                    send "&6Wydobyles:&bDiament &7[2 szt.] &6(+25 pkt)"
    chance of 6%:
        if player's y-coordinate is less than 40:
            if player is holding diamond pickaxe of fortune 2:
                chance of 70%:
                    give 3 diamond to the player
                    give 12 xp to the player
                    add 48 to {pkt.%player%}
                    send "&6Wydobyles:&bDiament &7[3 szt.] &6(+48 pkt)"
    chance of 6%:
        if player's y-coordinate is less than 40:
            if player is holding diamond pickaxe of fortune 3:
                chance of 90%:
                    give 4 diamond to the player
                    give 12 xp to the player
                    add 49 to {pkt.%player%}
                    send "&6Wydobyles:&bDiament &7[4 szt.] &6(+49 pkt)"
    chance of 6%:
        if player's y-coordinate is less than 120:
            if player is holding diamond pickaxe of fortune 1:
                chance of 50%:
                    give 2 emerald to the player
                    give 12 xp to the player
                    add 25 to {pkt.%player%}
                    send "&6Wydobyles:&aSzmaragd &7[2 szt.] &6(+25 pkt)"
    chance of 6%:
        if player's y-coordinate is less than 120:
            if player is holding diamond pickaxe of fortune 2:
                chance of 70%:
                    give 3 emerald to the player
                    give 12 xp to the player
                    add 25 to {pkt.%player%}
                    send "&6Wydobyles:&aSzmaragd &7[3 szt.] &6(+25 pkt)"
    chance of 6%:
        if player's y-coordinate is less than 120:
            if player is holding diamond pickaxe of fortune 3:
                chance of 90%:
                    give 4 emerald to the player
                    give 12 xp to the player
                    add 25 to {pkt.%player%}
                    send "&6Wydobyles:&aSzmaragd &7[4 szt.] &6(+25 pkt)"
    chance of 5%:
        if player's y-coordinate is less than 1000:
            if player is holding diamond pickaxe of fortune 1:
                chance of 50%:
                    give 2 iron ore to the player
                    give 12 xp to the player
                    add 25 to {pkt.%player%}
                    send "&6Wydobyles:&7Zelazo &7[2 szt.] &6(+25 pkt)"
    chance of 5%:
        if player's y-coordinate is less than 1000:
            if player is holding diamond pickaxe of fortune 2:
                chance of 70%:
                    give 3 iron ore to the player
                    give 12 xp to the player
                    add 25 to {pkt.%player%}
                    send "&6Wydobyles:&7Zelazo &7[3 szt.] &6(+25 pkt)"
    chance of 5%:
        if player's y-coordinate is less than 1000:
            if player is holding diamond pickaxe of fortune 3:
                chance of 90%:
                    give 4 iron ore to the player
                    give 12 xp to the player
                    add 25 to {pkt.%player%}
                    send "&6Wydobyles:&7Zelazo &7[4 szt.] &6(+25 pkt)"
    chance of 8%:
        if player's y-coordinate is less than 45:
            if player is holding diamond pickaxe of fortune 1:
                chance of 50%:
                    give 2 gold ore to the player
                    give 12 xp to the player
                    add 25 to {pkt.%player%}
                    send "&6Wydobyles:&eZloto &7[2 szt.] &6(+25 pkt)"
    chance of 8%:
        if player's y-coordinate is less than 45:
            if player is holding diamond pickaxe of fortune 2:
                chance of 70%:
                    give 3 gold ore to the player
                    give 12 xp to the player
                    add 25 to {pkt.%player%}
                    send "&6Wydobyles:&eZloto &7[3 szt.] &6(+25 pkt)"
    chance of 8%:
        if player's y-coordinate is less than 45:
            if player is holding diamond pickaxe of fortune 3:
                chance of 90%:
                    give 4 gold ore to the player
                    give 12 xp to the player
                    add 25 to {pkt.%player%}
                    send "&6Wydobyles:&eZloto &7[4 szt.] &6(+25 pkt)"

 




    chance of 100%:
        if player's y-coordinate is less than 1000:
            give 10 xp to the player
            give 1 cobblestone to the player
        if {pkt.%player%} is larger than 600:
            if {lvl.%player%} is less than 2:
                set {lvl.%player%} to 2
                send " &6» &7Awansowales na: &62 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 1800:
            if {lvl.%player%} is less than 3:
                set {lvl.%player%} to 3
                send " &6» &7Awansowales na: &63 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 2380:
            if {lvl.%player%} is less than 4:
                set {lvl.%player%} to 4
                send " &6» &7Awansowales na: &64 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 2890:
            if {lvl.%player%} is less than 5:
                set {lvl.%player%} to 5
                send " &6» &7Awansowales na: &65 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 3480:
            if {lvl.%player%} is less than 6:
                set {lvl.%player%} to 6
                send " &6» &7Awansowales na: &66 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 4230:
            if {lvl.%player%} is less than 7:
                set {lvl.%player%} to 7
                send " &6» &7Awansowales na: &67 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 5000:
            if {lvl.%player%} is less than 8:
                set {lvl.%player%} to 8
                send " &6» &7Awansowales na: &68 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 5820:
            if {lvl.%player%} is less than 9:
                set {lvl.%player%} to 9
                send " &6» &7Awansowales na: &69 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 6530:
            if {lvl.%player%} is less than 10:
                set {lvl.%player%} to 10
                send " &6» &7Awansowales na: &610 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 7210:
            if {lvl.%player%} is less than 11:
                set {lvl.%player%} to 11
                send " &6» &7Awansowales na: &611 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 8100:
            if {lvl.%player%} is less than 12:
                set {lvl.%player%} to 12
                send " &6» &7Awansowales na: &612 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 9820:
            if {lvl.%player%} is less than 13:
                set {lvl.%player%} to 13
                send " &6» &7Awansowales na: &613 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 11000:
            if {lvl.%player%} is less than 14:
                set {lvl.%player%} to 14
                send " &6» &7Awansowales na: &614 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 11890:
            if {lvl.%player%} is less than 15:
                set {lvl.%player%} to 15
                send " &6» &7Awansowales na: &615 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 13480:
            if {lvl.%player%} is less than 16:
                set {lvl.%player%} to 16
                send " &6» &7Awansowales na: &616 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 14960:
            if {lvl.%player%} is less than 17:
                set {lvl.%player%} to 17
                send " &6» &7Awansowales na: &617 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 15820:
            if {lvl.%player%} is less than 18:
                set {lvl.%player%} to 18
                send " &6» &7Awansowales na: &618 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 16720:
            if {lvl.%player%} is less than 19:
                set {lvl.%player%} to 19
                send " &6» &7Awansowales na: &619 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 17850:
            if {lvl.%player%} is less than 20:
                set {lvl.%player%} to 20
                send " &6» &7Awansowales na: &620 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 18590:
            if {lvl.%player%} is less than 21:
                set {lvl.%player%} to 21
                send " &6» &7Awansowales na: &621 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 19580:
            if {lvl.%player%} is less than 22:
                set {lvl.%player%} to 22
                send " &6» &7Awansowales na: &622 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 20240:
            if {lvl.%player%} is less than 23:
                set {lvl.%player%} to 23
                send " &6» &7Awansowales na: &623 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 21040:
            if {lvl.%player%} is less than 24:
                set {lvl.%player%} to 24
                send " &6» &7Awansowales na: &624 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 21890:
            if {lvl.%player%} is less than 25:
                set {lvl.%player%} to 25
                send " &6» &7Awansowales na: &625 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 22690:
            if {lvl.%player%} is less than 26:
                set {lvl.%player%} to 26
                send " &6» &7Awansowales na: &626 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 23450:
            if {lvl.%player%} is less than 27:
                set {lvl.%player%} to 27
                send " &6» &7Awansowales na: &627 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 24530:
            if {lvl.%player%} is less than 28:
                set {lvl.%player%} to 28
                send " &6» &7Awansowales na: &628 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 25000:
            if {lvl.%player%} is less than 29:
                set {lvl.%player%} to 29
                send " &6» &7Awansowales na: &629 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 30000:
            if {lvl.%player%} is less than 30:
                set {lvl.%player%} to 30
                send " &6» &7Awansowales na: &630 Poziom&7!"
                broadcast "&9%player% awansowal na 30 lvl Gratulacje"
                stop
        if {pkt.%player%} is larger than 32830:
            if {lvl.%player%} is less than 31:
                set {lvl.%player%} to 31
                send " &6» &7Awansowales na: &631 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 34850:
            if {lvl.%player%} is less than 32:
                set {lvl.%player%} to 32
                send " &6» &7Awansowales na: &632 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 39810:
            if {lvl.%player%} is less than 33:
                set {lvl.%player%} to 33
                send " &6» &7Awansowales na: &633 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 41230:
            if {lvl.%player%} is less than 34:
                set {lvl.%player%} to 34
                send " &6» &7Awansowales na: &634 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 48540:
            if {lvl.%player%} is less than 35:
                set {lvl.%player%} to 35
                send " &6» &7Awansowales na: &635 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 50000:
            if {lvl.%player%} is less than 36:
                set {lvl.%player%} to 36
                send " &6» &7Awansowales na: &636 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 53480:
            if {lvl.%player%} is less than 37:
                set {lvl.%player%} to 37
                send " &6» &7Awansowales na: &637 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 59820:
            if {lvl.%player%} is less than 38:
                set {lvl.%player%} to 38
                send " &6» &7Awansowales na: &638 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 65000:
            if {lvl.%player%} is less than 39:
                set {lvl.%player%} to 39
                send " &6» &7Awansowales na: &639 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 68000:
            if {lvl.%player%} is less than 40:
                set {lvl.%player%} to 40
                send " &6» &7Awansowales na: &640 Poziom&7!"
                broadcast "&6%player% awansowal na 40 lvl Gratulacje"
                stop
        if {pkt.%player%} is larger than 70000:
            if {lvl.%player%} is less than 41:
                set {lvl.%player%} to 41
                send " &6» &7Awansowales na: &641 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 74580:
            if {lvl.%player%} is less than 42:
                set {lvl.%player%} to 42
                send " &6» &7Awansowales na: &642 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 80000:
            if {lvl.%player%} is less than 43:
                set {lvl.%player%} to 43
                send " &6» &7Awansowales na: &643 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 90000:
            if {lvl.%player%} is less than 44:
                set {lvl.%player%} to 44
                send " &6» &7Awansowales na: &644 Poziom&7!"
                stop
        if {pkt.%player%} is larger than 100000:
            if {lvl.%player%} is less than 45:
                set {lvl.%player%} to 45
                send " &6» &7Awansowales na: &645 Poziom&7!"
                broadcast "&4%player% awansowal na 45 lvl Czyli najwiekszy poziom ! Gratulacje"
                stop

Gość FallingCookie
Opublikowano

Boże, nie umiesz czytać?

Zamień wszystkie spacje na taby w linijce 62

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...