question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TopTenData not generated

See original GitHub issue

Description Since some versions ago (I think that from when world names were changed to lowercase), I noticed that the TopTen folder wasn’t updating. I deleted LevelsData and TopTenData. Both folders were generated again, but TopTenData didn’t contain anything so top wasn’t persistent between server restarts.

Server Information: Paper 1.13.2

  • Database being used: YAML
  • BentoBox version: 1.7.0
  • Level 1.6.0

My config:

game-modes:
- BSkyBlock
login: false
nether: false
end: true
underwater: 1.0
levelcost: 704
levelwait: 30
updatetickdelay: 1
chunkspertick: 200
deathpenalty: 0
sumteamdeaths: false
shorthand: false
limits:
  DIAMOND_BLOCK: 15000
blocks:
  ACACIA_BUTTON: 1
  ACACIA_DOOR: 2
worlds:
  acidisland_world:
    SAND: 0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
YellowZakicommented, Oct 22, 2019

Ok, I found why, it was my fault. It is because a custom addon I left:

    @Override
    public void onDisable() {
        throw new UnsupportedOperationException("Not supported yet."); 
    }

So when BentoBox shut down, the exception was fired and it prevented TopTen from saving. I was lucky it was only affecting Level addon.

Maybe this info could be useful to let you know that if a exception occurs on addon disable, it prevents saving. Maybe something can be done in order to prevent that issue.

0reactions
Poslovitchcommented, Oct 27, 2019

Should I open a ticket on BentoBox’s bug tracker so that we don’t forget to do that?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Cellular Data Not Working on iPhone (10 Ways)
If the cellular data is not working on your iPhone, learn how to fix it with the methods in this video. Free download...
Read more >
Android mobile data not working? Here are some solutions
Are you suddenly having problems connecting to mobile data? We have some tips and tricks that could help you get back on the...
Read more >
10 Easy Fixes for Mobile Data Not Working on Android
Here are some easy ways to fix mobile data not working on your phone. ... However, the good news is there are quick...
Read more >
How Much Data Do We Create Every Day? The Mind ... - Forbes
The amount of data we produce every day is truly mind-boggling. There are 2.5 quintillion bytes of data created each day at our...
Read more >
Try this trick if your phone keeps losing its data connection
If your phone seems like it loses a data connection pretty frequently, there's an easy fix to make sure that doesn't happen.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found