Commit Graph

220 Commits

Author SHA1 Message Date
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
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
tastybento
b3b3f42c1a Added Github templates 2019-01-01 22:37:26 -08:00
Florian CUNY
ba606abfef Lowercased artifactId 2018-12-30 14:09:35 +01:00
Florian CUNY
bb6b5bac43 Added EPL2.0 license 2018-12-30 14:09:06 +01:00
Florian CUNY
68af2d63e7 Version 0.3.0-SNAPSHOT (develop) 2018-12-23 21:23:13 +01:00
Florian CUNY
dfd9d3cb3d Version 0.2.0 2018-12-23 21:21:46 +01: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
eb7a953875 Updated to BentoBox Alpha 13 (0.18.0-SNAPSHOT) 2018-12-23 20:53:06 +01:00
Florian CUNY
62c9932f5d Fixed pom & updated to Spigot 1.13.2 2018-12-23 20:49:54 +01:00
Florian CUNY
e384999e13 Version 0.2.0-SNAPSHOT 2018-12-23 20:48:45 +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
413887d31f Added CodeMC CI to distribution management in POM 2018-10-31 14:14:30 +01:00
Florian CUNY
70d29e62ae The Flattening & renamed the addon "Level" instead of "BentoBox-Level" 2018-10-31 14:09:56 +01:00
tastybento
c269482447 Updated to 0.12.0 API. 2018-10-30 18:27:18 -07:00
tastybento
8738d7191e Merge remote-tracking branch 'origin/master' into develop 2018-09-23 13:23:45 -07:00
tastybento
cbf3f6cbd5 Adjusted config.yml comments.
Switched POM to reference 0.9.0 Bentobox.
2018-09-23 13:23:28 -07:00
tastybento
ee5d270bfa
Created new README.md
Explain how to use add-on
2018-09-23 13:21:41 -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
d062a910e3
Merge pull request #20 from BentoBoxWorld/develop
Develop
2018-09-02 10:44:12 +08:00
tastybento
621749d0d4 Changed sonarcloud POM part 2018-09-01 19:42:18 -07:00
tastybento
f68967ec69 Version up 2018-09-01 19:33:38 -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
6d48064c73 Use 1.13.1 API 2018-08-26 08:38:45 -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
4aef325f4d Retry 2018-08-24 16:59:52 -07:00
tastybento
4096c4482d Back to old org 2018-08-24 16:54:26 -07:00
tastybento
b94976daca Adjusted Sonarcloud org 2018-08-24 16:43:58 -07:00