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) (46442682 by stonar96)
Add options to query region sets unsorted and without parents (46442682 by stonar96)
Fix member inheritance for non-player associables (46442682 by stonar96)
Add member inheritance for non-player associables (46442682 by stonar96)
Rename Option to QueryOption, remove functional definitions, bit of cleanup.
Co-authored-by: wizjany <wizjany@gmail.com> (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.
Fixes #1797. (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)
Grammar
Co-authored-by: wizjany <wizjany@gmail.com> (c4e76af5 by stonar96)
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) (7dcec2b3 by thebusybiscuit)
Improve performance by putting UUID checks first. (7dcec2b3 by thebusybiscuit)
Added wizjany's suggestion
Co-authored-by: wizjany <wizjany@gmail.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)
Gradle cleanup/unfuckery.
Fixes #1729 (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) (3c9b21d0 by wizjany)
Add Timings for third-party session handlers.
These often cause WorldGuard to get blamed by timings. (3c9b21d0 by wizjany)
Add config option to turn off extra timings. (3c9b21d0 by wizjany)
Move relocation to the right build file. (3c9b21d0 by wizjany)
Move config to a map for potential future expansion. (3c9b21d0 by wizjany)
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*.
Fixes #1698. (cbb32120 by wizjany)
Fixed NoClassDefFoundError if WorldEdit failed to initialize (04d5a3b4 by intelli)
Move the Mob Blocker feature from CraftBook to WorldGuard (#1695) (282425f3 by matthew miller)
Move the Mob Blocker feature from CraftBook to WorldGuard (282425f3 by matthew miller)
Formatting.
Co-authored-by: wizjany <wizjany@gmail.com> (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.
Closes #1669. (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.
Fixes #1659.
Didn't realize people still used this feature. (664ab18f by wizjany)
Moved default bypass options to global configuration section (0e73b50d by joo200)
Add configurable announcement for current bypass status (136ec31f by joo200)
Rename config option for default bypass option
Co-authored-by: wizjany <wizjany@gmail.com> (ad000ab0 by joo200)
Add config option to deny region bypass by default (af67f1dd by joo200)
Don't check ride for unsaddled striders. (8dee2ad3 by wizjany)
Document ProtectedRegion's comparable behavior.
ProtectedRegion's compareTo is inconsistent with equals when comparing regions across managers. (c860fce2 by wizjany)
Don't fire xp spawn events for fishing where xp was already 0.
Dedicated to @mikroskeem who let me forget about this. (0cb84927 by wizjany)
Add deprecation warnings for names in Domains. (2ed60eba 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)
Update worldguard-bukkit/src/main/java/com/sk89q/worldguard/bukkit/BukkitWorldConfiguration.java
fixed typo
Co-authored-by: wizjany <wizjany@gmail.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."
Fixes #1624. (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.
Fixes #1616. (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)
Re-add pom-switcheroo to expose spigot as a dep instead of paper.
Makes it easier for downstream projects that don't have paper-repo. (fe24668c by wizjany)
Fireworks are now projectiles.
Only use paper-api for fallback. (23efd5fe by wizjany)
Removed unnecessary relevant flag as it's checked by the UseBlockEvent listener (e54235a6 by joo200)
Changed handling von PlayerTakeLecternBookEvent to match the chest-access flag (5ec3ed60 by joo200)
Allocate WorldPlayerTuple only when using cache (1652c9bf by themolkapl)
Add an option to disable bypass permission cache (a97db0ed by themolkapl)
Update gradle wrapper, more buildscript fixes. (36e42eef by wizjany)
Build script cleanup/updates. (5b8eef92 by wizjany)
Cleanup issue template a bit. (d73dc6d7 by wizjany)