ceze88
9c42a8d007
Add UltimateStacker hook for stacked blocks ( #281 )
2023-04-05 12:14:16 +01:00
tastybento
c093796a6e
Remove dependency
2023-03-25 09:53:41 -07:00
tastybento
713a409584
Refactor placeholders ( #279 )
...
* Update ReadMe
* Fix Jacoco
* Remove unused imports
* Remove placeholders from main class
Created a separate class for cleaner code and added a test class.
2023-02-25 11:31:49 -08:00
tastybento
0cdb15403b
Sonar Cloud code smell clean up ( #278 )
2023-02-09 19:32:13 -08:00
DevSolaris
a493c12f6e
Add shulker to in chest count ( #275 )
2023-02-09 19:31:35 -08:00
gitlocalize-app[bot]
29b148052a
Translate nl.yml via GitLocalize ( #277 )
...
Co-authored-by: DevSolaris <solaris.dev.2002@gmail.com>
2023-01-24 14:46:02 +02:00
gitlocalize-app[bot]
f1db2a9284
Translate zh-CN.yml via GitLocalize ( #276 )
...
Co-authored-by: dawnTak <lanlongxiaode@outlook.com>
2023-01-23 20:44:30 +02:00
tastybento
dc9d460e1e
Fix JavaDoc
2023-01-16 15:07:00 -08:00
evlad
fba73948c6
feat: add island total points + placeholder ( #264 )
...
* feat: add island total points + placeholder
* Update IslandLevels.java
2023-01-16 23:00:40 +00:00
tastybento
ac6bead52e
Add natural log to level-calc formula parsing
...
Relates to #274
2023-01-16 14:16:14 -08:00
tastybento
93869cb34a
Only shows Members or higher in the top members placeholder
...
Fixes #267
2022-11-26 18:29:03 -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
gitlocalize-app[bot]
97d9522563
Translate fr.yml via GitLocalize ( #272 )
...
Co-authored-by: organizatsiya <organizatsiya.wildguns@gmail.com>
2022-10-31 08:22:33 +02:00
gitlocalize-app[bot]
32690630d6
Translate pl.yml via GitLocalize ( #269 )
...
Co-authored-by: wiktorm12 <wiktorm12@gmail.com>
2022-08-27 15:14:55 +03:00
BONNe
2ca4e0a070
Fixes a Level addon crash on startup.
...
Level addon crashed at the startup if Visit or Warps addon were not installed. It happened because Level addon main class were implementing Listener interface.
To avoid it and fix the crash, I moved migration listener to a separate class.
Fixes #2012
2022-08-21 17:31:42 +03:00
BONNe
dae3db6c98
Implements visit/warp actions in top gui
...
Add 2 new actions for island buttons in TOP GUI:
- Visit -> allows to visit island, but it requires Visit Addon
- Warp -> allows to warp to island, but it requires Warp Addon
Requested via Discord.
2022-08-21 13:00:56 +03:00
DeadSilenceIV
90ae98e599
Support for AdvancedChests was updated. ( #266 )
2022-07-15 01:53:27 +03:00
BONNe
47053fde31
Implement customizable Values GUI. ( #262 )
...
This GUI shows value to all items in game. It also shows max limit of blocks, if it is set.
Fixes of #192
2022-06-17 14:40:10 +03:00
KrazyxWolf
cc90579f51
Update es.yml ( #261 )
2022-06-16 21:21:40 +03:00
BONNe
1914fc11e0
Implement calculated value for blocks. ( #260 )
...
It is ~ value, as calculation formula cannot be applied per block. At least I think so.
Part of #192
2022-06-16 17:38:09 +03:00
BONNe
4948689fe8
Implement feature that allows to sort items in detail panel. ( #259 )
...
Apparently, because it is 2 years old request, it got in a state -> implement or drop.
Fixes #192
2022-06-16 17:07:09 +03:00
tastybento
d9288c7e61
Remove blank file
2022-03-19 18:27:58 +00:00
BONNe
eb8c105be5
Fix failing test.
2022-03-13 15:24:12 +02:00
BONNe
15ff515078
Implement customizable DetailsPanel.
...
Remove old DetailsGUITab due to new implementation.
2022-03-13 14:28:08 +02:00
BONNe
43fcde5781
Fixes some small issues with TopLevelPanel
...
Add Utils class that contains some useful things.
2022-03-13 14:26:56 +02:00
BONNe
e16fad882e
Update to BentoBox API 1.20.
...
Replace plugin.yml with spigot-annotations.
Implement customizable TopLevelPanel.
2022-03-12 12:52:44 +02:00
tastybento
0a79b7fa58
Avoid async chunk snapshotting.
...
Fixes https://github.com/BentoBoxWorld/Level/issues/256
2022-02-06 08:47:20 -08:00
tastybento
5d9aa00c13
Fix error lon loading id locale
2022-02-06 08:40:56 -08:00
tastybento
490fe6c942
Merge branch 'develop' of https://github.com/BentoBoxWorld/Level.git into develop
2022-01-28 22:15:52 -08:00
tastybento
336e8d47bf
Attempt to handle WildStacker spawners
2022-01-28 22:15:34 -08:00
gitlocalize-app[bot]
6f174e2b3a
Translate hu.yml via GitLocalize ( #254 )
...
Co-authored-by: András Marczinkó <marczinkoandris@gmail.com>
2022-01-01 18:41:49 -08:00
gitlocalize-app[bot]
322ea825ea
German Translation ( #253 )
...
* Translate de.yml via GitLocalize
* Update de.yml
Co-authored-by: Rikamo045 <rik.amos.krajinovic@gmail.com>
Co-authored-by: tastybento <tastybento@users.noreply.github.com>
2022-01-01 18:40:51 -08:00
gitlocalize-app[bot]
488c6ac9d3
Korean translation ( #252 )
...
* Translate ko.yml via GitLocalize
* Translate ko.yml via GitLocalize
Co-authored-by: chickiyeah <ruddls030@naver.com>
Co-authored-by: mt-gitlocalize <mt@gitlocalize.com>
2022-01-01 18:39:15 -08:00
gitlocalize-app[bot]
840a8c1d79
Translate fr.yml via GitLocalize ( #251 )
...
Co-authored-by: organizatsiya <organizatsiya.wildguns@gmail.com>
2022-01-01 18:38:15 -08:00
gitlocalize-app[bot]
34da24d719
Translate id.yml via GitLocalize ( #250 )
...
Co-authored-by: Nathan Adhitya <nathanadhitya@outlook.com>
2022-01-01 18:36:45 -08:00
gitlocalize-app[bot]
cbaf14e5f0
Chinese Translation ( #249 )
...
* Translate zh-CN.yml via GitLocalize
* Translate zh-CN.yml via GitLocalize
Co-authored-by: mt-gitlocalize <mt@gitlocalize.com>
Co-authored-by: 织梦 <493733933@qq.com>
2022-01-01 18:35:59 -08:00
tastybento
185fc91342
Version 2.9.0 ( #248 )
...
* Changed IslandLevelCalculator minHeight to world minHeight for negative blocks height support since 1.18. (#246 )
* Version 2.9.0
Co-authored-by: Huynh Tien <huynhqtienvtag@gmail.com>
2021-12-25 08:43:09 -08:00
Pierre Dedrie
4a21e4b30c
Changed IslandLevelCalculator minHeight to world minHeight for negative blocks height support since 1.18. ( #246 )
2021-12-18 17:22:28 -08:00
tastybento
b534eb70d4
Version 2.8.1 ( #244 )
...
* Version 2.8.1
* Speeds up level calculation by doing more chunk scans async.
If chests are scanned, then it will take longer because these have to be
done sync.
https://github.com/BentoBoxWorld/Level/issues/243
* add Vietnamese (#240 )
* Raw island level placeholder (#241 )
Co-authored-by: Huynh Tien <huynhqtienvtag@gmail.com>
Co-authored-by: Rubén <44579213+Rubenicos@users.noreply.github.com>
2021-11-26 13:19:51 -08:00
Rubén
cc977d8562
Raw island level placeholder ( #241 )
2021-11-26 13:11:30 -08:00
Huynh Tien
4de5b80ab4
add Vietnamese ( #240 )
2021-11-26 13:10:53 -08:00
tastybento
893d8d46a0
Merge branch 'develop' of https://github.com/BentoBoxWorld/Level.git into develop
2021-11-21 20:08:26 -08:00
tastybento
b1d117d344
Speeds up level calculation by doing more chunk scans async.
...
If chests are scanned, then it will take longer because these have to be
done sync.
https://github.com/BentoBoxWorld/Level/issues/243
2021-11-21 20:08:05 -08:00
tastybento
750f07ba7c
Release 2.8.0 ( #239 )
...
* Version 2.7.1
* Version 2.7.2
* Use Java 9's takeWhile
* Added placeholder %Level_[gamemode]_rank_value
Fixes https://github.com/BentoBoxWorld/Level/issues/228
* 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
* Rosestacker (#232 )
* Add support for RoseStacker 1.3.0
* Made plugin a Pladdon.
* Version 2.8.0
* Added new placeholders
%Level_%gamemode%_top_island_name_%rank% - lists the island name
%Level_%gamemode%_top_island_members_%rank% - a comma separated list of
team members
https://github.com/BentoBoxWorld/Level/issues/224
https://github.com/BentoBoxWorld/Level/issues/211
https://github.com/BentoBoxWorld/Level/issues/132
https://github.com/BentoBoxWorld/Level/issues/107
https://github.com/BentoBoxWorld/Level/issues/105
* Update to BentoBox API 1.18
* Open up modules for testing access.
* Back support for BentoBox 1.16.5.
2021-10-16 16:12:52 -07:00
tastybento
60f2a268b9
Merge branch 'master' into develop
2021-10-16 16:09:54 -07:00
tastybento
4c59d4d4ae
Back support for BentoBox 1.16.5.
2021-10-04 23:01:57 -07:00
tastybento
d212fcee99
Update to BentoBox API 1.18
2021-10-01 17:40:07 -07:00
tastybento
1b29f7f6ac
Added new placeholders
...
%Level_%gamemode%_top_island_name_%rank% - lists the island name
%Level_%gamemode%_top_island_members_%rank% - a comma separated list of
team members
https://github.com/BentoBoxWorld/Level/issues/224
https://github.com/BentoBoxWorld/Level/issues/211
https://github.com/BentoBoxWorld/Level/issues/132
https://github.com/BentoBoxWorld/Level/issues/107
https://github.com/BentoBoxWorld/Level/issues/105
2021-09-06 11:57:32 -07:00
tastybento
4a4794f771
Release 2.7.2 ( #233 )
...
* Version 2.7.2
* Use Java 9's takeWhile
* Added placeholder %Level_[gamemode]_rank_value
Fixes https://github.com/BentoBoxWorld/Level/issues/228
* 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
* Rosestacker (#232 )
* Add support for RoseStacker 1.3.0
* Made plugin a Pladdon.
2021-08-15 08:56:21 -07:00
tastybento
7b6f921b10
Made plugin a Pladdon.
2021-08-15 08:53:16 -07:00
tastybento
bd6c264f4d
Rosestacker ( #232 )
...
* Add support for RoseStacker 1.3.0
2021-08-09 20:00:55 -07: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
76a2688556
Added placeholder %Level_[gamemode]_rank_value
...
Fixes https://github.com/BentoBoxWorld/Level/issues/228
2021-07-24 14:54:06 -07:00
tastybento
4661bcd109
Use Java 9's takeWhile
2021-07-24 14:26:45 -07:00
tastybento
9b7557f470
Fix DIRT_PATH instead of GRASS_PATH
2021-06-20 17:31:52 -07:00
tastybento
7379f6c3e8
Merge branch 'develop' of https://github.com/BentoBoxWorld/Level.git into develop
2021-06-20 10:39:16 -07:00
tastybento
54ac6f5499
Update to Java 16 and new sonar cloud
2021-06-20 10:39:03 -07:00
tastybento
3892da597c
Removed duplicate Blackstone entries
...
Fixes https://github.com/BentoBoxWorld/Level/issues/222
2021-06-10 19:48:18 -07:00
tastybento
452bf88197
Added API to work out which game modes Level is active in.
2021-06-05 08:33:03 -07:00
tastybento
fb60dbddf9
Listed bentobox depend.
2021-05-31 09:43:05 -07:00
tastybento
04596915ce
Pladdon version
2021-05-30 18:40:58 -07:00
tastybento
eba7e1d531
Use a constant instead of 10 throughout code.
2021-05-02 07:54:28 -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
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
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
52ee81501b
Try to get WildStackers to work again.
2021-02-20 19:07:08 -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
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
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
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
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
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
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
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
9fb7d7897d
Handles null values for LevelsData
...
https://github.com/BentoBoxWorld/Level/issues/169
2020-07-10 20:36:58 -07:00
tastybento
ad69385607
Fixed sonar cloud code smells.
2020-07-05 16:52:03 -07:00
tastybento
45577e446f
Fixes bug where when upgrading, level may not show.
2020-07-04 20:36:30 -07:00
tastybento
85cd89bdf7
Added timings, fixed bugs.
2020-07-04 18:13:02 -07:00
tastybento
7f75caab36
Merge branch 'develop' into details-gui
2020-07-04 16:00:43 -07:00