Commit Graph

2298 Commits

Author SHA1 Message Date
Florian CUNY
c90fb88590 Improved "unhandled exception" message in WebManager 2019-09-08 14:49:35 +02:00
Florian CUNY
5cd2df08b8 Catch JsonParseExceptions in WebManager when parsing weblink's json files 2019-09-08 14:49:11 +02:00
tastybento
46a432e75f Fix tests 2019-09-07 14:45:15 -07:00
tastybento
94cb0fb188 Sets table storage engine to be explicitly InnoDB for MySQL
https://github.com/BentoBoxWorld/BentoBox/issues/934
2019-09-07 11:14:20 -07:00
SrAcosta
1406534266 Updated es translation (#929)
* Translate es.yml via GitLocalize

* Translate es.yml via GitLocalize
2019-09-07 14:44:56 +02:00
tastybento
49d8cd8791 Added BlueprintManagementPanel test class 2019-09-04 16:08:50 -07:00
tastybento
f9a5f05987 Adds a delete speed option to BentoBox's config.yml
Reduces the chunk regen speed to 1 chunk per tick or 3 chunks/tick if
there is a nether and end world.
2019-08-31 17:13:19 -07:00
tastybento
2f35a6c77c Sets pos1 and pos2 after pasting island and show clipboard. 2019-08-31 16:39:38 -07:00
tastybento
a8c44ff028 Shifted to using 1.14.4 materials.
Still compatible with 1.13.2.

Fixes https://github.com/BentoBoxWorld/BentoBox/issues/893
2019-08-30 21:01:15 -07:00
tastybento
60d7dfef85 Adds constructor to IslandResetCommand to allow no pasting
This is for games like SkyGrid that do not need pasting of a blueprint.
2019-08-30 10:16:05 -07:00
tastybento
bbbe2565eb Fixed two security issues from sonar 2019-08-29 15:41:56 -07:00
tastybento
fa4c772572 Fixes IslandResetCommand test 2019-08-29 15:32:50 -07:00
tastybento
87168a5ea9 Compile against Spigot 1.14.4 (#919)
Fixes #914.

* Shifts to compile with 1.14.4 API.

Note that this will make some events incompatible with 1.13.2 because of
a class not found error.

* WIP

* Fixed deprecated APIs and ItemStackAdapter test case

* Fixes enderchest test bug.

* Updated server version compatibilities in ServerCompatibility
2019-08-29 21:18:45 +02:00
Florian CUNY
bf6659708c Ignored failing tests 2019-08-29 20:57:26 +02:00
Florian CUNY
b6fa468b4a Fixed 'Island Respawn' not working for island members
It only worked for the island owner
2019-08-29 14:18:14 +02:00
Florian CUNY
ff95450638 Resetting the islands now automatically kicks all island members
Implements https://github.com/BentoBoxWorld/BentoBox/issues/922
* Improved colors in 'commands.island.reset.resets-left' in en-US locale
* Added a confirmation message to IslandResetCommand, which states about the change ('commands.island.reset.confirmation')
* Subsequently removed the restriction asking to kick all island members prior to resetting the island
* TeamEvent.TeamDeleteEvent is now called upon the kick of the island members, meaning the actual deletion of the team as a side effect.
2019-08-29 14:17:14 +02:00
Florian CUNY
85a5b5b6bc Added SPAWNER_SPAWN_EGGS (WORLD_SETTING) flag
https://github.com/BentoBoxWorld/BentoBox/issues/768
2019-08-29 13:35:35 +02:00
Florian CUNY
c01bb33ce1 Fixed IslandNearCommand not working for island members 2019-08-29 01:14:30 +02:00
tastybento
b0813e308d Added IslandSpawnCommand test class 2019-08-28 15:13:16 -07:00
Florian CUNY
eea91b6269 Added 'island.name.uniqueness' in the config
Implements https://github.com/BentoBoxWorld/BentoBox/issues/899
Edited IslandsManager#nameExists(...) to strip colors.
2019-08-28 14:44:55 +02:00
Florian CUNY
f63f73a3b7 Added IslandsManager#nameExists(World, String) 2019-08-28 14:29:20 +02:00
Florian CUNY
e8ea537160 Added another nullability annotation 2019-08-28 14:21:31 +02:00
Florian CUNY
edb6d11fc2 Added IslandsManager and IslandCache#getIslands(World) 2019-08-28 14:21:08 +02:00
Florian CUNY
4e86441f6f Added nullability annotations in IslandCache, IslandsManager and Util 2019-08-28 14:19:42 +02:00
Florian CUNY
d41f35e58d Improved config comments for island name related settings 2019-08-28 13:45:38 +02:00
Florian CUNY
9dafeb1d19 Added "since 1.6.0" to Settings#clearRadius 2019-08-28 13:45:11 +02:00
tastybento
3cf6e2921b Renamed locale files to work with GitLocalize 2019-08-27 19:32:06 -07:00
tastybento
1c50bfb21a Added NOSONAR comment 2019-08-27 19:23:48 -07:00
tastybento
b4c2853f27 Merge branch 'develop' of https://github.com/BentoBoxWorld/BentoBox.git into develop 2019-08-27 09:08:31 -07:00
tastybento
52d0544726 Rewrote JSON object loading to avoid throwing exception
Related to 68f90edb2f
2019-08-27 09:08:22 -07:00
Florian CUNY
bcb2f70eca Added the ability to have non-country-specific localizations
This allows us to have, e.g. 'fr', while being able to also distinguish 'fr-FR' and 'fr-CA', or in the case the language is mostly spoken in a single country (e.g. latvian) to only have 'lv' as the name of the file.
As the filename filter has been made drastically laxer than it previously was, it will also allow to create localizations "variants" which will probably be of no use to us, but it's allowed by the terms of the various ISO standards and therefore it's good to at least have the possibility to support that kind of thing.
2019-08-27 13:19:00 +02:00
BONNe
ead0b02454 Added various new panel types (#917)
* Add multiple different types of panel.
- Inventory panel -> current
- Hooper panel -> 5 slot panel
- Dropper panel -> 9 slot in 3 rows

* code formatting and javadoc improvements in Panel

* renamed PanelType to Type

* updated to new enum name + javadoc
2019-08-27 11:52:26 +02:00
BONNe
b9f7d42afa Translate lv-LV.yml via GitLocalize (#918) 2019-08-26 22:27:06 -07:00
tastybento
a0d61006e0 Improved SafeSpotTeleport to limit chunks scanned per tick
Related to https://github.com/BentoBoxWorld/SkyGrid/issues/24
2019-08-26 19:19:45 -07:00
tastybento
ab81074c4d Merge branch 'develop' of https://github.com/BentoBoxWorld/BentoBox.git into develop 2019-08-26 19:17:32 -07:00
Florian CUNY
72b6e1c852 Added a "0 players" category to the playersPerServer metrics chart 2019-08-26 15:43:12 +02:00
Florian CUNY
fad8dd64ae Improved logging for the CleanSuperFlat 2019-08-26 15:26:29 +02:00
tastybento
e4aa19eb87 Merge branch 'develop' of https://github.com/BentoBoxWorld/BentoBox.git into develop 2019-08-25 20:04:28 -07:00
tastybento
a2c42ffcc7 Added IslandInfoCommand test case.
Fixed bug where info with a name would only work with island owners.
2019-08-25 18:13:45 -07:00
tastybento
495c82a720 Added admin getrank command test class.
Fixed bug with getrank permission.

PDX > SJC
2019-08-25 12:49:54 -07:00
BONNe
5c3f53ccfb Disable physic applying on regeneration (#913)
There is no valid reason why block physic should be updated in regen, while in chunk-gen it is disabled.
2019-08-25 17:43:11 +02:00
tastybento
6808e755d0 Fixes entry event and messaging when teleporting from another world
https://github.com/BentoBoxWorld/BentoBox/issues/911
2019-08-21 21:19:52 -07:00
tastybento
a0e1382875 Added event checking to enter/exit test class 2019-08-21 18:03:28 -07:00
tastybento
b4d662843b Fixes next arrow showing when there is nothing on next page
https://github.com/BentoBoxWorld/BentoBox/issues/904
2019-08-18 18:13:14 -07:00
tastybento
c764444fa5 Fixes loading of SQLite tables.
Bug was affecting addons that single table entries.

https://github.com/BentoBoxWorld/BentoBox/issues/902
2019-08-18 17:26:08 -07:00
tastybento
33b4c70f25 Adds tabbed panel method to hide tab if it is empty.
https://github.com/BentoBoxWorld/BentoBox/issues/896
2019-08-17 19:08:00 -07:00
Florian CUNY
612683f728 Removed the legacy placeholder format for gamemode default placeholders 2019-08-17 13:27:13 +02:00
tastybento
08e520565d Merge branch 'develop' of https://github.com/BentoBoxWorld/BentoBox.git into develop 2019-08-16 08:27:05 -07:00
tastybento
3e827068c9 Fixes trident vanishing when visitor attacks mobs
https://github.com/BentoBoxWorld/BentoBox/issues/846
2019-08-16 08:26:56 -07:00
tastybento
b9215d62b8 Added IslandDeletionManager test class 2019-08-15 12:53:20 -07:00