I'm trying to create a scoreboard with Skript but I keep getting this error. I know the cause is that I have more than 16 characters on the board, but I know that there has to be a way to bypass that because there are so many servers that use text longer than 16 characters.
My code:
Error:
PS: I know I'm using Skript 2.1, but I can't update to 2.2 because the server I'm making right now for fun is 1.7.
My code:
code_language.skript:
every second:
loop all players:
wipe loop-player's sidebar
set name of sidebar of loop-player to "&b&lTest"
set score "&7&m------------------" in sidebar of loop-player to 3
set score "&6Just a test" in sidebar of loop-player to 2
set score "&7&m------------------" in sidebar of loop-player to 1
Error:
code_language.skript:
[20:24:15 ERROR]: #!#!
[20:24:15 ERROR]: #!#! [Skript] Severe Error:
[20:24:15 ERROR]: #!#!
[20:24:15 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[20:24:15 ERROR]: #!#! If you're a server admin however please go to http://dev.bukkit.org/server-mods/skript/tickets/
[20:24:15 ERROR]: #!#! and check whether this error has already been reported.
[20:24:15 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it,
[20:24:15 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[20:24:15 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[20:24:15 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[20:24:15 ERROR]: #!#!
[20:24:15 ERROR]: #!#! Stack trace:
[20:24:15 ERROR]: #!#! java.lang.IllegalArgumentException: Entry cannot be longer than 16 characters!
[20:24:15 ERROR]: #!#! at org.bukkit.craftbukkit.v1_7_R4.scoreboard.CraftObjective.getScore(CraftObjective.java:98)
[20:24:15 ERROR]: #!#! at net.rayfall.eyesniper2.skrayfall.scoreboard.EffSetScore.execute(EffSetScore.java:46)
[20:24:15 ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:50)
[20:24:15 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:63)
[20:24:15 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:91)
[20:24:15 ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:53)
[20:24:15 ERROR]: #!#! at ch.njol.skript.events.EvtPeriodical.execute(EvtPeriodical.java:94)
[20:24:15 ERROR]: #!#! at ch.njol.skript.events.EvtPeriodical$1.run(EvtPeriodical.java:120)
[20:24:15 ERROR]: #!#! at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftTask.run(CraftTask.java:71)
[20:24:15 ERROR]: #!#! at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350)
[20:24:15 ERROR]: #!#! at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:701)
[20:24:15 ERROR]: #!#! at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:307)
[20:24:15 ERROR]: #!#! at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:643)
[20:24:15 ERROR]: #!#! at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:549)
[20:24:15 ERROR]: #!#! at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628)
[20:24:15 ERROR]: #!#!
[20:24:15 ERROR]: #!#! Version Information:
[20:24:15 ERROR]: #!#! Skript: 2.1.2
[20:24:15 ERROR]: #!#! Bukkit: 1.7.10-R0.1-SNAPSHOT
[20:24:15 ERROR]: #!#! Minecraft: 1.7.10
[20:24:15 ERROR]: #!#! Java: 1.8.0_141
[20:24:15 ERROR]: #!#!
[20:24:15 ERROR]: #!#! Running CraftBukkit: false
[20:24:15 ERROR]: #!#!
[20:24:15 ERROR]: #!#! Current node: null
[20:24:15 ERROR]: #!#! Current item: null
[20:24:15 ERROR]: #!#!
[20:24:15 ERROR]: #!#! Thread: Server thread
[20:24:15 ERROR]: #!#!
[20:24:15 ERROR]: #!#! End of Error.
[20:24:15 ERROR]: #!#!
PS: I know I'm using Skript 2.1, but I can't update to 2.2 because the server I'm making right now for fun is 1.7.