tastybento
bd69179354
Ensures a single database connection is used. ( #807 )
...
https://github.com/BentoBoxWorld/BentoBox/issues/805
Database connectors were creating a new connection every time they were
called. Also the top-level database object was being recreated every
time getDatabase was requested.
2019-07-02 06:46:54 +02:00
Florian CUNY
810e4806f3
Added WorldEditHook
2019-06-30 14:12:51 +02:00
Florian CUNY
4cccc8b2cf
Fixed typo in one of DeleteIslandChunks' methods' name
2019-06-30 13:37:35 +02:00
Florian CUNY
d6112c8c25
Updated PlaceholderAPI version to 2.10.3
2019-06-30 11:16:18 +02:00
Florian CUNY
563465ad14
Increased the minimum time between connections to the GH API to 60 minutes
2019-06-30 08:56:38 +02:00
Florian CUNY
64d89f9ca9
Improved success messages for admin commands and fixed failing tests
...
#630
2019-06-30 08:51:33 +02:00
Florian CUNY
6ecc021401
Deleted REFERENCES.md
2019-06-30 08:26:27 +02:00
Florian CUNY
6ceebe09ce
Fixed tests
2019-06-30 08:24:55 +02:00
Florian CUNY
c09ff50604
Added better success message to island expel command
...
#630
2019-06-29 18:07:47 +02:00
Florian CUNY
9fe43fe75c
Added better success message to island team commands
...
#630
2019-06-29 17:34:55 +02:00
Florian CUNY
a0785a79ec
Fixed slight code smell in CatalogPanel
2019-06-29 16:55:00 +02:00
Florian CUNY
e23ed0b25d
Added translatable tags and topics for the Catalog entries
2019-06-29 13:35:27 +02:00
Florian CUNY
3ce8b3060a
Added BentoBoxLocale#set(String, String)
2019-06-29 13:35:27 +02:00
tastybento
4efdada98e
Checks 4 corners of island to avoid overlapping issues
...
Relates to https://github.com/BentoBoxWorld/BSkyBlock/issues/149
2019-06-28 18:28:57 -07:00
tastybento
feef61cad5
Removed debug...
2019-06-28 17:18:03 -07:00
tastybento
a6dd175d61
Handles island deletion gracefully if use-own-generator is set to true.
...
Also handles situations where islands are pending deletion in the
database but the world they refer to has gone.
https://github.com/BentoBoxWorld/BentoBox/issues/797
2019-06-28 16:49:01 -07:00
tastybento
006305f7cf
Added toString to IslandDeletion class for debugging use.
2019-06-28 16:46:39 -07:00
tastybento
a147f3fda7
Fixed bug with SQLite deletion not working.
2019-06-28 16:45:39 -07:00
Florian CUNY
64f03bad04
Updated the WebManager to gather the data from the new repo
2019-06-28 21:25:09 +02:00
BONNe
94a884b425
Added more transition databases ( #794 )
...
Fixes #793
Add missing database transitions from YAML to MongoDB and SQLite.
Add missing database transitions from JSON to MongoDB and SQLite.
Add database transitions from SQLite to JSON.
Add database transitions from MongoDB to JSON.
Add database transitions from MariaDB to JSON.
2019-06-28 15:42:01 +02:00
Florian CUNY
e7133b2176
Added SQLite database ( #791 )
...
* Added SQLite database
#570
* Makes SQLite work. Added config.yml option.
Tested on SQLite 3.24.0 2018-06-04 14:10:15
95fbac39baaab1c3a84fdfc82ccb7f42398b2e92f18a2a57bce1d4a713cbaapl
* Fix mariaDB test for close.
* Added test to MySQLDatabaseConnector and Handler
2019-06-28 08:33:43 +02:00
BONNe
a8655aa669
Fix error on bentobox version check ( #792 )
...
Comes from #149
We cannot ask GameSettings for The End or Nether worlds, as if they are disabled, then they do not have settings.
2019-06-27 22:58:36 +02:00
Florian CUNY
23f4e66a02
Switched to TheBusyBiscuit's GitHubWebAPI4Java
2019-06-27 21:20:12 +02:00
Florian CUNY
3c3e01747b
Removed the .github files as they are now global over the organization
2019-06-27 15:01:35 +02:00
Florian CUNY
eb37beb79c
Ignored failing tests
2019-06-27 14:39:34 +02:00
Florian CUNY
544bda4e01
Use DatabaseConnector#closeConnection() instead of duplicating code in database handlers
2019-06-27 14:19:26 +02:00
Florian CUNY
195eac09cf
Fixed some code smells in JSONDatabaseHandler
2019-06-27 09:24:41 +02:00
tastybento
1f4fa0e203
Fixes bug where NPC inventories were protected by the container flag
...
https://github.com/BentoBoxWorld/BentoBox/issues/788
2019-06-26 20:51:02 -07:00
tastybento
3f217e30ad
Adds involved player UUID to IslandDeleteEvent
...
https://github.com/BentoBoxWorld/BentoBox/issues/790
2019-06-26 19:03:56 -07:00
Florian CUNY
7c16908768
Added MC 1.14.3 as supported
2019-06-26 00:10:30 +02:00
tastybento
d6248a3577
Fixes code smells.
2019-06-23 19:13:00 -07:00
Florian CUNY
9798edebd5
Added package-info for all database type packages
2019-06-23 09:19:08 +02:00
Florian CUNY
bfcc50aeed
Fixed CleanSuperFlatListener tests
2019-06-23 09:09:54 +02:00
YellowZaki
2cf4909bb9
Improved CleanSuperFlat check ( #782 )
...
* Fixed CleanSuperFlat enabled check
* Improved the checks
* fixed comment
2019-06-23 08:55:12 +02:00
tastybento
99d34d06ba
Better blueprint bedrock handling
...
Prevents blueprints from being saved unless they have a bedrock block in
them.
If a blueprint is loaded and does not have a bedrock block, one is added
and a warning given in the console.
Added test class for BlueprintClipboardManager
https://github.com/BentoBoxWorld/BentoBox/issues/777
2019-06-22 22:44:33 -07:00
Florian CUNY
5dcec3ee1b
Improved some documentation and added some nullability annotations in database code
2019-06-22 09:43:32 +02:00
Florian CUNY
3b0613c22a
Version up 1.6.0
2019-06-21 19:10:36 +02:00
Florian CUNY
dffabd4933
Release 1.5.3
2019-06-21 18:46:17 +02:00
Florian CUNY
ca8b9beb67
Improved logic for the "not allowed nether/end" messages
2019-06-21 18:31:15 +02:00
tastybento
9fd4f2422f
Fixes issue where inventory is null.
2019-06-19 22:41:48 -07:00
tastybento
4b6ec575be
Fixes bug when loaded a large number of islands.
...
Also attempts to fix duplicate islands during loading.
See https://github.com/BentoBoxWorld/BSkyBlock/issues/144
2019-06-19 20:44:59 -07:00
Florian CUNY
61d9d2810b
Made all events extend BentoBoxEvent instead of PremadeEvent
2019-06-19 10:08:16 +02:00
tastybento
d4f54149c5
Automatically provides key-value pairs for BentoBoxEvents ( #775 )
...
* Automatically provides key-value pairs for PremadeEvents
https://github.com/BentoBoxWorld/Challenges/pull/138
* Replaces PremadeEvent with BentoBoxEvent to make it look nicer.
* Cleaned up javadoc in BentoBoxEvent
* Cleaned up javadoc in PremadeEvent
* Added javadoc to async constructor in BentoBoxEvent
2019-06-18 20:17:51 +02:00
tastybento
6c64fa020b
hasNetherIsland and hasEndIsland return true if any block is seen
...
Previous check only looked for BEDROCK specifically. Actually, if there
is any block there, it should be true. Admins may accidentally remove
the bedrock and so this is a much safer approach.
https://github.com/BentoBoxWorld/BentoBox/issues/771
2019-06-18 08:48:07 -07:00
Florian CUNY
b8a0b15ed3
Added warning messages if 'allow-nether' or 'allow-end' are set to false
...
https://github.com/BentoBoxWorld/BentoBox/issues/741
2019-06-18 16:57:14 +02:00
Florian CUNY
f13fe4d225
Added a video to the "general.database.type" config option
2019-06-18 15:26:19 +02:00
Florian CUNY
dec28fe161
Added package-info in api/configuration package
2019-06-18 15:20:28 +02:00
Florian CUNY
0e4fdd307a
Added ConfigEntry#video()
2019-06-18 15:20:04 +02:00
Florian CUNY
3ac89497ff
Properly close file readers in JSONDatabaseHandler
...
Should fix https://github.com/BentoBoxWorld/BentoBox/issues/776
2019-06-18 14:51:16 +02:00
tastybento
15b602f331
Added CompositeCommand#call(...) ( #772 )
...
* Implements new call API for commands
https://github.com/BentoBoxWorld/BentoBox/issues/759
* pom.xml should not use tabs
* Improved javadoc
* refixed the since tag in javadoc
2019-06-18 14:33:03 +02:00