Commit Graph

331 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 1321bcf9d6 Release 2.6.4 2021-08-08 10:31:08 -07:00
tastybento 33a3425619 Updated to support AdvancedChests 15.0
Fixes https://github.com/BentoBoxWorld/Level/issues/218
2021-04-08 16:49:18 -07:00
tastybento 9bff48b7b0 Version 2.6.3 2021-03-27 08:21:35 -07:00
tastybento fdf5da43c6 Deaths were counted twice if team deaths were counted.
Fixes https://github.com/BentoBoxWorld/Level/issues/216
2021-03-24 22:37:50 -07:00
tastybento f2b3903c6f Version 2.6.2 2021-03-07 13:54:35 -08:00
tastybento ff670c04d8 Use release version of BentoBox 2021-03-07 13:53:29 -08:00
tastybento 5452b3a9d9 Not show private classes in JavaDocs. 2021-03-06 10:11:35 -08:00
tastybento 39423508b9 Version 2.6.1 2021-02-28 11:12:28 -08: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 12525271c8 Adds support for AdvancedChests. Requires version 14.3
https://github.com/BentoBoxWorld/Level/issues/214
2021-02-24 17:29:29 -08:00
tastybento 311455e921 Add support to hook into AdvancedChests.
https://github.com/BentoBoxWorld/Level/issues/214
2021-02-23 18:59:20 -08:00
tastybento e002ade414 Version 2.6.0 2021-02-23 18:58:47 -08:00
tastybento 52ee81501b Try to get WildStackers to work again. 2021-02-20 19:07:08 -08:00
tastybento 49c7d8a09e Version 2.5.3 2021-02-20 19:06:55 -08:00
tastybento d9137e83ed Merge branch 'develop' of https://github.com/BentoBoxWorld/Level.git into develop 2021-02-14 12:58:11 -08:00
tastybento cb9a49d6ec Allow usage on all game modes to avoid support questions.
Fixes https://github.com/BentoBoxWorld/Level/issues/212
2021-02-14 12:57:58 -08:00
tastybento 01004e00ac Version 2.5.2 2021-02-14 12:57:15 -08:00
Alberto aeb48c6f3e
setLogReportToConsole to ConfigSettings (#209) 2021-01-28 07:30:45 -08:00
Alberto 25ba4dc7eb
"Log report to console" config option (#208)
* log-report-to-console added to config.yml

* logReportToConsole added to ConfigSetting

* Check if isLogReportToConsolet to show report

* Fix return logReportToConsole
2021-01-25 13:25:29 -08:00
tastybento 4b196f4f31 Use BentoBox 1.15.4 2020-12-30 22:57:56 -08:00
tastybento 7973ef1154 Updated to BentoBox 1.15.4 API 2020-12-27 11:10:53 -08:00
Andrzej bd31363b34
fix variables (#203) 2020-12-03 13:14:15 -08:00
gitlocalize-app[bot] ff1f813751
Translate pl.yml via GitLocalize (#202)
Co-authored-by: therazerpll <therazerpl@o2.pl>
2020-11-07 16:16:12 -08:00
gitlocalize-app[bot] ac601d438d
Translate pt.yml via GitLocalize (#195)
Co-authored-by: Ricardo Borsato <ricardoborrb@gmail.com>
2020-10-02 14:44:10 -07:00
tastybento e2d3150fa2 getHighestBlockYAt() does not detect heads so check full height of world
Fixes https://github.com/BentoBoxWorld/Level/issues/193
2020-09-27 17:29:13 -07:00
tastybento bfed6c75eb No longer fire the AddonEvent, only fire BentoBoxEvent
This may affect plugins that listen for the event.
2020-09-13 11:21:58 -07:00
tastybento 920f3675f7 Version 2.5.0 2020-09-13 11:21:00 -07:00
tastybento 0d1a10ff6f Fixes issue with initial level calculations and reporting.
https://github.com/BentoBoxWorld/Level/issues/189
2020-09-12 11:59:45 -07:00
tastybento b5e161d59e Rationalize output of IslandLevelCalculatedEvent
Level is now the fully calculated level, i.e., what the user sees. The
initial level is subtracted if the config settings are set to do that.

https://github.com/BentoBoxWorld/Level/issues/188
2020-09-12 08:47:09 -07:00
tastybento aed06b74c0 Remove initial island level from fireIslandLevelCalcEvent
if addon has zero island level set

https://github.com/BentoBoxWorld/Level/issues/189
2020-09-12 08:22:14 -07:00
tastybento 5485627376 Updated tests to handle async loading 2020-09-12 08:05:04 -07:00
tastybento 732d2ea039 Rebuild top tens on load.
https://github.com/BentoBoxWorld/Level/issues/187
2020-09-07 11:20:45 -07:00
tastybento 4efc5cbc06 2.4.2 2020-09-07 11:18:35 -07:00
tastybento 8f85e90830 Fixes deprecated getLevelsData method.
Tested with Biomes 1.7.0.
2020-08-21 16:40:32 -07:00
tastybento 284f18c680 Fixes bugs with tests. Support old Biomes addons. 2020-08-21 16:21:02 -07:00
tastybento 6c168731d8 Ignore island initial level if island levels are not zeroed.
Set BEDROCK to value 0 by default.
2020-08-15 10:16:56 -07:00
tastybento 000463e10c Adds new config options. Prevents queue stuffing.
Players without cooldowns will not be able to stuff the level queue with
calculation requests. Only one island level calculation at a time.

Watch dog timeout on calculations added. Default 5 minutes.

Config option to not use island zeroing.
2020-08-15 10:01:16 -07:00
tastybento 49e56b515a Version 2.4.1 2020-08-15 09:59:08 -07:00
tastybento 9b1e24810a Do not show player head if no island
Fixes https://github.com/BentoBoxWorld/Level/issues/179
2020-07-28 15:01: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 507cefd128 Additional lower case world naming.
https://github.com/BentoBoxWorld/Level/issues/172
2020-07-21 07:49:13 -07:00
tastybento 811918eec6 Fixed missing lower case conversion for world name. 2020-07-20 23:17:09 -07:00
tastybento 6800bdd3ce Version 2.3.4 2020-07-20 23:16:53 -07:00
tastybento ee4c6ef02c Do not take chunk snapshot async. 2020-07-18 21:10:10 -07:00
tastybento 3cc887b6d3 Adds concurrent island leveling.
New config.yml entry. Can do concurrent checks up to amount admin
decides.
Fixes issue with reloading where the queue was not disabled and
continued to run.
2020-07-18 13:39:10 -07:00
tastybento 35da2246c5 Added eclipse annotation dependency to POM 2020-07-17 15:27:09 -07:00
tastybento 6160a3acee Fixed bug with missing rank text in Top Ten 2020-07-12 19:36:42 -07:00
tastybento 5e56943c63 Fixes level reported in the console report. Was old level. 2020-07-11 15:34:49 -07:00
tastybento 52a5da55bd Version up 2020-07-11 15:34:32 -07:00