Internal error occured Skript.

  • 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 comminuty!

    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.

utol

Member
Feb 10, 2017
17
1
0
25
```
07.05 00:44:18 [Server] INFO Reloading ffa.sk... 07.05 00:44:18 [Server] WARN Unexpected exception while parsing console command "sk reload ffa" 07.05 00:44:18 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'sk' in plugin Skript v2.1.2 07.05 00:44:18 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[custom.jar:git-PaperSpigot-a925999] 07.05 00:44:18 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) ~[custom.jar:git-PaperSpigot-a925999] 07.05 00:44:18 [Server] INFO at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServer.java:773) ~[custom.jar:git-PaperSpigot-a925999] 07.05 00:44:18 [Server] INFO at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchServerCommand(CraftServer.java:759) [custom.jar:git-PaperSpigot-a925999] 07.05 00:44:18 [Server] INFO at net.minecraft.server.v1_7_R4.DedicatedServer.aB(DedicatedServer.java:325) [custom.jar:git-PaperSpigot-a925999] 07.05 00:44:18 [Server] INFO at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:287) [custom.jar:git-PaperSpigot-a925999] 07.05 00:44:18 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:651) [custom.jar:git-PaperSpigot-a925999] 07.05 00:44:18 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:557) [custom.jar:git-PaperSpigot-a925999] 07.05 00:44:18 [Server] INFO at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [custom.jar:git-PaperSpigot-a925999] 07.05 00:44:18 [Server] INFO Caused by: java.lang.NoSuchMethodError: ch.njol.util.NonNullPair.getSecond()Ljava/lang/Object; 07.05 00:44:18 [Server] INFO at ch.njol.skript.command.Commands.loadCommand(Commands.java:379) ~[?:?] 07.05 00:44:18 [Server] INFO at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:462) ~[?:?] 07.05 00:44:18 [Server] INFO at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:262) ~[?:?] 07.05 00:44:18 [Server] INFO at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:155) ~[?:?] 07.05 00:44:18 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[custom.jar:git-PaperSpigot-a925999] 07.05 00:44:18 [Server] INFO ... 8 more 07.05 00:44:20 [Server] INFO CONSOLE issued server command: /list
```

It works on my local host server, but not on the host.
Skquery, WIldSkript, Skellet, Skript only

Skript code that makes the skript goes error
```
options:
World: Arena
#What world would you want the FFA Arena be.

on damage of player:
wait 1 tick
attacker is a player:
if projectile exists:
wait 1 tick
victim is not dead:
message "&a%victim% &6is now at &b%health of victim% &4&l❤" to the attacker
stop


command /ffa [<text>]:
trigger:
if arg-1 is "setspawn":
player has permission "ffa.setspawn":
if {ffa.spawn} is set:
message "&aFFA Spawn has been overwrited."
wait 2 ticks
message "&aFFA Spawn set."
else:
message "&aFFA Spawn set."
else:
message "&bIn your Dreams."
if arg-1 is "kit":
make console execute command "ci %player%"
clear player's current invnetory
equip player with diamond helmet
equip player with diamond leggings
equip player with diamond chestplate
equip player with diamond boots
enchant the player's chestplate with protection 5 and unbreaking 3
enchant the player's boots with protection 5 and unbreaking 3 and feather falling 4
enchant the player's leggings with protection 5 and unbreaking 3
enchant the player's helmet with protection 5 and unbreaking 3
give player a diamond sword of sharpness 2 and unbreaking 3
give player a bow of power 2 and unbreaking 2
give player a fishing rod
give player 64 steak
give player 16 golden apple
give player 64 cobblestone
give player 12 golden apple named "&bGolden Head"
give player a water bucket
give player a lava bucket
give player 64 arrows
give player 64 arrows

command /arena:
trigger:
if player is in world "{@World}":
cancel event
message "&bYou're already in FFA."
else:
message "&eTeleporting to &eFFA.."
wait 2 seconds
if {ffa.spawn} is set:
teleport player to {ffa.spawn}
message "&eJoined &6FFA."
else:
message "&cFFA Spawn has not been set."

on place of cobblestone:
wait 10 seconds
remove cobblestone

```
 
e9cc7514f949621e722b1878257e436a.png

Make that,
</> code → General code → Skript (right click on skript code) and enter skript code
 
Status
Not open for further replies.