Giter Site home page Giter Site logo

holographic-scoreboard's People

Contributors

dependabot[bot] avatar rlf avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

holographic-scoreboard's Issues

Text alignment support

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

Error with on 1.10, using V1.4.2 for 1.10

[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

Not working properly on Spigot 1.8.3

Plugin seems to run command as a player/console and display the answer in respective chat, not as a scoreboard. It doesn't create a scoreboard at all, although I have HologramDisplays installed.

Empty hologram, display shown in console instead

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.

imagen

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.

Holographic-Scoreboard and MC Scoreboard

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?

Multiple commands per scoreboard

Either multi-paged scoreboards (see HoloAPI for inspiration), or multiple commands for concatenating the output.
i.e

/baltop
/baltop 2

improve the player-type scoreboard

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.

Task #91 for HolographicScoreboard v1.3.8 generated an exception

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

Holographic Scoreboards and SimpleClans

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

Regular expressions for data

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

  • some sort of alignment, allowing to emulate "tabular data".

Using "player", It says, no access.

Everytime I make a scoreboard using "player", It says, no access.

/hgs create TEST 10s player balance
Plugin: Essentials-2.13.1
All players have permission essentials.balance
Command /balance working for everybody


Please add variable @player in command.
/hgs create TEST 10s console balance @player

Holograms showing only 1 line of command

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

Seems that holograms are leaked

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.

The output from commands is being garbled over time

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.

Unable to do towny command

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

unable to execute <world> command

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.