Florian CUNY
8181fbc431
"Deprecated" current placeholders (their name need to be changed) and their implementation
2019-11-23 14:43:24 +01:00
Josh
0eb3881a56
add throttle to calculate chunks ( #102 )
...
* add throttle to calculate chunks
* dont think the synchronized is needed
2019-11-22 20:21:01 -08:00
tastybento
b3d82a6456
Adds back in nether and end level calcs.
...
https://github.com/BentoBoxWorld/Level/issues/101
2019-11-19 13:06:29 -08:00
gitlocalize-app[bot]
2cea8e942f
Updated German localization ( #99 )
...
* Translate de.yml via GitLocalize
* Translate de.yml via GitLocalize
2019-11-17 15:46:11 -08:00
gitlocalize-app[bot]
9066c8ddf2
Translate fr.yml via GitLocalize ( #100 )
2019-11-17 15:45:41 -08:00
tastybento
1282cb95b5
Merge branch 'develop' of https://github.com/BentoBoxWorld/Level.git into develop
2019-11-16 19:19:12 -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
d227606f7a
Create id.yml
2019-11-16 18:26:04 -08:00
tastybento
7ef2e35d92
Create ro.yml
2019-11-16 18:25:54 -08:00
tastybento
d6117e69d8
Properly deletes hidden players from top ten
...
https://github.com/BentoBoxWorld/Level/issues/98
2019-11-16 17:24:11 -08:00
tastybento
838507cc4a
Uses BentoBox 1.9.0 API for PaperLib
2019-11-16 15:31:58 -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
tastybento
e383f79e3e
Remove loadchunk from chunk snapshot.
2019-11-10 15:06:30 -08:00
tastybento
4e33df1927
Added forced chunk loading back in.
2019-11-09 20:51:41 -08:00
tastybento
55f6a124bf
Does not save chunks on unloading.
2019-11-09 20:34:12 -08:00
tastybento
91a69adae1
Split out Results class.
2019-11-09 20:09:16 -08:00
tastybento
dda2e66548
Fixes code smells
2019-10-30 16:29:42 -07:00
tastybento
62f65e23ac
Config now has 1.14.x blocks in it by default.
...
https://github.com/BentoBoxWorld/Level/issues/61
Version update to 1.8.0
2019-10-20 19:43:47 -07:00
tastybento
bdb319b8a1
Renamed locales for GitLocalize
2019-09-09 10:42:05 -07:00
Florian CUNY
e428d52a45
Use Addon#logWarning() instead of BentoBox's logger
2019-09-07 14:29:58 +02:00
Florian CUNY
407c2640f1
Added icon in addon.yml
2019-08-25 21:00:20 +02:00
tastybento
94114c65e1
Fixes reporting of world-specific block values in console
2019-08-17 10:28:50 -07: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
BONNe
7e29ba3ade
Create lv-LV.yml ( #77 )
2019-08-12 18:33:10 -07:00
tastybento
dc97ddcccd
Added build # to addon.yml
2019-08-11 12:40:10 -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
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
76cfc506fb
Allows AIR to have value
...
https://github.com/BentoBoxWorld/Level/issues/73
2019-08-07 08:07:19 -07:00
tastybento
cb2ea7dc5b
Completed test cases for TopTen
2019-08-01 22:37:29 -07:00
tastybento
c0bcb8db93
Merge branch 'develop' of https://github.com/BentoBoxWorld/Level.git into develop
2019-07-31 23:32: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
BONNe
f0b6194444
Create tr-TR.yml ( #72 )
...
Made by Fenish.
Uploaded from Discord.
2019-07-31 16:36:29 -07:00
tastybento
da83f66f8c
Avoids loading chunks when preparing the island level calc
...
https://github.com/BentoBoxWorld/Level/issues/68
2019-07-25 21:04:36 -07:00
tastybento
4fe46bd1a9
Cleans up top ten list
2019-07-10 08:08:26 -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
908027e6ba
Adds support for double slabs.
...
https://github.com/BentoBoxWorld/Level/issues/64
2019-07-06 10:31:42 -07:00
tastybento
1e1e53cf57
Fixes bug where materials in config showed in report.
...
Calculation was still zero, but the materials should just show in the
last part of the report.
2019-06-20 18:08:36 -07:00
tastybento
d811b30d3f
Fix unknown player [name] bug
...
Version up.
2019-06-20 18:01:26 -07:00
tastybento
33f1a0dfb8
Merge branch 'develop' of https://github.com/BentoBoxWorld/Level.git into develop
2019-06-20 17:25:35 -07:00
tastybento
392e22e366
Make world names case insensitive
...
https://github.com/BentoBoxWorld/Level/issues/59
2019-06-20 17:25:20 -07:00
Pierre LAGOUTTE
f83d2ddddd
Create French (fr-FR) translation ( #57 )
...
* Create French translation
* Added plagoutte as an author
2019-06-10 13:30:44 +02:00
tastybento
671e17398e
Fix for level setting with different sized islands.
...
https://github.com/BentoBoxWorld/BentoBox/issues/709
2019-05-29 00:12:33 -07:00
tastybento
0c111c1305
YAML fixes.
2019-05-07 21:43:37 -07:00
tastybento
01a4009fb5
Spanish locale. Credit @SrAcosta
2019-05-07 21:42:04 -07:00
tastybento
bcfb5f2155
Merge remote-tracking branch 'origin/master' into develop
2019-03-12 19:38:43 -07:00
tastybento
bb21dbb266
Added protection for unowned islands
...
Islands can become unowned during the async island level calculation
process.
2019-03-10 17:47:05 -07:00
BONNe
e011c2ef3f
Add TopTenRequestHandler ( #46 ) ( #48 )
...
Add new data Request Handler for Level add-on, which requires world-name in input and returns:
- empty map, if input is invalid
- LinkedHashMap from TopTenData object for given world.
2019-02-27 14:14:20 -08:00
Poma123
8add41c140
Add value command ( #47 )
...
* Add value command
2019-02-27 14:13:17 -08:00
tastybento
b04233db2e
Updated readme and added version to config.yml
2019-02-24 08:56:10 -08: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
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
tastybento
8fa3f51666
Merge pull request #37 from BONNe/develop
...
Add SkyGrid and CaveBlock permissions.
2019-02-03 22:08:44 -08:00
tastybento
e1dc26fa86
Saves level data when a player does level
...
https://github.com/BentoBoxWorld/Level/issues/38
2019-02-03 09:36:26 -08:00
BONNe
09f00d8c6d
Add SkyGrid and CaveBlock permissions.
2019-02-03 17:00:09 +02:00
tastybento
97fb434244
Added top ten placeholders
2019-02-02 21:43:27 -08:00
tastybento
d4e1bbf0bd
Fixes exploit where players could get duplicate top ten entries
...
https://github.com/BentoBoxWorld/Level/issues/22
Requires 1.3.0 or later BentoBox because it listens for new events fired
by that version.
2019-02-02 20:44:15 -08:00
tastybento
708997237c
Without debug code
...
https://github.com/BentoBoxWorld/Level/issues/27
2019-02-02 12:33:16 -08:00
tastybento
8eaca607d8
Added level placeholder
...
This requires BentoBox 1.3.0
This needs testing with plugins that use placeholders.
2019-02-02 12:31:14 -08:00
tastybento
05ebb4c283
Uses new GameMode API
...
See https://github.com/BentoBoxWorld/BentoBox/pull/472
2019-01-15 19:35:08 -08:00
tastybento
d0305e3d7e
Updated to 1.1-SNAPSHOT
...
Removed deprecated command classes.
2019-01-13 18:51:46 -08:00
tastybento
8510f413f5
Added defensive code around null UUIDs
...
Relates to:
https://github.com/BentoBoxWorld/BentoBox/issues/447
2019-01-07 07:29:03 -08:00
tastybento
28e6ea4377
Version up.
...
Cleaned up JavaDoc
2019-01-03 10:27:20 -08:00
tastybento
e8f1f07104
Merge pull request #32 from BONNe/cooldown
...
Implement CoolDown for calling level method.
2019-01-03 09:52:25 -08:00
BONNe1704
de2052acb4
Revert changes that resets user death count.
2019-01-02 15:03:22 +02:00
BONNe1704
c2778960b3
Merge branch 'develop' of https://github.com/BentoBoxWorld/Level into develop
2019-01-02 15:02:47 +02:00
Florian CUNY
0894c2e248
Revert "Added death resetting."
...
This reverts commit 1121bbcbb5
.
2019-01-02 13:22:44 +01:00
BONNe1704
23fd210fd3
Implement CoolDown for calling level method.
2019-01-02 12:15:41 +02:00
BONNe1704
e7cc3c7c50
Implement sumTeamDeaths, maxDeaths and deathPenalty.
...
Improved calculating death penalty. Death count now checks if it must include teamDeaths.
maxDeaths now is working, as deathHandicap will be set to minimal value from it and current deathCount.
Change level and pointsToNextLevel calculation. Now it will remove deathCount * deathPenalty points from rawBlockCount and use new value to calculate current level and points till next one.
2019-01-02 11:19:29 +02:00
BONNe1704
4a73534570
Implement TeamJoinDeathReset.
...
Add TeamJoinEvent listener that checks if TeamJoinDeathReset is enabled and resets player death count.
2019-01-02 11:11:31 +02:00
tastybento
1121bbcbb5
Added death resetting.
...
Untested...
https://github.com/BentoBoxWorld/Level/issues/30
2019-01-01 22:59:00 -08:00
Florian CUNY
b7aec5b0eb
Added LevelRequestHandler (island-level)
2018-12-23 21:20:15 +01:00
Florian CUNY
456e278d11
Fixed admin topten display
2018-12-23 21:05:55 +01:00
Florian CUNY
8703e7c262
Moved and renamed commands (deprecated old ones)
2018-12-23 21:03:08 +01:00
Florian CUNY
f270402fca
Made the island top command "only player"
2018-12-23 20:48:03 +01:00
Florian CUNY
dc2cc515f8
Merge pull request #29 from BONNe/master
...
Fix issue #24
2018-12-23 20:45:28 +01:00
BONNe1704
bdb0331dc1
Fix failing UnitTest.
...
Test was failing because getTeamLeader method was switched to getOwner.
2018-12-18 10:22:33 +02:00
BONNe
4f384989bb
Fix issue when /bsbadmin top returns weird string. Relates to issue #24 .
...
In lang file was missing admin.topten variable.
2018-12-18 01:17:24 +02:00
BONNe
c40c9c4044
Fix crash reported in #24 .
...
GUI will be opened only if caller is player.
2018-12-18 00:41:56 +02:00
tastybento
71de55b3bd
Lists related event in keyValue list.
...
https://github.com/BentoBoxWorld/bentobox/issues/352
Rather than overriding the existing getEventName() method for Events, I
decided to keep it as a key-value reference.
2018-12-08 23:20:57 -08:00
tastybento
76a65c392f
Merge pull request #26 from CNAmira/master
...
Translate into Chinese
2018-12-08 19:28:23 -08:00
tastybento
67fa9e31e4
Updated to latest BentoBox version and API
2018-12-01 19:34:08 -08:00
Li Keqing
2f004a2769
Translate into Chinese
2018-11-26 17:43:52 +08:00
tastybento
5eea419746
Uses a trial generic event to expose add-on data as K,V pairs.
2018-11-25 22:29:45 -08:00
Florian CUNY
70d29e62ae
The Flattening & renamed the addon "Level" instead of "BentoBox-Level"
2018-10-31 14:09:56 +01:00
tastybento
cbf3f6cbd5
Adjusted config.yml comments.
...
Switched POM to reference 0.9.0 Bentobox.
2018-09-23 13:23:28 -07:00
tastybento
b3ba8c935e
Makes the BSkyBlock and AcidIsland commands configurable.
...
https://github.com/BentoBoxWorld/addon-acidisland/pull/4
2018-09-16 15:44:48 -07:00
tastybento
3d8c7dafea
Added POM version to addon.yml
2018-09-03 21:39:41 -07:00
tastybento
afbe7dddde
Merge branch 'develop' of
...
https://github.com/BentoBoxWorld/addon-level.git into develop
2018-08-31 11:03:47 +09:00
tastybento
c2320aee3a
Refactoring code
2018-08-31 10:59:10 +09:00
tastybento
6ab245244a
Adjusted block values in config.yml
2018-08-26 17:52:35 -07:00
tastybento
77c77f1482
Fixed sea height bug. Sea height was not being taken from world settings
2018-08-26 08:37:09 -07:00
tastybento
f686060e54
Removed code smells
2018-08-26 08:21:41 -07:00
tastybento
85c28f8a70
Removed code smells
2018-08-25 21:15:45 -07:00
tastybento
4c7a6a710c
Fixes points to next level bug.
...
https://github.com/BentoBoxWorld/addon-level/issues/17
2018-08-23 12:05:28 -07:00
tastybento
c8e753af16
Added softdepend to addon.yml. Removed 1 tick delays in onEnable()
2018-08-17 21:59:36 -07:00
tastybento
2f268ac172
Removed deprecation.
2018-08-15 23:58:58 -07:00
tastybento
02bc7c15e5
Fixed resource folder location.
2018-08-10 15:11:23 +09:00
tastybento
60ec40830c
Updated to FC-0.9
...
Moved folders to match Maven layout.
Added LevelPresenterTest class.
2018-08-09 06:34:35 +09:00
tastybento
d70a4bf9b7
Using Config and Database API naming
2018-08-06 07:43:17 -07:00
tastybento
c3f8879a8a
Updated to renamed API
2018-08-05 20:38:50 -07:00
tastybento
b764fcb5fa
Fixed bug where levels were not being saved correctly.
...
Added a join/leave listener to pre-load players to the cache and remove
and save them when they logout.
2018-08-04 15:55:21 -07:00
tastybento
9261001823
Renamed to Bentobox
2018-08-03 23:36:04 -07:00
tastybento
7027f707fd
Update to new package name
2018-08-01 09:49:43 -07:00
tastybento
1b38a2c38a
Update to new API
2018-07-29 17:22:23 -07:00
tastybento
e559c67dd3
BentoBox version
2018-07-28 21:42:29 -07:00
tastybento
5137efb7f0
Rewrote island calculations to be cleaner.
2018-07-28 13:38:04 -07:00
tastybento
181cb25357
Updated to latest CompositeCommand API
...
Updated POM to use latest BSB version.
2018-07-18 22:58:43 -07:00
tastybento
19d00712e5
Fixed permissions
2018-06-02 19:20:18 -07:00
tastybento
afce568a24
Fixed bug with saving to flat file.
...
Must remember to include blank constructor so Beans can create the
object!
2018-05-29 14:57:26 -07:00
tastybento
ac9ac426d9
Updated database object
2018-05-29 08:16:08 -07:00
tastybento
35d9e418fe
Updated to match warps.
2018-05-28 15:45:24 -07:00
tastybento
a09d974d95
Now multi-game support.
2018-05-26 18:20:33 -07:00
tastybento
f49d6e9e42
Now supports multiworld.
2018-05-25 19:59:44 -07:00
Tastybento
e5afb84e46
Moved to use IslandManager instead of PlayerManager.
2018-05-06 16:50:21 -07:00
Tastybento
ca8ed11bdd
Updated to use new Panel API
2018-05-01 23:19:27 -07:00
Tastybento
a144584cfa
Fixed top ten.
2018-04-21 11:42:27 -07:00
Tastybento
dee5ba55c6
Updated to work with latest BSB Database
2018-04-15 17:32:09 -07:00
Tastybento
6837218ae4
Fixed issues with Top Ten
2018-04-02 18:20:26 -07:00
Tastybento
c31c2bcbf5
Merge branch 'master' of https://github.com/tastybento/level.git
...
Conflicts:
src/main/java/bskyblock/addon/level/Level.java
src/main/java/bskyblock/addon/level/TopTen.java
2018-03-11 17:37:54 -07:00
Tastybento
2273aaab81
Updated to latest BSB API's
2018-03-11 17:36:33 -07:00
tastybento
99adc51d65
Updated to latest BSkyBlock
2018-03-12 04:06:31 +09:00
Tastybento
57d0d02bf8
Removed unneeded imports.
2018-02-19 13:12:43 -08:00
Tastybento
ab39dd4ac5
Finished version (for now).
...
Adds top ten and integration with welcome warps addon.
2018-02-19 13:06:58 -08:00
Tastybento
01d2bba4c5
Reworked settings and scanner
...
Scanner now staggers chunk scanning over time.
2018-02-13 20:48:27 -08:00
Tastybento
71480798bc
Moved folder structure
2018-02-12 19:15:19 -08:00
Tastybento
481b9ea3e5
Uses new panel API method names.
2018-01-27 15:59:13 -08:00
Tastybento
ab1385d13e
Removed parameter from getUUID API call to BSkyBlock.
2018-01-25 17:25:22 -08:00
Tastybento
87397ac16f
Updated to latest BSB API.
2018-01-07 11:25:24 -08:00
Tastybento
5e66722412
Fixed locale strings.
2018-01-02 19:37:19 -08:00
Tastybento
953672c301
Fixed bug where island level was not being saved.
...
The chunk scanner needs to report the result after the calculation to
the main class so it can update the cache and save it.
2018-01-01 11:50:13 -08:00
Tastybento
10d2737e67
Renamed package to be addon instead of addin.
2017-12-31 17:21:07 -08:00
Tastybento
217c2d12a0
Updated to new Addon spelling. :-)
2017-12-28 08:43:07 -08:00
Tastybento
b240fce328
Moved to addon API.
2017-12-27 19:17:44 -08:00
Tastybento
eb715afcda
Fixed chunk loading bug.
2017-12-26 08:55:40 -08:00
Tastybento
9705fedd04
Reworked using new Command API
2017-12-26 08:41:37 -08:00
Tastybento
5954c7da5f
Fixed perms.
2017-10-26 18:47:32 -07:00
Tastybento
fcf944e027
Moved folder
2017-10-26 17:01:25 -07:00