Commit Graph

16 Commits

Author SHA1 Message Date
tastybento 9d1a5c7476
Changed top ten internally to use islands instead of players as keys (#295)
Added %[gamemode]_top_weighted_value_x% placeholder
https://github.com/BentoBoxWorld/Level/issues/294
2023-11-19 18:08:47 -08:00
tastybento 77884f0a11 Update to BentoBox 2.0.0 API 2023-11-18 14:51:09 -08:00
tastybento 0cdb15403b
Sonar Cloud code smell clean up (#278) 2023-02-09 19:32:13 -08:00
tastybento f3ee8a381c Adds %Level_[gamemode]_island_level_max% placeholder
This records the lifetime maximum level the island has ever had.
Addresses #271
2022-11-26 18:20:14 -08:00
BONNe eb8c105be5 Fix failing test. 2022-03-13 15:24:12 +02:00
tastybento d55f66f868
No save on disable (#231)
* Release 2.6.4

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

* Fixes tests
2021-08-08 11:09:36 -07:00
tastybento eba7e1d531 Use a constant instead of 10 throughout code. 2021-05-02 07:54:28 -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 631b664059 Test fixes 2020-06-28 09:42:36 -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