Solved Scoreboard

  • 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.

Marsbar

Active Member
Mar 31, 2019
131
4
18
18
Hi Every one, this scoreboard skript won't send the lines after the "Rank:" line. Im sorry if this is my plugins but i could need help.
Code:
Every 0.1 second:
    loop all players:
        wipe loop-player's sidebar
        set name of sidebar of loop-player to "%{scorename.%loop-player%}%"
        #set score "&6&m&l==+=======+==" in sidebar of loop-player to 15
        set score " " in sidebar of loop-player to 14
        set score " &7&m====&&f    &2Rank:    &7&m&====" in sidebar of loop-player to 13
        set score " &7&m====&&f%{r.%player%}%&7&m&====" in sidebar of loop-player to 12
        set score " &7&m====&&f    %{tabp2.%player%}%    &7&m&====" in sidebar of loop-player to 11
        set score " &7&m====&&f    &6Penge:    &7&m&====" in sidebar of loop-player to 10
        set score " &7&m====&&f    &8$%{b.%player%}%    &7&m&====" in sidebar of loop-player to 9
        set score "&6&m&l==+=======+==" in sidebar of loop-player to 8
Variables:
%{tabp2.%player%}%:
second rank
%{r.%player%}%:
first rank
%{b.%player%}%:
Custom money skript (Just money)

edit:
i have tried with another type of scoreboard and it sends a messageto the console like the other did....
Code:
Every 0.1 second:
    loop all players:
        #wipe loop-player's sidebar
        display board named "%{scorename.%loop-player%}%" to loop-player
        make score of "&6&m&l==+=======+==" in board of loop-player to 15
        make score of " " in board of loop-player to 14
        #set score " &7&m====&&f    &2Rank:    &7&m&====" in board of loop-player to
        #set score " &7&m====&&f%{r.%player%}%&7&m&====" in sidebar of loop-player to 12
        #set score " &7&m====&&f    {tabp2.player}    &7&m&====" in sidebar of loop-player to 11
        #set score " &7&m====&&f    &6Penge:    &7&m&====" in sidebar of loop-player to 10
        #set score " &7&m====&&f    &8$%{b.%player%}%    &7&m&====" in sidebar of loop-player to 9
        #set score "&6&m&l==+=======+==" in sidebar of loop-player to 8
        move display of loop-player to sidebar


