-
-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 2.0.0 #2204
Merged
Merged
Release 2.0.0 #2204
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This reverts commit fd91ab5.
Addresses #2164 Added test class to check command. Added new error text.
Commands are run as console.
Adds a config section in BentoBox to run commands when it is loaded
Related to #2170 Added a test class for CommandRankClickListener and reworked the logic.
* Fixes incorrect element displays in pages 1+. The issue was introduced by #585f720f6f4a7e9480af5065469c92e23e5a987e which reduced complexity too much. Fixes #2177 * Reformat and reduce complexity properly. * Rework logic for getting number of same button types in the panel * Add more comments. * Add proper deprecated annotation.
New translation provided by @Moltanicaa https://github.com/Moltanicaa
Update ru.yml
Few RU translations
Japanese update
* Translate id.yml via GitLocalize * Translate id.yml via GitLocalize * Translate id.yml via GitLocalize --------- Co-authored-by: Dusty <[email protected]> Co-authored-by: mt-gitlocalize <[email protected]> Co-authored-by: tastybento <[email protected]>
Issue was with negative numbers that (int) rounds towards zero and not towards negative infinity.
It used to work, but now doesn't. I've tried updating various plugins and trying different things, but it seems that the mocking is not working correctly. I don't know why.
Relates to #2180
* Multi world WIP - stashing * Initial work on supporting multiple islands per player The default allowed number is 5 for now, but will be set to 1 by default. Lots more work to do on this! * More work on multi island. Fixed tests so clean compile. * Remove unused imports * Updated island go and homes command to multi island Updated tests. * Do not reload addons anymore. * Add island name when entering or leaving own island * Remove unused import * Adds island names to /island go command. * Enables more homes to be set if player has more than one island * Switch to using a set for islands and explicit primary boolean in Island * WIP * Fix bugs with the go command. * Be able to delete multiple islands, e.g. when joining a team This is not fully tested. * Do not remove all islands when a player does reset. Players can reset just the island they are on. * More fixes for go command * Fix tests * Fix @nonnull annotation * Fix home syntax listing reference for IslandDeleteHome * Fixed deletehome for multiple islands. * Fix /island command teleport to current island default home. * Remove deprecated code. * Fix tag for concurrent island setting in config.yml * Improve error when trying to make additional islands over limit * Update config.yml * Correctly assign invites for islands. * Switch to canExecute API in prep for multi-island handling * Prevent players from obtaining more concurrent islands by owner transfer * Handle leaving and disbanding of teams * Fix tests * Fix minor bugs or code smells. * Restore the quarantine code from deprecation. This code can stay. It checks if islands can load, and if not puts them in a trash. It does no harm. * Remove unneeded eq()'s * Fix tests
The world was not being used for the getOwner return so if a player had an island in any world then it was returned. This caused an NPE if the island was then requested by getIsland because it would not be there.
Enable Tab object to reference parent TabbedPanel in the builder. It is late assigned after building. This enables tabs to get the parent, and therefore get the Island object. default methods were used to support backward compatibility.
…nce impact in case of multiple resets simultaneously (#2261)
* WIP - add GUI for teams. * WIP teams GUI * Moe WIP on team GUI * Modified file to avoid an NPE. * Minor refactor to prevent int to Integer warning. * Use latest dependencies for tests to pass. * Move to singleton pattern for RanksManager, * Team GUI WIP * Added support for kick, setowner, and leave. * Added support for accepting and rejecting an invite. * Fixed bugs with text and operations. * WIP for team invites. * Adds inviting to the GUI. * Fix tests * Fixed minor bugs reported by SonarCloud * Up Minecraft version and paper to 1.20.4 in POM * Added features based on Discord feedback. 1. added some lore to the invite button to explain the players shown are from the game world 2. removed the team state in chat 3. added a search to the invite panel * Added back button. Refactored some code and templates. * Fixed bugs with teams and uncoop untrust etc of Ops. * Return to name search GUI if name not found. * Added return to GUI for player search * Use Path.of
* Fixed bug with teleporting where home name would not be used. * Remove debug
The parent needs to be set before it can be used.
* WIP to having admin setting world based on the command and not the location of the user. * Make world settings depend on the world of the command Previous code based world on the location of the user when they ran the command. * Remove unused import * Fix JavaDoc * Remove unused import.
Previously, when all Addons were Addons and men were men, the DataObjects could be tracked using the BentoBox custom ClassLoader. However, as Addons now can be and usually are loaded using the Bukkit Classloader, this is no longer possible. However, we can track them when a Database class is instantiated and use that. This relies on Addons declaring their database objects. If they have not when the migration command is run, then obviously they cannot be transfered.
* Center default home * Remove debug
The total experience does not reset player collected exp. This fixes that, as it will set level to 0 and progress in towards next level to 0
@BONNe If you're okay with it, I'm good to merge. Just go ahead. The draft release notes are here: https://github.com/BentoBoxWorld/BentoBox/releases/tag/untagged-3fd8a64af4c9fa382c16 Once the merge to master is done, the auto-release notes can be made. I can grab 2.0.0 from the CI server and put it on the release notes as the release. |
Quality Gate failedFailed conditions 3.2% Duplication on New Code (required ≤ 3%) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is the PR for release 2.0.0