Commit Graph

26 Commits

Author SHA1 Message Date
tastybento
6ddc0471cf Remove saving to database on disable.
https://github.com/BentoBoxWorld/Level/issues/229

First, the top ten tables are never actually used or loaded. They are
created in memory by loading the island levels. So there is no reason to
keep saving them.
Second, the island level data is saved every time it is changed, so
there is no need to save all of the cache on exit.
2021-08-08 10:33:09 -07:00
tastybento
6dc8aa7f09 Enables rank of non-top ten players to be shown.
https://github.com/BentoBoxWorld/Level/issues/215
2021-02-28 09:33:11 -08:00
tastybento
5485627376 Updated tests to handle async loading 2020-09-12 08:05:04 -07:00
tastybento
284f18c680 Fixes bugs with tests. Support old Biomes addons. 2020-08-21 16:21:02 -07:00
tastybento
dab0e84bc0
Island levels (#178)
* Stores level data on a per island basis

* Migrate after BentoBox worlds have loaded.

* Added new Admin set initial level handicap command

* Bug fixing

* Fix test

* Removed code smell
2020-07-26 14:40:17 -07:00
tastybento
fb765561af Fixes test breakage. 2020-07-04 16:00:16 -07:00
tastybento
f0e983db44 Fixes bugs with top ten and duplications
Fixes https://github.com/BentoBoxWorld/Level/issues/161
2020-07-02 18:19:26 -07:00
tastybento
baf0ba0974 Fixes tests. Initializes background in constructor.
The background might be customizable in the future.
2020-06-28 10:08:08 -07:00
tastybento
631b664059 Test fixes 2020-06-28 09:42:36 -07:00
tastybento
1a7d48a0ec Fixes issue with null placeholder error
https://github.com/BentoBoxWorld/Level/issues/159
2020-06-26 15:44:03 -07:00
tastybento
d5c4e3a53c Bug fixes from sonar cloud. 2020-06-21 18:21:53 -07:00
tastybento
08b7c99c3f Complete rewrite to enable pipelining.
Adds ability to scan chest contents.
2020-06-21 17:54:51 -07:00
tastybento
0a768b0648 Adds some protection around TopTen generation.
Maybe related to https://github.com/BentoBoxWorld/BSkyBlock/issues/312

It appears that the map is being corrupted due to multithreading, but
it's not clear where that is happening.
2020-05-01 16:43:09 -07:00
tastybento
c463170fdd Removed uncaching as async saving can cause race condition
Fixed tests.
2020-04-19 14:02:45 -07:00
tastybento
6e64d274e8 Shifted to separate block and config settings. 2020-04-19 10:46:41 -07:00
tastybento
82cbb487de Fix LevelTest 2020-02-01 19:56:28 -08:00
tastybento
002da7594f Addresses issue with null targets and visited island placeholder
https://github.com/BentoBoxWorld/Level/issues/106

Added Level test class.
2019-11-30 18:30:08 -08:00
tastybento
255711afa4 Fixed bugs and removed code smells. 2019-11-16 19:19:03 -08:00
tastybento
05437ca14a Added admin top remove command to remove players from top ten
https://github.com/BentoBoxWorld/Level/issues/98
2019-11-16 18:56:33 -08:00
tastybento
39de2b9cc8 Adds shorthand level presentation for large level values.
https://github.com/BentoBoxWorld/Level/issues/52
2019-08-08 17:12:12 -07:00
tastybento
904522367d Updates POM to show build numbers in final name
https://github.com/BentoBoxWorld/Level/issues/74

Also updates to latest PowerMockito and Mockito2
2019-08-07 08:08:11 -07:00
tastybento
cb2ea7dc5b Completed test cases for TopTen 2019-08-01 22:37:29 -07:00
tastybento
b950177ead Fixed permission bug where players were not added to top ten
https://github.com/BentoBoxWorld/Level/issues/71

Added test case classes - still a WIP
2019-07-31 23:32:20 -07:00
tastybento
ddbe806af5 Fixes a load of bugs.
https://github.com/BentoBoxWorld/Level/issues/41
https://github.com/BentoBoxWorld/Level/issues/44
https://github.com/BentoBoxWorld/Level/issues/45
2019-02-21 19:56:44 -08:00
BONNe1704
bdb0331dc1 Fix failing UnitTest.
Test was failing because getTeamLeader method was switched to getOwner.
2018-12-18 10:22:33 +02:00
Florian CUNY
70d29e62ae The Flattening & renamed the addon "Level" instead of "BentoBox-Level" 2018-10-31 14:09:56 +01:00