Account for possible world nullability for Entity#getOrigin Location
(e756d127 by dordsor21)
Properly protect chest_boats as vehicles
(0d2ed820 by joo200)
Fix Report for Spigot based servers
Bukkit.spigot().getSpigotConfig() is the paper implementation, it's not available on Non-Paper servers
(6efdb108 by joo200)
Check if InventoryHolder BlockState is placed.
(4a21bf43 by wizjany)
Tidy up Materials.java, added missing effect type, removed todo for paper only
(3a181a23 by joo200)
Add Sculk Growth Flag and options to disable sculk growths
(857f7468 by joo200)
Plugin Version to 1.19, cleanup from Materials, added 1.19 Materials
(f8e8d0f0 by joo200)
Bumped versions: Minecraft to 1.19 and JDK 17
(23521858 by joo200)
Fixed Typo in CommandException
(0fddd2a5 by joo200)
Improvement and Cleanup Domain view for /region info
* Don't suggest the uuids to the command line, copy them to the clipboard instead
* Tidy up the hover events and added hints to copy uuids
(85dd012b by joo200)
Skip lookups on claim.
Claim hasn't allowed user-input for ages, so no need to resolve anything.
(dc23af79 by wizjany)
Append OnlineMode server information to ServerReport (#1891)
(b6989413 by joo200)
Default chest-protection.disable-off-check to true.
(271b32aa by wizjany)
Handle all the amethyst growth.
(938f0c3b by wizjany)
Don't cancel potion splashes with no targets. (cf694251 by wizjany)
Disregard that, definitely need to duplicate.
(e2fe770e by wizjany)
Switch to WE's ClassSourceValidator.
Since it's (being) fixed there and no need to duplicate any more.
(7e06088c by wizjany)
Fix some errors in config loading.
Technically removing a nonexistant property should be fixed in WE's yaml utils but eh.
(f9d1c2d4 by wizjany)
Add deprecation warnings.
Also remove the nodes from config if unused.
(f883899c by wizjany)
Provisional changelog for 7.0.7.
(de386fb4 by wizjany)
Use deny-message for nether portal protection.
(660f9ffa by wizjany)
Protect modification of candles and cake as building.
(e05d4237 by wizjany)
Optimize Region List and Region Teleport commands (#1868)
* Optimized command usage for /rg list and /rg teleport:
* added a flag to the teleport command to teleport the actor to the center of the region
* added a flag to the list command to filter the regions for special ids
* added a flag to the list command to get regions intersecting your selection
* Fixed wrong pagination in RegionLister (dca05151 by joo200)
Add red sand to sand physics.
This option is still at the mercy of bukkit api and might still not work ¯\_(ツ)_/¯
(4abf971c by wizjany)
Add space in an error message.
(875a6fc8 by wizjany)
Updated amount of modules, Windows command prompt and outdated hints
(3cb4abdb by joo200)
Add COMPILING.md and set Java Version to 16
(4caf0afb by joo200)
Update Java-Version in README.md to Java 17 (054a7341 by joo200)
Allows claimed regions to inherit from a template region (#1864)
* Allows claimed regions to inherit from a template region
* Replace template-when-claiming with set-parent-on-claim
* Make the set-parent-on-claim option check secure (b59da599 by cristobal lopez)
Don't check bypass for offline players.
This is someone else's problem now (╯°□°）╯︵ ┻━┻
(46251f5f by wizjany)
Use QueryOption.SORT for region commands (#1817)
(5a6b6eb8 by stonar96)
Fix redefinition of parent regions (#1814)
(75774dbb by stonar96)
Cover additional case for blacklist on-equip.
(fe0fd17d by wizjany)
Add inheritance for all flags (#1787)
(5e702f80 by stonar96)
Additionally block other explosion if the defender is a block like entity to be consitent with "block" explosion protections (#1812)
(0165175a by wyatt childers)
Convert listeners to use AbstractListener and add shortcuts to get config. (#1808)
Closes #1780. (821c3e68 by wizjany)
Fix member inheritance for non-player associables (#1804)
* Add options to query region sets unsorted and without parents
* Fix member inheritance for non-player associables
* Add member inheritance for non-player associables
* Rename Option to QueryOption, remove functional definitions, bit of cleanup.
Co-authored-by: wizjany <firstname.lastname@example.org> (46442682 by stonar96)
Add jsr305 back for annotations.
Blame those pesky WorldEdit devs breaking our builds :^)
(c81f5892 by wizjany)
Fix handlers order when registering one with after.
I am not sure exactly if this is the source of the problem, but when i tried registering my handlers using ExitFlag.FACTORY as "after" like how the javadocs said it, it seemed that my handler was running before the ExitFlag handler which means mine will run even if ExitFlag returns false. I used null as after and it worked then. Maybe i understand the "after" incorrectly but in my mind my customHandler should run after the "after" not the other way around if that makes sense. Let me know if I didn't undertstand it correctly.
Sorry for my english! (88854592 by loaidev)
Revert "Add member inheritance for non-player associables"
This reverts commit b1cd1303d1d194fef7d1fc6e2811931ca08f4e38.
(8efc2e65 by wizjany)
Add member inheritance for non-player associables
(b1cd1303 by stonar96)
Check all effects for lingering potion clouds.
(c98f9eda by wizjany)
Added NPE error message and javadoc hint for WorldGuard.getPlatform
(682942b9 by joo200)
Protect signs against usage of (glowing) ink sac
(7e817c33 by joo200)
Remove unnecessary FlagValueCalculator#getPriority(ProtectedRegion) calls (c1c26360 by stonar96)
Fix doc comment of FlagValueCalculator#getMembership(RegionAssociable)
(65c894cf by stonar96)
Small performance improvement for `PlayerDomain#contains()` (#1765)
* Improve performance by putting UUID checks first.
* Added wizjany's suggestion
Co-authored-by: wizjany <email@example.com> (7dcec2b3 by thebusybiscuit)
Update Java version in CONTRIBUTING.md (#1764)
(09ce3b63 by stonar96)
Deprecate and immediately void setMin/MaxPoint in ProtectedCuboidRegion.
Not sure why these were here to begin with, Poly doesn't have them either
and mutating regions after creation leads to undefined behavior.
(de22a5cd by wizjany)
Deprecate flags (replaced by RegistryFlag), added some null checks (#1747)
(d2c2bfba by joo200)
Also change paperlib to shade.
This change has been sitting here for a while uncommitted and unpushed.
(528ba32a by wizjany)
Fix Falling blocks may change snow layers to that block
(f37fbb1a by joo200)
(f1f8b625 by wizjany)
Change relocated/shaded artifacts to compileOnly. (e9330504 by wizjany)
Fix TimedHandler not calling delegated handler (#1727)
The original commit was calling super, which means that the actual
registered handlers were not called, also, added getInvincibility
which was originally missing (0c7f4bb8 by shane freeder)
Add timings to third-party session handlers (#1717)
* Add Timings for third-party session handlers.
These often cause WorldGuard to get blamed by timings.
* Add config option to turn off extra timings.
* Move relocation to the right build file.
* Move config to a map for potential future expansion.
* Calculate timing immediately per-factory.
Instead of on each handler creation. (3c9b21d0 by wizjany)
Ignore BlockFertilizeEvent with empty list.
Plugins can clear this list without fully cancelling the event.
Fixes #1723 (aeea4555 by wizjany)
Don't send empty messages from chorus-fruit/enderpearl teleports. (129d2735 by wizjany)
Make UUIDFlag ctors public.
smh. (310ce9a6 by wizjany)
Added arguments to /rg toggle-bypass: on, off
(e04c654c by kikelkik)
Added test cases for FlagValueCalculator and MapFlags
(b1674e5c by joo200)
Improved queryMapValue to return defaultValue instead of null
(89c6a33b by joo200)
Add fallback value to queryMapValue, use Flag$chooseValue
(88c91ce3 by joo200)
Added methods to query values from map flags
(b70f5a73 by joo200)
Don't throw error when swapping armor slots into the offhand.
Lots of conflicting info here, but the offhand slot is in fact part of
the quickbar/hotbar (yay bukkit naming) but does *not* use a hotbar "button",
since it has its own hotkey (i.e., F by default instead of 0-8).
The result is a hotbar_swap *action* with a swap_offhand *clicktype*.
(cbb32120 by wizjany)
Fixed NoClassDefFoundError if WorldEdit failed to initialize (04d5a3b4 by intelli)
Move the Mob Blocker feature from CraftBook to WorldGuard (#1695)
* Move the Mob Blocker feature from CraftBook to WorldGuard
Co-authored-by: wizjany <firstname.lastname@example.org> (282425f3 by matthew miller)
Small readme tweaks.
Fix dead/outdated links, clarify deps. (15a08097 by wizjany)
Deal with bamboo as growth from spread event listener.
Closes #1673, #1674.
(035a645d by wizjany)
Don't allow setting unknown flags in FlagHelperBox.
(59c146f5 by wizjany)
Add nether warts to crop list.
(d313f2ca by wizjany)
Don't marshal SetFlag in FlagHelperBox.
(8350267b by wizjany)
Catch Throwables instead of Exceptions while (un)marshalling flags
(e98196af by joo200)
Move /rg bypass perm check inside the command.
Using @CommandPermissions would cause the root command to be excluded
from the client. This is a temp workaround until piston/proper perms
are somehow implemented.
(38797721 by wizjany)
Make resource processing update with project version.
Should prevent old version strings from finding their way into plugin.yml
(48233c33 by wizjany)
Fix sponge-simulation clearing NBT of waterlogged blocks.
Didn't realize people still used this feature.
(664ab18f by wizjany)
Use a lower level exception in BukkitWorldConfiguration to get a printout when more severe YAML issues occur
(5b8c3e7f by matthew miller)
s/WorlGuard/WorldGuard (c1ff4fc3 by matthew miller)
Co-authored-by: wizjany <email@example.com> (691325c8 by joo200)
Added world option to block turtle egg trampling
(3da19a7f by joo200)
Don't try dropping items from falling blocks that won't drop one.
To quote myself from the adjacent commit almost exactly one year ago,
"some plugins do weird things with falling blocks."
(f677af56 by wizjany)
Merge pull request #1618 from JOO200/piston
Implement new alternative association mode to limit piston movement (58eaf318 by wizjany)
Abstract RegionOverlapAssociation, deprecate/fix packaging.
(6708b210 by wizjany)
Cleanup use-max-prio algorithm, add tests.
(ed4287ac by wizjany)
Renamed option to use-max-priority-association, Code cleanup
(449145ba by joo200)
only detect max priority once
(85c5f53d by joo200)
Implement new alternative association mode to limit piston movement
(5162ce3d by joo200)
Simplify and remove duplicate code.
(03f05d3a by wizjany)
Fixed "null" output for invalid worldedit selections
(c8bde179 by joo200)
Merge pull request #1615 from JOO200/toRegionSelector
Add Helper to convert WorldGuard's ProtectedRegion to WorldEdit's Region and RegionSelector (efe1e48b by wizjany)
Private ctor to match checkstyle.
(6f9ed5d1 by joo200)
Added missing license to WorldEditRegionConverter
(f0ec54af by joo200)
Moved toRegion and toRegionSelector in a helper class
(e9e1885f by joo200)
Check non-waterloggable waterlogged blocks for liquid flow.
(1710c076 by wizjany)
Redstone wire is toggled between dot and cross on interact now.
(f8e2d8d6 by wizjany)
Declare some recently hidden dependencies.
(2c0b592b by wizjany)
Color 3rd party flags and unregistered flags in /rg info.
(0492fafe by wizjany)
More inventory holder snapshot use.
(36d95ad0 by wizjany)
Use `Inventory#getHolder(boolean useSnapshot)` where available.
Dedicated to @phoenix616
(c1ec7080 by wizjany)
Allow setting passthrough on global via /rg flags.
(f4a3e8a9 by wizjany)
Prioritize tamed owners over entity targets.
(6c5380ba by wizjany)
Actually read TargetMatchers from world configs.
Previously only read from global. (868089b4 by wizjany)
Add dyes as tools for interact handling.
(9905d22d by wizjany)
Providing a solution for tools being unable to interact with usable blocks
(4eaa376e by ultrafaceguy)
Add coral-fade flag and world configuration to disable coral fading
(37ae70f3 by joo200)
Allow droppers to drop items without using them.
(1a69250d by wizjany)
Silence EntityChangeBlock for redstone ore.
We already silence this for Action.PHYSICAL PlayerInteractEvents.
Unfortunately Bukkit throws another event at us without the extra info
about interaction type, which gets fired if the interact flag is allow.
So silence that too.
(b2d2d081 by wizjany)
Add tests to validate behavior of non-player causes in multiple regions.
(47cd96a3 by wizjany)
Don't warn about small global regions.
(0a735e01 by wizjany)
Remove unnecessary checks and add comments
(60590acf by stonar96)
Improve default teleport-message and remove null check
(6030bea1 by stonar96)