Skocz do zawartości

Problem z pluginem skript.


Rekomendowane odpowiedzi

Pluginy: Skript, WildSkript, SkQuery, LagMeter, WorldEdit, NoCheatPlus, WhitelistMessage, ColoredSigns, MaxBans, Vault, Multiverse-Core, PermissionsEx, WorldGuard, AntiJoinBot, Essentials, MineResetLite, EssentialsSpawn, CombatLog, EssentialsChat, AuthMe

Wersja silnika: CraftBukkit 1.7.2 R0.3 (Implementing API version 1.7.2-R0.4-SNAPSHOT)

Wersja minecrafta: 1.7.2

Wersje dodatków do skripta: Skript 2.1.2, WildSkript 1.6.1, SkQuery 3.21.4

Błędy/opis błędu: Nie działa ten oto skrypt:

Spoiler

command /panelek:
	aliases: panel
	permission: admin.panel
	permission message: &4BLAD: &cNie masz uprawnien aby korzystac z tej komendy!
	trigger:
		give 1 stick named "123" to player
		stop

on rightclick:
	if name of player's tool is "&3G123":
		wait 1 tick
		open chest with 1 row named "&4TEST" to the player
		wait 2 ticks
		format slot 0 of player with stick to be unstealable
		format slot 1 of player with clock named "&7&lZrob &e&lDzien" with lore "&7&lCzas na serwerze:||&c&l%time%" to run [make player execute command "/day"]
		format slot 2 of player with clock named "&7&lZrob &1&lNoc" with lore "&7&lCzas na serwerze:||&c&l%time%" to run [make player execute command "/night"]

 

Spoiler

[14:04:38 ERROR]: #!#! 
[14:04:38 ERROR]: #!#! [Skript] Severe Error:
[14:04:38 ERROR]: #!#! 
[14:04:38 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[14:04:38 ERROR]: #!#! If you're a server admin however please go to http://dev.bukkit.org/server-mods/skript/tickets/
[14:04:38 ERROR]: #!#! and check whether this error has already been reported.
[14:04:38 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it,
[14:04:38 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[14:04:38 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[14:04:38 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[14:04:38 ERROR]: #!#! 
[14:04:38 ERROR]: #!#! Stack trace:
[14:04:38 ERROR]: #!#! java.lang.IllegalArgumentException: Title cannot be longer than 32 characters
[14:04:38 ERROR]: #!#!     at org.apache.commons.lang.Validate.isTrue(Validate.java:157)
[14:04:38 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_7_R1.inventory.CraftInventoryCustom$MinecraftInventory.<init>(CraftInventoryCustom.java:48)
[14:04:38 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_7_R1.inventory.CraftInventoryCustom.<init>(CraftInventoryCustom.java:26)
[14:04:38 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_7_R1.CraftServer.createInventory(CraftServer.java:1472)
[14:04:38 ERROR]: #!#!     at org.bukkit.Bukkit.createInventory(Bukkit.java:588)
[14:04:38 ERROR]: #!#!     at com.w00tmast3r.skquery.elements.expressions.ExprBlankInventories.get(ExprBlankInventories.java:36)
[14:04:38 ERROR]: #!#!     at com.w00tmast3r.skquery.elements.expressions.ExprBlankInventories.get(ExprBlankInventories.java:14)
[14:04:38 ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:101)
[14:04:38 ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getSingle(SimpleExpression.java:61)
[14:04:38 ERROR]: #!#!     at ch.njol.skript.effects.EffOpenInventory.execute(EffOpenInventory.java:78)
[14:04:38 ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:50)
[14:04:38 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:63)
[14:04:38 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:91)
[14:04:38 ERROR]: #!#!     at ch.njol.skript.effects.Delay$1.run(Delay.java:85)
[14:04:38 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:53)
[14:04:38 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
[14:04:38 ERROR]: #!#!     at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:587)
[14:04:38 ERROR]: #!#!     at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250)
[14:04:38 ERROR]: #!#!     at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545)
[14:04:38 ERROR]: #!#!     at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457)
[14:04:38 ERROR]: #!#!     at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)
[14:04:38 ERROR]: #!#! 
[14:04:38 ERROR]: #!#! Version Information:
[14:04:38 ERROR]: #!#!   Skript: 2.1.2
[14:04:38 ERROR]: #!#!   Bukkit: 1.7.2-R0.4-SNAPSHOT
[14:04:38 ERROR]: #!#!   Minecraft: 1.7.2
[14:04:38 ERROR]: #!#!   Java: 1.7.0_121
[14:04:38 ERROR]: #!#! 
[14:04:38 ERROR]: #!#! Running CraftBukkit: false
[14:04:38 ERROR]: #!#! 
[14:04:38 ERROR]: #!#! Current node: null
[14:04:38 ERROR]: #!#! Current item: open inventory to the player
[14:04:38 ERROR]: #!#! 
[14:04:38 ERROR]: #!#! Thread: Server thread
[14:04:38 ERROR]: #!#! 
[14:04:38 ERROR]: #!#! End of Error.
[14:04:38 ERROR]: #!#! 

 

Wyżej błędy z konsoli.

Za pomoc daje like!

 

Odnośnik do komentarza
https://skript.pl/temat/17071-problem-z-pluginem-skript/
Udostępnij na innych stronach

@SirGeorge Nic wszystko w porządku, 0 błędów. Pewnie to problem z którymś z dodatków ale nie jestem pewien.

@EDIT

Bo skrypty z czystego skryptu działają tylko ten nie chce.

Edytowane przez SayJacoB
Odnośnik do komentarza
https://skript.pl/temat/17071-problem-z-pluginem-skript/#findComment-116881
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ę...