Commit Graph

2502 Commits

Author SHA1 Message Date
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
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
Florian CUNY
13fab3173e Added AdminBlueprintDeleteCommand
Implements https://github.com/BentoBoxWorld/BentoBox/issues/1048

Also added BlueprintsManager#deleteBlueprint(GameModeAddon, String)
Fixed a code smell in AdminBlueprintSaveCommand
2019-12-01 11:54:23 +01:00
tastybento
7c3e81cc5e Fixes JoinLeaveListenerTest failure. 2019-11-30 18:37:11 -08:00
tastybento
032b5c2988
Allows a space to be placed after a color code in locale files. (#1045)
Space will be stripped if it exists. This makes GitLocalize able to
machine translate much better.

Changes to the English locale file was made. Other languages do not have
to add spaces. Note that adding or removing spaces from files is easy
with regex.

https://github.com/BentoBoxWorld/BentoBox/issues/1044
2019-11-30 16:17:38 -08:00
tastybento
eab62827cf Merge branch 'develop' of https://github.com/BentoBoxWorld/BentoBox.git into develop 2019-11-28 21:48:17 -08:00
tastybento
7737456309 Fixes issue with island protection range and permissions.
Permissions could set the island protection range greater than the
island distance.

This commit also fixes the User method that calculates the max value
from a permission. The default value was being used as the starting
point rather than 0, so it was not possible to set perms to go less than
the default value.

Added test clases around all these items.

https://github.com/BentoBoxWorld/BentoBox/issues/1047
2019-11-28 21:48:07 -08:00
gitlocalize-app[bot]
332c6779c0 Japanese translation. (#1040)
* Translate ja.yml via GitLocalize
2019-11-25 21:18:20 -08:00
tastybento
5f52b32cd3 Enables operation on 1.13.2 servers.
Avoids use of AbstractVillager for now. Alternative to PR
https://github.com/BentoBoxWorld/BentoBox/pull/1035
2019-11-25 21:17:41 -08:00
tastybento
b3dde9ad3e Fixes blueprint clipboard manager test. 2019-11-25 20:18:49 -08:00
tastybento
ff60127762 Sanitizes blueprint and bundle names
https://github.com/BentoBoxWorld/BentoBox/issues/1038

Allows spaces to exist in the bundle names.

Added tests to check for bad chars and foreign chars in names.
2019-11-25 19:57:11 -08:00
tastybento
18eeec400d Updated author for Japanese. 2019-11-24 14:37:40 -08:00
tastybento
ba568e539a Updated authors. 2019-11-24 14:33:46 -08:00
tastybento
52d1f9653c Added baseline locale file for Portuguese. 2019-11-24 14:25:20 -08:00
tastybento
7cc5691bd9 Added Romanian flsg to locale file. 2019-11-24 14:19:41 -08:00
tastybento
f576a8207f Added Indonesian flag to locale file. 2019-11-24 14:06:58 -08:00
tastybento
0e6061455f Fixes flow into adjacent islands when island abut.
https://github.com/BentoBoxWorld/BentoBox/issues/1034
2019-11-24 13:45:18 -08:00
tastybento
8ea13b263c Merge branch 'develop' of https://github.com/BentoBoxWorld/BentoBox.git into develop 2019-11-24 13:09:01 -08:00
Florian CUNY
9f4fc04321
Deleted FUNDING.yml: now using the organization's one 2019-11-23 14:05:05 +01:00
tastybento
4801cc286a Updated gitignore 2019-11-22 20:15:58 -08:00
tastybento
df40c3477c Verifies material exists on server and if not supplies AIR.
https://github.com/BentoBoxWorld/BentoBox/issues/1037
2019-11-20 18:02:30 -08:00
tastybento
336f4e9bd4 Explicitly cancels the portal if there is no nether or end.
https://github.com/BentoBoxWorld/BentoBox/issues/1036
2019-11-20 17:08:04 -08:00
tastybento
46bd8c04e2
Update FUNDING.yml
See if username sponsorship works.
2019-11-19 15:36:25 -08:00
tastybento
4753681b47 Fixes flow out of water logged blocks like slabs.
The check `isLiquid()` does not work for water logged blocks like slabs
or fences so it was possible for players to get liquids outside of the
the island.

https://github.com/BentoBoxWorld/BentoBox/issues/1034
2019-11-17 17:45:51 -08:00
Florian CUNY
9782ea1ef9 Clear the player's home locations when resetting. 2019-11-17 17:44:10 +01:00
tastybento
dfb67db13f Merge branch 'develop' of https://github.com/BentoBoxWorld/BentoBox.git into develop 2019-11-16 19:20:21 -08:00