Error in CTSNC - Module Scoreboard

Discussion in 'Spigot Plugin Help' started by Kailannon, Jul 27, 2018.

  1. Hello, I installed the Scoreboard for the CTSNC plug-in, but a warning appears in the console.

    Code (Text):

    [02:58:22 WARN]: [CTSNC_Scoreboard] Task #8877 for CTSNC_Scoreboard v2.2 generated an exception
    java.lang.ArrayIndexOutOfBoundsException: -1
            at b.o.getTPS(o.java:14) ~[?:?]
            at de.Herbystar.TTA.TTA_Methods.getTPS(TTA_Methods.java:186) ~[?:?]
            at de.Herbystar.CTSNC.ReplaceString.replaceString(ReplaceString.java:197) ~[?:?]
            at de.Herbystar.CTSNC_Modules.Scoreboard.Scoreboards$1.run(Scoreboards.java:160) ~[?:?]
            at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[minecraft_server.jar:git-Spigot-eb3d921-2b93d83]
            at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361) [minecraft_server.jar:git-Spigot-eb3d921-2b93d83]
            at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739) [minecraft_server.jar:git-Spigot-eb3d921-2b93d83]
            at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [minecraft_server.jar:git-Spigot-eb3d921-2b93d83]
            at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [minecraft_server.jar:git-Spigot-eb3d921-2b93d83]
            at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [minecraft_server.jar:git-Spigot-eb3d921-2b93d83]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_181]
    (i-search)`':
    In the Scoreboard.yml module i have this.

    Code (Text):

    CTSNC:
      SCOREBOARD:
        Enabled: true
        DEBUG: false
        Update_Content: true
        Scoreboard_Content_Update: 20
        Scoreboard_Title_Update: 2
        Header:
        - '&4<1> &6&lSURVIVAL &4<1>'
        Content:
        - '&1'
        - '&6&lProfil:'
        - '&fNume: &a[ctsnc-player-name]'
        - '&fBani: &a[vault-money]'
        - '&2'