Spigot AnimatedScoreboard 0.2.5

An animated and anti-flicker scoreboard plugin with 1500+ placeholders, effects and eventtriggers

  1. [11:23:49 WARN]: [AnimatedScoreboard] Plugin AnimatedScoreboard v0.1.5 generated an exception while executing task 135
    java.lang.IllegalArgumentException: Team name '0' is already in use
    at org.apache.commons.lang.Validate.isTrue(Validate.java:136) ~[patched_1.14.4.jar:git-Paper-243]
    at org.bukkit.craftbukkit.v1_14_R1.scoreboard.CraftScoreboard.registerNewTeam(CraftScoreboard.java:167) ~[patched_1.14.4.jar:git-Paper-243]
    at me.jasperjh.animatedscoreboard.objects.PlayerScoreboard.setLine(PlayerScoreboard.java:189) ~[?:?]
    at me.jasperjh.animatedscoreboard.objects.PlayerScoreboard.update(PlayerScoreboard.java:75) ~[?:?]
    at me.jasperjh.animatedscoreboard.objects.ScoreboardPlayer.tickScoreboards(ScoreboardPlayer.java:293) ~[?:?]
    at me.jasperjh.animatedscoreboard.core.PlayerScoreboardHandler.lambda$init$1(PlayerScoreboardHandler.java:150) ~[?:?]
    at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:84) ~[patched_1.14.4.jar:git-Paper-243]
    at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.14.4.jar:git-Paper-243]
    at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.14.4.jar:git-Paper-243]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_241]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_241]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_241]
     
  2. [20:06:45 WARN]: [AnimatedScoreboard] Plugin AnimatedScoreboard v0.1.5 generated an exception while executing task 135
    java.lang.IllegalArgumentException: Team name '0' is already in use
    at org.apache.commons.lang.Validate.isTrue(Validate.java:136) ~[patched_1.14.4.jar:git-Paper-243]
    at org.bukkit.craftbukkit.v1_14_R1.scoreboard.CraftScoreboard.registerNewTeam(CraftScoreboard.java:167) ~[patched_1.14.4.jar:git-Paper-243]
    at me.jasperjh.animatedscoreboard.objects.PlayerScoreboard.setLine(PlayerScoreboard.java:189) ~[?:?]
    at me.jasperjh.animatedscoreboard.objects.PlayerScoreboard.update(PlayerScoreboard.java:75) ~[?:?]
    at me.jasperjh.animatedscoreboard.objects.ScoreboardPlayer.tickScoreboards(ScoreboardPlayer.java:293) ~[?:?]
    at me.jasperjh.animatedscoreboard.core.PlayerScoreboardHandler.lambda$init$1(PlayerScoreboardHandler.java:150) ~[?:?]
    at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:84) ~[patched_1.14.4.jar:git-Paper-243]
    at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.14.4.jar:git-Paper-243]
    at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.14.4.jar:git-Paper-243]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_241]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_241]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_241]
     
  3. Posting the same error twice won't help either of us. Could you start a private conversation with me and tell me if you are using any other plugins on the server that use the scoreboard?
     
  4. ok thx
     
  5. @JasperJH

    Hey, would it also be possible to make the plugin compatible with this ProSkywars
    https://www.spigotmc.org/resources/...ails-perks-mysterybox-hologram-refills.30170/

    Placeholders:
    • %proskywars_kills%
    • %proskywars_deaths%
    • %proskywars_wins%
    • %proskywars_money%
    • %proskywars_souls%
    • %proskywars_projectilesLaunched%
    • %proskywars_projectilesHit%
    • %proskywars_blocksBreaked%
    • %proskywars_blocksPlaced%
    • %proskywars_kit%
    • %proskywars_cage%
    • %proskywars_trail%
    • %proskywars_time%
     
  6. What do you mean exactly with making my plugin compatible with ProSkywars? Those placeholders should work just fine.
     
  7. upload_2020-4-24_23-19-41.png

    i don't know if i'm doing something wrong, but i don't think so
     
  8. Do you have PlaceholderAPI installed? The plugin overview page clearly states that it has support for PlaceholderAPI:
    If you have PlaceholderAPI installed and it still isn't working then you should contact the developer of PlaceholderAPI.
     
  9. Hi there. I'm using paper 1.15.2 and getting the "server stopped responding" crash when it is mid-way through a reboot and it gives this output:

    Code (Text):
    [03:00:32] [Paper Watchdog Thread/ERROR]: ------------------------------
    [03:00:32] [Paper Watchdog Thread/ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
    [03:00:32] [Paper Watchdog Thread/ERROR]: ------------------------------
    [03:00:32] [Paper Watchdog Thread/ERROR]: Current Thread: Server thread
    [03:00:32] [Paper Watchdog Thread/ERROR]:     PID: 23 | Suspended: false | Native: false | State: RUNNABLE
    [03:00:32] [Paper Watchdog Thread/ERROR]:     Stack:
    [03:00:32] [Paper Watchdog Thread/ERROR]:         java.lang.String$CaseInsensitiveComparator.compare(String.java:1186)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         java.lang.String.compareToIgnoreCase(String.java:1239)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         net.minecraft.server.v1_15_R1.ScoreboardScore.a(SourceFile:13)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         net.minecraft.server.v1_15_R1.ScoreboardScore$$Lambda$3214/75076380.compare(Unknown Source)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         java.util.TimSort.mergeHi(TimSort.java:837)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         java.util.TimSort.mergeAt(TimSort.java:516)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         java.util.TimSort.mergeCollapse(TimSort.java:439)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         java.util.TimSort.sort(TimSort.java:245)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         java.util.Arrays.sort(Arrays.java:1512)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         java.util.ArrayList.sort(ArrayList.java:1454)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         net.minecraft.server.v1_15_R1.Scoreboard.getScoresForObjective(SourceFile:101)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         net.minecraft.server.v1_15_R1.ScoreboardServer.getScoreboardScorePacketsForObjective(ScoreboardServer.java:165)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         net.minecraft.server.v1_15_R1.PlayerList.sendScoreboard(PlayerList.java:345)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         org.bukkit.craftbukkit.v1_15_R1.scoreboard.CraftScoreboardManager.setPlayerBoard(CraftScoreboardManager.java:93)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         org.bukkit.craftbukkit.v1_15_R1.entity.CraftPlayer.setScoreboard(CraftPlayer.java:1665)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         me.jasperjh.animatedscoreboard.objects.PlayerScoreboard.remove(PlayerScoreboard.java:248)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         me.jasperjh.animatedscoreboard.objects.ScoreboardPlayer.removeScoreboard(ScoreboardPlayer.java:311)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         me.jasperjh.animatedscoreboard.core.PlayerScoreboardHandler.onQuit(PlayerScoreboardHandler.java:186)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor89.execute(Unknown Source)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         org.bukkit.plugin.EventExecutor$$Lambda$2845/697453077.execute(Unknown Source)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         net.minecraft.server.v1_15_R1.PlayerList.disconnect(PlayerList.java:439)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1505)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         net.minecraft.server.v1_15_R1.PlayerConnection.disconnect(PlayerConnection.java:281)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         org.bukkit.craftbukkit.v1_15_R1.entity.CraftPlayer.kickPlayer(CraftPlayer.java:436)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         com.earth2me.essentials.commands.Commandkickall.run(Commandkickall.java:24)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:171)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:545)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         com.earth2me.essentials.Essentials.onCommand(Essentials.java:458)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         org.bukkit.craftbukkit.v1_15_R1.CraftServer.dispatchCommand(CraftServer.java:752)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         org.bukkit.Bukkit.dispatchCommand(Bukkit.java:704)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         me.dennis.autorestart.core.TimerThread.lambda$2(TimerThread.java:83)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         me.dennis.autorestart.core.TimerThread$$Lambda$5421/196717782.call(Unknown Source)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftFuture.run(CraftFuture.java:88)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:451)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         net.minecraft.server.v1_15_R1.MinecraftServer.b(MinecraftServer.java:1259)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:429)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:1172)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:969)
    [03:00:32] [Paper Watchdog Thread/ERROR]:         java.lang.Thread.run(Thread.java:748)

    It only happens when players are mass-kicked by the kickall command from essentials. I made a new reboot system that doesn't /kickall and it does not crash, but being able to kick players before the reboot is ideal. We have always rebooted like this but it didn't start causing crashes until this plugin was added. Any ideas?
     
  10. JasperJH updated AnimatedScoreboard with a new update entry:

    Version 0.1.6 - Added force-legacy option

    Read the rest of this update entry...
     
  11. Can you support one world and enable multiple scoreboards?
    I have 3 scoreboards and control them through LP permissions
    Players with permissions will display a scoreboard, unauthorized players will not
    At the same time, the permissions of the other 2 scoreboards will be false
     
  12. Please take a look at the overview page of the plugin. Every world can have multiple different scoreboards enabled and it will choose the highest scoreboard that is listed for that world based on the permissions of those scoreboards.

    Code (YAML):
    worlds:
      global
    : globalscoreboard
      world
    :
     - scoreboardone
      - scoreboardtwo
      - scoreboardthree
      - defaultscoreboard
      world_the_end
    : endscoreboard
      world_nether
    : netherscoreboard

    permissions
    :
      scoreboardone
    : permission.for.one
      scoreboardtwo
    : permission.for.two
      scoreboardthree
    : permission.for.three
     
    In the example I provided above, users will see scoreboard one if they have the permission that is attached to scoreboard one.

    If the player doesn't have the permission to see scoreboard one but does have the permissions attached to scoreboard two and also the permission of scoreboard three then it will choose the highest scoreboard in the list that they have the permission of. So in this example it will choose for scoreboard two.
     
  13. Sorry, I did not expect to be able to expand multiple
    thanks for your help
     
  14. Hi there, I'm trying to setup triggers for Subsides koth plugin, so that when a koth is started, the scoreboard switches to the koth scoreboard but it dosen't seem to be working.
    Code (YAML):
    #
    # true will reset the entire scoreboard (starting from frame 0 again)
    # false will just reset the timer
    event
    : subside.plugins.koth.events.KothEndEvent
    target-player
    : getPlayer
    trigger-scoreboard
    : default
    stay-time
    : -1
    reset-on-trigger
    : false
     
    Code (YAML):
    #
    # true will reset the entire scoreboard (starting from frame 0 again)
    # false will just reset the timer
    event
    : subside.plugins.koth.events.KothStartEvent
    target-player
    : getPlayer
    trigger-scoreboard
    : koth
    stay-time
    : -1
    reset-on-trigger
    : false
     
    Code (YAML):
    worlds:
      global
    : koth
      world
    :
    - default
      - koth
      Cave
    :
    - default
      - koth
      Survival
    :
    - default
      - koth
      world_the_end
    : default
      world_nether
    : default
    permissions
    :
      koth
    : koth.board
      default
    : default.board
      adminboard
    : animatedscoreboard.test
    placeholderapi
    : true
    check_updates
    : true
    debug_mode
    : false
    enable-triggers
    : true
    player-storage
    : YAML
    force-legacy
    : false
     
     
  15. Those events are not player events and thus don't have the getPlayer method. I will be improving this system in the upcoming updates to support non-player events as well.
     
  16. Hi, I noticed a problem, I have server on spigot 1.8.9 and viaversion, when 1.14.4 player joins scoreboard don't show for him and when did /asb enable showed internal error
     
  17. Could you please start a private conversation with me and send me the error that appears in the console.
     
  18. Hey, can you tell me the downloads to make the player name, coordinates, gamemode, and world commands work?
     
  19. Make sure that you have PlaceholderAPI installed and then take a look here: Placeholders. You are probably interested in the Player placeholders.