Commit Graph

214 Commits

Author SHA1 Message Date
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
6415efee28 1.5.0 Release 2019-06-09 19:17:49 -07: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
2ea430554f Uses BentoBox 1.5.0 API and Spigot 1.14.1 API 2019-05-15 15:50:23 -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
6e8890161f Version 1.4.0 2019-03-28 19:59:11 -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
tastybento
3038cca894 Added codemc public repo to POM
To resolve releases, not just snapshots.
2019-03-03 17:47:07 -08: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
f4d7299015 Removed SonarCloud from pom to get Travis to build for now. 2019-02-24 09:18:00 -08:00
tastybento
b04233db2e Updated readme and added version to config.yml 2019-02-24 08:56:10 -08:00
tastybento
61d19053ab Version up 1.3.0 2019-02-23 20:17:01 -08:00
tastybento
7d6afc7962 Merge remote-tracking branch 'origin/develop' 2019-02-23 20:16:14 -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
6364ee4360 Updated to new SonarCloud settings 2019-01-13 19:10:28 -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
tastybento
498c880e91
Merge pull request #31 from BONNe/develop
Implement missing config options.
2019-01-03 09:52:01 -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