Commit Graph

25 Commits

Author SHA1 Message Date
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
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
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
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
ad69385607 Fixed sonar cloud code smells. 2020-07-05 16:52:03 -07:00
tastybento
08b7c99c3f Complete rewrite to enable pipelining.
Adds ability to scan chest contents.
2020-06-21 17:54:51 -07:00
tastybento
b92d412f0a Implements better value command
Checks world value

Fixes https://github.com/BentoBoxWorld/Level/issues/148
2020-04-21 17:24:30 -07:00
tastybento
b2811edf99 AIR had value of 1 instead of 0 in the config. 2020-04-20 07:59:13 -07:00
tastybento
fe6ad81141 Added conversion to use blockconfig.yml 2020-04-19 15:17:34 -07:00
tastybento
6e64d274e8 Shifted to separate block and config settings. 2020-04-19 10:46:41 -07:00
tastybento
fe0f084781 Adds performance tweaking settings to config.yml
https://github.com/BentoBoxWorld/Level/issues/122
2020-01-16 13:44:23 -08:00
tastybento
1791108ef6 Removed invalid javadoc character 2020-01-10 14:01:56 -08:00
tastybento
255711afa4 Fixed bugs and removed code smells. 2019-11-16 19:19:03 -08:00
tastybento
d4c9bd654d
Uses PaperLib to get chunks async (#95)
* Uses PaperLib to get chunks async.

Appears to work fine on regular Spigot too.

* Removes config settings not required anymore.

* Future is on main thread, so do calcs async

* Implements multi-threaded level calculation.

* Remove debug from version
2019-11-15 19:31:58 -08:00
Florian CUNY
e428d52a45
Use Addon#logWarning() instead of BentoBox's logger 2019-09-07 14:29:58 +02:00
tastybento
8e2f4a4b5e Fixes bug where island world settings in config were not used
https://github.com/BentoBoxWorld/Level/issues/80
2019-08-16 19:07:13 -07:00
BONNe
0bd5bd4d10 Add ability to specify delay between each task that checks and loads chunks for level calculation. (#76)
Add ability to specify how much chunks should be loaded at the same tick.
2019-08-13 10:11:41 -07: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
d49859bc78 Adds level calculation on login option.
https://github.com/BentoBoxWorld/Level/issues/36
2019-08-08 16:30:10 -07:00
tastybento
d5e5410b6c Enabled option to include nether and end islands in level calc
https://github.com/BentoBoxWorld/Level/issues/40
2019-08-08 16:04:07 -07:00
tastybento
5adf2a3ef9 Fixes death counts for new islands.
Relates to https://github.com/BentoBoxWorld/Level/issues/63
and
https://github.com/BentoBoxWorld/BentoBox/pull/817
2019-07-06 11:45:58 -07:00
tastybento
bf965277c3 Changes config.yml to enable hooking into any gamemode
When upgrading, must delete config.yml to get new version.

Also changes placeholder names to be prefixed with GameModeAddon name in
lower case. e.g, %bskyblock-island-level%

https://github.com/BentoBoxWorld/Level/issues/39
https://github.com/BentoBoxWorld/BentoBox/issues/322
https://github.com/BentoBoxWorld/Level/issues/27
2019-02-03 22:30:27 -08:00
BONNe1704
23fd210fd3 Implement CoolDown for calling level method. 2019-01-02 12:15:41 +02:00
Florian CUNY
70d29e62ae The Flattening & renamed the addon "Level" instead of "BentoBox-Level" 2018-10-31 14:09:56 +01:00