Alpha 5 - The (not so) Spooky update!
Pre-releaseDescription
This pre-release fixes a few bugs and brings us the ability to hook into plugins, such as Vault and soon PlaceholderAPI! This version also introduces a lot of API breaking changes. They are necessary to provide you the nicest API when we will release 1.0 (before 2019).
Update very carefully !
A lot of config options changed, but please take a closer look to the database type:
- If you were using
FLATFILE
, please change it toYAML
. - If you were using
MONGO
, please change it toMONGODB
.
"The Flattening", part 2
Level and WelcomeWarpSigns got updated and received their "Flattening update". They are now both available on CodeMC's Maven repository.
1.13.2
There was no significant change to Spigot's API between 1.13.1 and 1.13.2, so it's now safe to say that BentoBox officially supports 1.13.2 !
Update your addons !
Each addon you're using must be updated, otherwise they just won't launch (yes, I made it so that it won't spam your console with a huge load of errors ❤️).
Where is the Challenges addon ?
Ahum... Well, I didn't have the time to update this one yet. So, as we said in 2016, keep calm and wait for Poslovitch to fix that.
Changelog
How to read it
Each change/tweak/bug fix is listed in the corresponding category.
If a change is likely to do something that needs the user to keep a close eye on, then it is labelled with an icon.
Here is a list of the labels:
⚠️ - the change is breaking the API and/or deprecate some parts of it. It theorically should only concern addons, so make sure to update them as well!- 🔠 - locale files may need to be regenerated or updated.
- ⚙️ - config options have been removed, renamed or added.
Contents
- API
- Added/fixed some Javadoc in a few classes.
⚠️ IslandsManager
: renamed#getCount()
to#getIslandCount()
; renamed#makeLeader(...)
methods to#setOwner(...)
.- Added
Addon#getPermissionPrefix()
: it is a method that returns the permission prefix automagically generated from the addon's name. ⚠️ RemovedCompositeCommand#setPermissionPrefix(String)
: it is now inherited from the Addon's.⚠️ RenamedAdminTeamMakeLeaderCommand
toAdminTeamSetownerCommand
.⚠️ RenamedTeamEvent.TeamMakeLeaderEvent
toTeamEvent.TeamSetownerEvent
.⚠️ Lowercased some command class names to better fit how they are actually working in game :AdminClearresetsallCommand
,AdminClearresetsCommand
,AdminGetrankCommand
,AdminSetrankCommand
.⚠️ ReplacedAddon#setEnabled(boolean)
byAddon#setState(Addon.State)
.- Removed
YmlConfiguration
andYmlCommentParser
as they weren't used. AddonsManager
: removed#loadAddonsFromFile()
, renamed#setLoader(...)
to#setLoaders(...)
.⚠️ ⚙️DatabaseSetup.DatabaseType
: renamedMONGO
toMONGODB
.⚠️ DatabaseConnector
: removed#loadYamlFile(...)
and#saveYamlFile(...)
as they weren't generic to all database connectors.- Added
AbstractJSONDatabaseHandler<T>
. ⚠️ Made all DatabaseHandlers' and DatabaseConnectors' constructors package-private: these shouldn't have been used by any external plugin/addon.⚠️ Moved TypeAdapters indatabase/json/adapters
package.⚠️ MovedDATABASE_FOLDER_NAME
toAbstractDatabaseHandler<T>
.⚠️ ⚙️ RenamedFLATFILE
database type (and related files) toYAML
.- Fixed some code smells.
- Implemented the Hooks API:
Hook
andHooksManager
. - Implemented Vault integration:
VaultHook
. ⚠️ RemovedAddonInterface
and put its methods inAddon
.
- Features
- Implemented Vault integration: money reset on island join/leave should now be working.
- Tweaks
- Changed the command
/is team setleader <player>
to/is team setowner <player>
. - ⚙️
general.database.type
: renamedFLATFILE
toYAML
, addedJSON
and renamedMONGO
toMONGODB
. - ⚙️ Renamed
island.customranks
toisland.custom-ranks
and made it experimental (Spooky!). - Added some safety checks to the config loading: some options will now be using their default value if the one in the configuration is invalid, instead of throwing ugly stacktraces.
- Bug fixes
- 🔠 Fixed some entries in the
en-US
locale being invalid. - Fixed island protection range not being updated after a login if there was a permission change (#256).
- Fixed outdated addons causing errors in console when loading (#281).
- Fixed the
AddonsManager
disabling not-enabled addons. - Fixed the
[label]
text variable being replaced by "invite" in the invite notification (#315). - Fixed island members sometimes not being recognized and therefore considered as visitors on their own island (#318).
- Fixed
[version]
text variable in config comments always being replaced by BentoBox's version instead of the addon's (#312).