Geik
1da50da814
Update MariaDBDatabaseConnector.java ( #1066 )
2019-12-11 22:17:42 -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
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
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
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
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
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
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
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
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
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
d65e0d4665
Adds to JavaDoc
2019-11-16 18:17:55 -08:00
tastybento
cd7b02fdf2
Excludes spawn island from offline redstone prevention flag
...
https://github.com/BentoBoxWorld/BentoBox/issues/1031
2019-11-16 10:22:46 -08:00
tastybento
2f4dae52e4
Changes island deletion loop to per second.
...
Previous setting was per tick, and the lowest value of 1 was set in the
config. By changing to per second, this value can be increased if
required. In testing, I see that smaller servers cannot cope even with a
setting of 1 per tick so I made this change. Also, island deletion can
occur slowly without issue.
2019-11-16 09:55:16 -08:00
tastybento
2c8739a48b
Fixes damage to wandering traders.
...
https://github.com/BentoBoxWorld/BentoBox/issues/1029
2019-11-14 18:05:55 -08:00
tastybento
f67baf6501
Add protection for firework explosions from crossbows.
...
https://github.com/BentoBoxWorld/BentoBox/issues/1027
2019-11-14 17:44:56 -08:00
tastybento
c9b0c74d08
Paper lib ( #1026 )
...
* Remove unused imports
* Implements PaperLib within bentobox
* Added PaperLib methods to Util for addons to call
* Uses PaperLib for island deletion
* Point to https://github.com/BentoBoxWorld/MVdWPlaceholderAPI in POM
2019-11-13 15:10:33 -08:00
tastybento
e2fd5555cf
Merge branch 'develop' of https://github.com/BentoBoxWorld/BentoBox.git into develop
2019-11-09 14:51:12 -08:00
Florian CUNY
a1b7df19c7
Added WorldSettings options to create island on first login
...
Implements https://github.com/BentoBoxWorld/BentoBox/issues/889
2019-11-09 17:50:27 +01:00
Florian CUNY
e5646c72cd
Removed unneeded #isKnown() check in onJoin listener
...
Since the player is added to the player cache right before the check, the code is always executed.
2019-11-09 11:41:48 +01:00
tastybento
8dabdf46fe
Simplify code in SafeSpotTeleport
2019-11-08 17:12:26 -08:00
tastybento
664040837d
Uses replace instead of replaceAll as 1st param is not regex
2019-11-08 17:06:20 -08:00
tastybento
d3e35a9ecb
Fixes item frame protection by flag. Also affects armor stands
...
https://github.com/BentoBoxWorld/BentoBox/issues/1023
2019-11-06 17:43:30 -08:00
tastybento
21e75c645e
Return to previous code for BlockInterationListener
2019-11-06 08:32:06 -08:00
tastybento
86e39a801e
Fixes bug with null flags
...
This class is called before all the flags are initialized so it cannot
reference them directly. This fixes the situation by using Strings, but
it can be improved.
2019-11-06 08:03:22 -08:00
tastybento
21916b5a59
Remove code smells.
2019-11-05 23:11:56 -08:00
tastybento
ef67079831
Fix for tests.
...
Note Flags cannot be used in class definitions without becoming nulls.
They have to be done in the constructor.
2019-11-05 22:36:28 -08:00
tastybento
c56b9bec18
Refactorer BlockInteractionListener and added test class
...
May fix:
https://github.com/BentoBoxWorld/BentoBox/issues/1023
2019-11-05 21:45:26 -08:00
tastybento
77a3797d3b
Added EntityInteractListener test class & fixed bug
...
https://github.com/BentoBoxWorld/BentoBox/issues/1012
2019-11-05 18:26:17 -08:00
tastybento
e607b2b012
Fixes name tag check for villagers
...
https://github.com/BentoBoxWorld/BentoBox/issues/1012
2019-11-05 15:53:52 -08:00
tastybento
80d87d19f9
Include team members when sending banned players back to their island.
...
https://github.com/BentoBoxWorld/BentoBox/issues/1017
2019-11-05 09:49:11 -08:00
tastybento
25ad177aca
Translate colors for blueprint descriptions.
...
https://github.com/BentoBoxWorld/BSkyBlock/issues/213
2019-11-02 17:09:47 -07:00
tastybento
c2f2be61c3
Translate alternate colors codes for BBundle descriptions
2019-11-02 17:04:32 -07:00
tastybento
1ab7222ca0
Log error if commands cannot be run on leaving.
2019-11-02 17:03:55 -07:00
tastybento
0324d3e123
Remove code smell on MobSpawnListener
2019-10-30 18:56:12 -07:00
tastybento
de2f2a22ce
Addresses new types of creature spawning for 1.14.x servers
...
https://github.com/BentoBoxWorld/BentoBox/issues/1020
2019-10-30 14:16:47 -07:00
tastybento
44a7f26c04
Makes log a warning for players who cannot be teleported home.
2019-10-30 14:16:26 -07:00
Florian CUNY
ca6f344c70
Improved the configuration file introduction
2019-10-30 14:15:33 +01:00
tastybento
b9a04bcf57
Added protection around addon onDisable().
...
https://github.com/BentoBoxWorld/BentoBox/issues/1018
2019-10-29 17:52:24 -07:00
tastybento
9ff2eda576
Avoid setting banner pattern if none exist (null)
...
https://github.com/BentoBoxWorld/BentoBox/issues/1016
2019-10-29 17:44:45 -07:00