Skocz do zawartości
  • 0

Problem z działaniem skryptu


Wiewi

Pytanie

Cześć mam do was pytanie dlaczego ten skrypt nie działa?

options:
    tag: &2PremiumCase
command /premiumcase <text> <text>:
    permission: premki.case
    trigger:
        give %argument 2% chest named "&2PremiumCase" to %argument 1%
on place of chest:
    if player's tool is chest named "&2PremiumCase":
    chance of 50%:
        drop 32 emerald block
        send player title "&8>> {@tag} &8<<" with subtitle "&8>> &232 Bloki Emeraldów! &8<<"
    chance of 35%:
        drop 1 diamond sword of sharpness 5 and fire aspect 2
        send player title "&8>> {@tag} &8<<" with subtitle "&8>> &2Miecz 5/2! &8<<"
    chance of 20%:
        drop 1 diamond helmet of protection 4 and unbreaking 3
        drop 1 diamond chestplate of protection 4 and unbreaking 3
        drop 1 diamond leggins of protection 4 and unbreaking 3
        drop 1 diamond boots of protection 4 and unbreaking 3
        send player title "&8>> {@tag} &8<<" with subtitle "&8>> &2Set 4/3! &8<<"
    chance of 10%:
        drop 1 diamond pickaxe of efficiency 6 and unbreaking 10
        send player title "&8>> {@tag} &8<<" with subtitle "&8>> &2Kilof 6/3! &8<<"
    chance of 1%:
        drop 1 beacon
        send player title "&8>> {@tag} &8<<" with subtitle "&8>> &4&lBEACON! &8<<"

Skrypt "niby" jest bez błedów ale nie działa ani komenda ani jak postawie skrzynke to nic się nie dzieje

Wersja mojego serwera to 1.8.8

a pluginy mam takie:

SkQuery

Skellet

WidlSkript

SkRayFall

Skript 

 

Edytowane przez BrixNW
Dodaje w code
Nieaktywny

Dodaje w code

Odnośnik do komentarza
https://skript.pl/temat/29838-problem-z-dzia%C5%82aniem-skryptu/
Udostępnij na innych stronach

10 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

@LjayPL789 W konsoli wyskakuje mi takie coś:

[Skript] Reloading PC.sk...
[15:04:10 ERROR]: 'argument(s)' cannot be used if the command has multiple arguments. Use 'argument 1', 'argument 2', etc. instead (PC.sk, line 7: give arg 1 chest named "&2PremiumCase"')
[15:04:10 ERROR]: 'player title "" with subtitle "&8>> &2PremiumCase &8<<" with subtitle "&8>> &232 Bloki Emerald?w! &8<<"' is not a text (PC.sk, line 14: send player title "" with subtitle "&8>> {@tag} &8<<" with subtitle "&8>> &232 Bloki Emerald?w! &8<<"')
[15:04:10 ERROR]: 'player title "" with subtitle "&8>> &2PremiumCase &8<<" with subtitle "&8>> &2Miecz 5/2! &8<<"' is not a text (PC.sk, line 19: send player title "" with subtitle "&8>> {@tag} &8<<" with subtitle "&8>> &2Miecz 5/2! &8<<"')
[15:04:10 ERROR]: 'protection 4 and unbreaking 3 at {_x}' is not an item stack (PC.sk, line 25: drop 1 diamond leggins of protection 4 and unbreaking 3 at {_x}')
[15:04:11 ERROR]: 'player title "" with subtitle "&8>> &2PremiumCase &8<<" with subtitle "&8>> &2Set 4/3! &8<<"' is not a text (PC.sk, line 27: send player title "" with subtitle "&8>> {@tag} &8<<" with subtitle "&8>> &2Set 4/3! &8<<"')
[15:04:11 ERROR]: 'player title "" with subtitle "&8>> &2PremiumCase &8<<" with subtitle "&8>> &2Kilof 6/3! &8<<"' is not a text (PC.sk, line 32: send player title "" with subtitle "&8>> {@tag} &8<<" with subtitle "&8>> &2Kilof 6/3! &8<<"')
[15:04:11 ERROR]: 'player title "" with subtitle "&8>> &2PremiumCase &8<<" with subtitle "&8>> &4&lBEACON! &8<<"' is not a text (PC.sk, line 37: send player title "" with subtitle "&8>> {@tag} &8<<" with subtitle "&8>> &4&lBEACON! &8<<"')
[15:04:11 INFO]: [Skript] Encountered 7 errors while reloading PC.sk!

 

Odnośnik do komentarza
https://skript.pl/temat/29838-problem-z-dzia%C5%82aniem-skryptu/#findComment-195930
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

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