1
0
mirror of https://github.com/EngineHub/WorldGuard.git synced 2025-03-17 01:04:55 +01:00
Commit Graph

1982 Commits

Author SHA1 Message Date
wizjany
f19ebab0e1
Handle spigot's entity mount event ()
* Add handler for spigot's EntityMountEvent.

Closes .

* checkstyle.
2021-06-06 19:34:26 -04:00
stonar96
f8f95a44f0
Fix Iron Doors ()
Co-authored-by: wizjany <wizjany@gmail.com>
2021-06-06 19:30:40 -04:00
stonar96
0a74d02fc9
Add nonplayer-protection-domains flag () 2021-06-06 19:28:00 -04:00
stonar96
46a662e1a7
Fix Dispenser Shulker Box bug and cleanup () 2021-06-06 19:27:48 -04:00
stonar96
149d1f84e8
Remove unused RegionGroup.MEMBERS from the teleport flag () 2021-05-23 12:37:06 -04:00
stonar96
c4e76af5f4
Fix Cause#isKnown() ()
* Fix Cause#isKnown()

* Grammar

Co-authored-by: wizjany <wizjany@gmail.com>
2021-05-15 15:03:55 -04:00
stonar96
c1c26360e3 Remove unnecessary FlagValueCalculator#getPriority(ProtectedRegion) calls 2021-05-15 15:03:02 -04:00
stonar96
65c894cfe9 Fix doc comment of FlagValueCalculator#getMembership(RegionAssociable) 2021-05-15 15:02:08 -04:00
TheBusyBiscuit
7dcec2b3b4
Small performance improvement for PlayerDomain#contains() ()
* Improve performance by putting UUID checks first.

* Added wizjany's suggestion

Co-authored-by: wizjany <wizjany@gmail.com>
2021-05-15 15:01:15 -04:00
stonar96
09ce3b6373
Update Java version in CONTRIBUTING.md () 2021-05-10 11:22:38 +10:00
wizjany
de22a5cd25 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.
2021-04-12 14:18:11 -04:00
JOO200
d2c2bfbab2
Deprecate flags (replaced by RegistryFlag), added some null checks () 2021-04-10 13:58:39 -04:00
wizjany
528ba32a93 Also change paperlib to shade.
This change has been sitting here for a while uncommitted and unpushed.
2021-03-06 15:36:25 -05:00
JOO200
f37fbb1ae8 Fix Falling blocks may change snow layers to that block 2021-03-06 15:31:06 -05:00
wizjany
f1f8b625a8 Gradle cleanup/unfuckery.
Fixes 
2021-02-10 15:21:03 -05:00
wizjany
e933050436
Change relocated/shaded artifacts to compileOnly. 2021-02-10 13:33:48 -05:00
wizjany
59d4c7b96d
Fix nullability annotation. 2021-02-10 00:02:28 -05:00
Shane Freeder
0c7f4bb8f7
Fix TimedHandler not calling delegated handler ()
The original commit was calling super, which means that the actual
registered handlers were not called, also, added getInvincibility
which was originally missing
2021-02-09 23:48:03 -05:00
wizjany
3c9b21d01f
Add timings to third-party session handlers ()
* 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.
2021-02-06 11:10:04 -05:00
wizjany
aeea455560
Ignore BlockFertilizeEvent with empty list.
Plugins can clear this list without fully cancelling the event.
Fixes 
2021-02-06 10:58:29 -05:00
wizjany
129d27351a
Don't send empty messages from chorus-fruit/enderpearl teleports. 2021-02-02 19:44:38 -05:00
wizjany
310ce9a662
Make UUIDFlag ctors public.
smh.
2021-01-26 16:18:07 -05:00
kikelkik
e04c654cde Added arguments to /rg toggle-bypass: on, off 2021-01-23 22:01:28 -05:00
JOO200
b1674e5cb7 Added test cases for FlagValueCalculator and MapFlags 2021-01-23 21:43:44 -05:00
JOO200
89c6a33b90 Improved queryMapValue to return defaultValue instead of null 2021-01-23 21:43:44 -05:00
JOO200
88c91ce3fc Add fallback value to queryMapValue, use Flag$chooseValue 2021-01-23 21:43:44 -05:00
JOO200
b70f5a73ce Added methods to query values from map flags 2021-01-23 21:43:44 -05:00
JOO200
b6fc9ddd93 Add UUIDFlag 2021-01-23 21:33:29 -05:00
wizjany
cbb3212082 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 .
2021-01-09 18:16:40 -05:00
Intelli
04d5a3b437 Fixed NoClassDefFoundError if WorldEdit failed to initialize 2021-01-03 17:46:29 -05:00
Matthew Miller
282425f3cf
Move the Mob Blocker feature from CraftBook to WorldGuard ()
* Move the Mob Blocker feature from CraftBook to WorldGuard

* Formatting.

Co-authored-by: wizjany <wizjany@gmail.com>
2020-12-31 10:51:49 +10:00
wizjany
15a08097ae
Small readme tweaks.
Fix dead/outdated links, clarify deps.
2020-12-09 11:28:13 -05:00
wizjany
035a645de0 Deal with bamboo as growth from spread event listener.
Closes , .
2020-11-27 09:10:28 -05:00
wizjany
59c146f59a Don't allow setting unknown flags in FlagHelperBox. 2020-11-17 18:53:22 -05:00
wizjany
d313f2caad Add nether warts to crop list.
Closes .
2020-11-17 18:50:35 -05:00
wizjany
8350267b10 Don't marshal SetFlag in FlagHelperBox. 2020-11-17 18:50:35 -05:00
JOO200
e98196af40 Catch Throwables instead of Exceptions while (un)marshalling flags 2020-11-17 17:17:26 -05:00
wizjany
3879772103 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.
2020-11-17 16:36:36 -05:00
wizjany
48233c3327 Make resource processing update with project version.
Should prevent old version strings from finding their way into plugin.yml
2020-11-03 14:42:39 -05:00
wizjany
664ab18f00 Fix sponge-simulation clearing NBT of waterlogged blocks.
Fixes .
Didn't realize people still used this feature.
2020-10-23 23:41:56 -04:00
Matthew Miller
07bf1871ab Add an SVG logo 2020-10-23 21:44:09 +10:00
JOO200
5921be432c
Change anvil usage to build permissions and add use-anvil flag () 2020-10-17 17:51:39 -04:00
wizjany
60b16fc4c7 Add sweet berry bush to crop list. 2020-09-26 22:16:19 -04:00
wizjany
746b630d01 Note the new region converter class for devs. 2020-09-26 16:05:27 -04:00
wizjany
0b362088f4 Bump to snapshot version. 2020-09-26 12:57:03 -04:00
wizjany
014277fb2f Release 7.0.4. 2020-09-26 12:55:18 -04:00
wizjany
f7ff984c34 Update changelog for release. 2020-09-26 12:46:20 -04:00
Pisich
d4b2060766 Removed extra ";" 2020-09-26 12:06:06 -04:00
JOO200
0e73b50d6f Moved default bypass options to global configuration section 2020-09-16 13:34:56 -04:00
JOO200
136ec31f38 Add configurable announcement for current bypass status 2020-09-16 13:34:56 -04:00