Commit Graph

2723 Commits

Author SHA1 Message Date
Florian CUNY
fb19c1f2ac Merge branch 'develop' 2020-01-26 13:46:22 +01:00
Florian CUNY
69248fd87e Revert "Release 1.11.0"
This reverts commit bd1b7093
2020-01-26 13:46:10 +01:00
Florian CUNY
bd1b70938d Release 1.11.0 2020-01-26 13:44:47 +01:00
Florian CUNY
9cc95c470d Another try to exclude Google's GSON from being shaded in BentoBox 2020-01-26 13:37:40 +01:00
Florian CUNY
13dc39bff6 Exclude Google's GSON from being shaded into BentoBox 2020-01-26 12:01:49 +01:00
Florian CUNY
64fbbf8815 Fixed typos in config comments 2020-01-25 09:37:29 +01:00
tastybento
6e81af47b4 Adds explicit permissions to team commands (#1146)
https://github.com/BentoBoxWorld/BentoBox/issues/1144

Also fixes a bug where the untrust was using the coop perm.

Co-authored-by: Florian CUNY <poslovitch@bentobox.world>
2020-01-25 09:12:12 +01:00
Florian CUNY
093373550d Fixed tests (again) for IslandTeamInviteAcceptCommand 2020-01-25 08:45:06 +01:00
Florian CUNY
1bcb12a51f Fixed tests for IslandTeamInviteAcceptCommand 2020-01-24 21:56:18 +01:00
Florian CUNY
7e17474e83 Fixed the island untrust command not using the trust permission
It was using the coop permission instead
2020-01-24 21:19:13 +01:00
Florian CUNY
3b0f023fac Fixed subcommands not inheriting permissions from parent commands (mostly admin commands) 2020-01-24 21:18:33 +01:00
Florian CUNY
3147357bad Added an optional argument to AdminTeleportCommand to teleport another player
Implements https://github.com/BentoBoxWorld/BentoBox/issues/1120
2020-01-24 19:34:47 +01:00
Florian CUNY
12f483663c Added 1.15.2 to the compatible versions
https://github.com/BentoBoxWorld/BentoBox/issues/1150
2020-01-24 14:41:26 +01:00
tastybento
5ab5954f47
Postgres implementation (#1142)
* WIP for https://github.com/BentoBoxWorld/BentoBox/issues/1093

* JSON based PostGresql

* Completes PostgreSQL suport

* Changed Postgres connector comments

* Put back rest of Postgres jdbc URL

* Update PostgreSQLDatabaseHandler.java
2020-01-23 07:56:30 -08:00
tastybento
ac850907cc Zero fall velocity when going through end portals
https://github.com/BentoBoxWorld/BentoBox/issues/1118
2020-01-22 14:43:32 -08:00
tastybento
6ac51453a0 Removed Postgres DB from config until it is implemented.
Put minimum version numbers into config for databases.
https://github.com/BentoBoxWorld/BentoBox/issues/1149
2020-01-21 13:29:51 -08:00
tastybento
97f7b2c563 Deleted islands could not be used as new islands
Added test class for DefaultNewIslandLocationStrategy to cover the
cases.

https://github.com/BentoBoxWorld/BentoBox/issues/1147
2020-01-21 13:15:55 -08:00
AFGAME
5b8d854334 Updated French locale
Implements https://github.com/BentoBoxWorld/BentoBox/issues/639
Seemingly used a lot of machine translation, but it's a good start.
2020-01-19 11:03:18 +01:00
tastybento
a5503851c3 Change to island range perm check on ownership change.
If owner has no perms, then this check will not be done and the range
will not change. Previously, it was always reseting to the default
range.

https://github.com/BentoBoxWorld/BentoBox/issues/1145
2020-01-18 22:36:38 -08:00
tastybento
ea08bab01d Typo fix DYING -> DYEING 2020-01-18 08:50:58 -08:00
tastybento
e6e5c901b7 Strengthens to error when not loading addon for API reasons.
Relates to
2f35f1145d
2020-01-18 08:46:30 -08:00
tastybento
013e17d73a Removed unused import. 2020-01-18 08:43:47 -08:00
Florian CUNY
2f35f1145d Made on-the-fly addon incompatibility detection logging as warning instead of default 2020-01-18 13:53:34 +01:00
Florian CUNY
d8d9061f84 Added 'api-version' parameter to addon.yml to allow specifying a minimum required BentoBox version
Implements https://github.com/BentoBoxWorld/BentoBox/issues/1131
API: added InvalidAddonDescriptionException, AddonDescription#getApiVersion()
2020-01-18 13:52:26 +01:00
Florian CUNY
d8dda75ca5 Improved '/bentobox version' gameworld layout to convey information through color-stripped text
The previous design had a flaw: if the output was pasted as text, we would not be able to tell if the dimension was disabled or if islands were disabled in that dimension.
2020-01-18 11:41:31 +01:00
Florian CUNY
01df19c424 Slightly improved the Blueprint Bundle Editor panel
Added icons for world's dimensions, and made the "separator" glass panes have an empty name instead of a '-'.
2020-01-18 11:24:50 +01:00
Florian CUNY
44354175e4 Moved world dimensions names to 'general.worlds' in en-US 2020-01-18 11:21:11 +01:00
Florian CUNY
0559a86e8d Implemented optional argument to AdminGetrankCommand to specify which island to perform the check on.
Implements https://github.com/BentoBoxWorld/BentoBox/issues/1106
Updated en-US + added 'general.errors.player-is-not-owner' message.
2020-01-18 10:47:08 +01:00
Florian CUNY
abf5e1f071 Fixed failing test in JoinLeaveListener (erroneous) 2020-01-18 09:58:16 +01:00
Florian CUNY
e17056376a Fixed erroring tests 2020-01-18 09:52:02 +01:00
Florian CUNY
0ffa1ab86a Improved help for admin resets commands
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1140
2020-01-17 13:48:42 +01:00
BONNe
2192e3fa4e Add new IslandEvent: IslandProtectionRangeChange (#1109)
* Add new IslandEvent: IslandProtectionRangeChange.

This event is fired when island protection range is updated. It contains new and old protection range values.
Event implements cancellable as other IslandEvent, but cancelling (or changing event values) is not implemented.

* Fix extended class.
IslandProtectionRangeChangeEvent should extend IslandBaseEvent.
2020-01-17 13:42:53 +01:00
Florian CUNY
37a4145322 Added specific messages when entering/leaving an island the player is member of
Implements https://github.com/BentoBoxWorld/BentoBox/issues/1084
Improved color codes for existing messages
2020-01-17 13:34:05 +01:00
tastybento
e62240f523
Puts the GSON serialization on main thread. (#1141)
https://github.com/BentoBoxWorld/BentoBox/issues/1128
2020-01-16 17:00:23 -08:00
tastybento
a9a9a9adee Put a null check into IslandCache to avoid null key in map. 2020-01-14 17:00:54 -08:00
tastybento
c7e0492612 Fixed bug (sonar cloud) and improved test PortalTeleportationListener 2020-01-14 15:01:19 -08:00
tastybento
3897c78478 Back to JDK8. Try again in a few months. 2020-01-13 18:11:04 -08:00
tastybento
fc3d15d975 Updated javadoc maven plugin to 3.1.1 2020-01-13 16:57:38 -08:00
tastybento
f6850e1688 Try Java 11 but without specifying javadoc tool explicitly. 2020-01-13 10:59:47 -08:00
tastybento
0ac9dda75e Back to JDK8
Deploy fails even though duplicate javadoc and sources no longer
created.
2020-01-12 17:41:48 -08:00
tastybento
bcbdb70cee Try JDK11 again 2020-01-12 17:25:33 -08:00
tastybento
bcce54cedc Put javadoc and source into install maven phase 2020-01-12 17:07:08 -08:00
tastybento
227ebef824 Reverting to non-static AddonEvent. Reminder don't break API
Next time I'll add to the API but not break it. I actually did not
realize this API was being used (I forgot).
2020-01-12 16:30:50 -08:00
tastybento
13d7ce2df8 Reverting to JDK8 to try to get CI to deploy javadocs 2020-01-12 16:20:42 -08:00
Florian CUNY
70f8538b74
Updated WorldSettings#getOnLeaveCommands() javadoc 2020-01-12 15:18:30 +01:00
tastybento
ec3edec63f Added source plugin to maven 2020-01-11 08:50:26 -08:00
tastybento
ab6a9978ff Added back non-static AddonEvent builder to not break API
Relates to https://github.com/BentoBoxWorld/Level/issues/119
2020-01-11 08:50:14 -08:00
Florian CUNY
9169242434 Made the island_name placeholders return default island name if no custom one is set
Implements https://github.com/BentoBoxWorld/BentoBox/issues/1108
2020-01-11 11:55:51 +01:00
Florian CUNY
ffa873be68 Fixed a possible nullability bug in EnterExitListener 2020-01-11 11:53:50 +01:00
Florian CUNY
c307f9b844 Prevent loading Blueprint Bundles that have duplicate uniqueIds
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1117
I also slightly improved the logs.
2020-01-11 11:38:30 +01:00