rlf / holographic-scoreboard Goto Github PK
View Code? Open in Web Editor NEWMinecraft Bukkit Plugin that allows for easy leaderboard generation using the Holographic Displays.
Minecraft Bukkit Plugin that allows for easy leaderboard generation using the Holographic Displays.
Currently, the output from various commands are centered in the holograms.
It would be nice, it it was possible to indicate different alignment (i.e. left, right and center).
[12:42:30 INFO]: [HolographicScoreboard] Task #2868 for HolographicScoreboard v1.4.2 generated an exception
[12:42:40 INFO]: [HolographicScoreboard] Task #2868 for HolographicScoreboard v1.4.2 generated an exception
[12:42:50 INFO]: [HolographicScoreboard] Task #2868 for HolographicScoreboard v1.4.2 generated an exception
[12:43:00 INFO]: [HolographicScoreboard] Task #2868 for HolographicScoreboard v1.4.2 generated an exception
[12:43:09 INFO]: [HolographicScoreboard] Task #2806 for HolographicScoreboard v1.4.2 generated an exception
[12:43:10 INFO]: [HolographicScoreboard] Task #2868 for HolographicScoreboard v1.4.2 generated an exception
[12:43:20 INFO]: [HolographicScoreboard] Task #2868 for HolographicScoreboard v1.4.2 generated an exception
[12:43:30 INFO]: [HolographicScoreboard] Task #2868 for HolographicScoreboard v1.4.2 generated an exception
[12:43:40 INFO]: [HolographicScoreboard] Task #2868 for HolographicScoreboard v1.4.2 generated an exception
[12:43:50 INFO]: [HolographicScoreboard] Task #2868 for HolographicScoreboard v1.4.2 generated an exception
[12:44:00 INFO]: [HolographicScoreboard] Task #2868 for HolographicScoreboard v1.4.2 generated an exception
[12:44:10 INFO]: [HolographicScoreboard] Task #2868 for HolographicScoreboard v1.4.2 generated an exception
[12:44:20 INFO]: [HolographicScoreboard] Task #2868 for HolographicScoreboard v1.4.2 generated an exception
[12:44:30 INFO]: [HolographicScoreboard] Task #2868 for HolographicScoreboard v1.4.2 generated an exception
[12:44:40 INFO]: [HolographicScoreboard] Task #2868 for HolographicScoreboard v1.4.2 generated an exception
[12:44:50 INFO]: [HolographicScoreboard] Task #2868 for HolographicScoreboard v1.4.2 generated an exception
Add an option of editing/setting the x,y,z manually to specific coordinates.
Hey,
would it be possible to add an option, that you can add own lines above and below the command output?
Ty
Jumpy
After creating a hologram instead of the "&" are "?"
Add some sort of information reg. the commands used by hgs to the MCstats.
We have something now, but it isn't right
I made a custom plugin that shows a ranking on command.
I tried printing this ranking both line per line with Bukkit.getLogger().info(), and with the same method, but a single string.
Both approaches seem to yield the same result, the command output (the actual ranking) doesn't show up in the hologram, instead the output is shown on console for some reason. I must be doing something wrong either in my plugin, or your command usage, since other rankings from other plugins, and other command executions seem to work fine.
The command I wish to display is /clan ranking
I configured the holographic scoreboard using:
/hgs create RankingClanes 5m console clan ranking
The output is shown in console every 5 min intervals, instead of in the hologram. I have another ranking displayed from another plugin that works fine.
I also made all of the rankings lines displayable in a single PAPI placeholder, if that may be remotely useful in this case.
I came across Holographic-Scoreboard (HGS) after reading how to use the vanilla MC scoreboard.
As an example, I created a scoreboard to keep track of the number of potions used:
/scoreboard objectives add P stat.useItem.minecraft.potion Potions used
/scoreboard objectives setdisplay list P
The scoreboard can be visualized by pressing TAB.
Is it possible to display the information of this scoreboard using HGS?
Either multi-paged scoreboards (see HoloAPI for inspiration), or multiple commands for concatenating the output.
i.e
/baltop
/baltop 2
getting console errors for console /list /balancetop - this could be other plugin errors ??
Currently the player-sender is extremely buggy, and uses workaround to issues resolved in the latest bukkit release. Updating to the latest might resolve the issues.
i have that error all time, someone know how to fix?
[15:08:13] [Server thread/WARN]: [HolographicScoreboard] Task #91 for HolographicScoreboard v1.3.8 generated an exception
org.bukkit.command.CommandException: Unhandled exception executing command 'inspect' in plugin mcMMO v1.5.01-SNAPSHOT-b3710
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683]
at us.Myles.PWP.FakeSimpleCommandMap.dispatch(FakeSimpleCommandMap.java:95) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:645) ~[spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683]
at org.bukkit.Bukkit.dispatchCommand(Bukkit.java:575) ~[spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683]
at dk.lockfuglsang.wolfencraft.config.Scoreboard.refreshView(Scoreboard.java:103) ~[?:?]
at dk.lockfuglsang.wolfencraft.HolographicScoreboard$1.run(HolographicScoreboard.java:108) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683]
at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:694) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683]
at java.lang.Thread.run(Thread.java:745) [?:1.7.0_72]
Caused by: java.lang.NullPointerException
at com.gmail.nossr50.database.SQLDatabaseManager.getUserID(SQLDatabaseManager.java:1564) ~[?:?]
at com.gmail.nossr50.database.SQLDatabaseManager.loadPlayerProfile(SQLDatabaseManager.java:621) ~[?:?]
at com.gmail.nossr50.database.SQLDatabaseManager.loadPlayerProfile(SQLDatabaseManager.java:603) ~[?:?]
at com.gmail.nossr50.commands.player.InspectCommand.onCommand(InspectCommand.java:35) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683]
... 12 more
[15:02:21] [Server thread/WARN]: [HolographicScoreboard] Task #101 for HolographicScoreboard v1.3.8 generated an exception
org.bukkit.command.CommandException: Unhandled exception executing command 'inspect' in plugin mcMMO v1.5.01-SNAPSHOT-b3710
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683]
at us.Myles.PWP.FakeSimpleCommandMap.dispatch(FakeSimpleCommandMap.java:95) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:645) ~[spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683]
at org.bukkit.Bukkit.dispatchCommand(Bukkit.java:575) ~[spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683]
at dk.lockfuglsang.wolfencraft.config.Scoreboard.refreshView(Scoreboard.java:103) ~[?:?]
at dk.lockfuglsang.wolfencraft.HolographicScoreboard$1.run(HolographicScoreboard.java:108) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683]
at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:694) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683]
at java.lang.Thread.run(Thread.java:745) [?:1.7.0_72]
Caused by: java.lang.NullPointerException
at com.gmail.nossr50.database.SQLDatabaseManager.getUserID(SQLDatabaseManager.java:1564) ~[?:?]
at com.gmail.nossr50.database.SQLDatabaseManager.loadPlayerProfile(SQLDatabaseManager.java:621) ~[?:?]
at com.gmail.nossr50.database.SQLDatabaseManager.loadPlayerProfile(SQLDatabaseManager.java:603) ~[?:?]
at com.gmail.nossr50.commands.player.InspectCommand.onCommand(InspectCommand.java:35) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-13716d9-0899683]
... 12 more
I'm trying to create a scoreboard with the command /hgs create stats 10s player clan leaderboard but after it's created it just says "unable to execute command clan leaderboard" any suggestions? I am using version 1.3.8 of Holographic Scoreboards
Mirror of a Bukkit issue
http://dev.bukkit.org/bukkit-plugins/holographic-scoreboard/tickets/1-faction-list/
It seems the hologram isn't moved, if it was already existing.
Also, sometimes we end up having multiple "orphan" holograms
Since there is no control over the returned messages from the commmands executed, it would be nice, if it was possible to specify filters for what data to extract and view.
I.e. EXAMPLE here...
Switch to (also) support Holograms - as they now work on 1.8.7+
https://www.spigotmc.org/resources/holograms.4924
I have 2 holographic scoreboards set up in my Survival spawn, one displays mctop rankings and the other displays baltop rankings, occasionally one of the two will randomly display only 1 line of the command, it normally fixes itself when it is next refreshed.
Also, very strange thing. In my console it shows the command /baltop being run twice
[02:10:36 INFO]: CONSOLE issued server command: /baltop
[02:10:36 INFO]: CONSOLE issued server command: /baltop
But I only have 1 baltop scoreboard and 1 mctop scoreboard, the mctop command is never run but the scoreboard works.
Here is my config:
boards:
baltop:
command: baltop
interval: 5m
sender: console
delay: 5s
location:
world: world
x: 86.50135844342971
y: 145.62
z: 264.5177913305476
powerlevel:
command: mctop
interval: 5m
sender: console
delay: 5s
location:
world: world
x: 100.98139918707793
y: 145.62
z: 270.8895685566571
How would one go about adding generic leaderboards like...
Etc
For some reason, the plugin keeps duplicate holograms in memory.
It can be verified by doing /hgs cleanup
, and noting that the hologram count is sometimes 2x the expected number.
A subsequent /hgs refresh *
will make things right again.
If you create a console board, it will eventually get multiple lines mixed together.
I.e. /baltop will after some time have multiple lines per player, and everything is in what seems to be a mixed ordering.
Wow this thread is old, idk if this will ever be seen, but if i do the command
/hgs create Board 10m console nation list
i dont get the output for /nation list
i get the output for /nation ? aka /nation help
same goes for if i use /town
I can't seem to get HGS working which is a shame.
Every command, console or player, I run returns unable to execute.
java 1.8.0_45
Spigot 1.8.8
holographicdisplays: 2.1.10
holographichscoreboard: 1.3.9
ProtocolLib: 3.6.4
I've tried various plugins/commands
craftconomy3: money top
mywarp: warp list
bounty: bounties
All of these run on console but still no luck in HGS, could you assist?
Holograph no add a color
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.