Commit Graph

2154 Commits

Author SHA1 Message Date
Florian CUNY
50c183d2ea Fixed incorrect translation when changing language 2019-12-30 15:25:19 +01:00
Florian CUNY
704c249b49 Fixed some code smells (Sonarcloud) 2019-12-30 14:54:11 +01:00
tastybento
e290a46c4e Fixed issue where addons were disabled incorrectly. 2019-12-29 14:56:22 +00:00
tastybento
602b5b5c5c Merge branch 'develop' of https://github.com/BentoBoxWorld/BentoBox.git into develop 2019-12-29 05:56:08 -08:00
tastybento
21eeedbbb0 Fixes addon disablement in onEnable.
Clean up imports.

https://github.com/BentoBoxWorld/BentoBox/issues/1090
2019-12-29 05:55:57 -08:00
Florian CUNY
1a8be26010 Fixed chorus flowers not being protected from breaking if destroyed by arrow/trident
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/812
Note it can cause the block to flicker or to turn into a ghost block. The Bukkit API does not provide a way to actually cancel the block breaking, therefore we need to resort to a delayed task.
2019-12-29 14:48:02 +01:00
Florian CUNY
382bb2c574 Removed no longer used message in en-US 2019-12-28 18:17:51 +01:00
Florian CUNY
efe8a55328 Removed unused imports from 6dac9cad30 2019-12-27 15:40:53 +01:00
Florian CUNY
6dac9cad30 Fixed Chorus being able to grow outside islands even if it was disabled
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1079
2019-12-27 15:37:47 +01:00
Florian CUNY
c179b3e20a Fixed entities being damaged by TNTs or Creepers even if it was disabled
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1075
2019-12-27 14:47:15 +01:00
Florian CUNY
a807918105 Fixed NewIsland.Builder#reason() logic (thanks to the unit tests) 2019-12-23 15:19:28 +01:00
Florian CUNY
48f898aa2c Added WorldSetting#isTeleportPlayerToIslandUponIslandCreation()
Implements https://github.com/BentoBoxWorld/BentoBox/issues/1032
2019-12-23 15:01:32 +01:00
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
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
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
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
ba0f7defcc Release 1.9.2 2019-12-14 11:49:28 +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
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
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
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
Florian CUNY
a5f5ac7cf6 Release 1.9.0 2019-12-01 14:10:18 +01:00
Florian CUNY
35ecd61a11 Reduced default paste speed to 64 blocks/tick
Should help mitigate issues such as https://github.com/BentoBoxWorld/BentoBox/issues/1051 for new servers.
2019-12-01 12:11:12 +01:00
Florian CUNY
bd2473f597 Fixed COMMAND_RANKS flag still require the admin permission
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1050

It now uses the default permission behaviour.
2019-12-01 12:03:30 +01:00