wizjany
c2f96c9587
Checkstyle pls.
...
That was the auto-folder's fault.
2019-03-30 18:39:55 -04:00
wizjany
c181a86fd1
Better wrapped player usage. Requires latest WorldEdit build.
2019-03-30 18:09:27 -04:00
wizjany
e2ffab5ee8
Cleanup last commit.
2019-03-28 23:07:48 -04:00
wizjany
8a3f066023
Turtle eggs throw PIE when being broken.
2019-03-28 23:02:28 -04:00
wizjany
c53ed56b3a
Check flag change handlers when world changes.
...
Global regions aren't actually part of the ApplicableRegionSet,
so the set difference will be empty even if the global region has changed.
2019-03-23 12:29:12 -04:00
wizjany
6144ca82ac
Fix removing regions from manager with the REMOVE_CHILDREN strategy. ( #397 )
...
* Added test for removing regions from manager.
* Fix removing regions with REMOVE_CHILDREN strategy.
2019-03-22 14:20:32 -04:00
wizjany
d091cb578f
Don't check spaces that won't get moved into by pistons.
...
Fixes WORLDGUARD-4064.
2019-03-20 21:50:00 -04:00
wizjany
b2fe4c9c71
Move tests to core.
...
(None of them are implementation-specific)
2019-03-20 17:50:12 -04:00
wizjany
ea47e93323
Really remove deprecated flags.
2019-03-14 18:10:56 -04:00
wizjany
10100bd194
Remove deprecated flags. Make sure we register our flags first.
...
Also make enderpearl + chorus fruit flags respect entry/exit deny message flags.
2019-03-14 18:07:41 -04:00
wizjany
91687dc204
Only check for flag changes when regions change.
...
This functionally reverts e5b76a5
, though individual classes can change
this behavior on an individual basis by overriding the method.
Also, make time-lock and weather-lock restore only initial values,
which should be more intuitive behavior when multiple regions overlap
with different flag values.
2019-03-12 18:45:08 -04:00
wizjany
e091a59063
Remove ender-chest protection.
...
Enderchests are not modified on use. In fact, they don't even
have inventories, so they are not modified at all. To deny usage,
the interact flag must be denied, since they most closely fit in
a category with other interact-covered blocks (and not use-covered
blocks, since using them does not change the region in any way).
This commit reverts f7d36b and ea4f4c0
.
2019-03-10 19:09:36 -04:00
wizjany
ee7dc27283
Actually report game rule values.
...
Was just "<Recursive>" before, which is pretty useless.
2019-03-07 17:44:20 -05:00
wizjany
54c3cdad77
Bukkit does this apparently.
2019-03-06 19:43:59 -05:00
wizjany
ff37cc7935
Add item-frame-rotation flag.
...
When set to allow, allows players to rotate item in item frames even if
they wouldn't normally have permissions to modify the item frame.
Fixes WORLDGUARD-3588.
2019-03-06 19:05:36 -05:00
wizjany
b6e2bca5bc
Make chat + command flag handing more sane.
...
* Send/receive chat and allowed/blocked cmd flags now respect deny-message flag.
* Added `regions.cancel-chat-without-recipients` option to disable the default behavior.
2019-03-04 18:53:26 -05:00
Nonsence
1f85a53117
Update README.md: Fix broken markup ( #396 )
2019-03-04 08:21:26 -05:00
wizjany
bd4726f887
Update links in readme.
2019-03-02 15:46:22 -05:00
wizjany
9ea2312751
Apparently some people see red flag and think those are broken.
...
This has unfortunately happened more than 2 times.
2019-03-02 13:14:01 -05:00
wizjany
cc988c0b5a
Minor typo.
2019-03-02 12:43:58 -05:00
wizjany
af93530dbe
Fix region equality across multiple region managers. ( #395 )
...
It is possible, for example when teleporting between two worlds, that
regions in two different managers are compared. If the regions in each
world have the same name, they would return equal. Removing the equals
override will prevent two different regions from seeming equal even if
they are not.
2019-03-01 21:42:07 -05:00
wizjany
43d8cf8cba
Bye Java 6.
2019-02-26 12:14:38 -05:00
wizjany
090a00d6d8
Fire UseItemEvent when fishing rod is cast.
...
This apparently no longer throws an interact.
Fixes WORLDGUARD-4018.
2019-02-25 23:47:24 -05:00
wizjany
a233be1df8
Sponge simulation now also clears waterlogged blocks.
...
Fixes WORLDGUARD-4011.
2019-02-15 16:00:30 -05:00
wizjany
f9339e144e
CSV support was removed 8 years ago.
...
Even the migrator is long gone.
056f8a57c7
2019-02-13 23:30:40 -05:00
wizjany
1f1e6eedf6
Cleanup session loading.
...
Apparently the spigot server stores time-lock between logout and login,
but not weather-lock. This should work around any such issues by
re-applying handlers on login.
2019-02-12 14:56:03 -05:00
wizjany
96e7c43f56
Fix newline parsing in StringFlag.
...
This was committed broken 7 years ago and no one told us til today.
2019-02-11 22:22:41 -05:00
wizjany
f8e129f33e
Add debug listener for DamageEntityEvent.
2019-02-11 16:57:15 -05:00
wizjany
144c31645c
Use fake player build override for NPCs in SessionManager too.
2019-02-08 22:29:00 -05:00
Wizjany
d24157e693
Allow NPCs to bypass region protections. ( #393 )
2019-02-04 18:50:09 +10:00
wizjany
d5dddba8bc
Prevent exception with legacy materials.
...
Not sure what this legacy material layer is doing here, but it can
potentially throw exceptions when we add one to our material flags.
2019-02-03 19:28:59 -05:00
Wizjany
72a392aca2
Moved SquirrelID relocation to core project. ( #394 )
...
This allows projects depending on core to properly use the ProfileService and ProfileResolver without themselves relocating the package.
2019-01-27 19:47:08 -05:00
wizjany
c6442e6669
Re-enabled checkstyle, do some cleanup.
2019-01-27 16:13:58 -05:00
Wizjany
0102dbb9bc
Move MapFlag to core. ( #392 )
...
Original PR was made before API stuff was moved to core, so when the PR was pulled it ended up back in legacy.
2019-01-27 13:54:30 -05:00
Wizjany
3f7a9f9bc8
Change CI link to enginehub
2019-01-23 17:19:46 -05:00
Matthew Miller
ae51d74afb
Back to SNAPSHOT for continued development
2019-01-22 22:17:22 +10:00
Matthew Miller
e51a22032e
Bumped to Beta 3
2019-01-22 22:13:46 +10:00
Matthew Miller
84017bffc4
Added macro and colour support to deny-message
2019-01-19 21:51:52 +10:00
Matthew Miller
60731f9836
cleanup block listener
2019-01-12 18:12:06 +10:00
Matthew Miller
3ea7c9fc08
Added GLIDE and SWIM MoveTypes, and made Horses use RIDE
2019-01-02 17:24:49 +10:00
Matthew Miller
9804c69044
Added an option to block conduit effects
2019-01-02 14:25:43 +10:00
Mark Vogel
cd39387e7f
Add MapFlag ( #375 )
...
* Add MapFlag
Signed-off-by: Mark <33119mark@gmail.com>
* Remove apache import
Signed-off-by: Mark <33119mark@gmail.com>
* Add copyright
Signed-off-by: Mark <33119mark@gmail.com>
2018-12-30 17:20:12 +10:00
Matthew Miller
b48e145508
Move StringMatcher to before other things
2018-12-29 12:38:45 +10:00
Matthew Miller
405b210fb5
Cleanup usage of BukkitWorldConfiguration
2018-12-26 15:19:23 +10:00
Matthew Miller
d4d7601125
Fixed broken merge
2018-12-26 14:34:18 +10:00
Matthew Miller
fdd9064170
Abstracted the commands away from the Bukkit platform ( #391 )
...
* Start work on abstracting commands out of worldedit-legacy
* A lot more work towards abstract commands
* Move a lot of code to WorldEdit
* Setup the exception converter
* Use WorldEdit styling and move more of the RegionContainer across.
* Abstract away the debug commands and a few other things - Only the matcher to go.
* It compiles
* It now seems to run fine
* Fixed version typo
2018-12-26 14:32:35 +10:00
Matthew Miller
803c2055c3
Update SquirrelID for JAXB removal.
2018-12-23 12:47:23 +10:00
Matthew Miller
344c6cf814
Minor cleanup of blacklists
2018-12-21 22:33:43 +10:00
Matthew Miller
863f6cc13b
Switched to heirarchy object report
2018-12-18 18:13:06 +10:00
Matthew Miller
3dd35dabec
Remove some files that were listed in the gitignore but still in the repo
2018-12-18 16:52:31 +10:00