Closed ScottTCodesBackup closed 1 year ago
Please show me the command you use to create a leaderboard?
/mh leaderboard create Total_Kills AllTime
I also use a scoreboard plugin and reference the placeholder API for total kills and it resets after logging
It all works on my servers, so I need something to look at before that I am able to fix this.
My best guess is that something is wrong with your database. Do you know how to look into the database and examine the data?
I haven't done that with minecraft before, but I'm not against sending it to you so you can take a look? What file/folder is it?
hey, I'm having the same problem. Tried to create a npc displaying leaderboard using the command "/mh npc create Total_Kills AllTime 1"
npc did not change into the top player and states "No Kills" above npc's head. the weird things is all the achievements are recorded, which means the database is working properly (maybe?)
Here's a screenshot: https://i.imgur.com/QSXC1LA.png
there is no error in the console
Server platform: paper MC ver.: 1.16.1
I have that exact issue, the achievements do save per player as well as other things like total money etc its just the leaderboard that doesn't work. Does yours work while the players are in session then get wiped after logging @notbike ?
I just started using this feature and noticed this problem, and there are no players online yet.
But guys, if you do this, at least is working? https://i.ibb.co/9rQPg5h/holographic.jpg
As i have read, so holograms leaderboard doesnt work any way? even in my 1.15.2 version? What solutions we have: 1Signs doesnt works either? 2Using another hologram plugin? I dont think so, becouse we still needing the placeholders from mobhunting 3Can we add our custom placeholders, and try to replicate the function? Or thats hard? 4If the owner is not going to fix it soon, we can hire a developer and fix that, becouse i want that feature in my server!! If you want to talk here is my discord Espinete87#8434
I also have this issue, i have properly setup Total kill holograms and with holographicdisplays and holographicplaceholders, the hologram from holodisplays will record data until the player logs off then it resets back to 0 from my experience, then when trying the hologram from the mod it just shows the first line saying mobhunt total kills, but doesnt show players or kills at all. this was with version 7.5.4 and 7.5.5 on 1.16.1 paper done some more testing, 7.5.7 on same version the hologram from holodisplays i think whats happening is it records data while im online, but once i disconnect and i reconnect, it doesnt happen instantly but once the leaderboards refresh im back to 0 kills, maybe it is a bad database cause one player on my server always has 1 mobkill screenshot after kills https://gyazo.com/29934789c942e9ab4f3bc1e96cd9b413 after reconnecting https://gyazo.com/672eeaf3e3188558bdb3f544d91c2880 no error in console either
@groblerawr Holograms and Leaderboards is not the same??? I will have to test Holograms as it is long time since i tested this.
I cant find Holograms for MC 1.16.1/1.16.2?
its with this plugin holographic displays https://dev.bukkit.org/projects/holographic-displays
So I tested HolographicDisplays and the Hologram updated as it should. Please notice that Holograms and leaderBoards does not update instantly, because it would cause lag. After a kill the PlayerStats must be saved and the the LeaderBoards must be updated. You can see when this happens in the console if you enable debug "/mh debug"
@groblerawr and @ScottTCodes could you give me your discord or any way to contact you by private please guys? I cant reach your state, and i would like to ask you shortly. Thanks
You can try /mh debug. and then show me a server log where you 1) start you server 2) kill a mob 3) wait 15 min until it have said "Saved PlayerStats" and "Updating leaderboards" 4) Stop server
show me this log so I can look for errors and please use pastebin.com or similar. Dont post it directly in the ticket.
Also you guys have posted tickets about different problems.
1)MasterMobHunting 2)Holographic display / Holograms 3)Leaderboard 4)Placeholder
The are totally different
Please post a ticket per problem, so we dont get confused about which problem we are talking about???
Not entirely sure why this is marked as invalid when the issue hasn't been fixed and this is also my ticket
Well your problem is not invalid - but the hole ticket mixed up with different kinds of problems.
Im thinking that there is a problem with the database because the stats does not seem to be saved...
So I need you to do this, to let me see what happens in the server log.
You can try /mh debug. and then show me a server log where you
start you server
kill a mob
wait 15 min until it have said "Saved PlayerStats" and "Updating leaderboards"
Stop server
show me this log so I can look for errors and please use pastebin.com or similar. Dont post it directly in the ticket.
Rocologo, as this is the ticket of ScottTcodes, where do you want me to put my issue so you can help me individually? Discord, github opening a new ticket, spigot forum?
@Espinete87 I prefer tickets at Github and I newer forget to check my Github tickerts. This is were I check first when I have some time to spend on my plugins. And please provide me with the same information. So I can see whats going wrong.
Please create a new ticket
Enable debug "/mh debug"
start you server kill a mob wait 15 min until it have said "Saved PlayerStats" and "Updating leaderboards" Stop server
@ScottTCodes mate did you fix something? i still waiting for it. I have tested older versiones and the 7.0.8 is the last that is working signs and holograms. https://ibb.co/DwjwMB2
heres console with /mh debug on [04:14:35 INFO]: groblerawr lost connection: Disconnected [04:14:35 INFO]: groblerawr left the game [04:14:42 INFO]: UUID of player groblerawr is 8f8ff13e-de63-4dfe-a757-69500531ade7 [04:14:42 INFO]: [MobHunting] [Debug] DataStoreManager: TaskThread.run() failed!!!!!!! [04:14:42 INFO]: groblerawr joined the game [04:14:42 INFO]: groblerawr[/99.7.157.130:54568] logged in with entity id 1747 at ([world]306.67157516722233, 64.0, 207.63824320666018) [04:14:42 INFO]: [MobHunting] [Debug] Loaded 8 Achievements for groblerawr. [04:14:42 INFO]: [MobHunting] [Debug] 0 bounties for groblerawr was loaded.
And trying to make a mh hologram gives me this: [04:41:59 INFO]: [MobHunting] [Debug] Creating Hologram Leaderbard: id=totalkills,stat=Total_kills,per=alltime,rank=5 [04:41:59 INFO]: [MobHunting] [Debug] DataStoreManager: TaskThread.run() failed!!!!!!! [04:41:59 WARN]: at one.lindegaard.MobHunting.storage.SQLiteDataStore.loadPlayerStats(SQLiteDataStore.java:224) [04:41:59 WARN]: one.lindegaard.Core.storage.DataStoreException: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such table: mh_Players) [04:41:59 INFO]: groblerawr issued server command: /mh hologram create totalkills Total_kills alltime 5 [04:41:59 INFO]: [MobHunting] [Debug] DataStoreManager: TaskThread.run() failed!!!!!!! [04:41:59 INFO]: [MobHunting] [Debug] Creating Hologram Leaderbard: id=totalkills,stat=Total_kills,per=alltime,rank=5 [04:41:59 WARN]: at one.lindegaard.MobHunting.storage.SQLiteDataStore.loadPlayerStats(SQLiteDataStore.java:224)(B [04:41:59 WARN]: one.lindegaard.Core.storage.DataStoreException: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such table: mh_Players) [04:41:59 WARN]: at one.lindegaard.MobHunting.storage.asynch.StatRetrieverTask.run(StatRetrieverTask.java:13)(B [04:41:59 WARN]: at one.lindegaard.MobHunting.storage.asynch.StatRetrieverTask.run(StatRetrieverTask.java:54)(B [04:41:59 WARN]: Caused by: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such table: mh_Players) [04:41:59 WARN]: at one.lindegaard.MobHunting.storage.DataStoreManager$TaskThread.run(DataStoreManager.java:334)(B [04:41:59 WARN]: at org.sqlite.core.DB.newSQLException(DB.java:1022)(B [04:41:59 WARN]: at org.sqlite.core.DB.newSQLException(DB.java:1010)(B [04:41:59 WARN]: at org.sqlite.core.NativeDB.prepare_utf8(Native Method)(B [04:41:59 WARN]: at org.sqlite.core.DB.throwex(DB.java:987)(B [04:41:59 WARN]: at org.sqlite.core.NativeDB.prepare(NativeDB.java:134) [04:41:59 WARN]: at org.sqlite.core.DB.prepare(DB.java:264) [04:41:59 WARN]: at org.sqlite.jdbc3.JDBC3Statement.executeQuery(JDBC3Statement.java:73) [04:41:59 WARN]: ... 3 more [04:41:59 WARN]: at one.lindegaard.MobHunting.storage.SQLiteDataStore.loadPlayerStats(SQLiteDataStore.java:202)(B
Hey bud, I have the exact same problem as the rest. I make a leaderboard like the video shows. The console says 'refreshed 3 leaderboards' but it never says 'saved playerstats'. I have a database so not sure what's going on.
03.09 06:23:12 [Server] INFO [MobHunting][Debug] Check if BagOfGold is used as a Helmet 03.09 06:23:16 [Server] INFO [MobHunting][Debug] Refreshed 3 leaderboards. 03.09 06:23:16 [Server] INFO [MobHunting][Debug] No MasterMobHunters ???
I'm also having this issue... Here's the debug log...
[02:39:02 INFO]: [MobHunting] [Debug] Saving whitelisted and blacklisted areas to disk. [02:39:15 INFO]: [MobHunting] [Debug] Refreshed 2 leaderboards. [02:39:15 INFO]: [MobHunting] [Debug] No MasterMobHunters ???
Has this been resolved elsewhere since others have reported it months back?
When creating a leaderboard with the plugin it doesn't display any users on it. When using the placeholders with scoreboard the total kills rank will be 9999, total mob kills will be tracked for that users session but when they log back in they are wiped and start from 0. I don't have any errors in the cmd or in game when creating the leaderboard indicating why this would be happening.
My plugin list: EssentialsX 2.17.2.0 ChatEx 2.5.7 Graves 3.5 LuckPerms 5.1.66 Mobhunting 7.5.0 MyCommand 5.6.5 PlaceholderAPI 2.10.6 Scoreboard-revision vR3 1.4.2 Vault 1.7.2-b107
My mobhunting startup console
My config: