Error in console for Scoreboard

Discussion in 'Resource Discussions' started by DefaultMode, Apr 29, 2017.

  1. Hi,

    Just want to say I really do like this plugin with modules. Very well executed.

    I'm now using the 1.7 scoreboard module with 1.5 CTSNC plugin.

    Getting this error in console:
    > [15:41:05 WARN]: [CTSNC_Scoreboard] Task #554 for CTSNC_Scoreboard v1.7 generated an exception
    java.lang.ArrayIndexOutOfBoundsException: -1
    at b.o.getTPS(o.java:14) ~[?:?]
    at de.Herbystar.TTA.TTA_Methods.getTPS(TTA_Methods.java:174) ~[?:?]
    at de.Herbystar.CTSNC.ReplaceString.replaceString(ReplaceString.java:186) ~[?:?]
    at de.Herbystar.CTSNC.scoreboardModule.Scoreboards.updateContent(Scoreboards.java:115) ~[?:?]
    at de.Herbystar.CTSNC.scoreboardModule.Main$1.run(Main.java:46) ~[?:?]
    at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[server.jar:git-Spigot-de459a2-51263e9]
    at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353) [server.jar:git-Spigot-de459a2-51263e9]
    at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:723) [server.jar:git-Spigot-de459a2-51263e9]
    at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:400) [server.jar:git-Spigot-de459a2-51263e9]
    at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:668) [server.jar:git-Spigot-de459a2-51263e9]
    at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:567) [server.jar:git-Spigot-de459a2-51263e9]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]


    Moreover,

    I would like to see a detailed forums or post for the module configs? It could help.



    One final question...

    In my PEX config I have prefixes as '&0[&4&lOwner&0]'

    However, in the scoreboard for some reason it doesn't add the [ ] ? Any reason why? Something I could be doing wrong?



    Many thanks. And keep up the good work.
     
  2. The error is not a real error. It is more or less just a warning without any influence on CTSNC, but I will keep watching the error and try to remove the warning in the next update.

    Also I like the idea, I will setup wiki pages for all configs where all points are explained & what they do ;)

    You are not doing something wrong. CTSNC remove all [ & ] from the permissionsex prefix & suffix, because of some problems users had.
    But there will be an option to enable / disable the formattings in the next update so you can turn them off. Also I recommend to use the own prefix system of CTSNC.

    Best Regards,
    herby2212
     
  3. There is a new snapshot released which include the option to disable the pex formatting ;)

    You can download it here: http://snapshots.herbystar.eu/de/Herbystar/CTSNC/11.6-SNAPSHOT/CTSNC-11.6-20170430.104931-6.jar

    You need to regenerate your Variables.yml
     
  4. Hi,
    I need help.
    Code:
    [21:04:50] [Server thread/ERROR]: Could not pass event PlayerJoinEvent to CTSNC v11.5
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.PlayerList.onPlayerJoin(PlayerList.java:327) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.PlayerList.a(PlayerList.java:160) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.LoginListener.b(LoginListener.java:147) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.LoginListener.F_(LoginListener.java:57) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.NetworkManager.a(NetworkManager.java:233) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.ServerConnection.c(ServerConnection.java:140) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:842) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_131]
    Caused by: java.lang.NullPointerException
        at de.Herbystar.CTNSC.Events.PlayerJoinEvents.onPlayerJoinEvent(PlayerJoinEvents.java:73) ~[?:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        ... 14 more
    
     
  5. It seems the error comes from the updater. Do you use the newest version (11.6)? This should fix the error ;)
    http://herbystar.eu/resources/ctsnc...hat-protocol-hack-1-8-1-11.8/update?update=29
     
Loading...

Share This Page