Solved No scripts were found?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Equessy

Member
Dec 13, 2017
13
0
0
Hey, I got an error while developing my uhc skript.
When I reload the skript, I got this error in console:

code_language.skript:
[00:26:25 INFO]: Equessy issued server command: /sk reload all
[00:26:28 ERROR]: #!#!
[00:26:28 ERROR]: #!#! [Skript] Severe Error:
[00:26:28 ERROR]: #!#! Could not load uhc.sk
[00:26:28 ERROR]: #!#!
[00:26:28 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[00:26:28 ERROR]: #!#! If you're a server admin however please go to http://dev.bukkit.org/server-mods/skript/tickets/
[00:26:28 ERROR]: #!#! and check whether this error has already been reported.
[00:26:28 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it,
[00:26:28 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[00:26:28 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[00:26:28 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[00:26:28 ERROR]: #!#!
[00:26:28 ERROR]: #!#! Stack trace:
[00:26:28 ERROR]: #!#! java.lang.ClassCastException: ch.njol.skript.lang.Conditional$1 cannot be cast to ch.njol.skript.lang.Conditional
[00:26:28 ERROR]: #!#!     at ch.njol.skript.lang.Conditional.loadElseClause(Conditional.java:71)
[00:26:28 ERROR]: #!#!     at ch.njol.skript.lang.Conditional.loadElseClause(Conditional.java:71)
[00:26:28 ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:709)
[00:26:28 ERROR]: #!#!     at ch.njol.skript.command.Commands.loadCommand(Commands.java:467)
[00:26:28 ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:469)
[00:26:28 ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:245)
[00:26:28 ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:199)
[00:26:28 ERROR]: #!#!     at ch.njol.skript.Skript.reload(Skript.java:683)
[00:26:28 ERROR]: #!#!     at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:130)
[00:26:28 ERROR]: #!#!     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[00:26:28 ERROR]: #!#!     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
[00:26:28 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:646)
[00:26:28 ERROR]: #!#!     at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1115)
[00:26:28 ERROR]: #!#!     at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:950)
[00:26:28 ERROR]: #!#!     at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26)
[00:26:28 ERROR]: #!#!     at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53)
[00:26:28 ERROR]: #!#!     at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13)
[00:26:28 ERROR]: #!#!     at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[00:26:28 ERROR]: #!#!     at java.util.concurrent.FutureTask.run(Unknown Source)
[00:26:28 ERROR]: #!#!     at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:696)
[00:26:28 ERROR]: #!#!     at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316)
[00:26:28 ERROR]: #!#!     at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634)
[00:26:28 ERROR]: #!#!     at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537)
[00:26:28 ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
[00:26:28 ERROR]: #!#!
[00:26:28 ERROR]: #!#! Version Information:
[00:26:28 ERROR]: #!#!   Skript: 2.2-Fixes-V8b
[00:26:28 ERROR]: #!#!   Bukkit: 1.8-R0.1-SNAPSHOT
[00:26:28 ERROR]: #!#!   Minecraft: 1.8
[00:26:28 ERROR]: #!#!   Java: 1.8.0_151 (Java HotSpot(TM) 64-Bit Server VM 25.151-b12)
[00:26:28 ERROR]: #!#!   OS: Windows 10 amd64 10.0
[00:26:28 ERROR]: #!#!
[00:26:28 ERROR]: #!#! Running CraftBukkit: false
[00:26:28 ERROR]: #!#!
[00:26:28 ERROR]: #!#! Current node: else: (uhc.sk, line 499)
[00:26:28 ERROR]: #!#! Current item: null
[00:26:28 ERROR]: #!#!
[00:26:28 ERROR]: #!#! Thread: Server thread
[00:26:28 ERROR]: #!#!
[00:26:28 ERROR]: #!#! End of Error.
[00:26:28 ERROR]: #!#!

and
IXuvIq7ESoWx8nhPnFE-7w.png


this message.

Only commands doesn't work, others are working perfect.
Before 5 minutes, commands are works too and I don't changed any major things. Just some triggers.

Server version: Spigot 1.8
Skript version: 2.2
[doublepost=1513546486,1513546329][/doublepost]Oh, I fixed skript with changing little code.
 
Status
Not open for further replies.