-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Version 4.2 #119
Merged
Merged
Version 4.2 #119
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
I'm so stupid. I made a mistake in the format. sorry!
It is not mandatory to use WorldBorderAPI, so it should be clear for the user that they have a choice besides integrating with it.
* Unify wording of WBAPI-excluded configs * Add `show-particles` to README * Clarify message for show-particles setting
* Rename PlayerBorder.barrier to show * Move player event handlers to PlayerListener * Remove PlayerBorder * Implement PerPlayerBorderProxy Currently defaulting to Customer (non-wbapi) border * Add BorderTypeCommand * Create BorderType * Add messages to BorderTypeCommand * Prepare PerPlayerBorderProxy for handling edge cases The user may not have a border type set, then we return with the default. The user's border type may be unavailable now for two reasons: 1. Border type has been disabled after a server/plugin restart 2. Border type is obsolete and does not exist anymore (forward compatibility). * Fix message reference at BorderTypeCommand * Use null for missing wbapiBorder It is fine since it is never used * Avoid wbapi "border show" spam on player move * At command, replace args.isEmpty() with size() != 1 To also show help if more parameters are passed than necessary * Small refactor * Fix set-type permission in addon.yml * Update README Co-authored-by: tastybento <[email protected]>
* Remove commented code * Purify config.yml As I see, this is just another place to duplicate our settings, documentation and changes to these. This file is generated if missing. * Cleanup Settings.java This is another place where we duplicated documentation. * Purify README.md * Fix failing test: testIsUseWbapi * Revert "Cleanup Settings.java" This reverts commit f8e931c. * Format Settings.java and add documentation link * Regenerate config.yml
Using Collection.size() to test for emptiness works, but using Collection.isEmpty() makes the code more readable and can be more performant. The time complexity of any isEmpty() method implementation should be O(1) whereas some implementations of size() can be O(n). In this case, it's not a big deal, just a code smell.
Co-authored-by: Alunite? <[email protected]>
Co-authored-by: VerusBungee <[email protected]>
* Translate zh-TW.yml via GitLocalize * Update zh-TW.yml Co-authored-by: davgo0103 <[email protected]> Co-authored-by: tastybento <[email protected]>
* Translate ko.yml via GitLocalize * Update ko.yml Co-authored-by: chickiyeah <[email protected]> Co-authored-by: tastybento <[email protected]>
* Translate pl.yml via GitLocalize * Update pl.yml Co-authored-by: PICIGIT <[email protected]> Co-authored-by: tastybento <[email protected]>
* Switch to use new Bukkit / Paper WorldBorder API
Vanilla World Border automatically converts coordinates by dimension multiplayer. So in the nether it is required to counter it with extra processing. Co-authored-by: BuildTools <[email protected]>
…ommand. Requested by #87
Requested by #86
This could lead to a showing up a virtual border where it should not be.
Co-authored-by: Marmur2020 <[email protected]>
Co-authored-by: wiktorm12 <[email protected]>
* Use default settings in config if player does not have permissions. Redoes the config.yml as well. Adds test classes. Relates to #97 * Remove unused import. * Adds offset config to enable border to be bigger than protection range #75 Adds test class for ShowBarrier. * Added ShowVirtualWorldBorder test class #75
Co-authored-by: Danh <[email protected]>
Co-authored-by: mt-gitlocalize <[email protected]>
* Translate cs.yml via GitLocalize * Translate cs.yml via GitLocalize --------- Co-authored-by: mt-gitlocalize <[email protected]> Co-authored-by: tastybento <[email protected]>
* Translate hr.yml via GitLocalize * Translate hr.yml via GitLocalize --------- Co-authored-by: mt-gitlocalize <[email protected]> Co-authored-by: tastybento <[email protected]>
Co-authored-by: mt-gitlocalize <[email protected]>
* Translate it.yml via GitLocalize * Translate it.yml via GitLocalize --------- Co-authored-by: mt-gitlocalize <[email protected]> Co-authored-by: tastybento <[email protected]>
Co-authored-by: mt-gitlocalize <[email protected]>
* Translate pt.yml via GitLocalize * Translate pt.yml via GitLocalize --------- Co-authored-by: mt-gitlocalize <[email protected]> Co-authored-by: tastybento <[email protected]>
Co-authored-by: tastybento <[email protected]>
Co-authored-by: mt-gitlocalize <[email protected]>
Co-authored-by: mt-gitlocalize <[email protected]>
Co-authored-by: mt-gitlocalize <[email protected]>
Co-authored-by: GIGABAIT <[email protected]>
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
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.
No description provided.