Commit Graph

2529 Commits

Author SHA1 Message Date
Florian CUNY
a796e3ae22 Forced reasons in NewIsland's Builder to be either CREATE or RESET 2019-12-23 14:32:33 +01:00
Florian CUNY
cd02c5f4df Renamed IslandWorldManager#pasteMissingIslands() to #isPasteMissingIslands() 2019-12-23 14:14:29 +01:00
Florian CUNY
fbceaa51d3 Improved UserTest#testHasPermission() 2019-12-23 14:06:56 +01:00
Florian CUNY
acf87efd9b Added nullability annotations on User#hasPermission() and User#getSender() 2019-12-23 14:02:50 +01:00
Florian CUNY
2ad661b11a Improved the GitHub download feedback to be less spammy 2019-12-23 13:56:53 +01:00
Florian CUNY
7c23793f75 Tweaks to the Addon.md 2019-12-23 13:42:26 +01:00
johncsuti
77ddeda3f2 New ADDONS.md page to reduce overall page size of README.md (#1077)
* Update README.md

* Create ADDON.md for README.md commit

* Update README.md

* Update README.md

Capitalization of first letter of a sentence

* Update ADDON.md

Capitalization of first letter of a sentence

* Change spacing

* Change spacing

* Ugh work with me github

* Change spacing on README.md
2019-12-23 13:32:58 +01:00
tastybento
6b69052863 Fixes support for float storage in config files.
https://github.com/BentoBoxWorld/TwerkingForTrees/issues/6
2019-12-22 11:08:49 -08:00
tastybento
dfd8dffcf2 Catch error around deserialization and provide better logging.
This will help addon developers know where they went wrong. Related to:
https://github.com/BentoBoxWorld/TwerkingForTrees/issues/6
2019-12-22 09:40:42 -08:00
Florian CUNY
fc23da4343 Added Util#isInteger() and made commands use it for more reliability 2019-12-21 14:23:32 +01:00
Florian CUNY
1d486efbe7 Added AdminRangeAddCommand, AdminRangeRemoveCommand
Implemented https://github.com/BentoBoxWorld/BentoBox/issues/1072

Moved the various "invalid-value" messages to the admin range node in en-US.
Made AdminRangeSetCommand use the more generic 'must be positive number' message - causes issues with floats, which I will fix later on.
2019-12-21 11:34:38 +01:00
Florian CUNY
59916c27e2 Improved javadoc for Island#getProtectionRange() further 2019-12-21 11:12:48 +01:00
Florian CUNY
48b7b52d82 Improved javadoc for Island#getProtectionRange() 2019-12-21 11:10:33 +01:00
Florian CUNY
3e65f5e902 Fixed admin range set/reset commands not working if player is in team
Updated tests
2019-12-21 10:57:17 +01:00
Florian CUNY
c0d873d022 Fixed MVdWPlaceholderAPI dependency scope in pom.xml 2019-12-21 10:26:53 +01:00
tastybento
fd247be073 Added nullable/nonnull annotations to IslandsManager public methods 2019-12-20 16:51:21 -08:00
tastybento
1058f2dd64 Fixed tests for IslandTeamInviteAcceptCommand 2019-12-20 16:50:59 -08:00
Gabriele C
263e439722 Fixed accept command for non-team invites 2019-12-20 22:09:41 +01:00
tastybento
a9b8be0328 Added compatibility support for 1.15.1 2019-12-19 11:44:36 -08:00
tastybento
a025271629 Fixed message on trusting a player.
https://github.com/BentoBoxWorld/BentoBox/issues/1073
2019-12-17 11:30:59 -08:00
tastybento
27c1b6505c Uses and catches specific IOException for new islands
Relates to c3442c29ba
2019-12-16 17:24:48 -08:00
tastybento
e8810d41d9 Added a setting to be able to disable auto nether/end island pasting
https://github.com/BentoBoxWorld/BentoBox/issues/1063

Note that corresponding settings must be added to game mode addons.
Also, note that I added this as a default method so that it will not
break current older game mode addons.
2019-12-15 16:03:43 -08:00
tastybento
81b4fe5bf0 Merge branch 'develop' of https://github.com/BentoBoxWorld/BentoBox.git into develop 2019-12-15 14:42:09 -08:00
tastybento
c3442c29ba Reworked how new island spots are found.
Fixed bug where max attempts check was not working, which could cause a
timeout crash.

https://github.com/BentoBoxWorld/BentoBox/issues/1057
2019-12-15 14:41:59 -08:00
Florian CUNY
4f35514c77 Version up 1.10.0 2019-12-15 13:37:33 +01:00
Florian CUNY
ba0f7defcc Release 1.9.2 2019-12-14 11:49:28 +01:00
Florian CUNY
30abc0e6a8 Fixed tests 2019-12-14 11:39:51 +01:00
Florian CUNY
5bddee702e Made the /[gamemode] spawn command a delayed teleport command
Implements https://github.com/BentoBoxWorld/BentoBox/issues/1069
2019-12-14 11:06:10 +01:00
tastybento
fe570bd47d Merge branch 'develop' of https://github.com/BentoBoxWorld/BentoBox.git into develop 2019-12-11 22:17:50 -08:00
Geik
1da50da814 Update MariaDBDatabaseConnector.java (#1066) 2019-12-11 22:17:42 -08:00
tastybento
d58743bae8 Updated MyBiomeGrid to 1.15 API 2019-12-11 22:16:02 -08:00
tastybento
3332b65b86 Updated to 1.9.2 and server 1.15 compatibility.
Note - testing still in progress...
2019-12-10 18:10:51 -08:00
tastybento
a82e6bbdc0 Cleaned up EggListener test code. 2019-12-08 12:03:58 -08:00
tastybento
3dc836bbfe Fixed IslandCache test class.
Added mock to make island.isOwned() true.
2019-12-08 11:58:34 -08:00
tastybento
a42da35174 Fixed AdminPurgeCommand test class.
Added mock for island.isOwned() and island.isUnowned() methods.
2019-12-08 11:56:12 -08:00
tastybento
eb06b39b4a Fixed EnterExitListener test class.
Added island.isOwned() mocking.
Added 2 test cases to handle unowned island testing.
2019-12-08 11:52:33 -08:00
Florian CUNY
3e81b4a3cf Fixed tests and ignored some that are throwing null mocks errors 2019-12-07 18:21:32 +01:00
Florian CUNY
23c621544d Added Island#isOwned(), Island#isUnowned() and improved javadoc on Island#getOwner() 2019-12-07 13:51:38 +01:00
Florian CUNY
3d853d58f8 Fixed "gathering contribution data" messages not being toggled by the config option 2019-12-07 11:41:19 +01:00
tastybento
3f1d6d16ff Added Mockito.framework().clearInlineMocks() to all test classes per
https://github.com/mockito/mockito/wiki/What%27s-new-in-Mockito-2

This is just e defensive measure and may not have an affect on any
particular class.
2019-12-06 08:29:29 -08:00
tastybento
4b9b24e121 Fixed issue where Ops and mods had to stand still on teleport
https://github.com/BentoBoxWorld/BentoBox/issues/1059
2019-12-05 23:37:45 -08:00
tastybento
e511d1b9e9 Fixes banlist command number in unlimited case
Added test methods to confirm operation.

https://github.com/BentoBoxWorld/BentoBox/issues/1060
2019-12-05 22:37:03 -08:00
tastybento
55d0920a9c Added JavaDoc to AddonRequestBuilder 2019-12-05 22:20:13 -08:00
tastybento
1fe37a4b49 Merge branch 'develop' of https://github.com/BentoBoxWorld/BentoBox.git into develop 2019-12-03 20:34:10 -08:00
András Marczinkó
0087e6c9c7 Added Hungarian flag to locale file. (#1055) 2019-12-03 20:23:13 -08:00
johncsuti
b8a25a8191 Update README.md to reflect Twerking for trees (#1054) 2019-12-03 20:22:43 -08:00
tastybento
22cd2379d3 Javadoc fixes 2019-12-01 09:03:22 -08:00
tastybento
294ed23225 Remove unused imports 2019-12-01 08:37:39 -08:00
tastybento
3792b4b35d Update to 1.9.1 2019-12-01 08:37:28 -08:00
Florian CUNY
d3bea2d1fc Version up 1.9.1 2019-12-01 17:34:24 +01:00