Hologram update leaves ghost of previous value
SlimeDog opened this issue ยท 14 comments
I don't see a way to configure how often a hologram is updated. What is the default?
Ahh, im sorry it seems i introduced a bug when i changed the manuel update command so it read the format string again. I will fix this tomorrow.
The holograms is updated in the same cyklus as normal leaderboards so it is the same setting. I think the dafault time is 15 min
Is it the player balance i show??? It should be the amount of money dropped from killed mobs???
It is possible to configure a different update cycle? Where can I set the configuration for "normal leaderboards"?
At present on my test server, player balance and money dropped from killed mobs are the same, since there have been no other transactions.
Curious though, what is
/mh hologram create test Minecraft_[$] AllTime 10
supposed to display?
It does not really make sense to have different settings for the leaderboards. The work done in the background is basically the same, (Queries to the database and so on). It is only the presentation which is different.
Minecraft_[$] is a bug. Minecraft_Kills and Minecraft_Money should show the number of killed Minecraft Mobs and the money dropped. MythicMobs and other would not be counted then.
Minecraft_[$] does now work as intended. It will show how much money is dropped from killing Minecraft mobs.
And /mh Hologram update holoramname
Does now delete the old hologram before it loads the new one from the file and update the values.
Shouldn't Minecraft_[$] give the money balance? I realize that is not an MH thing, but ... placeholders. :)
I dont know if there is a Minecraft placeholder called Minecraft_[$] , I was hard to give some of the StatTypes a meaningful name.
Minecraft_Kills is the number of killed minecraft mobs
Minecraft_Assists is the number of assisted kills of Minecraft Mobs
Minecraft_[$] is the amount of money dropped from killed Minecraft mobs. Is Minecraft_cash better?
I have implemented basic intergration to Placeholders https://www.spigotmc.org/resources/placeholderapi.6245/ but I did not know which Placeholders would be useful?
Minecraft_cash would be better.
Placeholders: It would be nice to be able to incorporate any placeholder, but that may be beyond the reasonable.
I would like either money or vault_eco_balance, since Vault is required. :)
If you change Minecraft [$] in your lang file to "Minecraft cash" and restart your server, the holograms and leaderboards will be updated with the new name :-)
I next snapshot this is default, but you will have to update you lang file manually anyway.
At the money I dont want to add non-mobhunting related placeholdes, but if you take a look at PlacholderAPI you should be able to find what you seek?
Yes, I use Placeholders extensively. The problem is that you have produced a useful holographic scoreboard. Others are severely lacking. :(