Commit Graph

186 Commits

Author SHA1 Message Date
JOO200
ece376a69e
Improve NPC handling in WorldGuard's listeners (#1988)
* fix: added more npc checks in listeners
* Do not listen to events from NPCs such as Citizens. Don't handle NPCs as players.
* replaced hasMetaData calls by Entities utilities class
2023-03-23 18:58:48 +01:00
JOO200
216f95f87c
Merge pull request #1989 from EngineHub/feature/copper-fade-flag
Add copper-fade flag to WorldGuard
2023-03-23 15:05:53 +01:00
JOO200
ca6e228f61
Merge pull request #1973 from EngineHub/feat/datapackreport
Add DataPack Report to track active DataPacks
2023-03-23 14:53:06 +01:00
Joo200
fd1cb1e4bd flags: added copper-fade flag to prevent oxidizing copper 2023-03-19 16:56:46 +01:00
Maddy Miller
1729e5e3d6
Add additional holder snapshot bypasses for performance (#1978)
* Add additional holder snapshot bypasses for performance

* Extra optimisation - cuts lookups of block data in the world by half
2023-01-19 20:28:54 +10:00
Madeline Miller
46dfb69fb1
Use updated PaperLib for InventoryHolder optimisation 2023-01-05 21:28:13 +10:00
Joo200
9ceecf5d3a Add DataPack Report to track active DataPacks 2022-12-27 13:39:35 +01:00
Maddy Miller
20044a72d3
fix: re-enable no snapshot inventories (#1972) 2022-12-26 10:29:26 +10:00
Joo200
6f749b058b Restore 1.19.2 compatibility 2022-12-09 16:37:04 +01:00
Joo200
ba55cc79c2 Update to Minecraft 1.19.3 2022-12-09 13:23:57 +01:00
Joni Aromaa
bd1d772faa
Introduce uninitialize for sessions (#1940)
* Introduce uninitialize for sessions

* Add FlagValueChangeHandler#onClearValue
2022-09-18 11:18:08 -04:00
wizjany
f1f1e8aa7d
Remove command reg delay for CommandBook compat.
This may break said compat but I doubt anyone is using it anyway.

Fixes #1943.
2022-08-28 10:15:49 -04:00
dordsor21
e756d127c5 Account for possible world nullability for Entity#getOrigin Location 2022-07-27 21:15:31 -04:00
Joo200
0d2ed8205f Properly protect chest_boats as vehicles 2022-07-07 21:04:44 +02:00
JOO200
6efdb1089e Fix Report for Spigot based servers
Bukkit.spigot().getSpigotConfig() is the paper implementation, it's not available on Non-Paper servers
2022-06-21 20:44:30 +02:00
wizjany
4a21bf43e7
Check if InventoryHolder BlockState is placed.
Closes #1903.
2022-06-14 11:31:24 -04:00
JOO200
3a181a230f Tidy up Materials.java, added missing effect type, removed todo for paper only 2022-06-14 11:25:06 -04:00
JOO200
857f7468d8 Add Sculk Growth Flag and options to disable sculk growths 2022-06-14 11:25:06 -04:00
JOO200
f8e8d0f01e Plugin Version to 1.19, cleanup from Materials, added 1.19 Materials 2022-06-14 11:25:06 -04:00
JOO200
b698941378
Append OnlineMode server information to ServerReport (#1891) 2022-04-03 16:35:34 -04:00
wizjany
271b32aa1d
Default chest-protection.disable-off-check to true.
Fixes #1890.
2022-03-24 10:01:17 -04:00
wizjany
938f0c3b66
Handle all the amethyst growth.
Fixes #1889.
2022-03-20 08:26:41 -04:00
wizjany
216b061172
Fix class source validator on spigot. 2022-03-06 08:59:44 -05:00
wizjany
cf69425153
Don't cancel potion splashes with no targets. 2022-03-03 07:59:00 -05:00
wizjany
e2fe770e6f
Disregard that, definitely need to duplicate. 2022-03-01 18:27:45 -05:00
wizjany
7e06088c1a
Switch to WE's ClassSourceValidator.
Since it's (being) fixed there and no need to duplicate any more.
2022-02-27 19:25:58 -05:00
wizjany
f9d1c2d4e0
Fix some errors in config loading.
Technically removing a nonexistant property should be fixed in WE's yaml utils but eh.
2022-02-27 17:51:52 -05:00
wizjany
f883899cfe
Add deprecation warnings.
Also remove the nodes from config if unused.
2022-02-27 16:34:27 -05:00
wizjany
660f9ffa0d
Use deny-message for nether portal protection.
Closes #1882.
2022-02-26 18:49:35 -05:00
wizjany
e05d42371f
Protect modification of candles and cake as building.
Closes #1880.
2022-02-26 18:43:04 -05:00
wizjany
4abf971cf6
Add red sand to sand physics.
This option is still at the mercy of bukkit api and might still not work ¯\_(ツ)_/¯
2022-01-16 11:13:18 -05:00
Cristobal Lopez
b59da5992f
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
2022-01-02 10:07:00 -05:00
wizjany
46251f5ffa
Don't check bypass for offline players.
This is someone else's problem now (╯°□°)╯︵ ┻━┻
2022-01-01 20:08:16 -05:00
wizjany
98bef4e0ab Remove extra import. 2021-12-31 10:55:51 -05:00
JOO200
f1c8649f9a Improve Checks for LightningStrikes (fixes #1845) 2021-12-31 10:55:51 -05:00
stonar96
f55802c176
Make cause known if origin can be used (#1838) 2021-11-25 12:33:43 -05:00
wizjany
a0922cb467 Add rock-growth flag.
Handles amethyst and dripstone.

Closes #1855.
2021-11-25 12:32:24 -05:00
wizjany
56086b0878 Protect light from everything.
Thanks Mojang.
2021-09-16 14:54:36 -04:00
wizjany
51fa25dd03 Protect light from light.
Closes #1828.
2021-09-13 19:12:54 -04:00
wizjany
5b0fdb6801 Include GLOW_ITEM_FRAME in item-frame-rotation flag.
Closes #1832.
2021-09-13 18:57:33 -04:00
wizjany
fe0fd17d37 Cover additional case for blacklist on-equip. 2021-08-15 11:06:27 -04:00
Wyatt Childers
0165175a2e
Additionally block other explosion if the defender is a block like entity to be consitent with "block" explosion protections (#1812) 2021-08-08 22:58:34 -04:00
wizjany
821c3e689e
Convert listeners to use AbstractListener and add shortcuts to get config. (#1808)
Closes #1780.
2021-08-08 22:58:22 -04:00
wizjany
c98f9eda7e Check all effects for lingering potion clouds.
Fixes #1797.
2021-07-24 11:36:25 -04:00
JOO200
7e817c3330 Protect signs against usage of (glowing) ink sac 2021-07-10 11:09:05 +02:00
JOO200
37906c0fc4 Added use-dripleaf flag, Handle Deepslate Redstone Ore correctly 2021-07-07 10:17:08 -04:00
wizjany
6879f10de6 Fix crop growth config option. 2021-07-07 10:17:08 -04:00
JOO200
7155ef5833 Protect cave vines and glow berries correctly 2021-07-07 10:17:08 -04:00
JOO200
c5dad7476d Compare items for /stack with ItemStack.isSimilar 2021-07-07 10:17:08 -04:00
JOO200
4dfb9bea38 Switch back dependency from Spigot to Paper 2021-07-07 10:17:08 -04:00