Console output:
Code:
[10:38:02 ERROR]: #!#! [Skript] Severe Error:
[10:38:02 ERROR]: #!#!
[10:38:02 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[10:38:02 ERROR]: #!#! If you're a server admin however please go to http://dev.bukkit.org/server-mods/skript/tickets/
[10:38:02 ERROR]: #!#! and check whether this error has already been reported.
[10:38:02 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it,
[10:38:02 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[10:38:02 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[10:38:02 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[10:38:02 ERROR]: #!#!
[10:38:02 ERROR]: #!#! Stack trace:
[10:38:02 ERROR]: #!#! java.lang.IllegalArgumentException: Name cannot be blank
[10:38:02 ERROR]: #!#!     at com.google.common.base.Preconditions.checkArgument(Preconditions.java:125)
[10:38:02 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_8_R1.CraftServer.getOfflinePlayer(CraftServer.java:1281)
[10:38:02 ERROR]: #!#!     at org.bukkit.Bukkit.getOfflinePlayer(Bukkit.java:741)
[10:38:02 ERROR]: #!#!     at com.w00tmast3r.skquery.elements.effects.EffSetScore.execute(EffSetScore.java:32)
[10:38:02 ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:50)
[10:38:02 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:63)
[10:38:02 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:91)
[10:38:02 ERROR]: #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:53)
[10:38:02 ERROR]: #!#!     at ch.njol.skript.events.EvtPeriodical.execute(EvtPeriodical.java:94)
[10:38:02 ERROR]: #!#!     at ch.njol.skript.events.EvtPeriodical$1.run(EvtPeriodical.java:120)
[10:38:02 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftTask.run(CraftTask.java:71)
[10:38:02 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350)
[10:38:02 ERROR]: #!#!     at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:709)
[10:38:02 ERROR]: #!#!     at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316)
[10:38:02 ERROR]: #!#!     at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634)
[10:38:02 ERROR]: #!#!     at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537)
[10:38:02 ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
[10:38:02 ERROR]: #!#!
[10:38:02 ERROR]: #!#! Version Information:
[10:38:02 ERROR]: #!#!   Skript: 2.1.2
[10:38:02 ERROR]: #!#!   Bukkit: 1.8-R0.1-SNAPSHOT
[10:38:02 ERROR]: #!#!   Minecraft: 1.8
[10:38:02 ERROR]: #!#!   Java: 1.8.0_201
[10:38:02 ERROR]: #!#!
[10:38:02 ERROR]: #!#! Running CraftBukkit: false
[10:38:02 ERROR]: #!#!
[10:38:02 ERROR]: #!#! Current node: null
[10:38:02 ERROR]: #!#! Current item: display board
[10:38:02 ERROR]: #!#!
[10:38:02 ERROR]: #!#! Thread: Server thread
[10:38:02 ERROR]: #!#!
[10:38:02 ERROR]: #!#! End of Error.
[10:38:02 ERROR]: #!#!
 
Last edited:
Hi Every one, this scoreboard skript won't send the lines after the "Rank:" line. Im sorry if this is my plugins but i could need help.
Code:
Every 0.1 second:
    loop all players:
        wipe loop-player's sidebar
        set name of sidebar of loop-player to "%{scorename.%loop-player%}%"
        #set score "&6&m&l==+=======+==" in sidebar of loop-player to 15
        set score " " in sidebar of loop-player to 14
        set score " &7&m====&&f    &2Rank:    &7&m&====" in sidebar of loop-player to 13
        set score " &7&m====&&f%{r.%player%}%&7&m&====" in sidebar of loop-player to 12
        set score " &7&m====&&f    %{tabp2.%player%}%    &7&m&====" in sidebar of loop-player to 11
        set score " &7&m====&&f    &6Penge:    &7&m&====" in sidebar of loop-player to 10
        set score " &7&m====&&f    &8$%{b.%player%}%    &7&m&====" in sidebar of loop-player to 9
        set score "&6&m&l==+=======+==" in sidebar of loop-player to 8
Variables:
%{tabp2.%player%}%:
second rank
%{r.%player%}%:
first rank
%{b.%player%}%:
Custom money skript (Just money)

edit:
i have tried with another type of scoreboard and it sends a messageto the console like the other did....
Code:
Every 0.1 second:
    loop all players:
        #wipe loop-player's sidebar
        display board named "%{scorename.%loop-player%}%" to loop-player
        make score of "&6&m&l==+=======+==" in board of loop-player to 15
        make score of " " in board of loop-player to 14
        #set score " &7&m====&&f    &2Rank:    &7&m&====" in board of loop-player to
        #set score " &7&m====&&f%{r.%player%}%&7&m&====" in sidebar of loop-player to 12
        #set score " &7&m====&&f    {tabp2.player}    &7&m&====" in sidebar of loop-player to 11
        #set score " &7&m====&&f    &6Penge:    &7&m&====" in sidebar of loop-player to 10
        #set score " &7&m====&&f    &8$%{b.%player%}%    &7&m&====" in sidebar of loop-player to 9
        #set score "&6&m&l==+=======+==" in sidebar of loop-player to 8
        move display of loop-player to sidebar


Console output:
Code:
[10:38:02 ERROR]: #!#! [Skript] Severe Error:
[10:38:02 ERROR]: #!#!
[10:38:02 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[10:38:02 ERROR]: #!#! If you're a server admin however please go to http://dev.bukkit.org/server-mods/skript/tickets/
[10:38:02 ERROR]: #!#! and check whether this error has already been reported.
[10:38:02 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it,
[10:38:02 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[10:38:02 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[10:38:02 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[10:38:02 ERROR]: #!#!
[10:38:02 ERROR]: #!#! Stack trace:
[10:38:02 ERROR]: #!#! java.lang.IllegalArgumentException: Name cannot be blank
[10:38:02 ERROR]: #!#!     at com.google.common.base.Preconditions.checkArgument(Preconditions.java:125)
[10:38:02 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_8_R1.CraftServer.getOfflinePlayer(CraftServer.java:1281)
[10:38:02 ERROR]: #!#!     at org.bukkit.Bukkit.getOfflinePlayer(Bukkit.java:741)
[10:38:02 ERROR]: #!#!     at com.w00tmast3r.skquery.elements.effects.EffSetScore.execute(EffSetScore.java:32)
[10:38:02 ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:50)
[10:38:02 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:63)
[10:38:02 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:91)
[10:38:02 ERROR]: #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:53)
[10:38:02 ERROR]: #!#!     at ch.njol.skript.events.EvtPeriodical.execute(EvtPeriodical.java:94)
[10:38:02 ERROR]: #!#!     at ch.njol.skript.events.EvtPeriodical$1.run(EvtPeriodical.java:120)
[10:38:02 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftTask.run(CraftTask.java:71)
[10:38:02 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350)
[10:38:02 ERROR]: #!#!     at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:709)
[10:38:02 ERROR]: #!#!     at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316)
[10:38:02 ERROR]: #!#!     at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634)
[10:38:02 ERROR]: #!#!     at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537)
[10:38:02 ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
[10:38:02 ERROR]: #!#!
[10:38:02 ERROR]: #!#! Version Information:
[10:38:02 ERROR]: #!#!   Skript: 2.1.2
[10:38:02 ERROR]: #!#!   Bukkit: 1.8-R0.1-SNAPSHOT
[10:38:02 ERROR]: #!#!   Minecraft: 1.8
[10:38:02 ERROR]: #!#!   Java: 1.8.0_201
[10:38:02 ERROR]: #!#!
[10:38:02 ERROR]: #!#! Running CraftBukkit: false
[10:38:02 ERROR]: #!#!
[10:38:02 ERROR]: #!#! Current node: null
[10:38:02 ERROR]: #!#! Current item: display board
[10:38:02 ERROR]: #!#!
[10:38:02 ERROR]: #!#! Thread: Server thread
[10:38:02 ERROR]: #!#!
[10:38:02 ERROR]: #!#! End of Error.
[10:38:02 ERROR]: #!#!
Update to Skript dev-36, and the SkRayFall scoreboards don't let you place very long texts
 
Status
Not open for further replies.