Joo200
ab48a66237
Merge branch 'refs/heads/version/7.0.x'
...
# Conflicts:
# buildSrc/src/main/kotlin/GradleExtras.kt
# buildSrc/src/main/kotlin/LibsConfig.kt
# buildSrc/src/main/kotlin/PlatformConfig.kt
# gradle.properties
# worldguard-libs/bukkit/build.gradle.kts
2024-09-16 20:08:34 +02:00
wizjany
d9716a5bd8
Ignore arrow combustion.
...
Closes #2144 .
2024-09-13 14:29:18 -04:00
wizjany
a0e397e57f
Use more snapshot-less holders on Paper.
...
This is already past the debounce so in theory it's not getting hit *often*, but I guess if it's really slow it'll still show up.
2024-09-13 14:15:32 -04:00
wizjany
02dc89b224
Bump to snapshot.
2024-09-13 11:58:55 -04:00
wizjany
829a4a42df
Release 7.0.12.
2024-09-13 11:58:22 -04:00
wizjany
830472d36e
Revert previous changes to explosion event handling.
...
Event abstraction sucks and everything needs rewriting.
2024-09-13 11:46:06 -04:00
wizjany
03aac83f4c
Match explosion flag coverage with EntityListener.
2024-09-13 10:00:48 -04:00
wizjany
fb88d56646
Bump to SNAPSHOT for dev.
...
Also update the changelog.
2024-09-09 16:56:05 -04:00
wizjany
068ad680fc
Release 7.0.11.
2024-09-09 16:24:43 -04:00
ploppyperson and wizjany
cb011a88cf
Add moisture-change flag ( #1879 ) ( #2096 )
...
* Create and implement moisture-change flag
* Fix imports
* Add comment
* Actually read the value from config.
Closes #1879
---------
Co-authored-by: wizjany <wizjany@gmail.com >
2024-09-09 15:43:58 -04:00
wizjany
0f3ea5045e
Merge pull request #2115 from EngineHub/feature/fix-breeze-stuff
...
Optimize and cleanup explosion events from entities
Fixes #2099 and #2097
2024-09-08 17:26:31 -04:00
wizjany
679b56948f
Split wind charge into breeze/player flags.
...
Player flag is build-checked (default false) and breeze flag is not (default true).
Having multiple flags is ugly but if we need every bit of behavior to be manipulable this is the only way.
2024-09-08 16:46:50 -04:00
Joo200
9dd7d7c03e
Fix wind-charge-burst flag for player knockback
2024-09-08 14:56:08 -04:00
Joo200
afb619d2ac
Fix breeze damage flags
2024-09-08 14:56:04 -04:00
wizjany
b73a0a7179
Check mob-damage for potion splashes from e.g. witches.
...
Note that bypass bypasses this if the player with bypass is the target of the potion, but only for the player with bypass.
Fixes #2134 .
2024-09-08 13:40:13 -04:00
wizjany
2ea50689b9
Workaround books no longer sending change block for lecterns.
...
Fixes #2124 .
2024-09-08 12:51:00 -04:00
wizjany
70d225ef2f
Split chest boat ride/open.
2024-09-08 12:45:08 -04:00
wizjany
aa46529ecb
Extend use flag to all (trap)doors.
...
There's no tag which has wood+copper, but iron are not interactable anyway.
Relates to #2130 .
2024-09-08 12:45:07 -04:00
Joo200
8ffc81ad74
Fix NPE for teleport events without target location
...
Fixes #2111
2024-07-22 21:42:44 +02:00
wizjany
16ea4625c9
Merge pull request #2100 from aurorasmiles/feat/buildlogic
...
Port buildlogic from WorldEdit
2024-07-21 23:30:40 -04:00
wizjany
ca49458a44
A bit of cleanup.
...
Definitely did not accidentally make a 40MB jar halfway through.
2024-07-21 23:26:45 -04:00
aurora
574921089b
Port build-logic from WorldEdit
2024-07-21 23:17:21 -04:00
CyberFlame
c6fbfb87a3
remove double space
2024-07-05 17:02:51 +02:00
wizjany
fa357f4681
Back to snapshot.
...
Idk why we even to this for betas, they're not getting a maven release.
2024-06-26 18:58:10 -04:00
wizjany
a801a9d67a
Release 7.0.11-beta1.
2024-06-26 18:50:12 -04:00
1bfae45484
Merge pull request #2089 from EngineHub/feat/mc-1.21
...
* Fix compilation for MC 1.21. Nothing tested yet.
* Update Materials.java with 1.21 tags and materials
* Fix ItemStack conversion on block place on MC 1.21 (#2093 )
* Fix ItemStack conversion on block place
This issue is present in 1.21 because some materials do not convert 1:1 to item types.
This throws an exception in the ItemStack constructor.
Example: WALL_TORCH is a valid block but not a valid item, only TORCH is a valid item.
So, use the item in hand instead, creating a copy with quantity set to 1, for issueing the
use item event.
* Use ItemStack as-is.
Closes #2092 .
* Fix ItemStack conversion for spigot compatibility
* Special handling for WindCharges
* Do not call as a bulk event, because it has to check every blocks type
* WindCharge -> AbstractWindCharge
* Fix UseBlockFlag for multiple uses at the same time, add windburst-flag
* Cleanup code
* Handle vaults as use, crafters as chest-access.
---------
Co-authored-by: Joo200 <github@joo200.de >
Co-authored-by: Lennart <1535717+lenis0012@users.noreply.github.com >
Co-authored-by: Brokkonaut <hannos17@gmx.de >
2024-06-26 18:48:35 -04:00
wizjany
b269d7e264
Handle vaults as use, crafters as chest-access.
2024-06-26 18:17:55 -04:00
Joo200
af645ea2e4
Cleanup code
2024-06-26 22:34:29 +02:00
Joo200
a5ea5115f9
Fix UseBlockFlag for multiple uses at the same time, add windburst-flag
2024-06-26 22:30:33 +02:00
Brokkonaut
83298796ab
WindCharge -> AbstractWindCharge
2024-06-26 21:39:21 +02:00
Brokkonaut
8aa37e389d
Do not call as a bulk event, because it has to check every blocks type
2024-06-26 21:39:21 +02:00
Brokkonaut
887f3bfaec
Special handling for WindCharges
2024-06-26 21:39:21 +02:00
Joo200
6898ad8674
Fix ItemStack conversion for spigot compatibility
2024-06-22 15:08:10 +02:00
Lennart and wizjany
7783e9ae3b
Fix ItemStack conversion on block place on MC 1.21 ( #2093 )
...
* Fix ItemStack conversion on block place
This issue is present in 1.21 because some materials do not convert 1:1 to item types.
This throws an exception in the ItemStack constructor.
Example: WALL_TORCH is a valid block but not a valid item, only TORCH is a valid item.
So, use the item in hand instead, creating a copy with quantity set to 1, for issueing the
use item event.
* Use ItemStack as-is.
Closes #2092 .
---------
Co-authored-by: wizjany <wizjany@gmail.com >
2024-06-19 12:00:35 -04:00
Joo200
2bd426baf8
Update Materials.java with 1.21 tags and materials
2024-06-17 20:00:03 +02:00
wizjany
27f009594a
Fix compilation for MC 1.21. Nothing tested yet.
2024-06-16 21:48:35 -04:00
Joni Aromaa
ead1e1b77c
Fix checking bypass on initialize ( #2082 )
...
* Fix checking bypass on initialize
* Add SessionManager#createSession back as deprecated
2024-05-24 10:48:08 -04:00
aurora and Wyatt Childers
8b7729e0e8
Fix silent flag for gameplay commands ( #2081 )
...
* Fix silent flag for gameplay commands
This issue has been fixed in CommandBook with
https://github.com/EngineHub/CommandBook/commit/644803182ed1765a9862d0a0cd0d3763d399efee
but never in WorldGuard.
Co-authored-by: Wyatt Childers <DarkArc@users.noreply.github.com >
* codestyle
2024-05-23 13:05:29 -04:00
Joo200
d6ef5e9398
Remove adventure snapshot repository
2024-05-17 18:05:37 +02:00
wizjany
6f5501f7be
Bump to snapshot.
2024-05-14 18:14:06 -04:00
wizjany
d9424b1c71
Release 7.0.10.
2024-05-14 18:11:53 -04:00
aurora
65431c7df8
Fix fire placement by blocks when fire-spread is set to deny
...
Fixes #2070
2024-05-13 20:27:34 +02:00
Joo200
aa254c80e0
Merge branch 'refs/heads/version/7.0.x'
...
# Conflicts:
# buildSrc/build.gradle.kts
2024-05-03 19:57:42 +02:00
Joo200
2f93b26be0
Update dependencies to 1.20.6
2024-05-03 19:57:10 +02:00
wizjany
6bbf49314d
Merge pull request #2075 from EngineHub/feature/1.20.5
...
Update WorldGuard to 1.20.5
2024-05-02 12:12:15 -04:00
Madeline Miller
f6a0a0b415
Add outline to logo SVG akin to WorldEdit and CraftBook
2024-05-01 23:08:16 +10:00
Joo200
4ad11151fe
Fix compilation for 1.20.5
2024-04-28 15:39:15 +02:00
Joo200
c29edf7467
Fix Deprecations from WorldEdit 7.3.0
2024-04-28 15:36:52 +02:00
Joo200
da3c81a88d
Update dependencies to 1.20.5 and jdk 21
2024-04-28 15:32:32 +02:00
Joo200
c65dd83a7e
Don't show particles for denied interact events with dripleaf and redstone ores
2024-04-07 22:04:00 +02:00
Joo200
694195435d
Bump Versions
2024-04-07 22:02:57 +02:00
Madeline Miller
0d824d375b
Add a Paper fast-path for DoubleChest#getLeftSide when possible
2024-03-31 12:28:53 -04:00
aromaa
c7319f10dc
Bump up respawn event priority to monitor
2023-09-11 21:25:47 -04:00
Joo200
c2b95f59a8
Paper only: Protect sign modifications as building
2023-08-22 14:34:52 +02:00
Joo200
5fa6f2a858
Update paper-api and spigot-api dependencies to 1.20.1
2023-08-22 14:34:26 +02:00
Joo200
0a9eb447d6
store custom domains thread safe, improve api usability
2023-08-20 11:06:36 +02:00
Joo200
02a8fd4c17
Merge remote-tracking branch 'origin/version/7.0.x'
...
# Conflicts:
# gradle.properties
2023-08-14 14:21:50 +02:00
wizjany
3201cee1b7
Bump to snapshot.
2023-07-31 20:12:56 -04:00
wizjany
16a3c85005
Release 7.0.9.
2023-07-31 20:11:06 -04:00
Joo200
5934e49489
Fix changed event for copper-fade flag
2023-07-30 18:34:12 +02:00
Joo200
58fbb6f008
Remove Support for 1.19
2023-07-30 18:20:02 +02:00
Joo200
fba8333de3
Fix backwards compatibility with 1.19.4
2023-06-21 22:20:42 +02:00
Joo200
8cbce96a2c
Merge branch 'version/7.0.x'
2023-06-18 18:47:29 +02:00
Madeline Miller
fffb0c1f98
Bump to snapshot
2023-06-16 21:01:49 +10:00
Madeline Miller
223b80c590
Release 7.0.9-beta1
2023-06-16 20:59:43 +10:00
Joo200
853631139d
Update Protections to 1.20
...
* add new materials
* add protections for sniffer eggs
* add protection for signs
2023-06-16 09:50:37 +02:00
Joo200
c61e9f1fe0
Update Readme to use https and Java 17
2023-06-16 09:50:37 +02:00
Joo200
64ccda4615
deps: Update WorldEdit to 7.2.14
2023-06-16 09:50:37 +02:00
Joo200
16887c8540
deps: Update Paper to 1.20, snakeyml to 2.0
2023-06-16 09:50:37 +02:00
Joo200
2c448f1ba2
deps: Update gradle to 8.1.1
2023-06-16 09:50:37 +02:00
wizjany
c0cbe27efc
yaml ctors
2023-06-08 15:08:05 -04:00
Joo200
bb3fdcc880
Renamed InvalidFlagFormat to InvalidFlagFormatException
2023-06-04 18:55:01 +02:00
JOO200
8d5953a550
apidomains: Added custom domains to WorldGuard
...
This change allows third party plugins to dynamically add custom domains to WorldGuard.
2023-06-04 18:55:01 +02:00
Joo200
4a26e306b6
Consider the summon command as plugin spawning
2023-05-31 13:26:05 +02:00
wizjany
129ae6c971
Merge branch 'version/7.0.x'
...
# Conflicts:
# gradle.properties
2023-05-27 13:49:05 -04:00
wizjany
44d0735412
Bump to snapshot.
2023-05-27 13:41:49 -04:00
wizjany
33cdb4a6a8
Release 7.0.8
2023-05-27 13:39:01 -04:00
wizjany
feb548aa84
Check movement on AbstractHorse instead of Horse.
...
Not tested cuz I don't know how to enable camels, but in theory this should work for that.
2023-05-16 17:04:28 -04:00
wizjany
961461c23c
Protect against allay pickups and modification.
...
Closes #1923 .
2023-05-16 17:02:19 -04:00
wizjany
ad6d5af592
Treat tameables with offline owners as unknown causes.
...
Paper-only.
Closes #1900 .
2023-05-16 16:15:57 -04:00
wizjany
7ae7a04721
Make region wand act more like /rg info.
...
Addresses the part that #1534 and #1817 missed.
2023-05-16 15:25:52 -04:00
wizjany
40adfe9cef
Add dragon egg teleporting to build protection.
...
Closes #1977 .
2023-05-16 14:22:47 -04:00
Joo200
78498491dd
Remove timings for third-party session handlers
...
Reverted MR #1717
2023-04-09 21:27:13 -04:00
stonar96
ca636d20af
Fix NPE when non-player entities create new nether portals ( #1995 )
...
* Fix NPE when non-player entities create new nether portals
* Fix flag checking for portal create event
* Use failed load region set
* Clean up
2023-04-09 21:25:44 -04:00
Joo200
b67fd01ebd
Merge branch 'version/7.0.x'
...
# Conflicts:
# buildSrc/src/main/kotlin/Versions.kt
# gradle/wrapper/gradle-wrapper.jar
# gradle/wrapper/gradle-wrapper.properties
# gradlew.bat
# worldguard-core/build.gradle.kts
2023-03-26 15:17:06 +02:00
Joo200
bddfbdd353
gradle: updated wrapper to gradle 8.0.2
2023-03-26 15:14:10 +02:00
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
wizjany
1e81a91d4d
Bump squirrelid, remove workaround.
2023-03-23 11:47:02 -04: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
Joo200
8c8a8092b5
deps: updated Paper repository to new url, updated bstats to 3.0.1
2023-03-12 16:50:21 +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
8bc7ff49ab
Merge pull request #1971 from EngineHub/version/1.19.3
...
Update to Minecraft 1.19.3
2022-12-19 11:01:20 +01:00
Joo200
6f749b058b
Restore 1.19.2 compatibility
2022-12-09 16:37:04 +01:00
Joo200
91380a8316
Updated wrapper
2022-12-09 13:26:02 +01:00
Joo200
ba55cc79c2
Update to Minecraft 1.19.3
2022-12-09 13:23:57 +01:00
Joo200
62be386626
Merge branch 'version/7.0.x'
2022-11-27 10:52:54 +01:00
aromaa
cb100bb797
Improve compatibility with the new onClearValue
2022-09-20 09:07:27 -04:00
Joo200
741f9e231b
Merge branch 'version/7.0.x'
...
# Conflicts:
# buildSrc/build.gradle.kts
# buildSrc/src/main/kotlin/PlatformConfig.kt
# buildSrc/src/main/kotlin/Versions.kt
2022-09-19 11:56:50 +02: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
wizjany
598c441718
Back to snapshot.
...
Also update changelog
2022-07-27 21:28:09 -04:00
wizjany
cbb2ba7216
Release 7.0.8 beta 1.
2022-07-27 21:15:21 -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
23521858fd
Bumped versions: Minecraft to 1.19 and JDK 17
2022-06-14 11:25:06 -04:00
JOO200
0fddd2a573
Fixed Typo in CommandException
2022-04-26 18:26:07 +02:00
JOO200
85dd012b85
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
2022-04-09 11:46:54 +02:00
wizjany
dc23af7947
Skip lookups on claim.
...
Claim hasn't allowed user-input for ages, so no need to resolve anything.
2022-04-05 12:23:32 -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
bc63119373
Fix publish.
2022-03-12 17:32:40 -05:00
wizjany
3549f04a33
Build script updates.
...
Bump gradle. Copy a bunch from WE. Hopefully nothing breaks.
2022-03-12 17:21:50 -05:00
wizjany
216b061172
Fix class source validator on spigot.
2022-03-06 08:59:44 -05:00
wizjany
27dca2b506
Bump to snapshot.
2022-03-03 15:05:52 -05:00
wizjany
79a3b70d8d
Release 7.0.7.
2022-03-03 14:21:45 -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
de386fb4d8
Provisional changelog for 7.0.7.
2022-02-26 19:04:13 -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
JOO200
dca0515104
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
2022-01-23 13:03:40 -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
wizjany
875a6fc827
Add space in an error message.
2022-01-16 11:13:15 -05:00
JOO200
3cb4abdbf7
Updated amount of modules, Windows command prompt and outdated hints
2022-01-08 21:23:11 +01:00
JOO200
4caf0afb38
Add COMPILING.md and set Java Version to 16
2022-01-08 21:03:11 +01:00
JOO200
054a73416b
Update Java-Version in README.md to Java 17
2022-01-07 13:17:54 +01: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
JOO200
aad698af84
Update Paper and Spigot to 1.17.1
2021-12-31 10:55:51 -05:00
JOO200
ad7ecbaefe
Exclude paper-api from squirrelid dependency (Compilefix for removed maven mirrors)
2021-12-30 20:41:57 +01:00
wizjany
81750e191d
Add /rg migrateheights. ( #1857 )
...
Closes #1856 .
2021-12-02 15:44:25 -05:00
wizjany
703146bc18
Update guava to match MC 1.18 guava.
2021-11-30 20:42:54 -05:00
JOO200
2541483ebc
Fixed invalid label
2021-11-25 22:00:40 +01:00
JOO200
0a601dbc28
Improved Bug Report and Feature Request Template
2021-11-25 21:59:46 +01: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
fb9705e4f0
Update gradle.
...
Getting ready for java 17.
2021-11-25 11:27:00 -05:00
JOO200
9b665136d0
Fix Blacklist log entry not by player results in NPE ( #1837 )
2021-09-25 13:22:33 +02:00
wizjany
efac79fd38
Bump to 7.0.7-SNAPSHOT.
2021-09-16 18:51:54 -04:00
wizjany
1cff55f355
Release 7.0.6.
2021-09-16 18:45:05 -04:00
wizjany
f4fb78c7f5
Changelog for 7.0.6.
2021-09-16 18:44:42 -04: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
stonar96
cb69ab73a7
Fix perms NPE
2021-08-31 16:49:40 -04:00
stonar96
5a6b6eb81b
Use QueryOption.SORT for region commands ( #1817 )
2021-08-22 10:14:40 -04:00
stonar96
75774dbbb0
Fix redefinition of parent regions ( #1814 )
2021-08-15 17:19:01 -04:00
wizjany
fe0fd17d37
Cover additional case for blacklist on-equip.
2021-08-15 11:06:27 -04:00
stonar96
5e702f80a6
Add inheritance for all flags ( #1787 )
2021-08-08 23:00:02 -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
stonar96 and wizjany
4644268214
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 <wizjany@gmail.com >
2021-08-08 22:58:09 -04:00
wizjany
c81f5892eb
Add jsr305 back for annotations.
...
Blame those pesky WorldEdit devs breaking our builds :^)
2021-08-02 13:21:33 -04:00
LoaiDev
88854592ce
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!
2021-08-01 16:59:56 -04:00
wizjany
8efc2e6539
Revert "Add member inheritance for non-player associables"
...
This reverts commit b1cd1303d1 .
2021-07-25 23:31:44 -04:00
stonar96
b1cd1303d1
Add member inheritance for non-player associables
2021-07-25 10:06:09 -04:00
wizjany
c98f9eda7e
Check all effects for lingering potion clouds.
...
Fixes #1797 .
2021-07-24 11:36:25 -04:00
JOO200
682942b965
Added NPE error message and javadoc hint for WorldGuard.getPlatform
2021-07-15 19:48:34 +02:00
JOO200
7e817c3330
Protect signs against usage of (glowing) ink sac
2021-07-10 11:09:05 +02:00
wizjany
5302bcb132
Changelog for 7.0.6 beta 1.
2021-07-07 10:17:08 -04:00
stonar96
bcac63dcaa
Fix regions in negative heights ( #1792 )
2021-07-07 10:17:08 -04: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
e2f775c952
Fixed wrong dependencies, removed not needed repository
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
JOO200
7436d5064e
Fixed incorrectly shaded squirrelid
2021-07-07 10:17:08 -04:00
JOO200
621c1289b3
Bump squirrelid to 0.3.0, Deprecated PaperProfileServer (replaced by squirrelid)
2021-07-07 10:17:08 -04:00
JOO200
093e282e13
relocate bstats like worldedit
2021-07-07 10:17:08 -04:00
JOO200
2958c2526c
Shade correctly bstats
2021-07-07 10:17:08 -04:00
wizjany
d21ee98624
Re-add shade config, fix some other gradle black magic.
2021-07-07 10:17:08 -04:00
wizjany
dd90fa21c7
Cover item dispense behaviors.
...
Depends on spigot throwing events.
2021-07-07 10:17:08 -04:00
JOO200
34ed6175e5
Bump api version to 1.17
2021-07-07 10:17:08 -04:00
JOO200
0818b3c262
Update to Java 16, Gradle 7.0.2 and Bstats 2.1.0
2021-07-07 10:17:08 -04:00
JOO200
04541ed5a6
Updated build environment, switched to Jupiter Unit Tests
2021-07-07 10:17:08 -04:00
JOO200
f17f1fc8c8
bump travis-ci to jdk11
2021-07-07 10:17:08 -04:00
JOO200
9defab65d1
Fix protections for copper and rooted dirt
2021-07-07 10:17:08 -04:00
JOO200
a225d1b2d3
Added 1.17 materials
2021-07-07 10:17:08 -04:00
JOO200
bcab33c12c
Updated dependencies and gradle
2021-07-07 10:17:08 -04:00
JOO200
3cb83465d1
Update dependencies to 1.17
2021-07-07 10:17:08 -04:00
wizjany
32d16a7eaa
Bump to snapshot.
2021-06-07 23:03:37 -04:00
wizjany
3827266eb3
Release 7.0.5.
2021-06-07 22:52:20 -04:00
wizjany
c3dbfdd699
Changelog for 7.0.5.
2021-06-07 22:49:23 -04:00
wizjany
f19ebab0e1
Handle spigot's entity mount event ( #1755 )
...
* Add handler for spigot's EntityMountEvent.
Closes #1677 .
* checkstyle.
2021-06-06 19:34:26 -04:00
stonar96 and wizjany
f8f95a44f0
Fix Iron Doors ( #1781 )
...
Co-authored-by: wizjany <wizjany@gmail.com >
2021-06-06 19:30:40 -04:00
stonar96
0a74d02fc9
Add nonplayer-protection-domains flag ( #1763 )
2021-06-06 19:28:00 -04:00
stonar96
46a662e1a7
Fix Dispenser Shulker Box bug and cleanup ( #1776 )
2021-06-06 19:27:48 -04:00
stonar96
149d1f84e8
Remove unused RegionGroup.MEMBERS from the teleport flag ( #1769 )
2021-05-23 12:37:06 -04:00
stonar96 and wizjany
c4e76af5f4
Fix Cause#isKnown() ( #1768 )
...
* 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 and wizjany
7dcec2b3b4
Small performance improvement for PlayerDomain#contains() ( #1765 )
...
* 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 ( #1764 )
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 ( #1747 )
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 #1729
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 ( #1727 )
...
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 ( #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.
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 #1723
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 #1698 .
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 and wizjany
282425f3cf
Move the Mob Blocker feature from CraftBook to WorldGuard ( #1695 )
...
* 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 #1673 , #1674 .
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 #1669 .
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 #1659 .
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 ( #1644 )
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
JOO200 and wizjany
ad000ab051
Rename config option for default bypass option
...
Co-authored-by: wizjany <wizjany@gmail.com >
2020-09-16 13:34:56 -04:00
JOO200
af67f1dd6a
Add config option to deny region bypass by default
2020-09-16 13:34:56 -04:00
wizjany
8dee2ad3b8
Don't check ride for unsaddled striders.
2020-09-11 20:44:47 -04:00
wizjany
c860fce299
Document ProtectedRegion's comparable behavior.
...
ProtectedRegion's compareTo is inconsistent with equals when comparing regions across managers.
2020-09-09 15:16:15 -04:00
wizjany
0cb84927a3
Don't fire xp spawn events for fishing where xp was already 0.
...
Dedicated to @mikroskeem who let me forget about this.
2020-08-30 13:25:36 -04:00
wizjany
2ed60eba02
Add deprecation warnings for names in Domains.
2020-08-21 15:51:33 -04:00
wizjany
91a1494634
Add piglin brutes.
2020-08-16 18:03:05 -04:00
Matthew Miller
5b8c3e7f70
Use a lower level exception in BukkitWorldConfiguration to get a printout when more severe YAML issues occur
2020-08-16 16:55:19 +10:00
Matthew Miller
c1ff4fc3d3
s/WorlGuard/WorldGuard
2020-08-16 14:44:57 +10:00
JOO200 and wizjany
691325c8f0
Update worldguard-bukkit/src/main/java/com/sk89q/worldguard/bukkit/BukkitWorldConfiguration.java
...
fixed typo
Co-authored-by: wizjany <wizjany@gmail.com >
2020-08-14 14:01:58 -04:00
JOO200
3da19a7ff0
Added world option to block turtle egg trampling
2020-08-14 14:01:58 -04:00
wizjany
f677af566f
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 .
2020-08-07 13:59:22 -04:00
wizjany
58eaf31879
Merge pull request #1618 from JOO200/piston
...
Implement new alternative association mode to limit piston movement
2020-08-03 10:53:31 -04:00
wizjany
6708b21016
Abstract RegionOverlapAssociation, deprecate/fix packaging.
2020-08-03 10:46:40 -04:00
wizjany
ed4287ace7
Cleanup use-max-prio algorithm, add tests.
2020-08-03 10:21:35 -04:00
wizjany
03f05d3a4e
Simplify and remove duplicate code.
2020-08-03 07:21:56 -04:00
JOO200
c8bde17994
Fixed "null" output for invalid worldedit selections
2020-08-01 16:55:37 +02:00
JOO200
449145ba1f
Renamed option to use-max-priority-association, Code cleanup
2020-08-01 13:54:27 +02:00
JOO200
85c5f53d29
only detect max priority once
2020-07-30 20:37:49 +02:00
JOO200
5162ce3dbd
Implement new alternative association mode to limit piston movement
2020-07-30 20:24:18 +02:00
wizjany
efe1e48bd4
Merge pull request #1615 from JOO200/toRegionSelector
...
Add Helper to convert WorldGuard's ProtectedRegion to WorldEdit's Region and RegionSelector
2020-07-29 23:42:00 -04:00
wizjany
1710c07623
Check non-waterloggable waterlogged blocks for liquid flow.
...
Fixes #1616 .
2020-07-29 23:39:04 -04:00
JOO200
6f9ed5d10f
Private ctor to match checkstyle.
2020-07-27 17:55:11 +02:00
JOO200
f0ec54af49
Added missing license to WorldEditRegionConverter
2020-07-27 17:17:20 +02:00
JOO200
e9e1885f2e
Moved toRegion and toRegionSelector in a helper class
2020-07-27 17:03:50 +02:00
wizjany
f8e2d8d6b7
Redstone wire is toggled between dot and cross on interact now.
2020-07-19 16:47:30 -04:00
wizjany
2c0b592b19
Declare some recently hidden dependencies.
2020-07-17 01:11:12 -04:00
wizjany
46e230e625
Missed import.
2020-07-16 21:41:08 -04:00
wizjany
fe24668c6a
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.
2020-07-15 19:23:44 -04:00
wizjany
23efd5fec2
Fireworks are now projectiles.
...
Only use paper-api for fallback.
2020-07-15 19:23:01 -04:00
JOO200
e54235a65e
Removed unnecessary relevant flag as it's checked by the UseBlockEvent listener
2020-07-15 18:43:25 -04:00
JOO200
5ec3ed6092
Changed handling von PlayerTakeLecternBookEvent to match the chest-access flag
2020-07-15 18:43:25 -04:00
TheMolkaPL
1652c9bfc0
Allocate WorldPlayerTuple only when using cache
2020-07-03 20:26:56 -04:00
TheMolkaPL
a97db0ede9
Add an option to disable bypass permission cache
2020-07-03 20:26:56 -04:00
wizjany
36e42eefd0
Update gradle wrapper, more buildscript fixes.
2020-07-03 17:06:31 -04:00
wizjany
5b8eef92b8
Build script cleanup/updates.
2020-07-02 19:09:09 -04:00
wizjany
d73dc6d719
Cleanup issue template a bit.
2020-07-02 18:55:08 -04:00
wizjany
74d8a4f0e7
Typo.
2020-06-27 19:55:34 -04:00
JOO200
613406aab4
Add Weeping Vines and Twisting Vines to vine-growth flag
2020-06-27 18:19:11 -04:00
wizjany
66fd84ba2f
Add GitHub Sponsors link.
2020-06-27 00:24:46 -04:00
wizjany
53abb6c4ad
Back to snapshot.
2020-06-26 02:09:36 -04:00
wizjany
923369e28c
Release 7.0.4-beta1.
2020-06-26 02:02:48 -04:00
wizjany
bc551da903
Update buildscript and WE dep.
2020-06-26 01:21:30 -04:00
wizjany
bffe5e76f2
Additional 1.16 material defs.
2020-06-26 00:52:29 -04:00
JOO200
8722322cd8
Added new flag respawn-anchors similar to block respawn anchor usage
2020-06-26 00:02:50 -04:00
JOO200
0fa92d4836
Removed unnecessary if branch
2020-06-26 00:02:49 -04:00
JOO200
e52875bd0b
Removed duplicate pressure plates check
2020-06-26 00:02:49 -04:00
JOO200
dbad328d0d
Update to Minecraft 1 16, PaperLib to 1 0 4
2020-06-26 00:02:49 -04:00
wizjany
5407315799
Release 7.0.3 for MC 1.14/1.15.
...
Last release before switching to 1.16.
2020-06-25 23:40:40 -04:00
wizjany
b769469f5b
Changelog for 7.0.3.
2020-06-25 23:11:51 -04:00
wizjany
3a9b1b1525
Add deprecation warnings to StringFlags.
2020-06-25 22:57:28 -04:00
wizjany
ff5f933879
Typo.
2020-06-24 10:42:12 -04:00
wizjany
0492fafe30
Color 3rd party flags and unregistered flags in /rg info.
2020-06-21 17:25:38 -04:00
wizjany
36d95ad090
More inventory holder snapshot use.
2020-06-21 16:57:58 -04:00
wizjany
c1ec708050
Use Inventory#getHolder(boolean useSnapshot) where available.
...
Dedicated to @phoenix616
2020-06-21 16:39:28 -04:00
wizjany
f4a3e8a936
Allow setting passthrough on global via /rg flags.
...
Closes #1584 .
2020-06-11 14:57:22 -04:00
wizjany
6c5380ba0b
Prioritize tamed owners over entity targets.
...
Fixes #1587 .
2020-06-08 13:14:04 -04:00
wizjany
868089b44f
Actually read TargetMatchers from world configs.
...
Previously only read from global.
2020-06-01 15:52:16 -04:00
wizjany
9905d22ddf
Add dyes as tools for interact handling.
2020-05-19 14:50:46 -04:00
UltraFaceguy
4eaa376e2c
Providing a solution for tools being unable to interact with usable blocks
2020-05-12 20:56:41 -04:00
JOO200
37ae70f35d
Add coral-fade flag and world configuration to disable coral fading
...
Closes #1532
2020-05-10 03:12:20 -04:00
wizjany
1a69250d9b
Allow droppers to drop items without using them.
...
Fixes #1570 .
2020-05-10 03:12:18 -04:00
wizjany
b2d2d0815b
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.
Closes #1573 .
2020-05-10 03:12:17 -04:00
wizjany
47cd96a3af
Add tests to validate behavior of non-player causes in multiple regions.
2020-05-02 10:41:51 -04:00
wizjany
0a735e0146
Don't warn about small global regions.
...
Closes #1567 .
2020-05-01 19:39:59 -04:00
stonar96
60590acfe3
Remove unnecessary checks and add comments
2020-04-29 15:15:07 -04:00
stonar96
6030bea13e
Improve default teleport-message and remove null check
2020-04-29 15:15:07 -04:00
stonar96
20f89ea2ae
Add teleport-message flag
2020-04-29 15:15:07 -04:00
wizjany
4c351fb0e3
Workaround for CraftBukkit's move event throttling.
2020-04-28 16:19:18 -04:00
wizjany
5e7829c3fe
Allow FML2 in forge host keys.
...
Closes #1542 .
2020-04-24 11:43:22 -04:00
wizjany
37e66dae7d
Track BlockProjectileSource causes.
2020-04-24 10:06:16 -04:00
wizjany
662ae2bc84
Add issue templates.
2020-04-16 09:02:01 -04:00
wizjany
fa60582afe
Sand/gravel tick now, even if physics is cancelled.
2020-04-09 18:47:01 -04:00
wizjany
17c1647163
Move profile cache updating to join event.
...
Adding it to onEnable might back up the executor on /reloads.
2020-04-07 11:25:56 -04:00
wizjany
1fcda13469
Check waterlogged blocks for water-flow flag.
...
Also remove some terribly outdated obsidian generator protection.
Fixes #1546 .
2020-03-29 20:16:50 -04:00
wizjany
570b7f7b77
Allow passthrough allow on global to override added members/owners.
2020-03-29 19:48:13 -04:00
wizjany
aca0d843f6
Allow WorldEdit's //world override to affect region commands.
...
Priority is `-w` flag > //world override > player world > error.
Also makes regions selectable from console.
2020-03-23 21:32:25 -04:00
wizjany
1172ebd419
More spawn protection warnings.
...
Can't have enough of these apparently.
2020-03-23 16:40:12 -04:00
wizjany
a09ccc5b45
Fire block breaks for piston extends, not just places.
2020-03-21 11:25:46 -04:00
wizjany
e6bdf8abb5
Fix cauldron NPE.
...
Closes #1541 .
2020-03-19 22:34:39 -04:00
wizjany
df2ae6a666
Tweak some region info output, fix teleport location.
2020-03-19 13:34:20 -04:00
wizjany
e4481f9337
Protect cauldron level change.
...
Closes #1262 .
2020-03-12 15:26:22 -04:00
wizjany
2169aa218e
Add option to always use default MC times for sending titles.
...
Alleviates issues with other plugins setting extremely short/long times.
2020-02-15 16:04:47 -05:00
wizjany
523e45188d
Default nether-portal-protection to true.
...
Pre 1.14, this was false by default as one could repeatedly force portal
searches by entering a portal which would lead into a protected area.
Since 1.14, the event we have access too happens independently of the
portal search, so the player will get teleported regardless of whether
a portal is present or if the creation gets cancelled.
2020-02-15 13:31:38 -05:00
wizjany
d95c6af1be
Remove metadata when the entity is done.
...
Apparently Bukkit doesn't actually do this.
Fixes WORLDGUARD-4169.
2020-02-13 23:20:04 -05:00
wizjany
0d860bfca7
Change bypass cache to expireAfterWrite.
...
This hasn't caused issues for the past 5 years but I guess ¯\_(ツ)_/¯
2020-02-06 18:16:55 -05:00
wizjany
6f6125fe00
Treat farmland and turtle egg PIE as EntityChangeBlock.
...
Note that as in d37f015f this decouples the event from interact flag,
meaning that block-trampling must be explicitly set to allow to maintain
previous behavior. It also means that setting interact to allow won't
by default allow players to trample turtle eggs (but this wasn't the case
for farmland, since that was already handled by ECB - thanks Bukkit).
Fixes WORLDGUARD-4163.
2020-02-01 11:39:20 -05:00
wizjany
0332929531
Bump bStats to 1.7, adding plugin id.
2020-01-31 11:18:50 -05:00
Wyatt Childers
637665f52d
Add a scripts folder to gitignore for dev scripts
2020-01-14 22:51:13 -05:00
wizjany
db3838ccfe
Add flag to prevent natural health regen and hunger drain.
2020-01-09 20:41:57 -05:00
wizjany
789405d116
Ignore session reset if player doesn't move a block.
...
So technically we do this block check in Session#testMoveTo, but the
/wg flushstates command can force a session re-initialization even if
the player hasn't moved a full block yet.
The amount of logic going on between the event call and the point where
we test that force boolean is rather lengthy though, so ignoring it for
the time being may be worth it.
TL;DR: Don't want WG in timings for PlayerMoveEvent needlessly.
2020-01-07 17:24:43 -05:00
wizjany
d37f015f0c
De-couple chest-access from interact. READ BELOW.
...
This is possibly a breaking change, in that WG will be overprotective
in regions which previously had interact set to allow but didn't change
the chest-access flag. If you previously had regions like this where you
would like to have non-members access chests, you will need to set the
chest-access flag to allow.
This change was made to alleviate some confusion that became more
evident recently with lecterns, since interacting with lecterns allowed
one to read a book, but the chest-access flag controlled taking the book.
This required setting interact to allow and chest-access to deny (at
least for nonmembers) to allow guests to read books but not take them.
This is a tentative change and may be reverted if it is too unpopular.
Thanks for testing dev builds :^)
2020-01-05 22:52:23 -05:00
wizjany
239eda3f96
Bump to snapshot. This will likely become 7.1 soon anyway.
2020-01-05 22:43:00 -05:00
wizjany
0715cbe216
Release 7.0.2.
2020-01-05 22:42:15 -05:00
wizjany
738b24bfc1
Changelog for 7.0.2.
...
Small one.
2020-01-05 22:35:05 -05:00
wizjany
b835ee39d5
Check water/lava placement from dispensers on edge of region.
...
Fixes WORLDGUARD-4161.
2020-01-03 23:11:56 -05:00
Pieter12345
4a7552e6be
Prevent pushing pistons across region borders
...
Pistons are classified as not pushable regardless of their state, causing WorldGuard to not protect against them moving. This commit fixes that.
2020-01-01 13:53:09 -05:00
Joo200
c6c0fc9d74
Fixed failed checkstyle gradle task
2020-01-01 13:53:01 -05:00
wizjany
f43a4eaad8
Add spawn-protection overlap check when defining regions.
...
Update cached username on login.
Bump WorldEdit dep version.
2019-12-19 15:42:34 -05:00
JOO200
abfa5cb6a5
bee nests can be modified by right click (like beehives)
2019-12-16 14:08:04 -05:00
JOO200
05f7d68705
Use Paper-API 1.15 as Dependency
2019-12-16 14:08:04 -05:00
wizjany
9adac4f239
Initial 1.15 stuff.
...
Materials is not really cross-version compatible. Really could do with
some rewriting at some point.
2019-12-10 23:48:50 -05:00
wizjany
c5355adb4b
Back to snapshot.
2019-11-22 23:51:25 -05:00
wizjany
fb37342b3c
Release 7.0.1.
2019-11-22 23:43:05 -05:00
wizjany
1fd94a3655
Switch blacklist to drilldown since bstats doesn't support bar charts.
...
See https://github.com/Bastian/bStats/issues/67
Also update blacklist example txt with correct names.
2019-11-17 18:13:45 -05:00
wizjany
c413cf4123
Remove pointless iterable.
2019-11-17 18:13:45 -05:00
wizjany
87162acf11
Switch blacklist stat to entry counts.
2019-11-17 18:13:45 -05:00
wizjany
2c14acc28c
Add some custom charts to bStats.
...
Should give a good view of feature usage, especially some badly
supported features like SQL and chest protection.
2019-11-17 18:13:45 -05:00
wizjany
26477406f1
Fix pistons flag not applying to sticky pistons pulling.
2019-10-11 22:12:03 -04:00
wizjany
121b34ecb9
Add applicable regions section to /wg report.
2019-10-06 13:09:08 -04:00
wizjany
3ebaaf9c8b
Add /rg toggle-bypass command to turn off region bypass temporarily.
...
Makes it easier to test things without op/de-op, switching ranks, etc
all the time.
2019-10-06 12:17:07 -04:00
wizjany
4c9812db04
Fix exit-deny-message using wrong region set on enderpearl/chorus-fruit.
2019-10-06 12:17:07 -04:00
wizjany
e792dd6f98
Workaround colors on newlines of string flags issue in text lib.
...
Also fix newline lookbehind replacement, and only replace color macros
in string flags.
2019-10-06 12:17:07 -04:00
wizjany
d410e1f84e
Re-arrange messages in (re)define commands.
...
Only send messages after successful add.
2019-10-06 12:17:07 -04:00
wizjany
d07f95952d
Causes only track blocks, not locations.
2019-09-26 20:24:11 -04:00
wizjany
cb9ab3a7b2
Check creeper-explosion flag for all entity damage, not just players.
2019-09-26 10:38:02 -04:00
wizjany
1c3cf02ebd
BlockMultiPlace has an immutable state list.
...
Fixes WORLDGUARD-4143.
2019-09-22 15:16:57 -04:00
wizjany
fc0f7acab5
Fix infinite loop in addowner checks.
...
Fixes WORLDGUARD-4138.
2019-09-22 14:28:38 -04:00
wizjany
20db92541b
Make use of BlockFertilizeEvent, various BlockState lists.
...
Only mostly tested to work. BlockFertilize unfortunately doesn't let
us cancel the preceding stuff like StructureGrow and item use.
Also workaround Bukkit sending 2 events for trampling.
2019-09-18 15:43:36 -04:00
wizjany
5fca3b3c3d
Track causes when players ignite creepers.
...
Fixes WORLDGUARD-4136.
2019-09-13 17:34:37 -04:00
wizjany
c633a2d070
Cover some more plants as crop-growth.
...
Note that spigot doesn't throw events for bamboo yet, so this only
applies to sugar canes and cacti at the moment. Should work if spigot
implements BlockGrowEvent for cacti though.
Fixes WORLDGUARD-4137.
2019-09-13 17:20:51 -04:00
wizjany
effbd62e68
Ignore hopper minecarts with the ignore hopper setting.
2019-09-13 16:43:27 -04:00
wizjany
056eaa6587
Teleport async on Paper.
2019-09-13 16:42:35 -04:00
wizjany
cb2c0870ec
List is not a valid cause. Each element is its own cause.
...
Fixes WORLDGUARD-4140.
Specifically, fixes not being able to break lilypads while in a boat,
even through the player would normally be able to.
Note that slowdown is client-side and getting stuck is due to Spigot
not updating the client when the break is cancelled, which are unrelated
to this issue (and not fixable by us).
2019-09-13 16:32:28 -04:00
wizjany
179c324c80
Apparently world names are allowed to have spaces.
2019-08-18 23:43:57 -04:00
wizjany
96d15d6dbf
Only store existing per-player time/weather in handlers.
...
Fixes WORLDGUARD-4124.
This will fix various issues with logging in to regions with these flags
set and then moving out of them, or when moving between two adjacent
regions with the flags set and then moving out.
2019-08-18 12:00:50 -04:00
wizjany
120d2e223d
Extract/half-fix addowner checks.
...
Max-region-count-for-player is super bork.
Fixes WORLDGUARD-4129.
2019-08-18 10:39:56 -04:00
wizjany
70ea6bad6e
Some cleanup for flag command.
2019-08-18 10:38:07 -04:00
wizjany
e59d61e1cf
Extract NumberFlag for suggestions, make FlagHelper prettier in console.
2019-08-06 23:08:10 -04:00
wizjany
bbed280f62
Update docs links to point to enginehub.
...
Also don't allow block-place/block-break setting from flag helper.
2019-08-06 21:50:05 -04:00
wizjany
f165ae3d95
Back to snapshot.
2019-08-06 00:12:41 -04:00
wizjany
124898ec91
7.0.1 RC 2.
2019-08-06 00:12:26 -04:00
wizjany
ba32d24363
Merge pull request #414 from EngineHub/feature/paper
...
Add some Paper-specific features
2019-08-05 23:49:04 -04:00
wizjany
0bba822295
Link ender crystal entity <-> material.
2019-08-03 18:10:54 -04:00
wizjany
7538af2686
TippedArrow again.
2019-08-02 16:34:26 -04:00
wizjany
48922118b1
Fix fireworks, protect by default (this is a behavioral change).
...
Add regions.use-paper-entity-origin setting, false by default because
it can have some weird implications.
2019-08-01 23:47:27 -04:00
wizjany
14fe2d0e79
Use Paper player profiles if available.
...
Also fall back to caching to memory if SQLite can't be linked.
This is a common issue with (bad) server hosts who mount /tmp as noexec,
which causes sqlite's native binaries to fail to link.
2019-08-01 20:24:34 -04:00
wizjany
11a1ac6742
User paper firework tracking.
2019-08-01 20:24:33 -04:00
wizjany
c5bfdcb0e6
Use PaperLib for some performance enhancements.
2019-08-01 20:24:32 -04:00
wizjany
93dae282b2
Apparently some plugins do weird things with falling blocks.
2019-08-01 20:12:58 -04:00
wizjany
3468e3d47e
Handful of small fixes.
...
* Fix material loading from config requiring minecraft: namespace.
* Fix disallowed-lightning blocks. Lightning entities are weird.
* Fix /wg reload overwriting config changes.
* General around thread usage/naming/shutdown. If anyone was actually
making their own managers/indices you deserve to break.
2019-07-31 22:53:20 -04:00
wizjany
b7ad0257b7
Remove legacy potion code.
2019-07-30 18:44:24 -04:00
wizjany
070f6e005f
Merge pull request #415 from EngineHub/kotlin-dsl
...
Migrate gradle to kotlin dsl.
2019-07-30 16:56:46 -04:00
wizjany
cc3f4d4d44
Relocate squirrelid in source, fix flyway shading.
2019-07-30 09:44:19 -04:00
wizjany
21e65be110
Fix poms, remove bukkit lib project since it's currently unused.
2019-07-29 23:41:38 -04:00
wizjany
61494fd76e
Migrate gradle to kotlin dsl.
2019-07-29 23:25:13 -04:00
wizjany
556b638d04
Switch build badge to TC.
...
And remove dead wiki links.
2019-07-29 11:34:18 -04:00
wizjany
825b3a3f36
Save defaults to config file.
2019-07-27 22:40:03 -04:00
wizjany
afe042ef4d
Add option for resetting fall distance when void falling teleport is on.
...
reset-fall-on-void-teleport, defaults to false. (I can't remember if
old WG 6 behavior was to do this or not...?)
2019-07-27 21:57:49 -04:00
wizjany
4044e2b122
Ender crystal explosions can't be cause tracked.
2019-07-26 22:51:19 -04:00
wizjany
aa4137822f
Fix sleep flag.
2019-07-24 14:35:42 -04:00
wizjany
f37acd3de6
Whitelist player->player interacts.
...
As noted before, any more specific events should still be blocked (such
as potion use).
2019-07-23 20:13:12 -04:00
wizjany
b0e4cf148b
ItemElytra extends ItemArmor...
2019-07-19 20:45:16 -04:00
wizjany
248ffd0ba8
Maybe fix travis.
2019-07-18 14:54:13 -04:00
wizjany
3272759f25
Check waterlogged blocks when emptying buckets.
...
Fixes WORLDGUARD-4119.
2019-07-17 07:45:31 -04:00
wizjany
456a16591b
Handle UseEntity player->player events as PvP.
...
Fixes WORLDGUARD-4118.
Tell me if this breaks other intended behaviors somehow.
2019-07-16 18:48:57 -04:00
wizjany
79f6635b8a
Make /wg profile text more clear.
...
This patch dedicated to @phoenix616.
2019-07-16 18:42:48 -04:00
wizjany
1f362bef59
Minecarts spawn in the clicked (rail) block.
2019-07-09 07:47:54 -04:00
wizjany
63209d1174
Null-check for last commit.
2019-07-07 01:22:04 -04:00
wizjany
f546700189
Allow interact-whitelist for entities with matching item types.
2019-07-06 11:02:36 -04:00
wizjany
35e0db36d3
Workaround for sign dying issue.
...
Signs still get dyed even if you deny using dye.
2019-07-03 09:53:11 -04:00
wizjany
ab7751e046
Unfix WORLDGUARD-3360.
...
There's a reason this wasn't done before. This is fundamentally broken.
2019-07-02 23:08:50 -04:00
wizjany
a9cd23c6ef
Don't replace in comments and strings when you refactor...
2019-07-02 17:39:21 -04:00
wizjany
8ca01b37a4
Add config to disable villagers getting zapped to witches.
...
"weather.disable-villager-witchification"
2019-06-30 19:58:10 -04:00
wizjany
aa8997aeca
Add TP button to /rg list where applicable.
2019-06-30 11:37:50 -04:00
wizjany
b757fcc88b
Send CUI changes when using /rg select.
2019-06-27 08:06:09 -04:00
wizjany
7593e1a01c
Initial update to 1.14.
2019-06-25 22:12:18 -04:00
wizjany
af3eb85962
Add on-equip blacklist event.
...
Note that due to deficiencies in the Bukkit API, the event will attempt
to be overprotective and cancel some events that may not actually result
in the player equipping an item. Maintainable PRs welcome. (i.e. would
rather not have to have a list of slot numbers for various inventories
and match them to items :upside_down:)
2019-06-25 22:11:33 -04:00
wizjany
aabb0b2345
Treat damaged anvils like regular anvils.
2019-06-24 12:16:19 -04:00
wizjany
6d25513739
Don't allow setting build + passthrough in the flag helper.
...
It masks the warning message and too many people mess this up.
2019-06-22 14:15:21 -04:00
wizjany
96b61743b9
Fix lava fire being off by default.
...
No clue how this was never brought up before.
Also add system property to disable the ClassSourceValidator.
2019-06-19 23:50:18 -04:00
wizjany
ff7209a58b
Only check ride flag for pigs with saddles.
2019-06-19 23:22:21 -04:00
wizjany
fe4f0cfc49
Bump dependencies.
...
Also remove intake. Unsure when that was ever used.
2019-06-13 09:17:20 -04:00
wizjany
9cf1e02506
Bump to 7.0.1-SNAPSHOT
2019-06-11 22:43:26 -04:00
wizjany
b0f8852198
Bump to 7.0.0. Rename -legacy to -bukkit.
2019-06-11 22:32:04 -04:00
wizjany
cce9c39e01
Changelog for 7.0.0.
2019-06-11 22:32:03 -04:00
wizjany
11c95861f9
More compat for 1.14.
2019-06-11 20:16:16 -04:00
KisaragiEffective
75bb0adbe6
Update README.md
...
fix syntax
2019-06-08 19:22:30 -04:00
Wyatt Childers
32ec74aed7
Fixed execute bit on gradlew
2019-06-08 15:54:50 -04:00
wizjany
b152cdc4ec
Tweak some event handling.
...
Fixes WORLDGUARD-4097, WORLDGUARD-3360.
2019-06-06 19:23:46 -04:00
Matthew Miller
d019e43a81
Back to SNAPSHOT for continued development
2019-06-05 22:09:42 +10:00
Matthew Miller
8c778ed861
Update to RC2
2019-06-05 22:02:51 +10:00
wizjany
1b842204e9
Update readme links.
2019-06-04 18:31:19 -04:00
wizjany
8aa4c25186
Seeds don't modify blocks.
...
They already throw place events.
2019-06-04 17:20:42 -04:00
wizjany
026361ae0b
Exclude some transitive deps.
2019-06-04 00:00:12 -04:00
wizjany
426a709e43
Fire off block place for items that modify blocks.
2019-06-02 19:33:42 -04:00
wizjany
903a831248
Fix dispenser workaround.
2019-06-02 12:12:57 -04:00
wizjany
1792bcb18a
Fail (slightly) faster.
2019-05-31 14:08:45 -04:00
wizjany
23ab79c999
Wrap and unwrap.
...
Exceptions are fun.
2019-05-29 21:38:31 -04:00
wizjany
a29afe8cc1
Also apply crop-growth to fully grown stems creating "fruit".
2019-05-27 20:51:28 -04:00
wizjany
029f867a41
Add crop-growth flag/config option.
...
Fixes WORLDGUARD-4088.
2019-05-27 20:42:17 -04:00
wizjany
ce35798f67
Fix issues with sometimes-loaded worlds in location flags.
2019-05-26 02:19:33 -04:00
wizjany
0f989fc1b4
Small config cleanup.
2019-05-25 09:59:52 -04:00
wizjany
4871752f49
Switch to useInteractedBlock/useItemInHand for PlayerInteractEvent.
...
Bukkit has very odd behavior regarding cancelling this event.
Fixes WORLDGUARD-4090.
2019-05-22 18:21:37 -04:00
wizjany
c4b31cf085
Allow newlines in blacklist messages with \n.
...
Fixes WORLDGUARD-4089.
2019-05-22 08:16:16 -04:00
wizjany
6e30f98322
Fix unknown group flag unmarshalling.
...
i.e. don't.
2019-05-21 19:44:53 -04:00
wizjany
4b320ab733
Workaround CraftBukkit bug causing BlockSpreadEvent to report air.
2019-05-21 19:42:56 -04:00
wizjany
f516999087
Fix error when group flag existed for non-existent flag.
...
Probably caused by bad API usage /shrug.
2019-05-21 16:31:42 -04:00
wizjany
2b854f0d72
Use isTagged instead of getValues.
...
The implementation of getValues is quite atrocious for this purpose.
2019-05-20 23:56:37 -04:00
wizjany
36d25c08c6
Specify materials explicitly.
2019-05-17 23:52:21 -04:00
wizjany
3e899a70c4
Fix /rg claim.
2019-05-15 19:24:23 -04:00
wizjany
d6c2504bbf
Make CPU profiling interval configurable.
...
Also lower the default to something more sensible.
Also cleanup unused imports.
2019-05-14 19:01:47 -04:00
wizjany
f2d2f47394
Don't fail hard in 1.14. ( #409 )
...
Prevent lots of console spam and lack of protection.
2019-05-14 12:33:56 -04:00
Matthew Miller
aefebf32c2
Back to SNAPSHOT for continued development
2019-05-14 20:34:56 +10:00
Matthew Miller
7102f6204c
WorldGuard 7.0.0 Release Candidate 1
2019-05-14 20:23:05 +10:00
wizjany
d542ba78ff
Remove AsyncCommandHelper for new AsyncCommandBuilder.
...
Helper suffers from race conditions for short-lived tasks, leading to
some poor UX conditions such as errors not propagating to the user
(because the exception handler wasn't attached to the future yet), or
lack of success messages.
This commit replaces that system by a Builder which takes a callable to
begin, and then takes supervisor, delay message, and the success and
failure messages and handlers as parts of the builder. The success and
failure handlers wrap the callable itself before submitting to the
executor so they will always be run. The supervisor and delay are added
as listeners to the future since they aren't required if the task is
sufficiently short-lived (and to maintain compatibility with the classes
which are now in WorldEdit).
The builder also supports Components for success and failure messages,
as well as consumers of the callable's result or exception for better
customization of output, instead of having to rely on adding a callback
to the future.
The future is still returned for certain special usages.
2019-05-12 14:40:09 -04:00
wizjany
e7ef6af012
Handle BlockExplodeEvent as other explosion.
...
Also misc cleanup.
Closes #407 , WORLDGUARD-3843.
2019-05-12 00:17:34 -04:00
isokissa3
1ffa4b48b8
Enderpearl & chorus-teleport flags should be checked before handlers
...
Before every handler would have been called, making them believe that the entry was successful
2019-05-11 14:36:15 -04:00
wizjany
d4c49a7539
Clean up task monitoring, cancelling, exception handling etc.
...
Fixes a few issues such as /wg stopprofile leaving a pseudo-cancelled
task in the supervisor, delaying server shutdowns until profiles finish,
not forwarding exceptions that occur during tasks running correctly, etc.
2019-05-11 14:23:45 -04:00
wizjany
2e2be7092d
Ensure un-marshalled registry flags are always lowercase.
...
Possibly old region files still had uppercase entries?
Fixes WORLDGUARD-3949 regression.
2019-05-11 11:30:46 -04:00
wizjany
ec4c53da77
Minor cleanup.
2019-05-11 11:30:45 -04:00
Pietje
024a51549d
Fix gitignore ( #406 )
...
Using Github Desktop on Windows, file paths with a leading slash do not seem to match anything. This commit changes the gitignore entries to a more widely supported format.
2019-05-09 22:41:36 +10:00
Matthew Miller
8c345cb64b
Updated for Text3
2019-05-06 16:49:33 +10:00
wizjany
461f3e1faf
Merge pull request #404 from TheMolkaPL/stoplag-fix
...
Fix activityHaltToggle in /stoplag
2019-05-05 17:10:37 -04:00
wizjany
6fd7190ff2
Ensure session handler order.
2019-05-05 16:55:27 -04:00
wizjany
5180673878
Treat inventory minecarts under chest-access.
...
Fixes WORLDGUARD-3585.
2019-05-05 16:14:35 -04:00
wizjany
c57dd20f24
Brace.
2019-05-05 15:48:42 -04:00
TheMolkaPL
71df9c0011
Fix activityHaltToggle in /stoplag
2019-05-05 16:25:21 +02:00
wizjany
b27f18788c
Wrap /rg flags in a task.
2019-05-05 00:02:24 -04:00
wizjany
18365bbe42
Formatting fixes.
2019-05-04 23:21:19 -04:00
wizjany
82451595cb
Add greeting-title and farewell-title flags.
...
Totally didn't accidentally include the flags in last commit.
Closes WORLDGUARD-4008.
2019-05-04 22:56:55 -04:00
wizjany
c516eb2174
Add frosted-ice-melt flag, and frosted-ice-form flag.
...
Frosted-ice-form is checked with build, meaning it can be set to allow
for non-members to use frost walker, deny for members to not be able to
use frost walker, or none to respect membership.
Reverts behavior of ice-melt flag to pre-7.x behavior.
Apparently this wasn't covered before.
Fixes WORLDGUARD-4077.
Closes #364 .
2019-05-04 20:52:28 -04:00
wizjany
7199b8e70f
Add /rg flags command.
...
Provides an overview of all flags set on a region, including inherited
values, and allows the user to set or unset flags with a single click.
2019-05-04 20:52:13 -04:00
wizjany
fc4c67ff29
Merge pull request #403 from EngineHub/feature/we-piston-commands-compat
...
WE Piston Compat
2019-05-01 00:34:50 -04:00
wizjany
d9bb321f83
Add more fancy texts and pagination.
...
Also some general cleanup.
2019-04-30 19:53:19 -04:00
Kenzie Togami
7692e30721
Switch to new Exception stuff from WE
2019-04-30 15:24:15 -07:00
Kenzie Togami
5f88bef5ac
Correct print(TextComponent) method
2019-04-30 13:34:45 -07:00
wizjany
5b0bfd50d3
Fix build.
2019-04-28 21:06:12 -04:00
wizjany
5c0be800ae
Brace.
2019-04-28 20:43:01 -04:00
TheMolkaPL
ac505f0064
Warn about consequences and add /stoplag confirm
2019-04-28 20:41:20 -04:00
wizjany
2aee42cbf2
Clean up gradle dependencies. Tell me if this breaks downstream builds.
...
Either I broke something, or you were using WG's jar for some dep that we
don't consider to be API.
2019-04-28 20:36:28 -04:00
wizjany
5c8b6d3f95
Lots of fancy texts.
2019-04-28 20:21:38 -04:00
wizjany
eab7b5c47f
Remove artifactory resolve block
2019-04-27 16:43:32 -04:00
wizjany
36eba9c9dd
That's not supposed to be there.
2019-04-26 15:07:36 -04:00
wizjany
3b8b67da84
Add logo to source, remove outdated notes.
2019-04-26 15:06:47 -04:00
wizjany
d9b09ab7f1
Damage is already handled and entering is handled via interact.
...
This method is redundant.
2019-04-25 11:13:30 -04:00
Matthew Miller
50e62bd0e7
Update text for WorldEdit changes ( #401 )
...
* Update for text in WE
* Properly write the legacy converter
* Made the text less thicc
* Update for new text API in WE
2019-04-25 19:40:01 +10:00
Matthew Miller
abfe3a2eb9
Fixed chipped and damaged anvils not being protected from use/interact
2019-04-23 12:36:20 +10:00
wizjany
e94af1d77e
Treat kelp as vines for vine-growth.
...
Closes WORLDGUARD-4068.
2019-04-19 23:25:26 -04:00
wizjany
1dbd25d15e
Add block-trampling flag.
...
Applies to turtle eggs and farmland.
Closes WORLDGUARD-4067, WORLDGUARD-3666.
Also do some misc cleanup.
2019-04-19 23:14:14 -04:00
wizjany
c3675a10a2
Force eject players from vehicles if the get too far.
...
Fixes WORLDGUARD-3936.
2019-04-17 21:24:10 -04:00
wizjany
ef2783f30a
Add snowman-trails flag.
...
Closes WORLDGUARD-3566, #378 .
Also clean up some listeners, and the flag listing.
2019-04-17 21:23:29 -04:00
wizjany
2c2b475513
Track AreaEffectCloud cause.
...
Also a bit of cleanup in EventAbstractionListener.
Fixes WORLDGUARD-3776.
2019-04-17 20:16:38 -04:00
wizjany
0ebb4e0ffa
Formatting fix.
2019-04-14 11:34:54 -04:00
KisaragiEffective
47fb9bd30d
Remove redudant type parameters.
2019-04-08 22:04:02 +09:00
KisaragiEffective
5ffade9787
Update CONTRIBUTING.md ( #399 )
...
fix broken link to Oracle Conventions
2019-04-07 23:12:13 +10:00
wizjany
ca92464cca
Revert "Load before worlds do."
...
This reverts commit 397a71a602 .
Apparently this doesn't actually fix the issue. Some things
just straight up happen without sending events to plugins and there's
nothing we can do about it.
2019-04-06 17:33:56 -04:00
wizjany
453740b56a
Don't whitelist droppers and hoppers.
...
By the time this code is called, the performance hit happened already.
There's a separate way to whitelist these that still allows keeping
the protections active.
2019-04-06 14:27:55 -04:00
wizjany
397a71a602
Load before worlds do.
...
When worlds first load, events start happening before plugins normally
(POSTWORLD) enable. This means that regions and other protections won't
be active when these events are called.
This shouldn't break anything that depends on us, e.g. custom flags,
since our API contract already states that should be done on load,
and all plugins are loaded on startup (just not enabled).
2019-04-05 22:03:29 -04:00
wizjany
44c4e5816f
Move log message about loading regions to proper location.
2019-04-02 17:18:44 -04:00
wizjany
41268ca443
Don't break completely if regions fail to load.
2019-04-02 17:13:24 -04:00
Matthew Miller
c7ed49388c
Make 'invincibility-removes-mobs' affect projectile shooting entities.
2019-03-31 21:14:29 +10:00
wizjany
874e429779
Make input more lenient. Allow specifying TZ other than UTC.
...
Also remove 'none' and cleanup LocationFlag.
2019-03-30 20:07:35 -04:00
JOO200
9c5eee90da
Changed to java 8 time api
2019-03-30 18:41:42 -04:00
JOO200
4f088e5bf0
Added TimestampFlag
2019-03-30 18:41:42 -04:00
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
Matthew Miller
80aec378d8
Fixed the wrong cache directory being used.
2018-12-10 11:39:03 +10:00
Matthew Miller
6dbd731c92
Added bonemeal to the list of items that modifies blocks.
2018-12-09 16:44:51 +10:00
Matthew Miller
aea129889c
Update bStats (Didn't realise I forgot to do this)
2018-12-02 21:49:19 +10:00
Matthew Miller
2757a001c0
Gradle 5
2018-12-02 21:40:46 +10:00
Matthew Miller
693314c7f7
Also block /deop
2018-12-02 15:47:45 +10:00
Matthew Miller
db35c908ba
Switch back to SNAPSHOT for continued development
2018-11-28 20:39:47 +10:00
Matthew Miller
14ce7d1be2
Bump to beta 2
2018-11-28 20:37:39 +10:00
Matthew Miller
015f192193
Added toString to LazyLocation to fix /rg info with the teleport flag.
2018-11-17 16:33:30 +10:00
Matthew Miller
83b375b6e1
Sponges now destroy kelp and seagrass, similar to vanilla behaviour.
2018-11-17 10:15:48 +10:00
Matthew Miller
91696533cf
Update to the new Vector system
2018-11-04 16:57:59 +10:00
Matthew Miller
0dc5781326
Can't compileOnly and shadow, gotta find another solution for the bStats repo issue.
2018-10-10 23:24:16 +10:00
Matthew Miller
5ad21521be
IvnentoruClickEvent sometimes passes null inventories or inventories with null holders
2018-10-10 20:33:32 +10:00
Matthew Miller
e0b91e9529
Merge pull request #389 from Brokkonaut/fix-npe-BukkitOfflinePlayer
...
Fix NPE in WorldGuardPlugin.wrapOfflinePlayer()
2018-10-08 23:20:11 +10:00
Matthew Miller
7e0ff24c57
Block minecraft:op as well
2018-10-07 23:14:37 +10:00
Brokkonaut
be426e92df
Fix NPE in WorldGuardPlugin.wrapOfflinePlayer()
...
The constructor of BukkitOfflinePlayer calls the constructor of BukkitPlayer with a null player. So without this fix it is not possible to create any BukkitOfflinePlayer.
2018-10-05 23:51:08 +02:00
Matthew Miller
a6261b9071
Added an option to disable particle effects on deny
2018-09-28 12:16:22 +10:00
Matthew Miller
f235e870a7
Back to SNAPSHOT for continued development
2018-09-28 12:16:21 +10:00
Matthew Miller
a26eb87603
Release WorldGuard 7 Beta 1
2018-09-28 12:16:21 +10:00
Matthew Miller
7fb7d59856
Merge pull request #388 from PseudoKnight/master
...
Fix protections for potted plants and undyed shulker boxes
2018-09-26 15:45:20 +10:00
Matthew Miller
01dfebe531
Fixed blockCreatureSpawn not working.
2018-09-26 15:03:30 +10:00
Matthew Miller
87e5770405
Fixed WorldGuard's player not inheriting properly from WorldEdit.
2018-09-26 14:01:25 +10:00
PseudoKnight
d3c4681c49
Fix protections for potted plants and undyed shulker boxes
2018-09-22 21:31:00 -07:00
Matthew Miller
e43daa726a
Added bStats
2018-09-20 23:35:55 +10:00
Matthew Miller
8e819f7a82
Merge pull request #386 from Librazy/master
...
Delay ProcessPlayerEvent by one tick on bukkit onEnable
2018-09-03 21:25:39 +10:00
Librazy
ee4259b88d
Delay ProcessPlayerEvent by one tick, allowing other plugin to register their Handlers when /reload
2018-08-30 18:27:40 +08:00
Niklas Linz
8771173146
Update sql-v1
...
Set value higher to prevent errors with new entitytypes in database.
Example for flag denyspawn with some 1.13 EntityTypes:
['minecraft:polar_bear', 'minecraft:skeleton', 'minecraft:giant', 'minecraft:witch',
'minecraft:zombie_pigman', 'minecraft:wither_skull', 'minecraft:husk', 'minecraft:ender_dragon',
'minecraft:cave_spider', 'minecraft:guardian', 'minecraft:silverfish', 'minecraft:stray',
'minecraft:vindicator', 'minecraft:endermite', 'minecraft:magma_cube', 'minecraft:spider',
'minecraft:vex', 'minecraft:zombie', 'minecraft:creeper', 'minecraft:wither', 'minecraft:zombie_villager',
'minecraft:evoker']
Its to big for 256 chars.
Error:
[19:17:28 WARN]: [WorldGuard] Failed to save the region data for 'akania' during a periodical save
com.sk89q.worldguard.protection.managers.storage.StorageException: Failed to save the region data to the database
at com.sk89q.worldguard.protection.managers.storage.sql.SQLRegionDatabase.saveChanges(SQLRegionDatabase.java:270) ~[worldguard-legacy-7.0.0-SNAPSHOT-dist.jar:?]
at com.sk89q.worldguard.protection.managers.RegionManager.saveChanges(RegionManager.java:135) ~[worldguard-legacy-7.0.0-SNAPSHOT-dist.jar:?]
at com.sk89q.worldguard.protection.managers.RegionContainerImpl$BackgroundSaver.run(RegionContainerImpl.java:228) [worldguard-legacy-7.0.0-SNAPSHOT-dist.jar:?]
at java.util.TimerThread.mainLoop(Timer.java:556) [?:?]
at java.util.TimerThread.run(Timer.java:506) [?:?]
Caused by: java.sql.BatchUpdateException: Data truncation: Data too long for column 'value' at row 1
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
at java.lang.reflect.Constructor.newInstance(Constructor.java:488) ~[?:?]
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) ~[spigot-latest.jar:git-Spigot-fe3ab0d-bfb9131]
at com.mysql.jdbc.Util.getInstance(Util.java:408) ~[spigot-latest.jar:git-Spigot-fe3ab0d-bfb9131]
at com.mysql.jdbc.SQLError.createBatchUpdateException(SQLError.java:1163) ~[spigot-latest.jar:git-Spigot-fe3ab0d-bfb9131]
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1778) ~[spigot-latest.jar:git-Spigot-fe3ab0d-bfb9131]
at com.mysql.jdbc.PreparedStatement.executeBatchInternal(PreparedStatement.java:1262) ~[spigot-latest.jar:git-Spigot-fe3ab0d-bfb9131]
at com.mysql.jdbc.StatementImpl.executeBatch(StatementImpl.java:970) ~[spigot-latest.jar:git-Spigot-fe3ab0d-bfb9131]
at com.sk89q.worldguard.protection.managers.storage.sql.StatementBatch.executeRemaining(StatementBatch.java:50) ~[?:?]
at com.sk89q.worldguard.protection.managers.storage.sql.RegionUpdater.replaceFlags(RegionUpdater.java:170) ~[?:?]
at com.sk89q.worldguard.protection.managers.storage.sql.RegionUpdater.apply(RegionUpdater.java:331) ~[?:?]
at com.sk89q.worldguard.protection.managers.storage.sql.DataUpdater.executeSave(DataUpdater.java:130) ~[?:?]
at com.sk89q.worldguard.protection.managers.storage.sql.DataUpdater.saveChanges(DataUpdater.java:73) ~[?:?]
at com.sk89q.worldguard.protection.managers.storage.sql.SQLRegionDatabase.saveChanges(SQLRegionDatabase.java:268) ~[?:?]
... 4 more
Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'value' at row 1
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3974) ~[spigot-latest.jar:git-Spigot-fe3ab0d-bfb9131]
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3912) ~[spigot-latest.jar:git-Spigot-fe3ab0d-bfb9131]
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2530) ~[spigot-latest.jar:git-Spigot-fe3ab0d-bfb9131]
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683) ~[spigot-latest.jar:git-Spigot-fe3ab0d-bfb9131]
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2486) ~[spigot-latest.jar:git-Spigot-fe3ab0d-bfb9131]
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1858) ~[spigot-latest.jar:git-Spigot-fe3ab0d-bfb9131]
at com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2079) ~[spigot-latest.jar:git-Spigot-fe3ab0d-bfb9131]
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1756) ~[spigot-latest.jar:git-Spigot-fe3ab0d-bfb9131]
at com.mysql.jdbc.PreparedStatement.executeBatchInternal(PreparedStatement.java:1262) ~[spigot-latest.jar:git-Spigot-fe3ab0d-bfb9131]
at com.mysql.jdbc.StatementImpl.executeBatch(StatementImpl.java:970) ~[spigot-latest.jar:git-Spigot-fe3ab0d-bfb9131]
at com.sk89q.worldguard.protection.managers.storage.sql.StatementBatch.executeRemaining(StatementBatch.java:50) ~[?:?]
at com.sk89q.worldguard.protection.managers.storage.sql.RegionUpdater.replaceFlags(RegionUpdater.java:170) ~[?:?]
at com.sk89q.worldguard.protection.managers.storage.sql.RegionUpdater.apply(RegionUpdater.java:331) ~[?:?]
at com.sk89q.worldguard.protection.managers.storage.sql.DataUpdater.executeSave(DataUpdater.java:130) ~[?:?]
at com.sk89q.worldguard.protection.managers.storage.sql.DataUpdater.saveChanges(DataUpdater.java:73) ~[?:?]
at com.sk89q.worldguard.protection.managers.storage.sql.SQLRegionDatabase.saveChanges(SQLRegionDatabase.java:268) ~[?:?]
... 4 more
2018-08-30 14:10:52 +10:00
Matthew Miller
d28a31f255
Merge pull request #379 from sk89q/string-ids
...
Update WorldGuard to 1.13 and move parts to Core
2018-08-30 14:07:59 +10:00
Matthew Miller
b4bda6bfaf
NEEDS LATEST WORLDEDIT - Moved report framework to WorldEdit, and made most config values be accessible without the BukkitWorldGuardWorldConfiguration
2018-08-15 12:49:25 +10:00
Matthew Miller
44e3f720de
Fixed an EntityType bug and removed more deprecated code.
2018-08-13 22:46:36 +10:00
Matthew Miller
7f47e31686
Fixed UUID migrations sometimes failing.
2018-08-13 22:20:27 +10:00
Matthew Miller
b2e64498a8
Move some more code to core.
2018-08-13 22:20:27 +10:00
Matthew Miller
e31fa306ab
Fixed weather flag
2018-08-13 22:20:27 +10:00
Matthew Miller
1123270a07
Fixed an issue with Bukkit being terrible.
2018-08-13 22:20:27 +10:00
Matthew Miller
b850b5caf8
Cleanup some more Bukkit specific code.
2018-08-13 22:20:27 +10:00
Matthew Miller
ba61919168
Added block support to the matchers
2018-08-13 22:20:27 +10:00
Matthew Miller
34efb6e40e
Modify the target creation methods.
2018-08-13 22:20:27 +10:00
Matthew Miller
3203a81710
Use BlockTarget for blocks.
2018-08-13 22:20:27 +10:00
Matthew Miller
d8dba47c0f
Fixed bugs in the gamemode marshaller.
2018-08-13 22:20:27 +10:00
Matthew Miller
a6cfe7d0c9
Move the lowercase unmarshalling entity code.
2018-08-13 22:20:27 +10:00
Matthew Miller
f19d2ee73d
Fixed an error with Chest Protection
2018-08-13 22:20:27 +10:00
Matthew Miller
bd89bd9d2f
Fixed a few more migration issues
2018-08-13 22:20:27 +10:00
Matthew Miller
66eb8fa553
Remove the "/" adding code from EntityTypeFlag.
2018-08-13 22:20:27 +10:00
Matthew Miller
dcdd0497d8
Fixed a few permission errors.
2018-08-13 22:20:27 +10:00
Matthew Miller
8ac5f8f6f2
Fixed file permissions
2018-08-13 22:20:26 +10:00
Matthew Miller
45a4e59965
Fixed matching with blocks vs items
2018-08-13 22:20:26 +10:00
Matthew Miller
43ed630034
Fixed Spawn Eggs being awful
2018-08-13 22:20:26 +10:00
Matthew Miller
3189b1ac13
Fixed another error.
2018-08-13 22:20:26 +10:00
Matthew Miller
e94083045f
Fixed profile migrations happening too early.
2018-08-13 22:20:26 +10:00
Matthew Miller
acce59edd4
Fixed an error with chest protection listener.
2018-08-13 22:20:26 +10:00
Matthew Miller
bb29883fe0
Switch to real 1.13 release
2018-08-13 22:20:26 +10:00
Matthew Miller
e7ff99ae96
Fixed an issue with flags getting double registered.
2018-08-13 22:20:26 +10:00
Matthew Miller
b10cf6adbc
It now runs
2018-08-13 22:20:26 +10:00
Matthew Miller
2e8d14c995
It compiles.
2018-08-13 22:20:26 +10:00
Matthew Miller
89db0d9fee
Further compat work.
2018-08-13 22:20:26 +10:00
Matthew Miller
6c5319f355
Major work towards 1.13 compat
2018-08-13 22:20:01 +10:00
Matthew Miller
8eeab682db
Merge pull request #381 from Blamo27/fix/npc-issue
...
Can't hit NPCs (Sentinel #249 )
2018-08-04 10:12:47 +10:00
Dr_Blamo
2ae6f39a09
Fix Sentinel #249 issue (Can't hit NPCs)
...
https://github.com/mcmonkey4eva/Sentinel/issues/249
=> Can't hit NPCs
2018-08-01 06:35:36 +02:00
wizjany
d2c52f7c1b
Make send- and receive- chat flags respect group flags.
2018-02-24 09:39:25 -05:00
Wizjany
3a332fd87d
Fix off-by-one in area calculation.
...
Even the volume calculation had it correct.
Also fix code style in contains.
2018-01-21 00:31:47 -05:00
Mitchell Cook
0f72811bfc
Added UUID support with player name as secondary. ( #374 )
2018-01-21 00:29:16 -05:00
wizjany
95b88ea64b
Added config option to ignore hoppers moving items.
...
Defaults to old behavior (false).
2017-10-14 14:41:58 -04:00
wizjany
f76259df82
Make the full jump to 1.12.
...
Warning: this really really really does not work with previous MC versions.
2017-09-16 16:48:38 -04:00
wizjany
3a8e3e84b8
Add missing disabled region support check.
...
Fixes WORLDGUARD-3839.
2017-06-20 22:04:38 -04:00
wizjany
84bc322de7
Push 6.2.1 and bump.
2017-06-08 12:35:52 -04:00
Benedikt Hruschka
129bbd8ea1
Make flag list more readble
2017-06-08 12:35:51 -04:00
wizjany
4dc6e27660
Backport guava's concurrent package to remain compatible between <= MC 1.11 and >= MC 1.12.
...
Fixes WORLDGUARD-3820.
2017-06-08 12:35:50 -04:00
wizjany
4cb29796c1
Fix error spamming when hoppers are attached to invalid multichests (triple+).
...
The extra chests might be unprotected, but this shouldn't be possible in vanilla.
2017-05-22 13:56:46 -04:00
wizjany
85693b91b3
Protect armor stands from all non-Player entities, not just living ones.
...
Fixes WORLDGUARD-3796.
2017-01-25 19:39:53 -05:00
wizjany
1c29e85f19
Prefer Material enum over ItemType lookup when parsing TargetMatchers.
...
This will make Bukkit's names take priority when trying to identify a block or item,
since ItemType lookup will return, e.g. "birch_door_item" for "birch_door", even though
there's a block with the name "birch_door".
Note that using int ids is always preferable when possible since there's no confusion there.
Fixes WORLDGUARD-3790.
2017-01-12 14:11:57 -05:00
wizjany
e019890f1d
Add a flag that blocks the damage from withers.
...
Doesn't cover the skull projectiles, just body damage.
Fixes WORLDGUARD-3787.
2017-01-08 15:47:38 -05:00
wizjany
fb90b1446f
Move fireworks to their own flag ("firework-damage").
2017-01-08 14:22:20 -05:00
wizjany
22ef224a81
Include fireworks in other-explosion flag.
...
Unfortunately, since fireworks neither have a "shooter" entity nor fire an EntityExplode,
the only way to mitigate damage is a complete on/off for any damage they cause.
Fortunately (probably), this should not interfere with elytra boosting, since the
acceleration is applied directly to the player upon use, not from the firework "explosion".
Fixes WORLDGUARD-3786.
2017-01-04 16:33:19 -05:00
wizjany
c0f3171a33
Add mobs.block-armor-stand-destroy config option.
...
Same as the -painting- and -item-frame- ones.
Fixes WORLDGUARD-3781.
2016-12-22 23:38:28 -05:00
wizjany
67ece5c5d7
Add option to allow Forge clients through host keys.
...
Setting "security.host-keys-allow-forge-clients" will accept the "\0FML\0" identifier that Forge clients add to their host name when connecting to a server.
Fixes WORLDGUARD-3537, WORLDGUARD-3596.
2016-12-22 19:42:43 -05:00
wizjany
46cca2b950
Fix HealFlag missing.
...
Meanwhile people were getting fed twice as fast.
Fixes WORLDGUARD-3785.
2016-12-15 21:49:42 -05:00
wizjany
6e56763a7f
Protect plants in flower pots via build, not just interact.
...
Fixes WORLDGUARD-3773.
2016-12-03 13:51:34 -05:00
wizjany
f147402d30
Release 6.2 and bump.
2016-11-30 14:12:18 -05:00
wizjany
8e35db0f35
Retain backwards compatibility for the LingeringPotion event listener.
2016-11-29 01:35:21 -05:00
wizjany
9b2eff0a71
Really remove construct flag.
2016-11-27 20:04:43 -05:00
wizjany
104cdc023d
Add a method to unregister handlers.
2016-11-27 20:00:46 -05:00
wizjany
deb283c44b
Remove construct flag.
...
It's been deprecated for ages and is a strict subset of build flag functionality.
Also deprecate unused flags. They can be re-added by plugins that need them now.
2016-11-27 18:42:22 -05:00
wizjany
324e90c68a
Add 1.11 materials.
2016-11-23 22:17:26 -05:00
wizjany
c60502ffd8
Fix entity combustion in regions always getting cancelled.
...
Note that this technically might lead to some inaccuracies if
entity is on a region boundary, but requires server fix.
Fixes WORLDGUARD-3758, WORLDGUARD-3770.
2016-11-20 02:32:42 -05:00
wizjany
26e59955ed
Handle LingeringPotions as their own event.
...
potion-splash flag should now filter them when denied.
Fixes WORLDGUARD-3765.
2016-11-15 21:21:23 -05:00
filoghost
4746e95249
Fix Materials.ARMOR_STAND being null in 1.8. ( #356 )
...
In 1.8 Materials.ARMOR_STAND is null because END_CRYSTAL throws NoSuchFieldError and in the catch block ARMOR_STAND is set to null. This causes side effects such as players being able to place armor stands in protected regions.
2016-11-10 23:32:25 -05:00
wizjany
9cafb07e4d
Protect entities from endercrystal explosions using explosionFlagCancellation setting.
...
Should be more consistent with other explosion flags (tnt, creepers) now.
Improves fix for WORLDGUARD-2620.
2016-08-24 18:22:43 -04:00
wizjany
b2b0fe65c6
Revert "Add frosted ice to ice-melt flag."
...
Re-Un-Fixes WORLDGUARD-3745 because apparently this isn't what was
requested.
2016-08-18 03:50:31 -04:00
wizjany
06e6ce589b
Add frosted ice to ice-melt flag.
...
Fixes WORLDGUARD-3745.
2016-08-13 16:57:26 -04:00
wizjany
12fc1438c2
Add explicit ender crystal protection.
...
Fixes WORLDGUARD-2620.
2016-08-08 10:39:40 -04:00
wizjany
e5e1f71a2a
Birch boats are also vehicles.
...
Fixes WORLDGUARD-3740.
2016-07-29 13:32:51 -04:00
wizjany
2aaa14261b
Actually add 1.10 blocks.
2016-07-05 19:22:32 -04:00
wizjany
f006a9584c
Fix Location flag bounding.
...
Fixes WORLDGUARD-3716.
2016-06-22 14:52:19 -04:00
wizjany
03cf9a668b
Actually fix unmarshalling of region group flags.
2016-06-15 23:47:59 -04:00
Weasel_Squeezer
db70e6f346
Add transientRegion property to ProtectedRegion as a flag to only be stored in memory and not saved ( #355 )
2016-06-13 22:31:10 -04:00
wizjany
e0df194ff2
Fix unmarshalling of region group flags.
...
Fixes WORLDGUARD-3708.
2016-06-13 22:31:09 -04:00
wizjany
ab55137f59
Allow FlagContext to be added to by plugins.
2016-06-13 22:31:09 -04:00
ZephireNZ
bbb79526b2
Make RegionPrintoutBuilder use the FlagRegistry to print flags
2016-06-13 22:31:08 -04:00
wizjany
cde9a403f7
Allow plugins to register session handlers.
2016-06-13 22:31:08 -04:00
wizjany
43a9228304
Add config setting to allow clamping of location flags.
...
Prevents players from setting locations (teleport, spawn) to point outside of the region.
The permission to override this is "worldguard.region.locationoverride.(own/member/.)regionid".
Also prevents location flags from being set to under the map or over the max world height.
Fixes WORLDGUARD-2775, WORLDGUARD-3370.
2016-06-13 22:31:07 -04:00
wizjany
c1b8d12d05
Add FlagContext.
2016-06-13 22:31:00 -04:00
sk89q
a25674e9a5
Add preliminary custom flags support.
2016-06-13 22:27:53 -04:00
wizjany
778ec404ff
Prevent fishing rod PvP.
...
Fixes WORLDGUARD-3707.
2016-06-13 21:29:26 -04:00
wizjany
4ab38e5b89
Bump version to 6.1.3-SNAPSHOT for development.
2016-06-11 12:38:45 -04:00
wizjany
8b842e3a0d
Release 6.1.2 for MC 1.9/1.10
2016-06-11 12:38:01 -04:00
Max Lee
e38d98da00
Do not allow teleport inside of regions with the chorus-fruit-teleport deny flag set
2016-06-11 11:45:48 -04:00
wizjany
5c9ba2e22e
Fix MC 1.7 compatibility to pistons.
2016-06-11 11:39:58 -04:00
wizjany
e9ecb6d2a8
Treat elytra wall impact as fall damage.
...
Fixes WORLDGUARD-3654.
2016-06-11 11:29:01 -04:00
wizjany
f5a554f4a4
block-potion-effects now blocks effects from arrows too.
...
Fixes WORLDGUARD-3692.
2016-06-11 10:44:50 -04:00
wizjany
53aadca45b
Make fire-spread actually prevent spreading instead of just burning.
...
Same with lava-fire.
Fixes WORLDGUARD-3699.
2016-06-11 02:29:20 -04:00
wizjany
6c3dd4234d
Protect against fishing rod usage in regions.
...
Fixes WORLDGUARD-3696.
Also be more explicit with some dependencies so IntelliJ stops complaining.
2016-06-11 01:22:40 -04:00
wizjany
5bd2125963
Doot doot.
...
Fixes WORLDGUARD-3695.
2016-05-26 02:52:43 -04:00
wizjany
8765bbb192
Last one?
...
Fixes WORLDGUARD-3694.
2016-05-25 21:09:43 -04:00
wizjany
53e8b780bc
More backwards compat.
...
(Lots of people still on 1.8 it seems...)
Fixes WORLDGUARD-3693.
2016-05-25 13:29:55 -04:00
wizjany
0e252e41b2
Wrong error caught for backcompat.
2016-05-23 09:47:12 -04:00
wizjany
15a9c50ea4
Fix double output with region wand.
...
Also a bit of code cleanup.
2016-05-21 19:53:37 -04:00
wizjany
d3acbdf382
Fix syntax error in last commit.
2016-05-21 15:08:33 -04:00
wizjany
4239bdc96d
Fix issue with loading flags on non-existing regions from SQL.
...
No idea if this actually works or what the issue was ¯\_(ツ)_/¯
Thanks to EONABloodrayne for the updated statement (if it works)
and also blame them if it doesn't.
Fixes WORLDGUARD-3355.
2016-05-20 17:02:37 -04:00
wizjany
43a5bf1638
Handle BlockMultiPlaceEvent separately.
...
Unsure how much this is used but...
2016-05-20 16:48:44 -04:00
wizjany
a8591e536a
Add "chorus-fruit-teleport" flag to prevent teleporting with chorus fruits.
...
Fixes WORLDGUARD-3645.
2016-05-20 16:06:22 -04:00
wizjany
38dcdff0b6
Update/fixes for MC 1.9.
...
Fixes WORLDGUARD-3664, WORLDGUARD-3652, WORLDGUARD-3679, WORLDGUARD-3657, WORLDGUARD-3668.
2016-05-20 16:06:21 -04:00
wizjany
65e48d17d4
Fix another instace of chest casting exception.
2016-03-25 18:31:12 -04:00
wizjany
c9b8e9f6a2
Target Java 7 for source compilation.
...
Also remove old pom file, since we don't use maven anymore.
Fixes WORLDGUARD-3642.
2016-03-02 15:59:31 -05:00
wizjany
93d454c675
Work around odd class casting with odder class casting.
...
Despite the API guaranteeing a block for chests, they are not actually BlockStates.
Fixes WORLDGUARD-3607. Probably.
2016-02-20 12:40:16 -05:00
wizjany
ca4bb7a53d
Update shadow plugin.
...
Fixes WORLDGUARD-3635.
2016-02-17 22:16:42 -05:00
wizjany
c2054615db
Use full class name for Grgit.
...
Because it apparently sometimes fails otherwise.
2016-01-16 23:19:43 -05:00
wizjany
6db2df4e29
Expand version in plugin.yml during gradle build.
2016-01-11 01:05:19 -05:00
Wizjany
536132a250
Merge pull request #350 from kosakriszi/master
...
Reset player saturation and exhaustion for heal command
2016-01-09 19:48:09 -05:00
kosakriszi
7c3b1ad20f
Reset player saturation and exhaustion for heal command
2016-01-07 03:12:05 +01:00
wizjany
729f66afdf
Should fix travis builds.
2016-01-06 00:23:15 -05:00
wizjany
a7c2026414
Fireballs are now treated as projectiles.
...
Apparently this has existed for a few years now. Don't even ask.
Fixes WORLDGUARD-3611, WORLDGUARD-3476.
Potentially fixes lots of other issues with fireballs as well.
Other settings and so on seemed to have covered a lot though.
2016-01-05 01:09:57 -05:00
wizjany
9222b3d364
Doc file tweaks.
2015-11-13 20:51:05 -05:00
wizjany
adcc41413d
Clean up a few files.
2015-11-13 20:39:50 -05:00
wizjany
ec08d7d73a
Fix checkstyle for legacy module.
2015-11-13 20:04:51 -05:00
wizjany
3d5ee7b571
Gradle-ize. Prep for Sponge.
...
Old Bukkit code can still be found in the worldguard-legacy folder
and built with `gradle worldguard-legacy:build`. Hopefully nothing
got lost in the gradle-ization.
2015-11-13 19:12:55 -05:00
wizjany
32341393fe
Armor stands no longer get removed by /stoplag.
...
Also restored MC1.7 compatibility to pistons.
2015-09-27 20:40:56 -04:00
Wizjany
0fcd42fdd5
Workbenches can now be used by default.
...
Since it was a source of common confusion.
Things like enderchests and anvils should be added to the interaction whitelist in config if you wish to unprotect them.
2015-08-30 16:04:27 -04:00
Wizjany
e28b236a52
Add some missing 1.8 blocks.
2015-08-18 01:52:49 -04:00
wizjany
96e0ffd293
Regions now protect against pistons with slime blocks.
...
Fixes WORLDGUARD-3493.
2015-08-02 17:00:06 -04:00
wizjany
0ddc011a3c
Fix wibbly wobbly timey wimey stuff.
...
Fixes WORLDGUARD-3527.
2015-08-02 16:05:47 -04:00
wizjany
d320356045
Add tile entities to performance report.
2015-07-31 12:58:24 -04:00
wizjany
95bf6bc9b2
Be overly protective for creeper and enderdragon explosions.
...
Fixes WORLDGUARD-3522.
2015-07-06 01:39:39 -04:00
wizjany
1c4c213ed7
Switched order of greeting and farewell flags.
...
When going between two regions, the farewell flag of the region you're leaving should show up before the greeting flag of the region you're entering.
Fixes WORLDGUARD-3511
2015-07-06 00:23:46 -04:00
Wizjany
c9eaec0ae8
Prevent NPE in portal code.
...
Fixes WORLDGUARD-3516
2015-06-27 00:42:08 -04:00
Wizjany
fc0be7db09
Fix case-sensitivity when checking membership.
...
Probably.
2015-06-26 14:50:09 -04:00
wizjany
dbbc31a4f4
Fix some consistency issues with both spawners and bonemeal.
2015-06-19 19:06:34 -04:00
wizjany
0f3e893aaf
Force region claiming to use UUIDs.
...
Also remove owner params from the command, they were
ignored anyway. Claim only adds the player using the command.
Fixes WORLDGUARD-3504.
2015-06-19 18:08:20 -04:00
wizjany
aa668916e4
Fix a typo in config node from last commit.
2015-06-19 17:49:14 -04:00
wizjany
a426d2a42c
Check correct bucket while milking cows.
...
Fixes WORLDGUARD-3508.
2015-06-19 17:02:09 -04:00
wizjany
5ff8b37ae8
Create a config option to enable portal protection.
...
Protection is off by default. Third-party portal plugins such as MV-NP
may interfere with portal protection and cause problems.
Fixes WORLDGUARD-3498.
2015-06-19 17:01:30 -04:00
wizjany
2d28e8db6d
Make portal protection slightly less overprotective.
...
Fixes end portal usage.
Fixes WORLDGUARD-3497.
2015-06-08 15:08:46 -07:00
wizjany
463a356020
Overprotective nether portal protection.
...
Blocks any portal travel that might lead to portal creation in a protected area.
Fixes WORLDGUARD-3479.
2015-06-08 15:08:46 -07:00
sk89q
21d13cc72c
Set version to 6.1.1-SNAPSHOT.
2015-06-08 15:08:28 -07:00
sk89q
9cf85caf3c
Set version to 6.1.
2015-06-08 15:04:59 -07:00
sk89q
2f1343f408
Updated changelog for v6.1.
2015-06-08 15:04:52 -07:00
wizjany
3cb6c4e46f
Check both attacker and defender locations for PvP.
...
Fixes WORLDGUARD-3494.
2015-06-08 14:37:32 -07:00
sk89q
7f9b850288
Always generate Javadocs and sources .jar.
2015-06-08 14:37:32 -07:00
sk89q
e8d4f2fd84
Turn off doclint.
2015-06-08 14:37:32 -07:00
sk89q
f3891aaaf9
Add a workaround for incorrect piston retract information.
2015-06-03 23:46:24 -07:00
wizjany
ea75549a29
Clean up Heal and Feed flags.
...
Allow the flags to increase values for players who are invincible (or in creative mode),
but not decrease them.
Fixes WORLDGUARD-3492.
2015-06-04 02:02:53 -04:00
wizjany
fbd8206038
Check for connected chests.
...
Fixes WORLDGUARD-3021.
2015-05-29 03:56:14 -04:00
wizjany
522ac459db
Fix weather lock flag.
...
Probably. Maybe.
Fixes WORLDGUARD-3452.
2015-05-29 02:26:32 -04:00
wizjany
255dd2d41a
Add support for Spigot's BlockExplodeEvent.
...
Also update Bukkit dependency and guava version quirks.
Fixes WORLDGUARD-3484.
2015-05-29 01:49:20 -04:00
wizjany
cf1716ff37
Separate vehicles and animals from INTERACT flag.
...
Destroying vehicles now checks only the vehicle-destroy flag.
Damaging animals checks the new damage-animals flag.
These are both allowed for members by default, like other build-dependent flags.
Fixes WORLDGUARD-3427 and WORLDGUARD-3358.
2015-05-28 17:21:58 -04:00
sk89q
a277e69e9c
Get the session during the gamemode event lazily.
2015-05-28 11:28:02 -07:00
sk89q
ec5bb32510
Add -s to show stack traces with the event debugging command.
2015-05-27 22:18:30 -07:00
Wizjany
8ddb7d4b99
Don't add a period for custom blacklist messages.
...
Fixes WORLDGUARD-3472
2015-05-02 22:38:42 -04:00
Wizjany
3258bff2d1
Fix CommandFilter matching emoticons etc.
...
Fixes WORLDGUARD-3461.
2015-04-18 12:01:21 -04:00
Wizjany
8d7d32a2d2
Check event cancellation before playing deny effect for bucket events.
2015-04-05 15:44:43 -04:00
Wizjany
a907eb2348
Move repeaters/comparators from use to build.
...
This should mirror the protection given in WG 5.9.
2015-03-13 23:34:22 -04:00
wizjany
32132b5b0a
Protect against spawn egg usage.
...
Fixes WORLDGUARD-3347.
2015-03-11 01:46:55 -04:00
wizjany
c0c7c3215e
Mark Player/Group Domains as dirty in a few missing places.
...
Fixes WORLDGUARD-3404.
2015-03-11 00:44:41 -04:00
Wizjany
ddf0f41061
Actually register WorldRulesListener for events.
...
Fixes WORLDGUARD-3406.
2015-03-03 13:09:50 -05:00
Wizjany
d3ecbcb18a
Protect switching inverted daylight detectors too.
2015-02-28 18:39:54 -05:00
wizjany
b7f4262978
Add comparators to USE too for consistency.
2015-02-19 21:21:17 -05:00
wizjany
60e6f92c64
Have repeaters be covered by the USE flag.
2015-02-19 21:17:45 -05:00
wizjany
98af7966cd
Added weather-lock flag.
...
Valid values are clear or downfall. Unset to restore to normal world weather.
2015-02-18 02:24:31 -05:00
wizjany
99d042d260
Added time-lock flag.
...
Valid values are 0 to 24000 for absolute time, or +- any number for relative time.
Closes WORLDGUARD-3379.
2015-02-18 01:59:30 -05:00
wizjany
c9d6166fcb
Check for null task fields.
...
Fixes WORLDGUARD-3372.
2015-02-17 16:51:02 -05:00
sk89q
752ccec150
Don't call initialize() on non-cancellable movements.
...
Fixes WORLDGUARD-3362.
2015-02-11 17:12:10 -08:00
sk89q
91ccb95672
Add classloader override to the build POM.
2015-02-11 17:09:10 -08:00
wizjany
4caff457d3
Add Citizens NPCs to NPC detection for region whitelisting.
...
Fixes WORLDGUARD-3356.
2015-02-04 17:03:01 -05:00
wizjany
a1a6ee7107
Fixed blocks (e.g. sugar canes) adjacent to physics blocks (e.g. sand) not updating.
...
Fixes WORLDGUARD-3367. This change MAY have breaking unintended consequences,
but the physics configs seem to still be working.
2015-02-04 03:33:37 -05:00
sk89q
af157b88bd
Handle empty sets in SetFlag.
2015-01-30 00:03:25 -08:00
sk89q
ea4f4c088b
Have enderchests be covered by the USE flag.
...
Fixes WORLDGUARD-3336.
2015-01-28 01:36:07 -08:00
sk89q
6559ed5c1a
Have tripwire be covered by the USE flag.
...
Fixes WORLDGUARD-3351.
2015-01-28 01:35:17 -08:00
sk89q
deddcf8dd2
Handle null block attacker.
...
Fixes WORLDGUARD-3350.
2015-01-28 01:26:50 -08:00
sk89q
dfe536a2d2
Fix issues with MC 1.7 compatibility.
2015-01-28 01:11:36 -08:00
sk89q
5bfb348354
Add a fall-damage flag.
...
Closes WORLDGUARD-2279.
2015-01-28 01:01:43 -08:00
sk89q
afcf93b7b1
Reset handler caches when a move type is non-cancellable.
2015-01-27 15:21:56 -08:00
sk89q
e1843624bb
Add exit-via-teleport flag (default allow).
2015-01-27 15:01:01 -08:00
wizjany
0f4e7b5061
Creeper explosions with a player target cause should no longer be ignored.
...
Also fixed primed tnt being checked twice for tnt flags. TNT Minecarts are not included, as was prior behavior.
Fixes WORLDGUARD-3344
2015-01-24 23:00:19 -05:00
wizjany
869ead63bc
Fix armor stands to behave more like item frames.
...
Placing and modifying them respects permissions, and they are no longer blocked by mob-spawning deny.
2015-01-24 17:02:55 -05:00
sk89q
6a6de7802b
Fix missing material data for 1.8 items.
...
Fixes WORLDGUARD-3306.
2015-01-22 21:42:53 -08:00
sk89q
b50302d9d0
Set version back to 6.0.0-SNAPSHOT.
2015-01-20 19:28:22 -08:00
sk89q
c841d74aaf
Set version to 6.0.0-beta-05.
2015-01-20 19:26:39 -08:00
sk89q
09cce39aff
Update changelog for 6.0 beta 5.
2015-01-20 19:25:34 -08:00
sk89q
e5b76a571b
Always call boundary crossing handlers.
2015-01-20 19:24:55 -08:00
sk89q
7c58fa4be6
Add BukkitUtil.toRegion(Chunk).
...
Closes WORLDGUARD-3292.
2015-01-19 23:19:44 -08:00
sk89q
f150a41d72
Ensure that region properties are immutable.
2015-01-19 23:11:28 -08:00
sk89q
bca1c2bdb3
Fix region intersection tests involving polygons.
...
Fixes WORLDGUARD-3216.
2015-01-19 22:56:16 -08:00
sk89q
47a8bcc442
Floor components in getApplicableRegions(Location).
...
Fixes WORLDGUARD-3288.
2015-01-19 19:22:15 -08:00
sk89q
83cad75916
Fix /wg flushstates not doing anything.
2015-01-19 19:04:49 -08:00
sk89q
6b5a12105e
Group together invincibility listeners.
...
Fixes WORLDGUARD-3315.
2015-01-19 19:03:54 -08:00
sk89q
451b679323
Track cause through targets.
...
Fixes WORLDGUARD-3314.
2015-01-19 18:28:41 -08:00
sk89q
66a8bfd5b1
Fix typo in region gamemode change log message.
2015-01-19 14:12:04 -08:00
sk89q
2a2b2f6f64
Limit the cause chain to 40 items.
2015-01-19 14:08:53 -08:00
sk89q
73dea11de2
Restore game mode flag logic to pre-refactor version.
...
Fixes WORLDGUARD-3320.
2015-01-19 13:23:23 -08:00
wizjany
9998a6c930
Restore Java 6 compatibility.
2015-01-19 15:01:43 -05:00
wizjany
5111d40aaf
Add colorification to entry and exit messages as well.
2015-01-19 14:23:04 -05:00
sk89q
972ccaed7e
Rename InteropUtil -> InteropUtils.
2015-01-19 11:20:53 -08:00
sk89q
f7d36bc1f3
Protect enderchests as well.
2015-01-19 11:20:23 -08:00
sk89q
8073945af0
Fix color codes in greeting/farewell messages.
...
Fixes WORLDGUARD-3319.
2015-01-19 11:17:06 -08:00
sk89q
91353d6b01
Improve fake player detection.
2015-01-19 03:23:52 -08:00
sk89q
bfbcc8dcf8
Fix a typo in the class source warning message.
2015-01-19 01:55:56 -08:00
sk89q
8f65798141
Check when plugins shade WorldGuard inappropriately.
2015-01-19 01:54:23 -08:00
sk89q
fdddb17d2f
TypeToken is not available on old Guava.
2015-01-17 19:26:33 -08:00
sk89q
520f9e3fcf
Check movement with vehicle enter.
2015-01-17 19:25:15 -08:00
sk89q
a3d2a1b127
Don't call boundary crossing handlers unless a boundary was crossed.
2015-01-17 19:17:17 -08:00
sk89q
7ecf73165b
Handle entry flag only on boundary crossing.
2015-01-17 19:17:02 -08:00
sk89q
e90a7ed075
Add new exit-override flag instead of fiddling with default exit flag values.
2015-01-17 19:13:25 -08:00
sk89q
aae521b727
Rewrite session and movement flag code.
...
Also adds entry-deny-message and exit-deny-message.
Fixes WORLDGUARD-3086, WORLDGUARD-2542, WORLDGUARD-2731.
2015-01-17 18:54:10 -08:00
sk89q
643345b459
Add Locations.isDifferentBlock().
2015-01-17 15:04:42 -08:00
sk89q
a62d9f5617
Reuse set in RegionResultSet for getRegions().
2015-01-17 14:29:14 -08:00
sk89q
2f3f76c8cf
Funnel pre-allowed events too.
...
Fixes WORLDGUARD-3308.
2015-01-16 15:43:13 -08:00
sk89q
a03aaa45b1
Revert "Have the PvP flag apply to self-attack."
...
This reverts commit d8dd86dfe8 .
Fixes WORLDGUARD-3312.
2015-01-16 14:22:46 -08:00
sk89q
372155b5c3
Don't check player inventories for protection.
...
Fixes WORLDGUARD-3309, WORLDGUARD-3310.
2015-01-16 14:20:01 -08:00
sk89q
159de771bf
Fix build perms item use event not working correctly.
2015-01-15 18:42:26 -08:00
sk89q
41d922cb27
Add special case for global regions in RegionOverlapAssociation too.
2015-01-15 16:49:07 -08:00
sk89q
6a4fac63e8
Change version back to 6.0.0-SNAPSHOT.
2015-01-13 12:44:17 -08:00
sk89q
3daf8db113
Bump to 6.0.0 beta 04.
2015-01-13 12:42:11 -08:00
sk89q
9c62a35e07
Update CHANGELOG for 6.0 beta 4.
2015-01-13 12:29:43 -08:00
sk89q
931f438b14
Add material flags for MC 1.8.
...
Fixes WORLDGUARD-3306.
2015-01-13 12:19:53 -08:00
sk89q
3109612c1b
Expand the USE flag to cover 1.8 doors and gates.
...
Fixes WORLDGUARD-3304.
2015-01-13 12:12:12 -08:00
sk89q
e4d63ffbcc
Permit org.json.simple package usage.
2015-01-13 03:24:00 -08:00
sk89q
866a554d30
Shade JSON simple.
2015-01-13 03:23:49 -08:00
sk89q
ab2811ed2d
Remove boot class / library path report values.
2015-01-13 03:19:47 -08:00
sk89q
8cc7bcc849
Improve report output.
2015-01-13 02:44:58 -08:00
sk89q
547e89b85d
Add CPU profiling with WarmRoast "lite."
2015-01-13 01:49:59 -08:00
sk89q
477f1188df
Use EH pastebin and remove debug code.
2015-01-12 22:19:49 -08:00
sk89q
d9e4b27cd2
Handle PlayerInteractAtEntityEvent again.
...
Fixes WORLDGUARD-3291.
2015-01-11 02:34:12 -08:00
sk89q
37f39eaf66
Use a less coarse can-interact-on-click check.
...
Fixes WORLDGUARD-3303.
2015-01-11 02:05:31 -08:00
sk89q
223d22e79f
Fire UseEntityEvent for InventoryOpenEvent for entities.
2015-01-11 00:10:52 -08:00
sk89q
04214a96eb
Ignore unknown cause entity damage.
...
Fixes WORLDGUARD-3293.
2015-01-11 00:08:41 -08:00
sk89q
f40cb69f38
Ignore unknown cause hanging breaks.
...
Fixes WORLDGUARD-3301.
2015-01-11 00:05:07 -08:00
sk89q
6c1489d434
Make NormativeOrders non-instantiable.
2015-01-10 23:44:31 -08:00
sk89q
6fe63838f5
testState(relevant flags) == DENY on whitelist cases.
...
Fixes WORLDGUARD-3294.
2015-01-10 23:31:24 -08:00
sk89q
d883c22d64
Document flag classes and make BUILD slightly less magic.
2015-01-10 23:15:32 -08:00
sk89q
3bd1c869f1
Sort applicable regions by inheritance too.
2015-01-10 22:45:15 -08:00
sk89q
e7273aaf6f
ALLOW on a child region should override DENY on a parent.
2015-01-10 18:37:28 -08:00
zml
6e02f80f6c
Pass Player objects during WEPIF permission checks
2015-01-10 16:14:17 -08:00
sk89q
01276dfc62
Fix incorrect region group inheritance and broken flag override in children.
2015-01-09 13:21:17 -08:00
sk89q
f516fd5e54
Have on-acquire also check inventory transfers.
...
Fixes WORLDGUARD-2752.
2015-01-08 15:43:02 -08:00
sk89q
79612915a7
Fix NPE caused by flag value permissions.
2015-01-08 14:29:06 -08:00
sk89q
f04f9093bc
Add &r as a reset color code.
...
Closes WORLDGUARD-3286.
2015-01-08 13:40:57 -08:00
sk89q
9dac950faf
Fix a little typo in the UPGRADE document.
2015-01-08 11:58:20 -08:00
sk89q
f2a8ff3f64
Add missing wood plate to USE flag.
2015-01-08 11:25:19 -08:00
sk89q
b78317dd42
Add color code support to the blacklist.
...
Fixes WORLDGUARD-3284.
2015-01-08 11:24:22 -08:00
sk89q
048dd25099
Remove outdated information in the upgrade document.
2015-01-08 01:14:12 -08:00
sk89q
0900289437
Add permissions for individual flag values.
...
Closes WORLDGUARD-3103.
2015-01-08 01:04:36 -08:00
sk89q
d8dd86dfe8
Have the PvP flag apply to self-attack.
...
Closes WORLDGUARD-3278.
2015-01-08 00:35:30 -08:00
sk89q
9a569d7ed8
Don't throw internal DamageEntityEvents for unknown cause entity combusts.
...
Fixes WORLDGUARD-3277.
2015-01-08 00:32:57 -08:00
sk89q
53132ce83a
Add support for slightly older versions of Bukkit 1.7.9.
2015-01-08 00:25:07 -08:00
sk89q
c3bdc33215
Set version to 6.0.0-SNAPSHOT.
2015-01-07 18:51:07 -08:00
sk89q
c6bf8ceb5c
Bump version to 6.0.0-beta-03.
2015-01-07 18:49:34 -08:00
sk89q
792d041078
Update CHANGELOG.
2015-01-07 18:48:58 -08:00
sk89q
cb965c9bf9
Update the UPGRADE document.
2015-01-07 18:42:57 -08:00
sk89q
f33889b88f
Support both MC 1.7.10 and 1.8.
2015-01-07 18:07:30 -08:00
sk89q
e747e3a3fa
Bump Bukkit dependency to 1.7.9-R0.3-SNAPSHOT.
2015-01-07 16:28:26 -08:00
sk89q
fd460337f4
Don't apply the region override permission to PvP.
2015-01-06 15:14:30 -08:00
sk89q
38c9479385
Fix incorrect detection of hostile and ambient creatures.
2015-01-06 15:01:07 -08:00
sk89q
da032cb04e
Fix the splash potion flag not working with the other flags.
...
Fixes WORLDGUARD-3274.
2015-01-06 15:00:54 -08:00
sk89q
37a80338f5
Adjust USE flag material filter to include the proper items.
2015-01-05 13:31:14 -08:00
sk89q
8a5f233e84
Use an interact event for non-damaging splash potions.
...
Fixes WORLDGUARD-3184.
2015-01-04 19:54:34 -08:00
sk89q
e3a9131929
Fix potion blocking.
...
Fixes WORLDGUARD-3207
2015-01-04 19:43:55 -08:00
sk89q
bab98d5463
Fix broken recursive dump in DataReport.
2015-01-04 19:19:53 -08:00
sk89q
4333b39377
Consider enchantment table + workbench MODIFIED_ON_CLICK.
2015-01-04 19:13:07 -08:00
sk89q
8bd427a6ab
Make PASSTHROUGH=DENY useful on __global__.
2015-01-04 18:58:00 -08:00
sk89q
d3493a3361
Fix missing __global__ constant.
2015-01-04 18:51:32 -08:00
sk89q
51982cda28
Do a better check of the global region.
2015-01-04 18:51:18 -08:00
sk89q
a2e14bc76a
Fix issues caused by adding members to __global__.
...
Fixes WORLDGUARD-3195.
2015-01-04 18:44:57 -08:00
sk89q
c050d274f5
Make the EXP_DROPS flag a build-compat flag and set its deny message.
...
Fixes WORLDGUARD-3231.
2015-01-04 18:26:11 -08:00
sk89q
bdff22cbac
Give the player back his/her XP bottle if it was blocked.
2015-01-04 18:20:33 -08:00
sk89q
7da10198e3
Expand interaction whitelist to "physical" events.
...
Closes WORLDGUARD-3238.
2015-01-04 18:05:50 -08:00
sk89q
b11e2b3d11
Catch command prefixes in the filter.
...
Fixes WORLDGUARD-3196.
2015-01-04 17:56:00 -08:00
sk89q
c95b619974
Add a RIDE flag for vehicles.
2015-01-04 17:52:32 -08:00
sk89q
e61b2e18c1
Also permit hoppers.
2015-01-04 16:09:57 -08:00
sk89q
e9d64dbf03
Check for names in addition to UUIDs with /rg list.
2015-01-04 14:25:04 -08:00
sk89q
3c8121d088
Whitelist hoppers and let them cross regions regardless of permissions.
2015-01-04 13:57:03 -08:00
sk89q
93ced5ca7a
Revert USE flag's functionality to 5.x, add new INTERACT flag.
2015-01-04 13:50:48 -08:00
sk89q
7580583fbf
Fix spawn egg blocking.
...
Closes WORLDGUARD-3254.
2014-12-31 02:30:58 -08:00
sk89q
41c68664d7
Fix failed detection of incorrect blacklist names.
2014-12-31 02:30:31 -08:00
sk89q
c8393cdcec
Fix bypass with the block op configuration.
2014-12-31 02:13:35 -08:00
sk89q
42d12e4fa8
Reorganize some packages.
2014-12-31 02:05:47 -08:00
sk89q
bed9bd77a6
Merge pull request #336 from ST-DDT/configLoadExceptions
...
Show more details in error log which world the error belongs to.
2014-12-31 01:59:57 -08:00
sk89q
f3c2390fbb
Attempt to clean up the move listener.
2014-12-31 01:41:41 -08:00
sk89q
83a7ed58a5
Cache bypass permission checks in the move listener.
...
Some permission plugins are slow.
2014-12-31 01:39:11 -08:00
sk89q
ddc1f77825
Move move listener to a new class.
2014-12-31 01:31:30 -08:00
sk89q
88169236cb
Rewrite and update report generation.
2014-12-31 01:18:23 -08:00
sk89q
0cb36b3b8b
Remove ArrayReader and FatalConfigurationLoadingException.
2014-12-30 22:37:54 -08:00
sk89q
ce169461a3
Add event cancellation debug commands.
2014-12-30 20:05:42 -08:00
sk89q
18ec3db1bb
Modernize pastebin code.
2014-12-30 17:41:56 -08:00
sk89q
53fdff1d9b
Add hack to make Location flags work with unloaded worlds.
2014-12-29 16:35:22 -08:00
ST-DDT
9a91336958
Show more details in error log which world the error belongs to.
2014-12-19 13:55:18 +01:00
sk89q
7bd69bebf4
Add missing color codes when parsing input.
2014-11-14 12:57:38 -08:00
sk89q
57b6f04b79
Let players use NPCs always.
...
Fixes WORLDGUARD-3190.
2014-11-11 00:32:42 -08:00
sk89q
c7442c2a9e
Fix [WorldGuard] in log messages stacking on reloads.
...
Fixes WORLDGUARD-3192.
2014-11-11 00:29:25 -08:00
sk89q
df985013eb
Handle null EntityTypes from SpawnEggs.
...
Fixes WORLDGUARD-3179.
2014-11-11 00:02:54 -08:00
sk89q
41f520845a
Better handle empty group / player names due to bad region data.
...
Fixes WORLDGUARD-3182.
2014-11-10 23:59:57 -08:00
sk89q
dac09c64c8
Fix players being invincible with BUILD = deny.
...
Fixes WORLDGUARD-3201.
2014-11-10 23:56:11 -08:00
sk89q
a2defe5971
Fix certain entities not being damaged in protected regions.
2014-11-10 23:52:53 -08:00
sk89q
ba4e5d6ea9
Improve entity detection in Entities utility class, add Entities.isNonPlayerCreature().
2014-11-10 23:52:53 -08:00
sk89q
25f12e9733
Remove CraftBukkit runtime dependency in pom.xml.
2014-09-18 20:32:59 -07:00
sk89q
ca37dc0fc6
Merge pull request #328 from zreed/master
...
Add missing SQL table prefix in statement selecting world names.
2014-09-02 23:30:26 -07:00
zreed
7d41835794
Add missing SQL table prefix in statement selecting world names.
2014-09-02 17:05:28 -04:00
sk89q
b37014463f
Reset version back to 6.0.0-SNAPSHOT.
2014-08-31 20:04:04 -07:00
sk89q
2b94883e70
Bump version to 6.0.0-beta-02.
2014-08-31 19:58:10 -07:00
sk89q
5c7468ffb5
Remove "multiple categories" point about related flags handling.
2014-08-31 19:55:32 -07:00
sk89q
343632cbf2
Update changelog for 6.0 beta 2.
2014-08-31 19:54:27 -07:00
sk89q
2a3ccec429
Fix boat placement not being properly prevented.
...
Fixes WORLDGUARD-3174.
2014-08-31 19:36:39 -07:00
sk89q
d6f12804ea
Don't show a deny message if it's an empty string.
2014-08-31 19:35:13 -07:00
sk89q
f858c175f9
Add -e flag to /rg flag to set a flag to an empty value.
...
Closes WORLDGUARD-3161.
2014-08-31 19:34:55 -07:00
sk89q
cdab004505
Add option to consider use of an item as a block use at the player's feet.
...
Closes WORLDGUARD-3151.
2014-08-31 19:30:14 -07:00
sk89q
59bd11e742
Don't use deny effects for entities because they look bad.
2014-08-31 19:18:32 -07:00
sk89q
2e6faff8c1
Add option to whiteist some blocks / items so they can always be used.
...
Closes WORLDGUARD-3159.
2014-08-31 19:17:05 -07:00
sk89q
722cc2e38c
Block polygonal regions for claiming for now.
...
volume() returns 0.
2014-08-31 19:05:59 -07:00
sk89q
669c0e9651
Add more deny effects.
...
Closes WORLDGUARD-3158.
2014-08-31 19:00:45 -07:00
sk89q
d2252c6142
Warn about claim volume setting being too high.
2014-08-31 18:42:43 -07:00
sk89q
eab4101d1c
Consider XP drops under ITEM_PICKUP.
...
Fixes WORLDGUARD-3171.
2014-08-31 18:38:04 -07:00
sk89q
db31c35d8e
Don't consider vehicles a known cause.
...
Fixes WORLDGUARD-3170.
2014-08-31 18:33:14 -07:00
sk89q
125595e6b9
Fix mobs not being able to attack players regardless of permission.
...
Fixes WORLDGUARD-3172.
2014-08-31 18:28:50 -07:00
sk89q
6d5d9934cc
Fix Enums.findFuzzyByValue() not handling _ correctly.
2014-08-31 18:21:58 -07:00
sk89q
bd2a8daad3
Fix sapling + bonemeal considered as usage rather than building.
...
Fixes WORLDGUARD-3169.
2014-08-31 18:21:22 -07:00
sk89q
c4b3c1d033
Destroy sapling if some of its blocks could be placed.
...
Fixes WORLDGUARD-3168.
2014-08-31 18:08:13 -07:00
sk89q
eb051bc194
Set MODIFIES_BLOCKS flag on ink dye.
...
Fixes WORLDGUARD-3167.
2014-08-31 18:03:52 -07:00
sk89q
1a12faf5ab
Fix trees not growing naturally in protected regions.
...
Fixes WORLDGUARD-3166.
2014-08-31 17:52:03 -07:00
sk89q
73fe9cd62f
Debounce piston events and add a deny effect.
...
Fixes WORLDGUARD-3157.
2014-08-31 17:39:01 -07:00
sk89q
7ab4a283fe
Document the delegate events.
...
Fixes WORLDGUARD-3164.
2014-08-31 16:10:11 -07:00
sk89q
46138c9abe
Merge pull request #304 from stuntguy3000/master
...
Add silent (s) and information (i) flags to /stoplag.
2014-08-31 16:06:25 -07:00
sk89q
841cc8e033
Don't apply USE to hanging entities.
2014-08-29 21:51:55 -07:00
sk89q
cb0844c64d
Ignore _ when fuzzy searching enums.
2014-08-29 12:38:43 -07:00
sk89q
6e8e59aee5
Check Material in TargetMatcherParser.
2014-08-29 12:38:27 -07:00
sk89q
358eebf96b
Mention Spigot issue with settings.global-api-cache.
2014-08-29 12:32:33 -07:00
sk89q
01892b609f
Have other flags override BUILD but not the other way like in WG 5.
2014-08-29 12:18:01 -07:00
sk89q
096981bd27
Fix condition error in handling of PVP flag.
2014-08-29 12:18:01 -07:00
sk89q
0852fc0d65
Have membership override BUILD=DENY like in WG 5.
2014-08-29 12:18:00 -07:00
sk89q
40ceb3d0b8
Fix NPE when handling PlayerFishEvent.
...
Fixes WORLDGUARD-3149.
2014-08-25 14:18:26 -07:00
sk89q
b52a6bd6d6
Ignore sneaking when checking the events.
2014-08-25 00:29:37 -07:00
sk89q
992e53856d
Add some deny effects.
2014-08-25 00:28:26 -07:00
sk89q
f776d15e03
Allow right clicking hostile mobs in protected regions too.
...
Fixes WORLDGUARD-3144.
2014-08-25 00:09:29 -07:00
sk89q
438bc59fbc
Silence spam from not being able to walk on crops.
...
Fixes WORLDGUARD-3143.
2014-08-25 00:05:44 -07:00
sk89q
453f253e77
Remove outdated line in UPGRADE about flags and BUILD.
2014-08-24 18:52:02 -07:00
sk89q
550df20f18
Set version back to 6.0.0-SNAPSHOT.
2014-08-24 18:44:01 -07:00
sk89q
e8ee0a8c5b
Bump version to 6.0.0-beta-01.
2014-08-24 18:42:39 -07:00
sk89q
5fcd7ddf7a
Handle multiple related flags more like in WG 5.
2014-08-24 18:34:14 -07:00
sk89q
b11d416035
Revert the default region groups of the entry/exit flags back to WG 5.
2014-08-24 18:11:25 -07:00
sk89q
f7e216ba84
Mention how to report bugs in the UPGRADE document.
2014-08-24 18:03:52 -07:00
sk89q
f6406b668c
Silence messages about touching Redstone ore.
2014-08-24 17:56:15 -07:00
sk89q
7cd4a1d411
Update CHANGELOG and UPGRADE documents.
2014-08-24 17:15:36 -07:00
sk89q
bd558bb527
Change .interact to .use for item use permission.
2014-08-24 17:14:34 -07:00
sk89q
8d29f6971a
Allow hitting hostile mobs in protected regions.
2014-08-24 17:13:27 -07:00
sk89q
300f69597f
Don't cause item loss when the hopper is destroyed.
2014-08-24 17:06:13 -07:00
sk89q
8e320b6dbe
Add helper ProtectionQuery class for other plugins.
2014-08-24 17:01:52 -07:00
sk89q
fa422bef32
Update UPGRADE document with more information.
2014-08-24 16:38:31 -07:00
sk89q
e8cd1cc253
Block spawn eggs properly.
2014-08-24 16:26:15 -07:00
sk89q
5e9ffe9e29
Better describe issue regarding flags being evaluated together.
2014-08-24 15:58:34 -07:00
sk89q
edebb0efc9
Be more lax with entity spawns.
2014-08-24 15:53:45 -07:00
sk89q
913d5d64ae
Break denied hoppers.
2014-08-24 15:40:00 -07:00
sk89q
6da8fabb1f
Debounce the inventory move item event better.
2014-08-24 15:36:38 -07:00
sk89q
ee022d7cd7
Handle inventory move event for protection.
2014-08-24 15:24:52 -07:00
sk89q
c126a0ac38
Change potion splash to damage event.
2014-08-24 14:46:55 -07:00
sk89q
4a3dac0aa4
Ignore cancelled events in event abstraction.
2014-08-24 14:39:44 -07:00
sk89q
f4700ded12
Don't block self-damage if PVP is denied.
2014-08-24 14:33:29 -07:00
sk89q
8570921049
Mention incompatible plugins in the upgrading document.
2014-08-24 14:22:29 -07:00
sk89q
612b953b63
Don't use empty names when loading the YAML regions file.
2014-08-24 14:13:12 -07:00
sk89q
02777c370d
Mention use on-place and water / lava buckets.
2014-08-24 14:02:38 -07:00
sk89q
7a8ab1df99
Fire a use item event on placed blocks.
2014-08-24 13:45:39 -07:00
sk89q
182c5f6a17
Clamp cuboid volume to Integer.MAX_VALUE and handle overflow.
2014-08-24 12:55:44 -07:00
sk89q
7c7673af20
Debounce entity break block events.
2014-08-24 12:36:17 -07:00
sk89q
9282fc25de
Fix fire handling in the event abstraction listener.
2014-08-24 12:25:29 -07:00
sk89q
f66e47c01f
If the cause is unknown, use NON_MEMBER as the association.
2014-08-24 02:56:23 -07:00
sk89q
f00d73d60e
Cause.isKnown() now returns false if it only contains objects that do not properly constitute a cause.
2014-08-24 02:55:57 -07:00
sk89q
c5b08781f7
Build the cause list order correctly.
2014-08-24 02:49:58 -07:00
sk89q
4b80c4e4e6
Clean up EventAbstactionListener.
2014-08-24 02:35:09 -07:00
sk89q
7da3cc224b
Fix buckets not being checked properly.
2014-08-24 02:26:09 -07:00
sk89q
0659a5263a
Fix typos in readme files.
2014-08-24 02:20:51 -07:00
sk89q
0f8614519f
Fix /wg reload sometimes not applying new changes right away.
2014-08-24 02:14:15 -07:00
sk89q
541f828db4
Add optional build permission nodes.
2014-08-24 02:03:38 -07:00
sk89q
70aedb4a84
Mention the need to re-check the upgrade document.
2014-08-24 01:19:46 -07:00
sk89q
4f24f2631e
Automatic invincibility / no-drowning groups have to be enabled now.
2014-08-24 01:13:59 -07:00
sk89q
ddb910e2ea
Update the README.
2014-08-23 22:15:10 -07:00
sk89q
b5c4eb3587
Move build related files to config/.
2014-08-23 22:05:41 -07:00
sk89q
a0553bfa34
Have people read CHANGELOG for the rest of the changes.
2014-08-23 22:02:46 -07:00
sk89q
241f053b8a
Fix error in CHANGELOG.md.
2014-08-23 21:57:52 -07:00
sk89q
6174c9e486
Updated changelog and added upgrade information.
2014-08-23 21:55:49 -07:00
sk89q
d7629acb61
Use original .jar filename in the .zip.
2014-08-23 20:25:30 -07:00
sk89q
8169b6f650
Use Markdown for changelog + distributed README.
2014-08-23 20:24:25 -07:00
sk89q
7b174683ba
WorldGuard 6. See http://forum.enginehub.org/threads/15666/
2014-08-22 20:54:59 -07:00
sk89q
88e7327af6
Merge branch 'master' into feature/region-api-update
2014-08-22 20:48:34 -07:00
sk89q
b7d8562ece
Use a region deny message indicating region data load failure.
2014-08-22 20:43:03 -07:00
sk89q
439826ddc6
Bump to version 6.0.0.
2014-08-22 19:52:16 -07:00
sk89q
b94641f1b5
Wooden doors are interact-able.
2014-08-22 19:47:37 -07:00
sk89q
0ddf56f7f6
Add -g to /rg (re)define to create a global region.
2014-08-22 19:37:13 -07:00
sk89q
74e64d0641
Fix region bypass permission and support fake players.
2014-08-22 19:32:03 -07:00
sk89q
858b0b2c1c
Update Javadocs in RegionQuery.
2014-08-22 19:19:35 -07:00
sk89q
54237c0038
Fix potential NPE in FlagValueCalculator.
2014-08-22 19:17:46 -07:00
sk89q
0edb948a40
Don't let players disembark if they can't back on.
2014-08-22 19:17:36 -07:00
sk89q
f85aeecde7
Fix deny flags not applying when you are on an animal.
...
Fixes WORLDGUARD-2518.
2014-08-22 18:23:59 -07:00
sk89q
69a0f26a52
Handle OfflinePlayer causes.
2014-08-22 18:04:01 -07:00
sk89q
8bb28b5ef1
Update Bukkit dependency on 1.7.9-R0.2.
2014-08-22 18:03:48 -07:00
sk89q
a6118c3aa4
Unify debouncing method.
2014-08-22 17:30:18 -07:00
sk89q
59494233e3
Debounce interact events.
2014-08-22 17:21:49 -07:00
sk89q
d0ff1815aa
Made EventDebounce more reusable.
2014-08-22 16:52:34 -07:00
sk89q
9b7970475a
Fix the SLEEP flag not checking the right bed material.
2014-08-22 16:26:43 -07:00
sk89q
88c0bdfffb
Better handle disabling of the regions feature.
2014-08-22 16:18:05 -07:00
sk89q
b43bc4a57a
Debounce events for 10 seconds.
2014-08-22 16:10:22 -07:00
sk89q
bd8e1a35f6
Add block place, block break flags.
2014-08-22 16:08:31 -07:00
sk89q
722dabcf1a
Add item pickup flag and implement item drop flag through event abstraction.
2014-08-22 16:02:21 -07:00
sk89q
09207367c0
Use specific messages for denied item drop / pick up.
2014-08-22 15:45:05 -07:00
sk89q
3336b73536
Don't send too many "can't do this" messages at a time.
2014-08-22 15:43:03 -07:00
sk89q
0d7e3ad2de
Add friendlier region deny messages.
2014-08-22 15:36:21 -07:00
sk89q
95d1bd8ee0
Debounce item pickup event.
2014-08-22 13:54:59 -07:00
sk89q
6c97e04c7c
Use event abstraction for blacklist item pickup.
2014-08-22 13:45:55 -07:00
sk89q
24f72cb07f
Make liquid flow checking for regions optional.
2014-08-22 13:37:02 -07:00
sk89q
ef56a32f00
Implement PVP flag through abstraction.
2014-08-22 12:47:06 -07:00
sk89q
d8da89703b
Handle the TNT flag better in the new system.
...
Now the build flag works in tandem with the TNT flag.
2014-08-22 11:27:23 -07:00
sk89q
e47c563ced
Handle null flag values in the flag set command correctly.
2014-08-22 11:09:09 -07:00
sk89q
bd0917d34b
Add deny-message flag to adjust the region "don't have permission" message.
...
Also add color code parsing for the flag set command.
2014-08-22 03:37:33 -07:00
sk89q
8098211d01
Add Flag.getDefault(). Breaks StateFlag.getDefault() calls.
2014-08-22 02:19:31 -07:00
sk89q
83c95bbb8c
Clear dirty flag if RegionManager.save() is used.
2014-08-22 02:08:59 -07:00
sk89q
4d4e1c6c26
Handle region data load / save failure more gracefully.
...
Also remove use of BoneCP and reorganize the classes.
2014-08-22 02:08:37 -07:00
sk89q
3045dc0293
Better handle failure conditions for background region saving.
2014-08-21 23:36:15 -07:00
sk89q
e649973318
Revert "Don't use the region chunk has table until a threshold."
...
This reverts commit f57afb2944 .
2014-08-21 22:49:53 -07:00
sk89q
2d147bb7e1
Change PriorityRTreeIndex to use the R-tree for intersection queries.
2014-08-21 22:47:46 -07:00
sk89q
f57afb2944
Don't use the region chunk has table until a threshold.
2014-08-21 22:39:32 -07:00
sk89q
95052546a5
Remove use of Bukkit logger.
2014-08-21 22:22:28 -07:00
sk89q
768532cb8b
Re-implemented region data migration.
2014-08-21 22:00:27 -07:00
sk89q
6b7e1286f2
Merge pull request #326 from parryjacob/master
...
Remove zml-repo from pom.xml as it longer resolves.
2014-08-19 20:11:17 -07:00
parryjacob
577cfd0954
Remove zml-repo from pom.xml as it failed to resolve anymore, causing Maven builds to have to wait for extended periods of time
2014-08-19 20:54:00 -04:00
sk89q
06df4585c2
Cleanup formatting of RegionProtectionListener.
2014-08-19 00:10:40 -07:00
sk89q
416006dbde
Route XP drops through the event abstraction.
2014-08-18 23:56:39 -07:00
sk89q
5ff9f5c175
Reduce the number of internal events for EXPERIENCE_ORB.
2014-08-18 23:33:45 -07:00
sk89q
fa14184eb4
Move PISTONS flag to RegionFlagsListener.
2014-08-18 23:32:37 -07:00
sk89q
d29f66563b
Add region support check in RegionProtectionListener.
2014-08-18 23:31:52 -07:00
sk89q
53957e7b26
Add Cause.getFirstBlock().
2014-08-18 23:31:19 -07:00
sk89q
2c81cb2f84
Add isRegionSupportEnabled(World) to AbstractListener.
2014-08-18 23:31:09 -07:00
sk89q
711fe7ad2f
Add Materials.isPistonBlock().
2014-08-18 23:30:36 -07:00
sk89q
f6f94571ea
Handle pistons in the event abstraction.
2014-08-18 21:37:41 -07:00
sk89q
985629c196
Create RegionFlagsListener and rename some methods.
2014-08-18 19:15:40 -07:00
sk89q
bb64079d17
Raise SpawnEntityEvent for BlockExpEvent.
2014-08-18 18:56:07 -07:00
sk89q
c3363f0d70
Disable sponge simulation by default.
...
Vanilla Minecraft will have sponges again, plus it is uses up CPU time even if players can't get sponges.
2014-08-18 12:32:28 -07:00
sk89q
937a5758f7
Don't perform spatial queries for location->location checks until needed.
2014-08-18 11:26:02 -07:00
sk89q
bb1826bdb1
Cache the set made in ApplicableRegionSet.
2014-08-18 11:04:36 -07:00
sk89q
1a781fc5b0
Try last ChunkState accessed in ChunkHashTable.
2014-08-18 10:57:02 -07:00
sk89q
039d174477
Reduce the number of BlockFromTo events handled.
2014-08-18 10:40:09 -07:00
sk89q
929f9e99cd
Catch FileNotFoundException in YamlFileStore.
2014-08-18 10:39:53 -07:00
sk89q
ae8bf63c86
Remove use of ObjectArrays.concat() in ApplicableRegionSet.
2014-08-18 03:05:06 -07:00
sk89q
3eb5c65a3d
Throw IllegalArgumentException if trackParentCause() is given a Block.
2014-08-18 02:35:41 -07:00
sk89q
095f2aa67e
Don't check region group if the flag value is null.
2014-08-18 02:32:05 -07:00
sk89q
0f10e89f7c
Add getConfig() to AbstractListener.
2014-08-18 02:23:33 -07:00
sk89q
3a2b453e3f
Change some collections and cache player names.
2014-08-17 20:17:52 -07:00
sk89q
c43a24d78f
Abandon TreeSet in ApplicableRegionSet for performance reasons.
2014-08-17 19:18:21 -07:00
sk89q
d43eb3bc34
Optimize the query cache a bit.
2014-08-17 19:08:20 -07:00
sk89q
3ca147e405
Don't check metadata on Blocks in Cause.
...
We don't track causes on Blocks. There's no need for the performance hit.
2014-08-17 15:23:34 -07:00
sk89q
41fb8a0722
Implement Associables to handle non-player region membership checks.
2014-08-17 13:16:45 -07:00
sk89q
ff3fa759d1
Don't throw an internal block break event when lighting TNT.
2014-08-17 00:49:50 -07:00
sk89q
cab42af53b
Reimplemented the quirks of the old flag code.
2014-08-17 00:49:32 -07:00
sk89q
d9d665ab14
Add some extra tests to ApplicableRegionSetTest.
2014-08-16 21:09:12 -07:00
sk89q
fac6ebef40
Implement new methods for accessing flags.
2014-08-16 21:09:01 -07:00
sk89q
a4fd29c30c
Switch SquirrelID version to 0.1.0.
2014-08-16 21:08:18 -07:00
sk89q
59c7197229
Fix Maven accessing dead repositories.
2014-08-16 21:08:17 -07:00
sk89q
e7c9703ced
Fix checkstyle issues.
2014-08-16 21:08:17 -07:00
sk89q
5a63115fb2
Don't make membership always override the BUILD flag anymore.
2014-08-16 21:08:17 -07:00
sk89q
4597849466
Allow __global__ BUILD to be set to DENY.
2014-08-16 13:55:54 -07:00
sk89q
a35aaf9659
Force __global__ BUILD flag to NONE.
...
This is due to the legacy reason of the global region having not
been previously processed as a regular region.
2014-08-16 13:54:04 -07:00
sk89q
bfb3f9e840
Change state flag defaults to true.
2014-08-16 13:45:16 -07:00
sk89q
91e34601ec
Add supervisor/task library in.
2014-08-16 13:42:14 -07:00
sk89q
7481acba8c
Updated FlagValueCalculator to treat global regions a lowest priority region.
2014-08-16 13:30:58 -07:00
sk89q
4d43ef5305
Change flags to use ALL as their region group.
2014-08-16 13:08:09 -07:00
sk89q
b1fb143fd4
Add a new (unused for now) flag value implementation.
...
It supports region groups and fixes inconsistency issues.
2014-08-16 02:42:02 -07:00
sk89q
d07e81288a
Make the state flag test use a Predicate for membership testing.
2014-08-15 14:16:05 -07:00
sk89q
c0d4ba5c6c
Swap the if() in the state flag test to make it more readable.
2014-08-15 13:54:33 -07:00
sk89q
8a11752253
Fix a typo in ApplicableRegionSet and improve docs.
2014-08-15 12:41:28 -07:00
sk89q
1d24be8c34
Rewrite state calculation in ApplicableRegionSet to be easier to read.
2014-08-15 12:30:37 -07:00
sk89q
d3f3489c7e
Fix child regions not inheriting parent flags.
...
This also fixes a unit test.
2014-08-15 03:48:25 -07:00
sk89q
3f16fef57e
Fix and improve protection handlers.
2014-08-15 01:43:37 -07:00
sk89q
608d782321
Activate debugging listener of the property "worldguard.debug.listener" is true.
2014-08-14 22:23:47 -07:00
sk89q
5d6dad4c6d
Don't remove child regions without warning.
...
Also add some missing files.
Fixes WORLDGUARD-2311.
2014-08-14 21:41:44 -07:00
sk89q
28c538e981
Refactor region commands and make the necessary ones run in the background.
2014-08-14 21:24:32 -07:00
sk89q
a35cb9277e
Handle CommandException in WorldGuardPlugin.convertThrowable().
2014-08-14 21:24:02 -07:00
sk89q
e43ce420a3
Make UUID detection in DomainInputResolver reusable.
2014-08-14 21:23:26 -07:00
sk89q
501a7aa77a
Add ProtectedRegion.copyFrom().
2014-08-14 21:22:39 -07:00
sk89q
76f7ac8d8e
Remove deprecation on getRegion() in RegionManager.
2014-08-14 21:22:15 -07:00
sk89q
518d5958c9
Update some region commands to run in the background.
2014-08-14 16:21:10 -07:00
sk89q
7e25de38da
Update Javadocs in RegionContainer.
2014-08-14 15:20:08 -07:00
sk89q
bf8ef39871
Handle null players in shim method of GlobalRegionManager.
2014-08-14 15:17:00 -07:00
sk89q
cd62af698b
Change listeners to use the region query cache.
2014-08-14 14:52:11 -07:00
sk89q
709ce9eb08
Fix a typo in some Javadocs.
2014-08-14 02:46:19 -07:00
sk89q
e24d7ccb10
Change "don't have permission" message for regions.
2014-08-14 02:44:42 -07:00
sk89q
98bbd900cb
Rename RegionQuery.testEnabled() -> testState().
2014-08-14 02:39:42 -07:00
sk89q
19b87b628a
Remove use of GlobalRegionManager in RegionProtectionListener.
2014-08-14 02:39:12 -07:00
sk89q
dc2652f87b
Implement an ApplicableRegionSet cache.
2014-08-14 02:33:57 -07:00
sk89q
99660920d7
Refactor region API with new RegionContainer object.
2014-08-14 01:24:38 -07:00
sk89q
ad1c10a3e9
Reorganize Bukkit portion of the region API.
2014-08-13 14:06:37 -07:00
sk89q
5b685e71d3
Add ChunkHashTable.awaitCompletion().
2014-08-13 07:51:13 -07:00
sk89q
5ddc4b9251
Properly convert chunk coordinates in ChunkHashTable.
2014-08-13 01:02:55 -07:00
sk89q
38587a1c61
Add a hash table index for regions that hashes on chunk coordinates.
2014-08-13 00:34:36 -07:00
sk89q
eb23e28c16
Handle Tameable as a cause.
2014-08-12 23:17:36 -07:00
sk89q
4379c7e989
Handle Vehicle.getPassenger() as a parent cause.
2014-08-12 23:15:47 -07:00
sk89q
989ce82c5d
Merge branch 'feature/event-abstraction' into feature/region-api-update
2014-08-12 19:49:52 -07:00
sk89q
f92e55e061
Simplfy Cause objects.
2014-08-12 19:48:20 -07:00
sk89q
0fc3d21b90
Add abstracted event debugging listener.
2014-08-11 20:08:56 -07:00
sk89q
26d3645f86
Improve level of event listening.
2014-08-11 20:08:38 -07:00
sk89q
110aa2e56b
Clean up docs / code for utility classes.
2014-08-11 17:54:55 -07:00
sk89q
05369b69b6
Reorganize classes into different packages.
2014-08-11 17:51:00 -07:00
sk89q
4a501a49db
Abstract events for regions and blacklists further.
2014-08-11 17:48:40 -07:00
sk89q
2a69d1c7c9
Merge pull request #324 from Torm/master
...
Fix heal command for players with more health than 20
2014-08-10 21:03:28 -07:00
Torm
573204caad
Fix heal command for players with more health than 20
2014-08-11 00:02:26 +02:00
sk89q
7a01168781
Rewrite region API. Migrations need to be re-implemented.
...
This commit, however, adds:
* Better support for background saves and loads.
* Periodical writes of region changes rather than explicit save() calls.
* Rewrite of the MySQL region code.
* Support for partial saves when using MySQL.
* Decoupling of region index implementations and RegionManager.
What still needs to be done includes:
* Background region modification operations (addmember, etc.).
* Unit tests to verify correctness of the partial saving.
* Migration support (to be re-added).
* Better handling when regions are failing to save.
* Testing of the /rg load and /rg save commands.
* Verification of how server shutdown / world unload is handled.
* Verification that thread-unsafe concurrent saves of data is not happening.
2014-08-08 20:28:49 -07:00
sk89q
b5dfed9e01
Update for dependency package rename.
2014-08-02 23:35:12 -07:00
sk89q
29f804b9f0
Save YAML regions database to a temporary file before renaming.
2014-08-02 21:22:32 -07:00
sk89q
504fceceeb
Remove /wg cancelall because it doesn't entirely work yet.
2014-08-02 21:19:05 -07:00
sk89q
9a852f4cbe
Fix shutdown guard not working.
2014-08-02 21:08:11 -07:00
sk89q
fafd3aba6a
Implement UUID migration.
2014-08-02 21:03:17 -07:00
sk89q
d87a335e85
Disable Flyway validation on migration.
2014-08-02 21:00:02 -07:00
sk89q
471b4496c9
Add task management and improve threaded code.
2014-08-02 18:38:18 -07:00
sk89q
32e39f5c7c
Make some dependencies optional=true.
2014-08-02 11:25:27 -07:00
sk89q
bf48361b10
Switch to Odeum for executors.
2014-08-02 11:24:25 -07:00
sk89q
387431c9c7
Remove both UUID and names from domains for removal commands.
2014-08-02 10:03:41 -07:00
sk89q
9b69c07663
Show name: for legacy names in region domains.
2014-08-02 09:53:35 -07:00
sk89q
a1d59373ac
Re-configure how libraries are shaded.
2014-08-02 09:49:52 -07:00
sk89q
81a727fe7f
Add support for UUIDs in region commands.
2014-08-02 09:32:30 -07:00
sk89q
189fd15498
Close connections properly in MySQLDatabaseImpl.chooseWorldId().
2014-08-01 22:32:13 -07:00
sk89q
1a602f2f8a
Implement UUID saving/loading support for regions.
...
Also fix WORLDGUARD-3117.
2014-08-01 22:31:58 -07:00
sk89q
7986238936
Add migrations for region MySQL support.
2014-08-01 21:29:40 -07:00
sk89q
a2fc9c94fd
Fix NPE when a manager fails to load.
2014-08-01 20:02:50 -07:00
sk89q
51f98c9eb7
Reorganize MySQL region DB and added BoneCP as a dependency.
2014-08-01 19:19:48 -07:00
sk89q
418b8ff6a7
Add support for UUIDs in domains.
2014-08-01 17:36:56 -07:00
sk89q
9cab51dac8
Merge pull request #322 from zreed/master
...
Use table prefix when deleting from region_poly2d_point.
2014-07-29 21:00:41 -07:00
zreed
26ac987024
Use table prefix when deleting from region_poly2d_point.
2014-07-29 21:11:44 -04:00
sk89q
e44875532d
Fix NPE in BlacklistEntry due to recent refactor.
2014-07-28 21:02:15 -07:00
sk89q
956d1b4248
Add support for data values in the blacklist.
2014-07-28 16:45:43 -07:00
sk89q
3aa8bbe947
Fix .gitignore ignoring too many things.
2014-07-28 16:45:24 -07:00
sk89q
f46b1cb138
Change use of integer IDs to "Target" objects in blacklist code.
2014-07-28 15:58:07 -07:00
sk89q
5b5022b0b8
Change blacklist repeated event tracking to use an expiring cache and cause names as keys.
2014-07-28 15:01:01 -07:00
sk89q
d93c7fa09d
Add on-dispense blacklist event.
2014-07-28 14:48:30 -07:00
sk89q
2c1d1ef0a3
Remove attachment check because it doesn't really make sense.
2014-07-28 14:45:05 -07:00
sk89q
bf97e41697
Rewrite blacklist code.
2014-07-28 14:38:43 -07:00
sk89q
c0852d63fe
Add asynchronous region load/save for YAML databases.
...
These changes are intentionally limited so as to maintain backwards
compatibility with existing plugins using WG's API.
Some data structures were changed to CopyOnWrite to ensure thread
safety and the map of regions was changed to a ConcurrentHashMap.
Currently, saving requires making a copy of the regions map which can
cause a delay of a few milliseconds on large data sets.
2014-07-24 18:49:40 -07:00
sk89q
acc39e11b1
Handle null causes by skipping them.
2014-07-24 17:38:18 -07:00
sk89q
b4880ae982
Modularize potion blocking via the configuration.
2014-07-24 16:08:30 -07:00
Wyatt Childers
1a1acae588
Slight performance optimization to the movement checks to improve performance with slow permissions plugins
2014-07-23 22:26:34 -04:00
sk89q
1581390092
Add unit test to test global command blacklist with region command whitelist.
2014-07-21 19:52:27 -07:00
sk89q
cd221ea19c
Refactor command filter into a unit tested class.
...
Also adds support for regex \s as the subcommand delimiter.
2014-07-21 19:36:25 -07:00
sk89q
abeab91be4
Add messages warning about auto-god mode and auto-amphibious mode.
2014-07-18 18:39:49 -07:00
sk89q
227f54d315
Remove extraneous file.
2014-07-13 15:11:53 -07:00
sk89q
ac88367f6c
Handle null custom flags registered by third-party plugins.
...
See WORLDGUARD-3094.
2014-07-13 02:23:04 -07:00
sk89q
f788f0e0d9
Add internal.check-attached-blocks option to check attached blocks.
...
This does not check the other way yet (i.e. check if other blocks depend
on the block in question).
2014-07-12 21:14:26 -07:00
sk89q
9a4bc70cdd
Added basic abstracted events.
2014-07-12 20:59:33 -07:00
sk89q
ab46fd6244
Add Guava and jsr305 to dependencies.
2014-07-12 19:38:30 -07:00
sk89q
6deafa660d
Cleanup code and add checkstyle configs from WorldEdit.
2014-07-12 19:31:43 -07:00
sk89q
0d2adc5707
Add more detail error messages when parsing regions file.
2014-07-11 13:20:42 -07:00
Albert Pham
b0ed119585
Merge pull request #263 from kukelekuuk00/patch-1
...
Add some command aliases to RegionMemberCommands
2014-07-06 15:55:43 -07:00
sk89q
ff2462b084
Removed initial AUTO_INCREMENT values from region_storage.sql
...
The MySQL code in WG makes my eyes bleed.
2014-07-06 15:38:25 -07:00
sk89q
894a42ea13
Merge pull request #316 from zreed/sqltableprefix
2014-07-06 15:37:26 -07:00
sk89q
d827e01760
Merge pull request #313 from TheCutter/master
2014-07-06 15:09:51 -07:00
sk89q
5e6de8b76d
Added runtime CraftBukkit dependencies.
2014-07-06 15:03:22 -07:00
sk89q
b298bedea0
Set saturation level to food level with feed flag.
2014-06-26 17:47:14 -07:00
TomyLobo
fb5ae838d9
Merge pull request #315 from eswick/master
...
Convert region ID to lowercase when saving polygon points to MySQL database.
2014-06-23 19:14:47 +02:00
eswick
3bfcd69fd9
Convert region ID to lowercase when saving polygon points to MySQL database. Check number of points in polygonal region before registering it.
...
When saving the points of a polygonal region to a MySQL database, the region ID was not converted to lowercase. If a region ID contained a capital letter, upon reload no points would be found, causing an out-of-bounds exception and essentially leaving WorldGuard unuseable.
2014-06-22 14:13:45 -04:00
Wizjany
c66adf0119
Removed sensitive info from reports.
2014-06-17 23:24:13 -04:00
TheCutter
2119b274fd
Merge branch 'master' of https://github.com/sk89q/worldguard
2014-06-14 21:36:06 +02:00
wizjany
22f45c45ee
Apply obsidian generator disabling to tripwire.
2014-05-07 13:09:06 -04:00
wizjany
0dd9729b35
Fixed logic error in blocked-cmds for real this time.
...
Closes WORLDGUARD-3050.
2014-04-29 12:01:38 -04:00
wizjany
ff46c2cf54
Fixed logic error in blocked-cmds checkings.
...
Closes WORLDGUARD-3048.
2014-04-26 11:31:24 -04:00
TheCutter
1537fc879e
fixed indenation
2014-04-19 15:53:15 +02:00
TheCutter
f00352cde0
updates comments
2014-04-19 11:03:03 +02:00
TheCutter
fdc74b1c0d
fixing syntax for guideline
2014-04-18 20:21:48 +02:00
TheCutter
83a3c61b66
fixed memory leak with closing mysql resources
2014-04-18 20:10:32 +02:00
wizjany
4422d536b7
Fixed a compilation error due to a sort-of-but-not-really-breaking bukkit change.
2014-02-28 21:21:00 -05:00
wizjany
1f40908c04
[maven-release-plugin] prepare for next development iteration
2014-02-28 20:03:38 -05:00
wizjany
b707289284
[maven-release-plugin] prepare release 5.9
2014-02-28 20:03:35 -05:00
wizjany
43486bda63
Fix versioning error for release
2014-02-28 20:01:37 -05:00
sk89q
7086a1d0d2
Prepared release of v5.9.
2014-02-28 16:45:09 -08:00
TomyLobo
4dd13bd925
Merge pull request #310 from jmhertlein/master
...
Fixed ProtectedCuboidRegion::getPoints() returning points in wrong order
Fixes com.sk89q.worldguard.protection.regions.RegionIntersectTest.testIntersection.
2014-02-28 08:19:30 +01:00
TomyLobo
4ce97bca0e
Added a unit test for ProtectedRegion.intersectsEdges.
2014-02-28 00:48:40 +01:00
Joshua M Hertlein
ec9712f30e
Fixed ProtectedCuboidRegion::getPoints() returning points in wrong order
...
ProtectedPolygonRegion returns points in an order such that you could play "connect the dots" and end up with the correct polygon. ProtectedCuboidRegion returns them in an order such that playing connect the dots gives you a Z shape. This breaks the intersectsEdges() function in ProtectedRegion when comparing cuboids. This commit causes ProtectedCuboidRegion::getPoints() to return them in an order consistent with ProtectedPolygonRegion, which makes intersectsEdges() work correctly.
2014-02-25 13:51:57 -06:00
Albert Pham
0162910964
Added <distributionManagement> to pom.xml
2014-02-23 22:26:36 -08:00
TomyLobo
c252a79c1a
Copied some .gitignore entries from WorldEdit.
2014-02-10 08:52:29 +01:00
Luke Anderson (stuntguy3000)
89739d4efe
Change Resume to Continue
2014-01-27 10:51:35 +10:30
Luke Anderson (stuntguy3000)
9c7fb6a1d3
Changed halt-activity: Added Silent (s) and Information (i) flags, Added Resume (r) flag, remove c flag.
2014-01-26 12:56:59 +10:30
wizjany
2df3290d38
Fixed snowman trails being treated as snow fall.
2014-01-11 16:08:26 -05:00
wizjany
4805df2f03
Fix being able to use bonemeal to turn tall grass into double plants.
2014-01-08 14:56:59 -05:00
wizjany
5bc670db8b
Fixed CI link in readme.
2014-01-08 14:56:58 -05:00
Wizjany
ffda88f193
Fix number of args for migratedb command.
2013-12-14 17:21:07 -05:00
Dark Arc
96a69aa2ef
Resolved an issue where explosions of type OTHER_EXPLOSION were ignoring the world config settings
2013-12-11 00:53:49 -05:00
wizjany
2d90fddbee
Check for entities and projectiles removing items from frames too.
2013-12-09 17:46:33 -05:00
wizjany
bbd1a0ef10
Protect items in item frames in protected regions.
2013-12-09 08:40:28 -05:00
TomyLobo
6b16ed79b3
Merge pull request #298 from md-5/herd_u_like_ifs
...
Using checked exceptions for control flow is slow. Lets replace it with an isEmpty check.
2013-12-09 00:28:16 -08:00
md_5
73b9a7fb0d
Using checked exceptions for control flow is slow. Lets replace it with an isEmpty check.
2013-12-09 19:22:48 +11:00
wizjany
4a0ae833f0
Revert WE dependency to 5.5.8.
...
WorldGuard didn't use any new API since then,
so depending on an unstable snapshot wasn't necessary.
2013-11-18 15:30:17 -05:00
wizjany
5f32ebe2de
Fix compile-time error due to 23766f20
2013-11-17 21:16:51 -05:00
Albert Pham
723928d239
Merge pull request #289 from sk89q/develop
...
Tiny changes extracted from various branches.
2013-11-17 15:03:19 -08:00
TomyLobo
d024ed7b81
typos, unused imports
2013-11-17 23:59:02 +01:00
TomyLobo
ec4143d3dc
Bumped WE dependency to 5.5.9-SNAPSHOT.
2013-11-17 23:48:19 +01:00
TomyLobo
071fdaabd3
Added *.iml and .idea to .gitignore.
2013-11-17 23:48:18 +01:00
TomyLobo
23766f20dd
Transformed the BlockFadeEvent handler into a switch.
2013-11-16 17:35:35 +01:00
TomyLobo
31739c647b
Dissolved a .* import.
...
Rationale: grepping for qualified class names
2013-11-16 17:35:35 +01:00
Dark Arc
faa016180a
Added a config option to allow explosion flags to only prevent block
...
damage
2013-09-22 15:39:10 -04:00
wizjany
e26238e814
Added formatting codes, &k/l/m/n/o and &x (reset).
2013-08-31 10:07:46 -04:00
wizjany
f8ed1a3e3e
Make /rg list default to own regions if the player doesn't have permission otherwise.
2013-08-27 23:36:01 -04:00
Wizjany
d47c255168
Check bypass perms for item-drop flag.
2013-08-20 17:03:00 -04:00
wizjany
d1e7796f81
Added allow-tamed-spawns setting, on by default.
...
This will stop WorldGuard from culling tamed animals
in regions with mob-spawning deny when they log in
with their owner.
2013-08-20 14:58:46 -04:00
Wizjany
1095064c5e
Update CommandBook dependency to 2.3.
2013-08-18 23:32:51 -04:00
wizjany
a15c9d289b
There have been bigger non-backwards-compatible changes since.
2013-08-18 18:48:31 -04:00
wizjany
c0f95bebf0
Send item-use blacklist event when right-clicking entities.
2013-08-16 13:17:28 -04:00
wizjany
0a54779fc4
Added snow-fall-blocks option to config to restrict snow fall to certain blocks
2013-08-12 18:09:45 -04:00
wizjany
ac525958c5
Added config option and flag to prevent soil from drying naturally.
2013-08-12 18:06:31 -04:00
wizjany
458cf64501
Fixed addowner/addmember commands adding command artifacts.
...
Specifically, "-w <world>" will no longer be added when using it.
This requires WorldEdit with commit cd5f832 or newer.
Additionally fixed a typo: DefaultDomain.removaAll -> removeAll.
2013-08-03 09:46:29 -04:00
wizjany
4acef77623
Fixed milking cows in protected areas.
...
It seems that Bukkit changed the return of the bucket/itemstack
methods in the event, causing WG to think a different bucket was used.
2013-07-30 11:14:59 -04:00
TomyLobo
d38d7fc492
Changed entity report format slightly.
...
This makes it clearer to users what that floating point number means.
2013-07-30 12:15:28 +02:00
wizjany
2510c3eeb5
Allow players to add newlines (\n) via command, not just manually in yml.
2013-07-25 13:10:16 -04:00
wizjany
326d53fd09
Allow the console to load/save all region managers with one command.
2013-07-25 10:12:03 -04:00
sk89q
75b3082b12
[maven-release-plugin] prepare for next development iteration
2013-07-16 11:07:26 -07:00
sk89q
1f214aadee
[maven-release-plugin] prepare release 5.8
2013-07-16 11:07:06 -07:00
sk89q
174b3fad15
Updated Maven release plugin to 2.4.1.
2013-07-16 10:45:44 -07:00
sk89q
07531f67d4
Updated org.bukkit:bukkit dependency to 1.6.2-R0.1-SNAPSHOT.
2013-07-16 10:35:30 -07:00
sk89q
291c45064a
Bumped version to 5.8-SNAPSHOT, updated CHANGELOG.txt.
2013-07-07 12:28:57 -07:00
sk89q
6f56cb29a5
Fixed -w flag for /rg load and /rg save.
2013-07-07 12:14:41 -07:00
sk89q
977c7d2f29
Changed DoubleFlag and IntegerFlag to take java.lang.Number objects in unmarshal().
2013-07-07 11:45:22 -07:00
sk89q
ecb87efe8d
Update Bukkit dependency to version 1.6.1-R0.1-SNAPSHOT.
2013-07-07 11:42:24 -07:00
sk89q
a57c162cd8
Convert heal flags datatype from integer to double.
...
Existing data should be cast with no data loss.
2013-07-07 11:38:03 -07:00
wizjany
60c3ed4f6b
Polish the fix from the last commit and straighten some other multiworld issues in the move handler.
2013-06-23 20:17:20 -04:00
wizjany
714e75eb95
Potential fix for broken multiworld states.
2013-06-23 16:35:57 -04:00
Wizjany
636819c801
Revert change to permissions node for flags.
...
region.flag.own/member/etc was region.flag.regions.own/member/etc
This shouldn't be changed in between, especially if we maintain compatibility with the other flag node (flag.flags).
2013-06-20 00:52:59 -03:00
wizjany
9a6c2e0685
Finish reverting changes from earlier
2013-06-10 23:12:06 -04:00
wizjany
736eecc13b
Add config option to use player teleports for move events.
...
Additionally removed code duplication in Vehicle listener.
2013-06-08 12:04:58 -04:00
TomyLobo
4718c5dab0
Removed unused imports.
2013-06-07 14:06:07 +02:00
Albert Pham
7e9bd49da2
Added mobs.disable-snowman-trails.
2013-06-02 13:23:01 -07:00
wizjany
a0d0ff0b92
Lighter changes in BlockIgnite as well
2013-06-02 11:19:12 -04:00
wizjany
b41be0c319
Added a static WorldGuardPlugin instance and made the utility methods in RegionCommands static.
2013-06-01 18:14:59 -04:00
wizjany
17a466059e
A few changes in the new region commands.
...
- Allow setting flags on the global region (bugfix)
- Don't throw permissions errors when listing available flags (bugfix)
- Info command defaults to global region if no others are present (enhancement)
- A few typo and spacing fixes (enhancement)
2013-06-01 17:39:49 -04:00
wizjany
2d9e95a63e
Revert lighter changes for now. This brings back the odd behaviors between flint & steel and fire charges, but makes it more intuitive for protection.
2013-06-01 10:14:56 -04:00
Albert Pham
532a45f9e7
Offering a sacrifice to the gods of pedantry. canX() -> mayX() for permissions.
2013-05-31 22:06:37 -07:00
Albert Pham
d61e32ebb5
Cleaned up RegionCommands, abstracted region permissions.
2013-05-31 21:56:32 -07:00
Albert Pham
b7d38e94c8
Added -a flag to region remove owner/member commands to remove all.
2013-05-29 13:24:40 -07:00
wizjany
ae158742f6
[maven-release-plugin] prepare for next development iteration
2013-05-26 17:20:00 -04:00
wizjany
c35686f8d1
[maven-release-plugin] prepare release 5.7.5
2013-05-26 17:20:00 -04:00
wizjany
a5b6651582
Update CHANGELOG for 5.7.4 and 5.7.5
2013-05-26 17:10:35 -04:00
wizjany
54973fdf82
Large patch with lots of changes and fixes.
...
- Unified movement checking. Teleporting is now handled by
entry/exit flags. Additionally, a region movement event is
much closer to being added.
- Fixed an issue with enderpearls and exit/entry flags conflicting.
- Fixed a null check issue in several commands.
- Fixed allowed and blocked command flags making false matches and
improved support for blocking/allowing specific command args.
2013-05-26 17:08:51 -04:00
wizjany
0bee631385
Use getName instead of toString for displaying world name.
2013-05-15 07:56:04 -04:00
wizjany
6283382837
Fixed a few movement flag related issues.
...
WG no longer prefixes greeting/farewell flags with '**', allowing people to customize the message.
(Adding &c** to the beginning of the message will give previous behavior)
Removed the "game mode locked" message since it returns false gamemodes when being called inside a player move event.
2013-05-05 10:57:46 -04:00
Silthus
39bb522051
Fixes heal flag bugs when player.maxHealth > 20
...
With the new Bukkit Changes the Player Health can be above 20, this fixes the magic number by using the now built in Bukkit functionality.
Examples of this bug were Health jumping to 1/20 hearts when having a heal-amount: -1
2013-05-04 11:47:43 +03:00
wizjany
bf80d57abe
Add fishing to xp blocker.
2013-04-21 08:59:24 -04:00
wizjany
865b94006a
Apply other-explosion flag to entity damage as well.
2013-04-09 17:23:56 -04:00
wizjany
874248f8b5
Fix other explosion flag only clearing blocklist
2013-04-09 12:25:05 -04:00
steffen
cef7d5bb12
Fix explosion check order
...
If the explosion is blocked and the block damage is also blocked, it's necessary to block the explosion (which includes the damage) instead of just the block damage.
2013-04-01 18:34:11 -04:00
wizjany
2a8131780f
Don't ignore canceled air right click events.
...
Apparently Bukkit pre-cancels them even if they would do something.
2013-03-31 19:13:05 -04:00
Wizjany
7094f70f4a
Remove duplicate check. (derp)
2013-03-31 19:13:04 -04:00
wizjany
df5af6129c
Improved lighter handling.
2013-03-23 21:10:30 -04:00
wizjany
a6888c3767
Respect LIGHTER flag for ignition build checks
2013-03-23 15:19:56 -04:00
wizjany
1bd367ddde
Fix one last witherskull/fireball conflict
2013-03-22 19:28:18 -04:00
wizjany
0cf87ae561
Allow cow milking in no-build areas
2013-03-22 15:35:30 -04:00
wizjany
fa80f5f67f
Fix infinite durability.
...
For whatever reason, the Bukkit API thinks that 'Durability" and "Damage"
are synonymous.
2013-03-18 13:25:11 -04:00
sk89q
7f080f920d
[maven-release-plugin] prepare for next development iteration
2013-03-16 22:17:14 -07:00
sk89q
13658323b4
[maven-release-plugin] prepare release 5.7.3
2013-03-16 22:16:51 -07:00
sk89q
2d440ab5ba
Cleaned up pom.xml.
2013-03-16 22:01:14 -07:00
sk89q
dc55673691
Updated changelog for 5.7.3.
2013-03-16 21:12:26 -07:00
wizjany
92bb3948a6
Fix for minecart naming
2013-03-16 21:47:31 -04:00
wizjany
f67ad6478c
[maven-release-plugin] prepare for next development iteration
2013-03-15 16:01:09 -04:00
wizjany
1d984198ce
[maven-release-plugin] prepare release 5.7.2
2013-03-15 16:01:02 -04:00
wizjany
f2ca980771
Update changelog to 5.7.2
2013-03-15 15:44:48 -04:00
wizjany
b826697aea
Add flag check to smelting/mining xp handling
2013-03-15 15:44:34 -04:00
wizjany
89430c13ec
Handle TNT Minecarts with tnt flag/settings.
2013-03-15 15:32:57 -04:00
Wizjany
f07acea3e1
Updated to MC 1.5
2013-03-15 14:42:20 -04:00
wizjany
e9402c55e6
Fixed a bunch of small bugs
2013-03-14 18:45:05 -04:00
wizjany
2eb6c76da8
Fix stack issue.
2013-03-13 14:38:28 -04:00
Wizjany
a34e48a145
Added unit test for entry and exit flags to put the matter to rest.
...
Also cleaned up a few other things regarding tests.
2013-03-01 22:20:16 -05:00
Wizjany
2d50659b48
Apply exp flag and config setting to xp bottles.
...
"Workaround" for not being able to blacklist exp bottles at the moment.
Although I supposed I could have just fixed that instead, this allows more flexibility.
2013-02-21 10:20:47 -05:00
Wizjany
327ae2b807
Apply crop trampling setting to all entities.
2013-02-21 10:13:17 -05:00
Luuk Jacobs
e831b7facc
Add some command aliases to RegionMemberCommands
2013-02-19 10:24:35 +01:00
Wizjany
dfb6114584
Fix a few wolf issues
2013-01-31 08:23:38 -05:00
Wizjany
5085841d9d
[maven-release-plugin] prepare for next development iteration
2013-01-30 16:26:26 -05:00
Wizjany
7a98944469
[maven-release-plugin] prepare release 5.7.1
2013-01-30 16:26:20 -05:00
Wizjany
3d2b455cda
Update changelog for 5.7.1
2013-01-30 16:21:55 -05:00
Wizjany
460d5d0691
Made wolves respect pvp stuff. Removed some extraneous code.
2013-01-30 15:27:52 -05:00
Wizjany
b5f80351ec
Allow a lot of commands to be sent from the console.
...
Examples:
/rg addmem <id> <player> -w <worldname>
/rg flag <id> <flag> -w <worldname> <flagvalue>
/rg remove <id> -w <worldname>
Command blocks are currently untested.
List of commands: flag, priority, parent, remove,
addmember, removemember, addowner, removeowner
2013-01-30 14:45:29 -05:00
Wizjany
72a9472a57
Add vine growth flag and config option.
2013-01-30 14:02:45 -05:00
Wizjany
7eb820c688
Fixed bug where players could place beds on the borders of regions without permissions
2013-01-30 13:47:48 -05:00
Wizjany
886b279da6
Bugfixes for bonemeal and minecarts.
2013-01-27 22:43:29 -05:00
Wizjany
f2d7135fc5
Check shooter of projectile when one hits a hanging entity
2013-01-25 21:07:11 -05:00
Wizjany
d214a859c3
Check the block that the item frame will end in, not the block the player clicked.
2013-01-21 04:08:17 -05:00
Wizjany
d1e221c2b7
Don't cancel explosion if we only want to clear blocklist. May potentially cause issues with multiple settings overlapping.
2013-01-19 08:46:51 -05:00
Dark Arc
e0e4207a4d
Apply a cap to the health and hunger flags to prevent possible exceptions
...
If a player's health or hunger is set to higher than its respective maximum CraftBukkit will throw exceptions.
2013-01-16 14:48:39 -05:00
Wizjany
4398c781c5
Wither skulls should be handled separately from fireballs
2013-01-15 18:23:53 -05:00
Wizjany
3e06000fd9
Workaround for CraftBukkit bug with slab placement
2013-01-15 16:06:42 -05:00
Wizjany
833795ebe1
Add enderchest and anvil to blacklist inventories.
2013-01-14 13:31:54 -05:00
Wizjany
6e270d5ec3
Setting summary-on-start to false reduces much more clutter now
2013-01-13 17:21:51 -05:00
Wizjany
09a9bea3a7
Move enderchest to use flag
2013-01-13 16:10:06 -05:00
Wizjany
035ccee2a6
Fixed placing stuff in flower pots. (derp)
2013-01-13 13:44:54 -05:00
Wizjany
17aa2a4153
Fix region teleport permission
2013-01-13 06:13:41 -05:00
Wizjany
f5bc5c0b47
That was not in there
2013-01-13 03:48:11 -05:00
Wizjany
e7a4afde7d
[maven-release-plugin] prepare for next development iteration
2013-01-13 03:08:17 -05:00
Wizjany
8758c9b940
[maven-release-plugin] prepare release 5.7
2013-01-13 03:08:13 -05:00
Wizjany
a569d20779
Remove max players flag for now.
...
There are currently too many unhandled circumstances
which can easily break this flag such as players
entering region in weird ways (teleporting, falling,
logging in) and states changing. It is also horribly
inefficient at the moment.
2013-01-13 02:34:34 -05:00
Wizjany
88e01fa083
Fix enderpearl flag properly
2013-01-12 11:39:59 -05:00
Wizjany
7b435f9283
Added changelog for 5.7. Incremented version in pom.xml.
2013-01-12 00:25:55 -05:00
Wizjany
a240e5d128
Added config option to block zombies from breaking down doors
2013-01-12 00:25:55 -05:00
Wizjany
0d0ba31d3a
Fixes for tripwire, flower pots, wooden buttons, ender chests, and sneaking
2013-01-12 00:25:54 -05:00
Wizjany
e79bb3533d
Fireball flag should block blaze fireball ignition too now
2013-01-12 00:25:54 -05:00
Wizjany
f94c4ec831
Mob damage setting/flag blocks poison DoT
2013-01-12 00:25:54 -05:00
Wizjany
d5afb76105
Added config setting and flag to block explosions by plugins.
2013-01-12 00:25:53 -05:00
Wizjany
dd7e9ba05e
Add enderpearl flag to prevent players from teleporting to/from regions with enderpearls
2013-01-11 18:21:20 -05:00
Wizjany
ee54698fdb
Fix players being able to plant cocoa beans in protected areas
2013-01-11 17:54:29 -05:00
Wizjany
955b0e991c
Added MAX_PLAYER and MAX_PLAYER_MESSAGE flags
...
Allows setting maximum number of players in a region
and sends a message if a region is at capacity.
2013-01-11 17:09:15 -05:00
Dilandau
c1b98b9e40
Decrease call to PluginManager in WGBukkit
...
If WorldGuard is already found we bypass the call to
the PluginManager and use a cached version.
2013-01-11 16:16:49 -05:00
Dark Arc
d6939b7916
Allow EnderPearls to damage the player who threw them in no-pvp areas
2013-01-02 19:46:41 -05:00
Dark Arc
5f0ca37879
Add support for blocking sub commands
2013-01-02 19:03:22 -05:00
Wizjany
548bdb7eb5
Attempt to fix item frame issues
2012-12-31 17:03:14 -05:00
Wizjany
5c85f39228
Block snowballs in pvp regions again. Reverts 671fd58568
2012-12-30 15:11:19 -05:00
Wizjany
85b2cbc03a
Null check for entity explosions without an entity.
2012-12-29 11:46:24 -05:00
Wizjany
cc78011da6
Build on latest Bukkit snapshot. Closes WORLDGUARD-2381
...
Fixes EntityChangeBlockEvent errors. Note that 1.4.5-R0.3-SNAPSHOT means build 2505+ and that there ARE 0.3 snapshots below 2505. Thus, this should be treated as temporary and changed on the next Bukkit Beta.
2012-12-29 11:46:14 -05:00
Dark Arc
d016da1895
Resolves WORLDGUARD-2316 TNT still lethal when its damage is disabled
2012-11-24 02:42:28 -05:00
Dark Arc
8593f1c80a
Resolves WORLDGUARD-2352 Anvils usable despite the use flag
2012-11-24 02:25:59 -05:00
Dark Arc
0b3c40dc3e
Implements WORLDGUARD-2315 Enderdragon portal blocking
2012-11-24 02:17:34 -05:00
sk89q
2e7ecc59c0
Fixed typo where BEACON was COMMAND_BLOCK instead.
2012-11-11 19:08:31 -08:00
sk89q
942ce95dbf
Fixed #WORLDGUARD-2297, Beacons are not protected in regions.
2012-11-11 18:45:55 -08:00
sk89q
03f77d5ab7
Fixed #WORLDGUARD-2296, Recent fix for dragon eggs in regions not working for left click.
2012-11-11 18:43:34 -08:00
sk89q
8dec32fa6a
Added workaround for #WORLDGUARD-2299, java.lang.IllegalArgumentException: Instant potions cannot be extended.
2012-11-11 18:41:18 -08:00
sk89q
8f409d47d9
Fixed #WORLDGUARD-2289, FlagStateManager is not thread synced with the main thread.
2012-11-11 18:36:08 -08:00
sk89q
93f062d4e3
Hey, we have a mailing list now! Subscribe! https://groups.google.com/d/forum/sk-dev-discuss
2012-11-07 13:00:44 -08:00
Dark Arc
b8f9ceafbb
Resolves comma issue relating to flag listing
...
This stops commas from being added when a player types in an invalid flag and the player does not have permission to use one or more of the flag that are listed.
2012-11-07 14:20:44 -05:00
sk89q
75d07b6dad
[maven-release-plugin] prepare for next development iteration
2012-11-07 09:19:50 -08:00
sk89q
6060a0a430
[maven-release-plugin] prepare release 5.6.5
2012-11-07 09:19:35 -08:00
sk89q
647ba1572c
Updated CHANGELOG.txt for 5.6.5.
2012-11-07 09:10:20 -08:00
sk89q
051e0cb811
Fixed regression bug cause item frames and paintings to not be protected.
2012-11-07 09:07:38 -08:00
sk89q
b8c9e78910
[maven-release-plugin] prepare for next development iteration
2012-11-06 20:39:09 -08:00
sk89q
2d7d9c6093
[maven-release-plugin] prepare release 5.6.4
2012-11-06 20:38:50 -08:00
sk89q
0f32f56208
Updated CHANGELOG.txt for 5.6.4.
2012-11-06 20:35:18 -08:00
sk89q
5addfd8975
Added security.deop-everyone-on-join and security.block-in-game-op-command.
2012-11-06 20:32:15 -08:00
sk89q
7f108ce8f0
Changed dragon eggs to be checked like it is a broken block in regions.
2012-11-06 20:19:16 -08:00
sk89q
8c883e1ca8
WGBukkit is not supposed to be there. Now in com.sk89q.worldguard.bukkit.
2012-11-06 19:26:05 -08:00
sk89q
d18fe6ffa0
Worked around bug with water potions causing errors.
2012-11-06 19:21:12 -08:00
sk89q
80a8ac9e98
Added mobs.block-above-ground-slimes to block slimes spawning naturally above ground (in swamps).
2012-11-06 18:49:32 -08:00
Dark Arc
671fd58568
Stop snowball blocking
2012-11-06 18:59:08 -05:00
Dark Arc
c4ea3b59f0
Resolve WORLDGUARD-2281, for Dispensers
2012-11-06 18:44:36 -05:00
Dark Arc
5d5def206d
Actually corrected Javadoc
2012-11-06 18:07:26 -05:00
Dark Arc
b2ebbb9b55
Corrected Javadoc
2012-11-06 18:04:22 -05:00
Dark Arc
3734c071bf
Fixes WORLDGUARD-2281, NPE on Water Potion Drinking
...
This resolves the issue where WorldGuard would throw a NullPointerException when a player drank a potion of water while potion blocking was enabled.
2012-11-06 18:01:13 -05:00
sk89q
b1a419f2a2
[maven-release-plugin] prepare for next development iteration
2012-11-05 12:40:01 -08:00
sk89q
bf5e292160
[maven-release-plugin] prepare release 5.6.3
2012-11-05 12:39:46 -08:00
sk89q
df57d91270
Possibly fixed the ladder setting.
2012-11-05 12:28:40 -08:00
sk89q
4da1741578
kekekeke forgot static in WGBukkit's methods.
2012-11-05 12:22:04 -08:00
sk89q
7a3774e730
Updated CHANGELOG.txt for 5.6.3.
2012-11-05 12:20:13 -08:00
sk89q
e6e21caeea
Added helper WGBukkit class to get references to WorldGuard in other Bukkit plugins.
2012-11-05 12:12:25 -08:00
sk89q
200d47ab09
Added physics.vine-like-rope-ladders to make ladders work like vines.
2012-11-05 11:32:40 -08:00
sk89q
ab274151d4
Potential fix for WORLDGUARD-2263, mobs.block-{item-frame,painting}-destroy not working.
2012-11-05 11:27:35 -08:00
sk89q
aec1e3a529
Fixed NPE in PlayerInteractEvent due to potion blocking. Fixes WORLDGUARD-2269.
2012-11-05 11:09:14 -08:00
sk89q
916caa1eb2
[maven-release-plugin] prepare for next development iteration
2012-11-04 14:49:50 -08:00
sk89q
50b29f8ad6
[maven-release-plugin] prepare release 5.6.2
2012-11-04 14:49:35 -08:00
sk89q
88d662cf27
Updated CHANGELOG.txt for 5.6.2.
2012-11-04 14:48:30 -08:00
sk89q
5316130ae8
Better handle potion blocking with dispensers/splash potions.
2012-11-04 14:46:36 -08:00
sk89q
4f36dbc636
[maven-release-plugin] prepare for next development iteration
2012-11-04 13:48:25 -08:00
sk89q
230a8697bf
[maven-release-plugin] prepare release 5.6.1
2012-11-04 13:48:08 -08:00
sk89q
121449b230
Updated changelog for 5.6.1.
2012-11-04 13:44:52 -08:00
sk89q
fede549b51
Added gameplay.block-potions.
2012-11-04 13:42:55 -08:00
sk89q
1bdd7f9a6b
Fixed a tab issue with WorldGuardBlockListener due to the mycelium commit.
2012-11-04 13:12:06 -08:00
sk89q
b3f9da67b7
Changed version to 5.6.1-SNAPSHOT.
2012-11-04 13:06:35 -08:00
sk89q
1ba7d623b4
Adds null check in EntityExplodeEvent's handler, fixing WORLDGUARD-2267.
2012-11-04 13:05:25 -08:00
Gabriel Harris-Rouquette
47902e1177
Added mycelium-spread flags.
2012-11-03 15:31:16 -07:00
sk89q
a035bcc671
[maven-release-plugin] prepare for next development iteration
2012-11-03 12:38:06 -07:00
sk89q
9bcc6b9605
[maven-release-plugin] prepare release 5.6
2012-11-03 12:37:52 -07:00
sk89q
282c3a864e
Updated CHANGELOG.txt for 5.6.
2012-11-03 12:15:43 -07:00
sk89q
eb083a8934
Updated README.html to mention the moved spawn-protection setting, added more explanations.
2012-11-03 12:15:43 -07:00
sk89q
0fc71ff79e
Note the issue tracker in README.html.
2012-11-03 12:15:43 -07:00
sk89q
68a7455496
Added backwards compatibility for versions below MC1.4.
2012-11-03 12:15:43 -07:00
Dark Arc
fcfc3acbb8
Improved Performance of some operations
...
Replaced quite a few whiles and fors with for-eachs giving a performance gain. Also fixed a few issues with the MySQLDatabase and made several other minor improvements.
2012-11-03 00:19:40 -04:00
sk89q
aa53c0aa6a
We have a new issue tracker.
2012-11-02 18:15:02 -07:00
Dark Arc
f098905a92
Fixes WORLDGUARD-2205
...
Mob Damage from projectiles is now properly blocked in regions where applicable.
2012-11-02 21:07:38 -04:00
Dark Arc
eec78092b5
Allow damage to be less than 1
...
This resolves problems with mods that use fake damage events to check with WorldGuard what's going on.
2012-11-02 20:57:24 -04:00
sk89q
34fa5eceb8
Fixed WORLDGUARD-2255, where region.getId() was lowercase'd each pass of a for loop in MySQLDatabase.updatePoly2dPoints().
2012-11-02 14:13:53 -07:00
Dark Arc
c32d2dd6f8
Fixes WORLDGUARD-2254
...
Players will now be told that they are in a no-PvP area if they are in one and attempting to attack someone, or that the player they are attacking is in a no-PvP area, if that is the case instead.
2012-11-02 17:06:35 -04:00
Dark Arc
da80d3536a
Fixes WORLDGUARD-2253
...
Players who are not in god mode will once again receive damage in PVP areas from Ender Pearls.
2012-11-02 17:06:33 -04:00
sk89q
e9361022d2
Protected against using (right-clicking) paintings and item frames.
2012-11-02 13:41:53 -07:00
sk89q
dd0c1a5ab5
Fixed Withers still breaking blocks if they smash their bodies into them. Fixes WORLDGUARD-2245.
2012-11-02 12:20:59 -07:00
Wojciech Stryjewski
bb9dff7b8c
Deleting a region flag also deletes group flag
...
The group flags set with /region flag -g have no effect if the
normal flag is not also set, nor will they be displayed with
/region info once the normal flag is deleted. However, if a
group flag was to remain set in the database, the next time a
user sets the normal flag, they might be surprised to suddenly
see the corresponding group set as well.
Since the -g group is presented to the user as an attribute of
the normal flag, rather than a standalone flag, the group flag
should be deleted along with the normal flag.
2012-11-01 22:43:24 -07:00
Wojciech Stryjewski
7e419c116e
Allow /region flag to set group and value at once
...
The usage for "/region flag" implies both can be set at once:
/region flag <id> <flag> [-g group] [value]
However if the [-g group] [value] portions are specified, only
the group is set and the value is silently ignored. With this
commit, both values can be set at once. All other behavior of
the "flag" command is preserved. If only the [-g group] part is
given, then only the group flag changes and the regular flag's
value is unaffected. If neither part is given, then the flag is
cleared.
2012-11-01 22:43:23 -07:00
Wojciech Stryjewski
2cbc2f5226
Allow removing of -g group flags with /region flag
...
The @Command parser requires that a value follow the -g option when
used in /refion flag. Therefore, it's not possible to remove the -g
flag by omitting it's value, as it is possible with the regular flags.
Rather, if the group flag is set to what would be the default region
group for the normal flag, then the group flag is actually removed
and the user sees a "Region group flagfor '...' reset to default."
message.
2012-11-01 22:43:23 -07:00
Wojciech Stryjewski
68b5e3e0a8
Improve /region info output for -g group flags
...
If a region group flag has been set with the -g option to /region flag
the /region info command will not show it at all because these group
flags are not in the DefaultFlag.getFlags() array.
With this code change, if a group flag has been set on "entry" for
example, it might be shown as "Flags: entry -g OWNERS: ALLOW".
2012-11-01 22:43:23 -07:00
BangL
1502ec12a9
Added support for the hanging events, an item frame destroy region flag, and a mobs.block-item-frame-destroy setting.
...
Now also using Bukkit 1.4.2-R0.2-SNAPSHOT and WorldEdit 5.4.4-SNAPSHOT.
2012-11-01 22:35:15 -07:00
sk89q
6d09b18479
Check for both LARGE_FIREBALL and FIREBALL for the EntityType in the entity listener.
...
This is to counteract a breaking Bukkit change.
2012-10-30 09:24:10 -07:00
Dark Arc
08ce207636
Fixed bugs in the PRTreeRegionManager class:
...
* Point would not be returned if the player was at point which exceeded the flat decimal maximum of a region.
* The getAplicableRegionIDs method would not return the parents of a region.
* All test would fail
2012-10-29 12:14:11 -07:00
sk89q
f199b977eb
Added more tests for the PRTreeRegionManager to fail.
2012-10-29 12:14:10 -07:00
sk89q
5715e2c835
WorldGuard has good unit tests for regions, why not use them for PRTreeRegionManager?
...
LET'S WATCH THE WORLD BURN.
2012-10-29 12:14:10 -07:00
sk89q
b8642b7ca3
Tiny change to PRTree version to make it load a Java6 compile.
2012-10-29 12:14:10 -07:00
Wizjany
2c4d4708d8
Added parent region checking to PRTree manager as per Dark_Arc's specifications.
2012-10-29 12:14:10 -07:00
Darth Android
0edb6e6157
Include the PRTree library in generated artifacts
2012-10-29 12:14:10 -07:00
Darth Android
4f394b5668
Update PRTree library to v1.5
...
Updated PRTreeRegionManager code to support 3D points and regions
Changed region manager to PRTreeRegionManager
2012-10-29 12:14:09 -07:00
Glitchfinder
9834c30e3a
Adding and fixing support for new and existing explosion types.
2012-10-28 20:23:36 -07:00
sk89q
f3f1b0870f
Changed default region wand to leather ( #334 ).
2012-10-28 14:12:10 -07:00
sk89q
915d314c18
Removed <modules> that magically appeared thanks to Eclipse.
2012-10-28 14:07:41 -07:00
sk89q
02b3ae6aa5
Added mobs.block-wither-block-damage.
2012-10-28 14:01:17 -07:00
sk89q
f725e73653
Move to WG 5.6-SNAPSHOT and Bukkit 1.4.2-R0.1-SNAPSHOT.
2012-10-28 14:01:17 -07:00
sk89q
c5858ef202
Removed <packaging> from pom.xml.
2012-10-28 13:56:46 -07:00
sk89q
ba2fd2ca2e
Brought README.md and CONTRIBUTING.md inline with latest updates.
2012-10-28 13:54:06 -07:00
Wojciech Stryjewski
1075d36748
Fix spurious comma in "Flags:" /region info output
...
When the "/region info" command displays any flags in the region,
it always prints an extra leading comma character after the
"Flags:" prompt.
2012-10-24 12:48:38 -05:00
sk89q
3ee3799e55
I'm OCD like that. Changed WG->${project.name} in readme, added license ver. to README.md.
2012-10-24 00:29:20 -07:00
sk89q
6654b0a67a
More readme cleanup.
2012-10-24 00:29:20 -07:00
sk89q
9577c93edb
Better place for README.md logo URL.
2012-10-24 00:29:20 -07:00
sk89q
7cd67281bc
Move extraneous files to contrib/, added region_storage_update_20110325.sql to assembly.
2012-10-24 00:29:20 -07:00
sk89q
d21c226183
Modernized README.html.
2012-10-24 00:29:19 -07:00
sk89q
4322236b9e
Updated the ancient README.html.
2012-10-24 00:29:19 -07:00
sk89q
05e408ee65
Updated README.md.
2012-10-24 00:29:19 -07:00
sk89q
3d1012ba94
Cleaned up pom.xml and updated CommandBook to 2.1.
2012-10-24 00:29:19 -07:00
sk89q
94937e41ef
Changed the region MySQL database to marshal and unmarshal values using YAML, which should fix the notable problems regarding non-string flag data types.
2012-10-24 00:28:43 -07:00
sk89q
3957aa83fc
Say hi to travis-ci.
2012-10-24 00:28:43 -07:00
Rutr
8aa79d1c4c
Fixed detection damager(when attac by magic) http://redmine.sk89q.com/issues/901
2012-10-19 09:02:19 +02:00
sk89q
578eeff0e1
[maven-release-plugin] prepare for next development iteration
2012-10-07 10:47:07 -07:00
sk89q
5f2f1c67f5
[maven-release-plugin] prepare release 5.5.4
2012-10-07 10:46:51 -07:00
sk89q
c92b9c3d97
Updated CHANGELOG.txt.
2012-10-07 10:40:00 -07:00
sk89q
0951d00da3
Fixed permissions for region loading/saving.
2012-10-06 21:47:37 -07:00
zml2008
6df9c3660b
Merge pull request #201 from eric-wieser/patch-1
...
Did `wcfg.useRegions` really need to be checked twice?
2012-09-16 12:31:17 -07:00
Alexander
19be2bf96e
Updated fireball item blocking
2012-08-23 12:41:36 +02:00
Fletch to 99
e10ed6ac7a
Report the amount of plugins loaded
2012-08-12 16:56:22 -03:00
sk89q
479ebf4d89
Copying and pasting is bad. Fixed references of worldedit -> worldguard in new pom.xml changes.
2012-08-11 00:28:02 -07:00
sk89q
1f1e36e9f7
Updated pom.xml for license, distributionManagement, maven-site-plugin.
2012-08-11 00:26:06 -07:00
TomyLobo
27e634ae03
Fixed a warning.
2012-08-11 04:37:49 +02:00
unknown
e60b20b37b
Add 'use' flag to cakes
2012-08-10 22:33:55 +02:00
zml2008
684214ff6a
Update for async player chat stupidity
2012-08-04 19:56:48 -07:00
sk89q
ba5be6071f
Added regions.use-creature-spawn-event configuration setting.
2012-07-23 13:45:04 -07:00
TomyLobo
6c8d13690e
Fixed eggs, snowballs and the likes being dupable with /stack.
2012-07-16 16:08:04 +02:00
TomyLobo
3e0b2ef3e4
Upped Bukkit dependency version to 1.2.4-R4.1.
2012-07-14 00:16:45 +02:00
sk89q
c5304d2775
[maven-release-plugin] prepare for next development iteration
2012-07-07 10:55:58 -07:00
sk89q
ca95ae04a5
[maven-release-plugin] prepare release 5.5.3
2012-07-07 10:55:45 -07:00
sk89q
1ab9f85ca6
Updated CHANGELOG.
2012-07-07 10:39:37 -07:00
sk89q
01ff1b2f8f
Added host key check.
2012-07-07 10:33:18 -07:00
Zak Ford
9b17fe68e7
Added configuration option to allow plugin creature spawns
2012-07-01 16:02:24 -04:00
zml2008
0fed35a80f
Add bypass handling to the gamemode flag
...
Set a player's previous gamemode when exiting a gamemode region to the server's default gamemode if there is not a previous gamemode already set
2012-06-15 14:14:13 -07:00
TomyLobo
25280c9fa9
Set Bukkit dependency to R2.1.
...
That's the current CraftBukkit++ version.
2012-06-11 03:31:50 +02:00
TomyLobo
a98ebfdb21
Updated dependencies and added support for fireball item blocking (id 385).
2012-06-07 13:26:28 +02:00
Eric Wieser
acb1d18654
Did wcfg.useRegions really need to be checked twice?
2012-04-28 18:18:51 +02:00
TomyLobo
18b5a4e106
Added @Ignore to TestPlayer.
...
Stupid old mavens...
2012-04-23 11:07:05 +02:00
md_5
bab420a359
Add item drop pickup flag for regions.
...
Closes #200
2012-04-20 20:25:25 -07:00
zml2008
4f14f1f736
Correctly convert \n to a newline for String flags
2012-04-16 17:00:41 -07:00
zml2008
166831447c
Split the region greeting with \n
...
Improve input handling of EnumFlag
Don't block gamemode changing after the gamemode flag is no longer in
effect but while the move event is still firing
2012-04-15 21:19:02 -07:00
zml2008
f2bd5961d0
Add GameMode flag
2012-04-15 21:19:02 -07:00
zml2008
2cc990a530
Prevent commands in the allow commands list from being blocked and vice versa
2012-04-15 21:19:02 -07:00
TomyLobo
f0e6008563
Updated bukkit dependency to 1.2.5-R1.2-SNAPSHOT.
2012-04-15 19:36:15 +02:00
zml2008
93f19cca0a
[maven-release-plugin] prepare for next development iteration
2012-04-10 18:30:42 -07:00
zml2008
1cbe508f82
[maven-release-plugin] prepare release 5.5.2
2012-04-10 18:30:36 -07:00
zml2008
0c178c3155
Added recent commits to the changelog
2012-04-10 18:20:57 -07:00
zml2008
e67304389d
Added send-chat and receive-chat flags
2012-04-07 14:43:51 -07:00
zml2008
ad5b1cdcba
Make sure to update CommandBook installed status in onEnable
2012-04-07 13:46:25 -07:00
zml2008
fe1e09289f
Add entity-painting-destroy flag to prevent entities from destroying paintings
2012-04-07 13:45:46 -07:00
zml2008
583ea76e4b
Added potion splash flag to prevent splash potions from affecting entities
2012-04-07 12:11:00 -07:00
zml2008
a7d198893e
Revert "Added allow-flight boolean flag for regions"
...
This conflicted with plugins maually setting a player's allow flight setting
This reverts commit 16ce56c1ad .
2012-03-31 07:53:42 -07:00
Nicholas Steicke
fe62c8d0c5
Fixed regions with same name in different worlds not behaving correctly
...
Fixed database connection timing out
Added an error to be thrown explictly when the DB needs updating
Added a generic exception for Fatal errors when loading configuration
Exit the server when we encounter a fatal configuration exception
2012-03-27 17:18:39 -07:00
Deaygo
16ce56c1ad
Added allow-flight boolean flag for regions
...
Closes #198
2012-03-24 18:45:56 -07:00
zml2008
15f0bfb9db
Update changelog for release
2012-03-23 21:47:34 -07:00
TomyLobo
22db589742
Restructured /rg list.
...
- When used with a player name to filter things down, it displays indexes that can be used as "#index" in place of region names now.
- No longer displayer "+-regionname" for regions the target player is the owner of.
2012-03-23 15:13:46 +01:00
TomyLobo
69119e6db7
Added ProtectedRegion.isOwner/Member(String playerName).
2012-03-23 15:13:45 +01:00
TomyLobo
690da2332b
Added Domain.contains(String playerName).
2012-03-23 15:13:45 +01:00
sk89q
f2fead1444
Changed broadcastNotification() to also check if the player has permission via superperms, in addition to being in the Permissible set.
2012-03-18 13:13:13 -07:00
TomyLobo
c4f6267921
A cancellable event is now fired if WorldGuard disallows PvP.
2012-03-17 09:16:03 +01:00
TomyLobo
0dc65d083f
Made /region setparent check worldguard.region.setparent.own/member.<parent> instead of worldguard.region.setparent.own/member.<child>.
...
Same with worldguard.region.setparent.<id>
2012-03-12 15:08:35 +01:00
TomyLobo
40c1d93f02
Allowed passing #<index> in place of a region ID, where <index> is the index as displayed by /region list.
...
/region claim/remove/redefine are exempt from this and require exact matches.
2012-03-12 15:05:59 +01:00
TomyLobo
2024a93126
Fixed an error that occured when clearing a non-existant region's parent.
2012-03-12 15:05:32 +01:00
TomyLobo
88d79a42e6
Added a -s flag to /region teleport, which sends you to the spawn point instead of the teleport point of a region.
2012-03-12 10:40:03 +01:00
TomyLobo
b01b2cce9b
Added region/role-based permissions to /region teleport.
2012-03-12 10:39:23 +01:00
TomyLobo
c5b1089c96
Changed source and target java version to 1.6 and set the WE dependency to 5.3-SNAPSHOT.
2012-03-12 08:04:08 +01:00
TomyLobo
679e43758b
BREAKING CHANGE: Added a LocationFlag class and made the teleport and spawn flags use it.
...
This means all teleport and spawn flags are cleared.
This also means that world, yaw and pitch are now saved with these flags.
2012-03-12 06:52:36 +01:00
TomyLobo
90e6e5a96c
/region info -s now selects the region being queried.
2012-03-12 05:53:58 +01:00
TomyLobo
4fb003c4df
Added /region teleport <id>.
2012-03-11 19:31:02 +01:00
TomyLobo
9d5f349a04
Vector flags can now be set to the current location with the value "here" and to a specific position with x,y,z.
2012-03-11 19:08:25 +01:00
TomyLobo
f4f4a47a7f
Made /region info show the region you're in if you don't specify an id explicitly.
2012-03-11 19:08:24 +01:00
TomyLobo
6a3e987668
/region info changes
...
- Fixed /region info <world> <id> checking the wrong permission
- Condensed /region info output a bit
- Cleaned up the source a bit
2012-03-11 19:07:25 +01:00
TomyLobo
83f943965f
Made /region info show the region you're in if you don't specify an id explicitly.
2012-03-11 19:07:25 +01:00
zml2008
c9fdff169f
Prevent block ignition from lightning strikes if lightning is blocked in region.
...
Fixes #1175
2012-03-10 21:33:24 -08:00
zml2008
5454832918
Fix trailing whitespace and correctly check both permisions systems in WorldGurdPlugin.broadcastNotification()
2012-03-10 17:56:02 -08:00
zml2008
3d6d774b17
Use ignoreCancelled for event cancelled checking
2012-03-08 19:29:53 -08:00
zml2008
1463547af4
Destroy fire blocks when fire-spread is disallowed
2012-03-08 19:03:05 -08:00
TomyLobo
0bcf4b3597
Added a "none" category to region group flags (aliases noone and deny).
2012-03-08 10:30:57 +01:00
TomyLobo
824e8dcb4b
Added a construct flag that can be used to restrict block placing/destroying in zones to certain roles.
2012-03-08 10:18:27 +01:00
TomyLobo
4b2f0c8020
Let's not confuse certain highlighters.
2012-03-08 02:05:33 +01:00
Wizjany
7fd424cf65
Added FallingSand to list of intensive entities to be removed with /halt-activiy.
2012-03-03 21:27:35 -05:00
zml2008
5ff2855eb0
Fix entry and exit group flags not working, fix vehicle destroy flag not being allowed with canBuild
2012-03-03 16:46:06 -08:00
TomyLobo
8c8c162a54
Replaced all usage of CreatureType by EntityType.
2012-03-02 20:21:04 +01:00
TomyLobo
37d52f3688
Commented an unused local variable.
2012-03-02 20:10:51 +01:00
TomyLobo
f361cbfa71
Removed unused imports.
2012-03-02 20:03:18 +01:00
sk89q
ddefbfe2cf
Fixed NPE with null ItemStack for pumpkin scuba in EntityDamageEvent.
2012-03-02 10:33:14 -08:00
sk89q
10296cb736
Made auto-god-mode disabled by default again.
2012-03-01 20:57:34 -08:00
zml2008
49dc0599c9
Remove leftover 128 value, fix RegionGroup.ALL handling
2012-03-01 20:49:01 -08:00
zml2008
14348e170b
Revert a few of the region flag changes. This should fix issues people have been having at least for now.
2012-03-01 20:11:51 -08:00
zml2008
59d1f0d817
5.5.1 release, bump to 5.5.2-SNAPSHOT to fix stuff
2012-03-01 20:11:50 -08:00
sk89q
e024f134a4
Fixed another NPE with the infinite stack remover.
2012-03-01 20:06:02 -08:00
sk89q
cf5a5b5b47
Fixed NPE in PlayerInteractEvent regarding infinite stack removal.
2012-03-01 19:52:53 -08:00
sk89q
e957f92496
Added sign protection check disable.
2012-03-01 18:51:44 -08:00
TomyLobo
9484bb9941
Fixed some more warnings.
2012-02-25 18:58:22 +01:00
TomyLobo
d781f9822f
Removed some unused imports.
2012-02-25 18:54:46 +01:00
Wizjany
7845ef2de4
Revert b918b2914.
...
That breaks it, look at the other use flags before making changes.
2012-02-22 11:36:30 -05:00
zml2008
a9d4ecf33d
Improved some group flag defaults to match pre-change behavior
2012-02-20 15:17:34 -08:00
zml2008
6f4a62c7a3
Cleaned up javadoc, deprecated duplicate methods, other cleanup
2012-02-20 15:14:55 -08:00
zml2008
6b4f872742
Added a RegionGroupFlag to evey region flag
...
Using the /region flag command with -g, the region group that the region flag applies to can be set
Many canBuild checks that occurred with other flag checks have been
replced with this. Some flag checks may be incorrect, and other parts of
this system may need improvement.
2012-02-19 23:31:55 -08:00
zml2008
ef4f00f8f5
Add region information to CommandBook's /whois if CommandBook is eanbled
2012-02-19 21:26:45 -08:00
zml2008
a27deb3936
Removed suppress-tick-sync-warnings setting
...
This setting often didn't work for people, and has been replaced in CraftBukkit's bukkit.yml with settings.warn-on-overload
2012-02-19 21:24:53 -08:00
TomyLobo
18814c7373
Set WorldGuardPlayerListener.PlayerMoveHandler to default visibility, to fix a warning about unused methods.
2012-02-14 02:32:35 +01:00
TomyLobo
1d9908e1f6
Merged the handlers for EndermanPickup/PlaceEvent into a EntityChangeBlockEvent handler.
2012-02-14 02:32:24 +01:00
TomyLobo
29529e4a06
Removed unused imports.
2012-02-14 02:23:35 +01:00
TomyLobo
74b1003c4c
Upped dependency versions for bukkit and worldedit.
2012-02-14 02:21:54 +01:00
NolanSyKinsley
27ffdec323
Fixes shooting onto pvp areas from nopvp areas
2012-02-13 13:54:44 -08:00
zml2008
d9e5fc2b60
[maven-release-plugin] prepare for next development iteration
2012-02-11 16:22:22 -08:00
zml2008
646b3e3064
[maven-release-plugin] prepare release 5.5
2012-02-11 16:22:17 -08:00
zml2008
d3475208ef
Add correct git tag defaults to the release plugin config
2012-02-11 16:16:47 -08:00
zml2008
7246da472d
Added changelog for 5.5
2012-02-11 16:11:42 -08:00
zml2008
e1f917894a
Removed WorldEdit.jar from the classpath to stop conflicts with Bukkit's plugin loader
2012-02-11 12:20:56 -08:00
zml2008
c14d25f860
Now using Bukkit's tagged logging
2012-02-11 12:20:56 -08:00
TomyLobo
57ed91cd28
Updated to new event system
2012-02-11 12:20:56 -08:00
MonsieurApple
47c84beb43
Merge pull request #190 from skeight/master
...
Fix for bug #728 (Multiverse + Worldguard region with exit flag set)
2012-02-10 11:40:34 -08:00
skeight
1e3032bdce
More whitespace fixes...
2012-02-10 11:30:43 -08:00
skeight
ed69684843
Fixing up whitespace
2012-02-10 11:29:48 -08:00
skeight
2eea5c7bf7
Fix for bug #728 . Multiverse + WorldGuard region exit flag.
2012-02-10 09:06:05 -08:00
zml2008
16da53ae4e
Improved compatibility with versions of CommandBook without GodComponent and updated pom dep for 2.0
2012-02-06 20:41:39 -08:00
Nicholas Steicke
f45464b0d9
Added MySQL region storage method.
...
Also added ProtectionDatabaseException, and made use of it across the project
Closes #180
2012-02-07 00:11:55 +01:00
Wesley Wolfe
2351ade6fe
Fix inconsistent permission check
...
Closes #188
2012-02-07 00:11:54 +01:00
Turtle9598
c19ccf9278
Made explosions display their animations even when the event was blocked.
...
Closes #184
2012-02-07 00:11:54 +01:00
zml2008
5c92762ba9
Configuration should be fixed for real. Finally.
2012-02-07 00:11:54 +01:00
zml2008
e665f966e6
These checks may not work correctly, so reverted
2012-02-07 00:11:53 +01:00
zml2008
7dcca7e505
Fixed default entries not appearing in the global configuration
2012-02-07 00:11:53 +01:00
zml2008
e25049b1d6
Added fallback support for those who don't have a version of CommandBook with GodComponent
2012-02-07 00:11:50 +01:00
zml2008
da9bc4a138
Added LIGHTNING flag to DefaultFlag's flagsList
...
Fixes #1026
2012-02-06 23:06:12 +01:00
zml2008
1224d3b443
Corrected formatting of configuration files
...
Fixes #1025
2012-02-06 23:05:39 +01:00
zml2008
d33be37694
Removed /god, /heal, and /stack from WorldGuard to CommandBook. CommandBook is now checked to see whether a player is godded.
2012-02-06 23:05:30 +01:00
zml2008
551ff26a65
Removed remaining usages of org.bukkit.util.config.Configuration
2012-01-23 16:46:13 -08:00
zml2008
74082f9c68
Updated Bukkit repo
2012-01-20 23:45:39 -08:00
zml2008
b93331e184
Removed some unused configuration options
2012-01-11 18:04:14 -08:00
zml2008
d5d26168b3
Added permission worldguard.region.wand to the region wand
...
Closes #930
2012-01-10 21:15:00 -08:00
TomyLobo
9d848e222b
Fixed ProtectedRegion.compareTo.
...
It properly implements the Comparable interface now.
In particular, it now fulfills the criterion "sgn(x.compareTo(y)) == -sgn(y.compareTo(x))".
2012-01-09 14:47:59 +01:00
TomyLobo
46a2510e85
Fixed FlatRegionManager.getApplicableRegions to return parent regions as well.
...
Thanks FearThe1337 for noticing.
2012-01-09 14:10:23 +01:00
TomyLobo
0789a453a2
Added a .gitattributes file
...
This will make your diffs show method names instead of class names on the hunk headers.
2012-01-03 14:47:46 +01:00
zml2008
b30f7fe9c7
Removed usage of Material.
2011-12-31 17:57:09 -08:00
zml2008
525bd199b2
Added exp-drops flag to disable experience drops per-region.
2011-12-31 13:50:43 -08:00
TomyLobo
dffd8b59f5
Fixed some warnings.
2011-12-26 11:02:38 +01:00
TomyLobo
df206724bd
Updated dependency version for WorldGuard from 5.0 to 5.1-SNAPSHOT.
...
This fixes a warning about raw types.
2011-12-26 10:57:52 +01:00
zml2008
41f31250a9
Added support for fireballs shot by players being blocked by the PVP flag.
2011-12-24 22:49:37 -08:00
zml2008
b29007275f
Added dynamic command registration and updated for WE 5.0 API
2011-12-24 22:49:37 -08:00
TomyLobo
35f268319e
Split off ender dragon block damage from creeper block damage.
2011-12-18 23:16:12 +01:00
zml2008
6e8a185b63
[maven-release-plugin] prepare for next development iteration
2011-12-17 20:16:48 -08:00
zml2008
120fff1fc4
[maven-release-plugin] prepare release 5.4
2011-12-17 20:16:41 -08:00
zml2008
f879bd5e3a
Updated changelog for release
2011-12-17 19:37:24 -08:00
Turtle9598
01f9fd561d
Made WorldGuard check to see if both the attacker & defender are in a pvp area.
2011-12-14 20:15:42 -05:00
DerFlash
6802a7d747
Raised the priority of WorldGuard's respawn event listener.
2011-12-11 08:34:14 -08:00
DerFlash
b918b29014
Fixed not being able to fill milk buckets in build deny regions
...
Though added a check for use flag here
2011-12-11 08:29:42 -08:00
zml2008
4895a3313b
Forgot to update /slay, /wg report, and /stoplag to new commands system
2011-12-10 12:52:32 -08:00
zml2008
59673c9e66
Simplified autogod config check
2011-12-09 17:57:40 -08:00
Turtle9598
b126255be7
Fixed god mode being assigned to ops if auto enable is false and there is no permissions system
...
This fixes Bug #873
2011-12-10 01:15:14 +01:00
TomyLobo
606c9f3fd8
Revert "Readded the legacy console sender."
...
This reverts commit b1256eedcf .
Reason: this breaks if someone modifies CommandSender
The only advantage of having this class is to keep WorldGuard working with old 1.8 builds and pre-1.8 builds.
2011-12-08 14:38:05 +01:00
zml2008
aa306a8df7
Added additional worldguard.stack.damaged permissions to allow stacking of tools with a different damage value
2011-12-07 22:27:00 -08:00
zml2008
b1256eedcf
Readded the legacy console sender.
2011-12-07 22:25:41 -08:00
zml2008
4454df341f
Commented ProtectedPolygonalRegion.volume() out until someone can fix it.
2011-12-07 21:33:47 -08:00
TomyLobo
5bcac17f1c
Fixed compilation with Bukkit >= CB1564.
...
Sorry, this breaks compatibility with builds < CB1193.
2011-12-08 02:34:26 +01:00
TomyLobo
875b9f326c
Removed deprecation of RegionManager.getApplicableRegions.
...
The underlying functionality has since been implemented.
Also: woo, no more warnings
2011-12-05 06:03:52 +01:00
zml2008
a0d27c6f86
Added WorldEdit as a softdepend. This may fix some issues where WorldEdit's classes cannot be found.
2011-12-04 21:02:39 +01:00
zml2008
1d47d12189
Hopefully fixed WorldConfiguration.getKeys
2011-12-04 10:02:07 -08:00
zml2008
67f78ae8b5
Added per-group region claim maximums
2011-12-04 00:54:33 -08:00
zml2008
5948855da7
Added some more 1.0.0 blocks I forgot
2011-12-02 18:55:29 -08:00
zml2008
f6ec46cdf6
Now actually registering world events
2011-11-30 20:18:03 -08:00
zml2008
ebd2755eb2
Wrong this.
2011-11-30 19:24:53 -08:00
zml2008
78f5827d3d
Always the imports...
2011-11-30 19:04:50 -08:00
zml2008
0829070c67
Added some OSX filesystem dust to gitignore and fixed pom.xml comment
2011-11-30 19:01:05 -08:00
zml2008
8b4332e842
Updated for new commands format
2011-11-30 18:59:02 -08:00
zml2008
f904c91443
Updated for Bukkit 1.0 and handling new 1.0 block types in USE flag
2011-11-30 18:59:02 -08:00
Eric Puidokas
944539453e
Fixed feed-delay flag
2011-11-29 19:40:08 -08:00
TomyLobo
5856b002df
Added .gitignore
2011-11-28 04:39:03 +01:00
TomyLobo
12f68bc227
Fixed a warning
2011-11-28 04:37:30 +01:00
TomyLobo
de6e20d60a
Improved error messages for group and state flags.
2011-10-30 04:07:37 +01:00
Eric Puidokas
35e6ef5cd8
Implemented edge intersection checking
2011-10-19 23:48:02 +02:00
Eric Puidokas
27251dda2e
Refactored and fixed getIntersectingRegions
2011-10-19 23:47:13 +02:00
Eric Puidokas
4bb967ab4a
Added Cuboid -> Polygonal intersect tests
2011-10-19 16:21:14 +02:00
Eric Puidokas
7c1f878610
Fixed ProtectedCuboidRegion->ProtectedCuboidRegion intersection checking
2011-10-19 16:21:14 +02:00
Wizjany
e8c4c9b218
Fixed sticky pistons not being blocked by the flag in some cases
2011-10-18 17:49:05 -04:00
Eric Puidokas
bc37d365ab
Added unit tests for ProtectedCuboidRegion.getIntersectingRegions
2011-10-18 02:43:00 +02:00
TomyLobo
d9ae1bbd9f
Made LegacyConsoleSender compatible with patched Bukkit versions that add methods to CommandSender again.
...
Don't remove this again, wizjany.
2011-10-16 12:26:22 +02:00
zml2008
e492b30178
Added food level support to godmode and /heal
2011-10-15 23:51:28 -07:00
TomyLobo
920860c298
Fixed some warnings
2011-10-13 15:39:52 -04:00
Wizjany
5f8a6e3423
Workaround for tnt activating as soon as it was placed, regardless of cancellation.
2011-10-11 20:11:07 -04:00
Wizjany
3e7a5056d5
Fixed changelog not getting packaged with the release.
2011-10-09 11:51:43 -04:00
Wizjany
2ec6f04763
Implement non-economy 'buying' of regions via addowner
2011-10-09 11:51:43 -04:00
Wizjany
ecef9c9792
Hopefully fix region managers not being created correctly.
2011-10-04 17:43:27 -04:00
Wizjany
810501a508
Added the missing timer to the food flags.
2011-10-04 16:26:54 -04:00
Wizjany
6285a66d76
Fixed allowed/blocked commands not being checked early enough.
2011-10-02 13:36:09 -04:00
zml2008
72e4922e8e
Fixed config generation for Windows users
2011-10-02 01:30:10 -07:00
sk89q
c1f1885633
[maven-release-plugin] prepare for next development iteration
2011-10-01 20:52:04 -07:00
sk89q
56e514a500
[maven-release-plugin] prepare release 5.3
2011-10-01 20:51:49 -07:00
sk89q
5ede100d56
Changed WorldGuard to use WE 4.7 in the pom.xml.
2011-10-01 20:50:35 -07:00
sk89q
f1456b8101
Updated CHANGELOG.txt for 5.3.
2011-10-01 20:26:07 -07:00
Eric Puidokas
ef8eb76b16
Added protection.disable-obsidian-generators option
2011-10-01 17:16:45 -04:00
Wizjany
b4f2188f72
Added vehicle destroy flag and made players in vehicles subject to movement flags.
2011-10-01 17:16:37 -04:00
zml2008
38c30f5ecd
Should fix broken config generation some people have been getting
2011-10-01 16:17:16 -04:00
Wizjany
94c794de6f
Trailing whitespace removal
2011-09-27 06:13:19 -04:00
Wizjany
fb535e620c
Use per-world permissions if supported.
2011-09-26 01:32:48 -04:00
Wizjany
5a42980d78
Fix hunger flags and death messages.
2011-09-26 00:19:57 -04:00
Wizjany
299d2a1f01
That should probably be there
2011-09-25 23:42:50 -04:00
Wizjany
164ff5ea9a
Added missing dependency
2011-09-25 23:37:25 -04:00
Wizjany
6c89ef908a
Clean up and preparation for release.
2011-09-25 23:31:21 -04:00
Wizjany
3441ae11f2
Added legacy console sender (à la CommandBook).
2011-09-25 22:27:21 -04:00
Wizjany
c028331ef9
Added config option and flag to prevent spread of grass.
2011-09-24 22:51:36 -04:00
Wizjany
9343c300cd
Added command to flush state manager in case of emergency.
2011-09-24 22:01:07 -04:00
zml2008
63693cc529
Updated for Bukkit changes
2011-09-24 15:57:41 -07:00
Wizjany
e6de06aae8
Apply weather settings on world load.
2011-09-22 20:34:38 -04:00
Wizjany
89ce7312d1
Added config options to disable xp drops (even though they should no longer lag) and death messages.
2011-09-21 16:48:56 -04:00
Wizjany
b884787377
Fixed 1.8 chests not being blocked and future-proofed some other things.
2011-09-21 15:29:45 -04:00
Wizjany
a1427e7743
- Added flags for hunger that do the same that the health ones do (but with hunger)
...
- Added a config option and a flag to prevent endermen from picking up or placing blocks."
2011-09-20 15:44:54 -04:00
Wizjany
0c02190e19
Added fence gates to USE flag.
2011-09-19 00:58:48 -04:00
zml2008
1f7cce9535
Added experience orbs to the intensive entities list
2011-09-16 20:02:46 -07:00
Wizjany
9fea677b60
Fixed being able to eat protected cake.
2011-09-16 19:18:08 -04:00
Wizjany
6b9a3aff58
Made priming TNT by punching it with flint and steel throw a block break blacklist event.
2011-08-27 16:00:42 -04:00
Wizjany
b938271b4d
Punching fire in a region without build permissions should no longer douse the fire.
2011-08-27 13:44:40 -04:00
Wizjany
297e06ba71
Fix infinite sign bug.
2011-08-26 22:35:28 -04:00
Wizjany
a521ab76a5
Fixed interact and use blacklist events being grouped together incorrectly when right clicking a container.
2011-08-26 20:03:38 -04:00
Wizjany
b1c8fc82c4
Fixed piston events being cancelled when they shouldn't be
2011-08-25 18:48:17 -04:00
Wizjany
d4ba90c21d
Sort /region info player list alphabetically.
2011-08-24 23:48:09 -04:00
Wizjany
14dc868d45
Fixed polygon region edges being unprotected on certain edges. Thanks Droolio.
2011-08-24 17:50:25 -04:00
Wizjany
61a60ecdd6
Fallback to the global region for flags other than StateFlags. Thanks imjake9.
2011-08-24 17:40:01 -04:00
Wizjany
2b56247e21
Allow '/region info' for existing but now illegally-named regions. Thanks Moo0.
2011-08-20 02:22:45 -04:00
Wizjany
e0066e6173
Disallowed overwriting regions without specifying redefine.
2011-08-20 02:17:39 -04:00
Wizjany
b5b92f91dc
Added flag for pistons and fixed a typo in config.
2011-08-20 01:58:46 -04:00
Wizjany
7b12510182
Made sleep flag proactive enough to keep them from blowing the nether up.
2011-08-16 19:24:13 -04:00
TomyLobo
e2fc6a3ff0
Fixed heal/damage regions being shifted by half a block towards northeast.
2011-08-15 10:13:39 +02:00
TomyLobo
5acd3a7f6c
Fixed warnings.
2011-08-15 09:08:33 +02:00
EduardBaer
ce49ca0998
Fix BlockInteractBlacklistEvent
2011-08-11 22:52:20 -04:00
Wizjany
eacce487ed
Ignore NPE onCreatureSpawn and attempt to get more information about it instead.
2011-08-11 22:52:19 -04:00
Wizjany
602b1d8a27
Bugfixes. Allowed/blocked commands should now respect global flags. Region invincibility/godmode compatibility should now work instead of throwing NPEs.
2011-08-11 22:05:31 -04:00
Wizjany
dec469caef
Added worldguard.region.flag.regions permissions and flags.<flag>.own for consistency. The old ones will probably be deprecated at some point. Also cleaned up /wg report output slightly.
2011-08-10 20:16:05 -04:00
Wizjany
4194b2ca86
Added the option to disable the use of player move events. Note that this also disables features which use it such as the region entry/exit and greeting/farewell flags.
2011-08-10 20:16:05 -04:00
Wizjany
17741822c1
Allow invincibility flag to disable god mode (when set to deny) unless the player has the worldguard.god.override-regions permission.
2011-08-10 17:43:46 -04:00
Wizjany
3757056e46
Fixed up explosion handling.
2011-08-09 21:02:26 -04:00
Wizjany
0eb68ef864
Added min and max health flags to go along with the other healing flags. Also organized the flag list for readability.
2011-08-09 19:48:10 -04:00
Wizjany
3f77a9b721
Made /stack respect max stack sizes unless the user has worldguard.stack.illegitimate which will stack normally unstackable items.
2011-08-08 12:46:18 -04:00
Wizjany
321b3acf0a
Buckets now check the region that the water will end up in, not the block that was clicked
2011-08-08 09:12:10 -04:00
Wizjany
dfbbeeb473
Moved around projectile damage events in accordance to Bukkit
2011-08-07 18:42:32 -04:00
Wizjany
31d3f2e7c6
Cancel scheduled tasks on disable
2011-08-07 17:08:18 -04:00
Wizjany
40a66b9be4
Updated snow fall and added flags for snow/ice forming/melting and mushroom growth
2011-08-06 11:29:14 -04:00
sk89q
049a1fb2ed
Merge pull request #134 from halvors/cleanup
...
Cleanup, commented out some unused fields.
2011-07-17 10:50:36 -07:00
halvors
3fc68af05f
More imports cleanup.
2011-07-16 23:07:29 +02:00
halvors
c3f0c8a7a1
Oops, missed some changes.
2011-07-16 22:39:30 +02:00
halvors
cba1a95838
Cleanup, commented out some unused fields.
2011-07-16 22:26:10 +02:00
sk89q
345f4a2e0e
Removed some debugging messages.
2011-06-29 17:00:58 -07:00
sk89q
162d53b66e
Made TNT blocking more aggressive. Also fixed explosion event.
2011-06-29 16:59:31 -07:00
sk89q
bed6782a00
Made /stoplag handle TNT removal better.
2011-06-29 16:17:36 -07:00
Wizjany
d90b960597
Moved fireball handling to somewhere that actually gets called by it...
2011-06-29 15:43:01 -04:00
Wizjany
3325feb1cb
Re-enable god mode on a reload for those who need it.
2011-06-28 01:05:51 -04:00
Wizjany
62d181eb81
Made it easier for plugins to access the API without using WorldEdit vectors
2011-06-28 00:59:16 -04:00
Wizjany
1e24e9c128
Added config option to block fireball world damage only. Thanks Qalthos
2011-06-28 00:58:13 -04:00
sk89q
cfffba25cf
Added regions.invincibility-removes-mobs so you can turn on invincibility without creating the possibility about farming.
2011-06-27 13:41:27 -07:00
sk89q
671b4fe2db
Added region invincibility flag.
2011-06-27 13:36:43 -07:00
sk89q
5b300bc5d1
Changed the per-world configuration loader to also put configuration entries in the main configuration.
2011-06-27 13:13:31 -07:00
sk89q
a5332c2166
Added player-damage.disable-tnt-damage.
2011-06-27 12:57:33 -07:00
sk89q
141d5ccd25
[maven-release-plugin] prepare for next development iteration
2011-06-27 12:09:57 -07:00
sk89q
c75b9c2328
[maven-release-plugin] prepare release 5.2.2
2011-06-27 12:09:47 -07:00
sk89q
0863db8cf0
Changed configuration saving so empty lists will be added to the configuration files.
2011-06-27 12:09:03 -07:00
sk89q
53d6a272e6
[maven-release-plugin] prepare for next development iteration
2011-06-27 11:47:48 -07:00
sk89q
71467a7ae7
[maven-release-plugin] prepare release 5.2.1
2011-06-27 11:47:37 -07:00
sk89q
56fa3458ab
Updated CHANGELOG.txt for 5.2.1.
2011-06-27 11:37:22 -07:00
sk89q
82e04ac4e5
Changed /region {add|rem}{member|owner} to allow putting owners/members on the global region.
2011-06-27 11:23:33 -07:00
sk89q
564d4442fc
Added a bunch of unit tests for regions.
2011-06-27 11:10:20 -07:00
sk89q
df8fdd086b
Fixed some flag algorithm issues, added the possibility of owners and members on the global region in order to affect build.
2011-06-27 11:10:20 -07:00
sk89q
a31476251e
Fixed DefaultDomain.size() not counting players.
2011-06-27 11:10:19 -07:00
sk89q
360a655627
Added the ability to add owners/members to the global region for handling guest groups.
2011-06-27 11:10:19 -07:00
sk89q
3b871b9c00
Added more region unit tests.
2011-06-27 11:10:19 -07:00
sk89q
65834a2087
Undeprecated ApplicableRegionSet.allows(StateFlag)
2011-06-27 11:10:19 -07:00
e9d85da691
Merge pull request #107 from Moo0/infobounds
...
Add region bounds to "/region info"
2011-06-27 09:31:02 -07:00
sk89q
cfa78af654
[maven-release-plugin] prepare for next development iteration
2011-06-27 00:00:47 -07:00
sk89q
45d9119150
[maven-release-plugin] prepare release 5.2
2011-06-27 00:00:38 -07:00
sk89q
ea487eb6a4
Fixed the %online% macro requiring a player.
2011-06-26 23:41:30 -07:00
sk89q
4e295ea1eb
Updated for 5.2.
2011-06-26 23:20:43 -07:00
sk89q
32265414bd
Added Javadocs, cleaned up comments.
2011-06-26 23:19:49 -07:00
sk89q
80e706e962
Improved the API.
2011-06-26 22:50:21 -07:00
sk89q
110838715b
Gave the ability to use color colors and macros in greeting and farewell messages.
2011-06-26 21:49:34 -07:00
sk89q
b90334c8a8
Made WorldGuard catch setHeader() not being yet defined.
2011-06-26 21:49:33 -07:00
sk89q
3ce0530d5f
Updated for 5.2.
2011-06-26 21:49:33 -07:00
sk89q
7eaa84d5b1
Added disable-ice-melting, disable-snow-formation, disable-mushroom-spread, disable-snow-melting, disable-ice-formation.
2011-06-26 21:49:32 -07:00
sk89q
ad325dfedb
Added paintings to blacklist support.
2011-06-26 21:49:32 -07:00
sk89q
5bb7eb6f01
Added default.disable-health-regain.
2011-06-26 21:49:32 -07:00
sk89q
342cfc0801
Added auto-invincible-permission setting, which lets you use the permission 'worldguard.auto-invincible' to become invincible.
2011-06-26 21:49:31 -07:00
sk89q
f5c6a9f507
Flames won't appear if you are /god'ed now.
2011-06-26 21:49:31 -07:00
e843ff372e
Merge pull request #113 from Moo0/limitoverride
...
Region limit override permission.
2011-06-26 19:35:40 -07:00
sk89q
ed27ffed65
Updated the blacklist with a new ignore-perms option. No more groups! Use permissions!
2011-06-26 18:36:06 -07:00
sk89q
7995ecd867
Updated CHANGELOG.txt.
2011-06-26 17:33:59 -07:00
sk89q
fcef6679c4
Updated README.html.
2011-06-26 16:48:51 -07:00
sk89q
742b6a2e27
Made negative healing possible.
2011-06-26 16:39:41 -07:00
sk89q
258fbc8870
Improved the entry/exit flags so that it's harder to break it. Thanks to Siriuo.
2011-06-26 16:29:28 -07:00
sk89q
0fa43ee287
Added a warning about modifying region database files manually.
2011-06-26 15:11:05 -07:00
sk89q
fb39261dc7
Fixed floating point inaccuracy in onPlayerMove().
2011-06-26 14:38:56 -07:00
sk89q
7fce4bf53e
Added exit flag to deny exiting a region.
2011-06-26 14:11:11 -07:00
sk89q
13840cf61b
Changed the configuration header messages to be more helpful to new users.
2011-06-26 12:59:20 -07:00
sk89q
e26f6b5e8d
Added 'entry' flag to deny entry.
2011-06-26 12:32:01 -07:00
sk89q
767c49f9fa
Added region command whitelisting and the bypass for command checks.
2011-06-26 10:45:12 -07:00
sk89q
c9178da608
Added command blocking.
2011-06-26 10:40:08 -07:00
sk89q
855bc59a53
[maven-release-plugin] prepare for next development iteration
2011-06-26 03:15:25 -07:00
sk89q
798c22e94b
[maven-release-plugin] prepare release 5.1.1
2011-06-26 03:15:15 -07:00
sk89q
ea3be11294
Blanked default configuration files.
2011-06-26 03:13:34 -07:00
sk89q
335073b3b0
[maven-release-plugin] prepare for next development iteration
2011-06-26 03:02:11 -07:00
sk89q
2b6ee344b7
[maven-release-plugin] prepare release 5.1
2011-06-26 03:02:02 -07:00
sk89q
8f55b82e2f
Updated for 5.1.
2011-06-26 02:52:40 -07:00
sk89q
ba9cd1f3e2
Updated the README.html.
2011-06-26 02:52:13 -07:00
sk89q
e0e7ae98e7
Changed configuration files to save and also to inherit from the main configuration.
2011-06-26 02:24:50 -07:00
sk89q
b05e439da9
Cleaned up pom.xml and updated maven-assembly-plugin to 2.2.1.
2011-06-26 01:31:59 -07:00
sk89q
fb5dbbdf58
Removed .gitignore.
2011-06-26 01:28:24 -07:00
sk89q
9cb9dd0a58
Updated the README.html.
2011-06-26 01:27:55 -07:00
sk89q
276d42561e
Added more aggressive TNT flag check.
2011-06-26 00:47:58 -07:00
sk89q
44b98165ba
Added region protection to sign change event.
2011-06-26 00:24:09 -07:00
sk89q
b5088340fd
Fixed deny-spawn.
2011-06-25 23:27:01 -07:00
sk89q
b7dd63ebd9
Changed event registration to catch errors.
2011-06-25 21:46:14 -07:00
Wizjany
ba376a6326
Registering some other new events 'safely'
2011-06-22 21:29:22 -04:00
sk89q
87a43e8e8f
Made SNOW_FORM be registered programatically so it can be used on CraftBukkit versions lacking that.
2011-06-22 08:46:37 -07:00
sk89q
b62ada53c3
Re-ordered plugin enable process.
2011-06-22 08:43:10 -07:00
sk89q
4f3198b1bd
wiz makes a good point -- PROBABLY should not delete players.
2011-06-20 19:35:14 -07:00
sk89q
c9f99e0903
Added /stoplag or /halt-activity to cease all intensive operations (such as fire spread, water flow, mob spawning, etc.) and to remove mobs (except wolves) and item drops proactively for those situations when you (or someone else) messes up really badly.
2011-06-20 19:25:05 -07:00
Moo0
3b4c58b721
Add region limit override permission.
2011-06-20 17:22:33 +01:00
Wizjany
6496bbd87f
Added config option to disable mob damage for people not using regions
2011-06-15 13:02:59 -04:00
Wizjany
4ad8d362f7
Reverted change to use flag
2011-06-12 14:36:26 -04:00
Wizjany
d9aeb6afaa
Fixed NPE in last commit
2011-06-11 16:24:06 -04:00
Wizjany
d971389746
Prevent players from using bonemeal on grass if they aren't allowed to build in a region
2011-06-11 14:13:46 -04:00
sk89q
233a2bdbe7
Fixed an important bug with the algorithm for handling region priorities.
2011-06-11 01:21:08 -07:00
sk89q
2277183330
Added some more region priority unit tests.
2011-06-11 01:21:08 -07:00
Wizjany
b2cd3d31fd
Standardizing override permission nodes (with backwards compatibility)
2011-06-10 16:00:14 -04:00
Wizjany
02f6b3be42
Fixed USE flag being DENY in undefined regions
2011-06-10 15:50:03 -04:00
Wizjany
22e84321fc
Removed duplicate handling of lighter fire
2011-06-10 01:41:59 -04:00
Wizjany
c472dc89ad
Changed the way some flags were handled and canceled
2011-06-09 17:02:19 -04:00
Wizjany
b89d9d44b0
Now with 99.9% less Unknown Paste ID
2011-06-09 00:12:06 -04:00
Wizjany
a2c21f8ceb
Made anti-dumb wolf checks only apply to tamed wolves
2011-06-08 23:55:07 -04:00
sk89q
e35596b0fa
Allowed blocking weapon usage with the blacklist.
2011-06-07 16:08:50 -07:00
Wizjany
b95a7f063b
Fixed disabling durability resetting things which use durability otherwise
2011-06-07 16:32:43 -04:00
sk89q
e4bbd36d47
<= 0 health? It's too late bby
2011-06-06 16:53:11 -07:00
sk89q
9790ab29a2
Now a very proactive (but not still reserved) infinite stack checker.
2011-06-06 14:46:06 -07:00
sk89q
24cc2d3b36
Changed the proactive infinite stack check to occur on inventory open.
2011-06-06 14:35:57 -07:00
sk89q
12779699e3
Improved the infinite item stack remover by making it a bit more proactive.
2011-06-06 14:31:17 -07:00
sk89q
2188690d20
Changed leave messages to be printed BEFORE enter messages. Suggested by Protected.
2011-06-06 11:30:00 -07:00
sk89q
7059fdfd9e
Removed old/redundant code.
2011-06-06 11:29:11 -07:00
sk89q
9e1bde4b00
Merge remote-tracking branch 'remotes/origin/master'
2011-06-06 11:15:40 -07:00
sk89q
45790b60b0
Restored the configuration class name change so plugins don't have to be updated.
2011-06-06 11:08:38 -07:00
sk89q
c5f3a27d6b
Rewrote greeting/farewell and notify-enter/notify-leave flags.
2011-06-05 17:18:27 -07:00
sk89q
d9136aa407
Optimized flags scheduler.
2011-06-05 16:38:28 -07:00
sk89q
183f48a998
Rewrote how healing flags were handled.
2011-06-05 16:31:42 -07:00
Wizjany
3c5bc507a5
Added trap doors to USE flag
2011-06-03 18:05:28 -04:00
Wizjany
548dd0365c
Fixed another infinite sign...
2011-06-02 19:34:29 -04:00
Wizjany
4591fc603f
Added permission nodes as an alternative to wg-invincible and -amphibious groups.
2011-05-31 19:58:12 -04:00
Wizjany
26946feecc
Merge leafdecay flag from zml2008
2011-05-27 19:06:38 -04:00
sk89q
dd14f3c469
Fixed priorities and parent-child regions, I believe. More testing is required. Removed dated CSVDatabaseTest.
2011-05-26 21:55:23 -07:00
Moo0
69af41f1e5
Remove permission.
2011-05-24 16:25:45 +01:00
sk89q
474562455d
Abstracted chest protection.
2011-05-23 23:32:45 -07:00
sk89q
c75d612541
Cleaned up code. The configuration classes were also renamed as they did much more than just configuration.
2011-05-23 23:32:44 -07:00
sk89q
8de6ce9868
Cleaned up code from a merge.
2011-05-23 23:30:54 -07:00
sk89q
97bde50708
Fixed some chest protection issues.
2011-05-23 23:30:54 -07:00
sk89q
b23e35cf26
Improved chest-sign protection.
2011-05-23 23:30:53 -07:00
sk89q
b58e04707d
Timer flags timer removed. It will be restored when it gets rewritten to not leak memory and to handle messages better.
2011-05-23 23:30:53 -07:00
MonsieurApple
846cf63268
Merge pull request #109 from wizjany/master
...
Ghast fireballs and explosion cancelling
2011-05-23 20:04:24 -07:00
Wizjany
4850bdefdf
Added config option to disable explosion-caused damage to players.
2011-05-23 22:26:02 -04:00
Wizjany
424b580eb9
Added ghast fireball handling (instead of grouping with tnt) and fixed god mode player ignition.
2011-05-23 22:25:56 -04:00
MonsieurApple
7f8ad468ca
Merge pull request #108 from Moo0/derp
...
Bug in ProtectedCuboidRegion/getIntersectingRegions.
2011-05-23 13:55:05 -07:00
Moo0
e07e2bd7d1
Someone used the wrong variable in a for.
2011-05-23 21:44:02 +01:00
Moo0
7074963fb1
Add region bounds to "/region info"
2011-05-23 19:48:02 +01:00
MonsieurApple
88acbe655d
Merge pull request #106 from kuyanatan/master
...
Fixed config misspell
2011-05-21 11:15:51 -07:00
Natan
903ebc68a4
Worldgurad != worldguard.
2011-05-21 10:48:07 -07:00
MonsieurApple
49bdccf020
Merge pull request #103 from wizjany/master
...
Fixed some derpy fire handling
2011-05-17 07:05:09 -07:00
MonsieurApple
ba3818884d
Merge pull request #99 from Moo0/listbyname
...
Filter "/region list" by user.
2011-05-16 17:11:13 -07:00
MonsieurApple
64ce904ec1
Merge pull request #104 from wizjany/opPerms
...
Added config for op permissions
2011-05-16 17:09:59 -07:00
Wizjany
8c5f7ef020
Added config for op permissions
2011-05-16 20:03:45 -04:00
Wizjany
98426f6dcc
Added config for op permissions
2011-05-16 19:43:04 -04:00
Wizjany
f3ec873ac2
Fixed some derpy fire handling.
2011-05-16 16:27:17 -04:00
MonsieurApple
30961483e1
Merge pull request #101 from wizjany/master
...
Fixed some commands not accepting flags they should
2011-05-14 11:42:01 -07:00
Wizjany
33e0750959
General commands now use flags as intended
2011-05-14 13:19:02 -04:00
MonsieurApple
e59a07e232
Merge pull request #100 from wizjany/master
...
Painting events and snow fall flag
2011-05-13 05:20:20 -07:00
Wizjany
3b05b9be11
Added support for painting and added a flag for snow falling.
2011-05-13 00:37:48 -04:00
Moo0
943bbd9889
Show regions user is member of, as well as those user is owner of.
2011-05-08 18:55:48 +01:00
Moo0
763cf8dbda
Add ability to filter '/region list' by user.
2011-05-08 18:44:08 +01:00
sk89q
5117518d8f
Cleaned up code, removed OpenCSV code from WorldGuard. Now it's a dependency (that's compiled into the .jar).
2011-05-03 15:36:04 -07:00
sk89q
936996da17
Moved the unit tests to their proper place as recommended by the Maven gods.
2011-05-03 02:07:21 -07:00
sk89q
019a7e59b7
Alright, here's a surprise. Everything is now on Maven.
2011-05-03 02:04:55 -07:00
sk89q
428a47f889
Merge branch 'master' of https://github.com/wizjany/worldguard
2011-05-03 01:31:49 -07:00
Steven Mattera
2be2cb19b2
Uncommented line 445 on WorldGuardEntityListener
2011-05-03 01:30:07 -07:00
Steven Mattera
66ee09d050
Fixed TimedFlagsTimer to enable HEAL_DELAY,HEAL_AMOUNT,GREETING,FAREWELL,NOTIFY_GREET,NOTIFY_FAREWELL, and PASSTHROUGH Flags.
2011-05-03 01:30:07 -07:00
Steven Mattera
906dab28c1
Added MOB_SPAWNING state flag.
2011-05-03 01:30:06 -07:00
6db8e1d842
Merge pull request #94 from yetanotherx/chest-blacklist.
...
Don't deny placing a blacklisted item if the block clicked is a chest.
2011-05-03 01:32:00 -07:00
Yetanotherx
a665e86096
Don't deny placing a blacklisted item if the block clicked is a chest. People often complain that "i was just trying to open my chest" when they were holding water.
2011-04-30 12:26:39 -04:00
sk89q
b7481dbd2e
Updated config.
2011-04-24 13:14:12 -07:00
Wizjany
b1e509c6f8
Updated for 1.5 and added existing lightning protection.
2011-04-25 04:08:28 +08:00
Wizjany
1f69622a34
Added a lot of missing things to player listener.
2011-04-25 04:06:48 +08:00
Wizjany
215b2b5f75
Added config to stop players from trampling crops. Animals don't work yet (blame CraftBukkit)
2011-04-25 04:04:48 +08:00
Wizjany
1e8c91e92f
Added override for flint and steel blocking.
2011-04-25 04:04:47 +08:00
Wizjany
19d447d67d
Added handling for weather events. Depends on my craftbukkit pull request.
2011-04-24 15:55:26 -04:00
Wizjany
925fa2ee1b
Updated for 1.5 and added existing lightning protection.
2011-04-24 15:53:32 -04:00
Wizjany
1cedf0e9a0
Added a lot of missing things to player listener.
2011-04-23 19:50:58 -04:00
Wizjany
ca8bb7f5f0
Added config to stop players from trampling crops. Animals don't work yet (blame CraftBukkit)
2011-04-15 00:20:15 -04:00
Wizjany
9e15a4a557
Added override for flint and steel blocking.
2011-04-14 21:17:11 -04:00
sk89q
af5d0c4b0e
Re-added cake eat blocking on left click.
2011-04-13 03:11:05 -07:00
sk89q
08ab359534
Fixed region priorities, but it needs a test.
2011-04-13 03:07:17 -07:00
Steven Mattera
28c44e0b2f
Added MOB_SPAWNING state flag.
2011-04-13 18:07:13 +08:00
Moo0
7038f49a1a
Fix for "/region claim" claiming overlapping region when none exists.
2011-04-13 18:05:12 +08:00
sk89q
af25c15286
Merge branch 'master' of https://github.com/wizjany/worldguard
2011-04-13 03:00:27 -07:00
sk89q
ffc5281d59
Added protection.remove-infinite-stacks.
2011-04-11 12:34:11 -07:00
sk89q
ad659cd32e
Fixed a major bug with the sign chest protection. It replaced the second line of the sign with "[Lock]".
2011-04-11 11:55:12 -07:00
sk89q
afd3cbd311
Added sign chest protection (needed it for my server). Just put [Lock] on the first line and names on the next three. The first name line must be the sign creator's, so you can track who made what. Friend lists are not yet supported. People with names longer than 15 characters (I believe 16 is the max.) are out of luck.
2011-04-11 10:13:42 -07:00
sk89q
a5a5f7e24a
Made /wg report look better.
2011-04-09 02:25:47 -07:00
sk89q
1e203b58c3
Fixed a bug, partially, regarding unloaded worlds.
2011-04-07 00:22:15 -07:00
Wizjany
104b7c2cf2
Fixed falling into void and wolves still taking damage. Requires Craftbukkit 638+
2011-04-07 00:35:52 -04:00
Wizjany
355c89ecab
Added missing default global config option to file.
2011-04-07 00:35:52 -04:00
sk89q
1241e18f9c
Added /worldguard report [-p]
2011-04-03 17:20:13 -07:00
sk89q
6566acf7eb
Added more aliases to /region subcommands.
2011-04-03 11:05:48 -07:00
sk89q
4332ed92f2
Added /region select.
2011-04-03 11:04:18 -07:00
sk89q
2e7f96aab0
Fixed /region setparent.
2011-04-03 10:35:06 -07:00
Wizjany
3cb9b90ef0
Added config to disable damage from falling into the void.
2011-04-03 05:48:32 -04:00
sk89q
21a04cc8c8
Added anti-wolf-dumbness.
2011-04-02 22:44:45 -07:00
sk89q
dcc1b59627
Fixed region bypass.
2011-04-02 19:46:26 -07:00
sk89q
e8fb3e6d24
Added a region high frequency flags setting to disable high frequency flags. Enable it if you've got the system resources to support it. This covers the fire spread, lava fire spread, lava flow, and water flow flags.
2011-04-02 18:45:11 -07:00
sk89q
93d084d5ba
Caught CircularInheritanceException exception.
2011-04-02 18:02:16 -07:00
sk89q
e45ecf9c86
Added the ability to clear parents with /region setparent.
2011-04-02 18:01:59 -07:00
sk89q
beb10e22f2
Changed the /region flag flags list to check permissions.
2011-04-02 18:00:48 -07:00
sk89q
64b12f8497
Improved vehicle place flag to handle boats.
2011-04-02 17:57:58 -07:00
sk89q
0821a08df2
Updated /god to remove fire.
2011-04-02 17:53:09 -07:00
sk89q
50870a9b32
Fixed flag resolution algorithm not catching NoSuchElementException correctly. Now the spawn flag works. Note that the IDs for the spawn and farewell/greeting flags were changed.
2011-04-02 17:49:11 -07:00
sk89q
b823446e28
Fixed flags, added separate lava flow flag.
2011-04-02 17:43:01 -07:00
sk89q
48b00874e5
Removed extra space.
2011-04-02 17:23:56 -07:00
sk89q
deba6c79f3
Re-implemented the region spawn location flag.
2011-04-02 17:21:05 -07:00
sk89q
c0be10ad94
Changed /god to mention /ungod.
2011-04-02 17:05:11 -07:00
sk89q
5010d35ff3
Added a basic API.
2011-04-02 16:26:35 -07:00
sk89q
42d26a1f4f
Moved blacklist logger configuration back to be per-world.
2011-04-02 16:24:37 -07:00
sk89q
92c25d2df4
Updated default configuration file.
2011-04-02 16:22:27 -07:00
sk89q
5b5349fc34
Improved amphibious stuff, added pumpkin scuba.
2011-04-02 16:07:59 -07:00
sk89q
cc6ac93b7a
Fixed auto-god mode and auto-amphibious mode.
2011-04-02 15:58:52 -07:00
sk89q
1b843b3586
Fixed /god.
2011-04-02 15:54:41 -07:00
sk89q
3b9a426547
Fixed some flags and permissions.
2011-04-02 15:39:44 -07:00
sk89q
989ba0103d
Added snakeyaml.jar to the build.xml file.
2011-04-02 14:19:01 -07:00
sk89q
b584b996a3
Fixed parenting not saving.
2011-04-02 14:11:12 -07:00
sk89q
896c7fc467
Improved the cake processing mix to be less bitter.
2011-04-02 13:48:40 -07:00
sk89q
bd2393342f
Fixed the blacklist.
2011-04-02 13:35:57 -07:00
sk89q
762b10cb17
Fixed CSV->YAML conversion.
2011-04-02 12:15:40 -07:00
sk89q
9322eedb4e
Fixed an error with the legacy flags.
2011-04-02 11:48:06 -07:00
sk89q
4e2a902b75
Fixed flag resolution algorithm.
2011-04-02 11:47:14 -07:00
sk89q
d3b8bd6f39
Fixed more default flag values.
2011-04-02 10:41:33 -07:00
sk89q
0fa64dad7f
Fixed the default values for the flags.
2011-04-02 10:40:30 -07:00
sk89q
792e8663e6
Re-implemented the block/player interact hooks that changed in Bukkit recently.
2011-04-02 10:17:02 -07:00
sk89q
4dc999b0d9
Fixed up default configuration files.
2011-04-02 02:40:01 -07:00
sk89q
7c15c2de41
Re-added /worldguard set of commands.
2011-04-02 02:33:23 -07:00
sk89q
43137c3e53
Rolled in Stefan's changes.
2011-04-02 02:07:42 -07:00
sk89q
521ecd438e
Added proper support for global regions and a region ID validation regex.
2011-04-02 02:03:32 -07:00
sk89q
949c6599b3
Disallowed '.' in region IDs.
2011-04-02 01:41:13 -07:00
sk89q
ea79efe693
/stack re-added.
2011-04-02 01:36:05 -07:00
sk89q
b4a89462f8
/locate re-added, but it doesn't seem to work. (Potential Bukkit bug.)
2011-04-02 01:26:22 -07:00
sk89q
70bd3d0e9a
Re-added /slay and /heal.
2011-04-02 01:20:11 -07:00
sk89q
c33474e0f9
Added /god back in.
2011-04-02 01:16:10 -07:00
sk89q
3d0ebe5c91
Made /stopfire and /allowfire say the world that it was toggled for.
2011-04-02 00:42:19 -07:00
sk89q
a9ab0702e0
/region update added.
2011-04-02 00:33:07 -07:00
sk89q
9272741a3c
Added more region commands.
2011-04-02 00:18:28 -07:00
sk89q
2b72a99608
Re-added /region setparent.
2011-04-01 23:39:13 -07:00
sk89q
4c38e10fe1
Re-added /region save and /region load.
2011-04-01 23:31:28 -07:00
sk89q
7806b48d34
Re-added /region remove.
2011-04-01 23:23:23 -07:00
sk89q
9803d6b731
Improved YAML loading/saving.
2011-04-01 22:46:45 -07:00
sk89q
649db3aca2
Fixed an extraneous space in an insignificant message.
2011-04-01 22:46:26 -07:00
sk89q
b75ab68e7a
Completed marshalling implementations for all the flags and changed the LocationFlag to a VectorFlag.
2011-04-01 22:34:31 -07:00
sk89q
8ffc42d349
Added marshalling implementations for most of the flags, fixed configuration issue in WorldConfiguration.
2011-04-01 22:21:30 -07:00
sk89q
145c9750cd
Added YAML protection database driver.
2011-04-01 22:12:29 -07:00
sk89q
12647c3a6c
Project files and .gitignore should not be in the repo.
2011-04-01 18:28:23 -07:00
sk89q
056f8a57c7
Removed JSON database support. Restored flag loading support to the CSV database so that they can be ported over to the new format.
2011-04-01 18:24:34 -07:00
sk89q
94f0acf9f3
Fixed permissions not being loaded.
2011-04-01 18:05:24 -07:00
sk89q
40bf65d56a
Updated for latest Bukkit.
2011-04-01 17:51:33 -07:00
sk89q
726e3a5c20
Added /region flag. DON'T USE THIS VERSION ON A PRODUCTION SERVER.
2011-04-01 13:39:29 -07:00
sk89q
d1cab0da7f
More stuff works.
2011-03-30 12:01:11 -07:00
sk89q
ede4873c6a
More progress.
2011-03-27 23:49:30 -07:00
sk89q
fd8c827bf1
Updated createDefaultConfiguration() to create parent directories.
2011-03-27 11:18:30 -07:00
sk89q
20afbdf264
More is working! DO NOT USE THIS YET or I will have to personally slap you.
2011-03-26 19:33:29 -07:00
sk89q
0dd92e5189
Work in progress. EVERYTHING IS BROKEN.
2011-03-26 16:59:06 -07:00
sk89q
4b1ba5acb0
Fixed permissions not being load()ed.
2011-03-22 09:34:40 -07:00
sk89q
edc94594eb
Some cleanup.
2011-03-17 02:31:38 -07:00
DarkLiKally
837efb75d1
Updated iConomy.jar and added quickfix for timed flags crash
2011-03-14 12:01:43 +01:00
DarkLiKally
252208a479
Fixed DoubleRegionFlags
2011-03-10 16:18:30 +01:00
Redecouverte
2641cb7d4f
fixed permissions for commands, hasPermission() does "worldguard." + perm so do prefix with "worldguard."
2011-03-09 13:36:10 +01:00
Redecouverte
9c91f06c5d
re-added Init() functions to flags class, do not remove it, or the flags class will NOT be loaded on startup which will cause unexpected behaviour
2011-03-09 13:30:07 +01:00
sk89q
7fab4144ae
Fixed bad merge.
2011-03-08 10:06:40 -08:00
sk89q
81eb2cad1a
Some initial code reorganization. Todo: Have CSVDatabase handle flags so they can be ported over, and do the commands system a cleaner way.
2011-03-08 10:03:49 -08:00
DarkLiKally
eda7db7aca
Updated MobType to CreateType
2011-03-08 08:54:33 +01:00
DarkLiKally
45a7653dcd
Updated iConomy.jar to 4.4.3 (Arcadia)
2011-03-07 08:38:39 +01:00
Valentin Churavy
36fef995e4
fixed nullpointer exception in GlobalRegionManager.java
2011-03-06 15:25:41 +01:00
DarkLiKally
af2e862ca2
Updated iConomy.jar to 4.3(.1)
2011-03-04 12:04:30 +01:00
DarkLiKally
7f48ce06be
Updated iConomy.jar to 4.2
2011-03-03 10:02:39 +01:00
Redecouverte
1c5ae9ef67
make sure the Flags class is always loaded on startup
2011-03-02 17:37:31 +01:00
Redecouverte
3bf18c41bb
flags are now type-safe
2011-03-02 17:24:33 +01:00
DarkLiKally
7ab49f1909
Fixed command /buyregion
2011-03-02 16:44:02 +01:00
DarkLiKally
44b5e5548d
added message if player has not enough money for the region
2011-03-02 16:28:01 +01:00
DarkLiKally
50ca9d129b
Updated /buyregion command
2011-03-02 15:57:37 +01:00
DarkLiKally
7b725d655c
Fixed sign alternative for /buyregion
2011-03-02 13:43:21 +01:00
DarkLiKally
3e9c7aa74b
Fixed error with player-eat-check
2011-03-01 19:58:54 +01:00
DarkLiKally
916ed2652e
Added check if player eats something
2011-03-01 19:43:50 +01:00
DarkLiKally
59a1726e8c
Fixed heal flag (for max. player health(20))
2011-03-01 15:18:34 +01:00
DarkLiKally
20f91b5258
Fixed denyspawn flag
2011-03-01 12:45:20 +01:00
Redecouverte
353ce7e825
removed legacy comments
2011-02-28 21:15:41 +01:00
Redecouverte
94be4ab18e
updated permissions_list.txt
2011-02-28 20:39:30 +01:00
DarkLiKally
df7409607f
Added administrator notification functionality and flag for greets and farewells
2011-02-28 20:28:14 +01:00
Redecouverte
79b937e8d2
yet another fix for state flag fallback
2011-02-28 19:57:20 +01:00
DarkLiKally
83c6c9c743
Removed unused imports from WorldGuardVehicleListener.java
2011-02-28 19:47:25 +01:00
Redecouverte
6a2affc0f9
new global flags are now read from .yml files
2011-02-28 19:36:46 +01:00
Redecouverte
8ad713c183
implemented passthrough flag
2011-02-28 19:32:59 +01:00
DarkLiKally
f8fb746f64
Fixed WorldGuardVehicleListener.java
2011-02-28 19:19:45 +01:00
DarkLiKally
c6b3507bf4
Added placeVehicle Flag
2011-02-28 19:15:37 +01:00
Redecouverte
2dc95da6e0
moved registerEvents() int event listeners
2011-02-28 19:05:07 +01:00
Redecouverte
8f9bfcf474
enum flags now also take lovercase names
2011-02-28 18:51:37 +01:00
Redecouverte
a8b54757e9
fixed /region info and region flag fallback
2011-02-28 18:36:19 +01:00
Redecouverte
19cfd9edc6
renamed new map to not confuse gson
2011-02-28 18:14:44 +01:00
Redecouverte
03d0f962e5
some more fixes for the new flag containers
2011-02-28 18:08:52 +01:00
Redecouverte
0ff24627ca
fixed npe with new flag containers
2011-02-28 17:47:51 +01:00
Redecouverte
4d8cd430b7
renamed isFlagAllowed() to isStateFlagAllowed()
2011-02-28 17:25:31 +01:00
Redecouverte
30b0e5d0b1
rewrote flag system to end the madness
2011-02-28 17:19:51 +01:00
Redecouverte
cdf067bba8
fixed crash in removeRegion
2011-02-28 11:00:37 +01:00
Redecouverte
e4d05e14ac
now using new command system
2011-02-28 10:45:00 +01:00
DarkLiKally
82dc78523f
Added sign alternative for /buyregion
...
Added flag for lever and button usability
2011-02-28 10:42:34 +01:00
Redecouverte
676e744c02
replaced string comparison with instanceof
2011-02-28 00:52:26 +01:00
Redecouverte
0d80265ff2
updated permissions example in config.yml, fixed typo in CommandTpRegion, removed debug output in RegionCommandHandler
2011-02-28 00:49:24 +01:00
DarkLiKally
442521a73c
Added getIntersectingRegions() method for polygonal and cuboid regions
2011-02-27 21:03:46 +01:00
Redecouverte
dcef083e30
fixed worldguard.notify and worldguard.bypass permissions, optimized getApplicableRegionSet() calls
2011-02-27 19:31:49 +01:00
Redecouverte
162cd20f80
added permissions worldguard.region.priority.own and worldguard.region.priority.all
2011-02-27 18:43:39 +01:00
Redecouverte
c74433422a
region priority is now set correctly in /region claim
2011-02-27 18:40:32 +01:00
Redecouverte
f338650b24
hopefully final fix for tnt block
2011-02-27 18:20:07 +01:00
Redecouverte
65c0d77d3e
updated protection classes for getIntersectingRegions()
2011-02-27 18:16:09 +01:00
Redecouverte
09a150b6e9
updated config.yml, removed old permissions
2011-02-27 17:59:01 +01:00
Redecouverte
06173a446a
blacklist can now be used as whitelist
2011-02-27 17:48:07 +01:00
Redecouverte
d6adea447e
json data is now reloaded if manually edited
2011-02-27 17:25:13 +01:00
Redecouverte
d042b785ed
updated tnt fix, updated respawn teleport
2011-02-27 17:00:34 +01:00
Redecouverte
881846d301
fixed tnt block npe thanks to Brettflan, added claim-only-inside-existing-regions and max-region-count-per-player region options, updated ApplicableRegionSet for regions
2011-02-27 16:24:07 +01:00
DarkLiKally
2092cc43b3
Updated for iConomy 4.0
2011-02-27 09:54:43 +01:00
DarkLiKally
dc637d0f2b
Fixed wall sign protection
2011-02-26 16:54:18 +01:00
DarkLiKally
987a20b33c
Added ability to set a max. claim volume
2011-02-26 15:35:48 +01:00
DarkLiKally
dbf65f798f
Optimized the countBlocks() method for polygonal regions
2011-02-26 14:56:49 +01:00
DarkLiKally
97aa259b2d
Added method to count the blocks in a polygonal region
2011-02-26 14:54:25 +01:00
Redecouverte
770a108bad
/region info now names locations correctly
2011-02-26 13:18:31 +01:00
DarkLiKally
71aaa574b2
Added method to count the blocks in a cuboid region
2011-02-26 13:11:27 +01:00
Redecouverte
a02fe633e2
fixed spawn/teleport flags
2011-02-26 12:49:14 +01:00
Redecouverte
0669bab563
added aliases /rd, /rc, /rf, /ri, /rl, /rp for region commands
2011-02-26 12:24:49 +01:00
Redecouverte
a258400443
fixed npe for onPlayerRespawn
2011-02-26 12:00:02 +01:00
Redecouverte
d02c5057c6
for
...
/region flag id name subname some string with spacaes
valueStr now contains 'some string with spaces'
this does only work for flags with a subname
2011-02-26 11:57:15 +01:00
Redecouverte
a473f47235
/tpregion now checks for flag rights
2011-02-26 01:18:50 +01:00
Redecouverte
7bedf6bb15
fixed logical error in playerlistener
2011-02-26 01:08:18 +01:00
Redecouverte
9d813290c6
removed upcoming settings
2011-02-26 01:02:47 +01:00
Redecouverte
05239bccb0
updated FlagInfo, don't check for commands directly in CommandRegionFlag, use FlagInfo
2011-02-26 00:51:35 +01:00
Redecouverte
1d5c28f37f
optimized getAffectedRegion()
2011-02-26 00:21:02 +01:00
Redecouverte
16fb6b4f9d
fixed some major flaws in the flag system
2011-02-26 00:21:01 +01:00
Redecouverte
97b09aab34
added /region priority command, fixed loading region parent loading
2011-02-26 00:21:01 +01:00
Valentin Churavy
55210caceb
Added onPlayerRespawn and registered listener
2011-02-25 23:25:08 +01:00
Valentin Churavy
8127e56603
Added /region flag <id> (spawn|teleport) (allow|deny)
...
(all|owner|member).
2011-02-25 23:11:21 +01:00
DarkLiKally
e61b496ca4
Fixed iConomy 4.0 API support
2011-02-25 21:53:19 +01:00
Redecouverte
3ed8eb76c2
better error messgae for /region flag
2011-02-25 21:17:13 +01:00
Redecouverte
a5c3b8a245
more fixed for flag system and /region flag
2011-02-25 21:13:37 +01:00
Redecouverte
3f5d52f901
getAreaFlag() functions now won't throw exceptions, updated /region info, fixed a typo in /region flag, parent regions are no longer required to overlap their children
2011-02-25 20:58:48 +01:00
Redecouverte
46e0607a26
/region info now outputs all flag types, /region flag cspawn still needs fixing
2011-02-25 19:20:49 +01:00
Redecouverte
23fa7a89ad
some fixes for /region flag
2011-02-25 18:53:28 +01:00
Redecouverte
dcd379bce7
location flags are now supported in FlagInfo class
2011-02-25 18:42:27 +01:00
Redecouverte
40238a9d25
added input filter for json parser
2011-02-25 18:04:21 +01:00
Redecouverte
44db374e09
better console output
2011-02-25 17:50:19 +01:00
Redecouverte
d960d543ff
fixed npe in creature spawn event listener
2011-02-25 17:44:03 +01:00
Redecouverte
0a45292587
merged with recent commits
2011-02-25 17:28:08 +01:00
Redecouverte
9b4a7c705b
configuration is now per-world, updated permissions, made commands compatible with console where possible, /region flag now checks correctly for permissions, & some fixes
2011-02-25 16:50:28 +01:00
DarkLiKally
71a6d8ab44
Updated for iConomy 4.0 API
2011-02-25 15:30:28 +01:00
DarkLiKally
91f9acb633
Fixed /buyregion bug (now regions can be bought only one time)
2011-02-25 12:40:22 +01:00
DarkLiKally
0e45dc5a3f
Improved iConomy support: added functionality to /buyregion to set the owenr of the region
2011-02-25 12:37:15 +01:00
DarkLiKally
3341574e02
Replaced some tabs with spaces
2011-02-25 12:22:58 +01:00
DarkLiKally
881dc38a18
Fixed for iConomy 3.0 and
...
fixed tha tabs in plugin.yml
2011-02-25 10:35:15 +01:00
DarkLiKally
e54b201aa5
Updated for iConomy 3.0
2011-02-25 10:06:13 +01:00
DarkLiKally
2d06a40127
Added iConomy.jar to build.xml
2011-02-25 01:48:42 +01:00
DarkLiKally
f7e68798fa
Added iConomy.jar to the librarys and the /buyregion command class for iConomy Support
2011-02-25 01:41:06 +01:00
DarkLiKally
b9fe5d2afc
Added iConomy support:
...
- Ability to pay for claiming a region (price per block)
- Ability to create buyable regions with custom price
NOTE: inserted only placeholders for countBlocks(); so buy on claim will not work correctly
INFO: I had not enough time to test it
2011-02-25 01:36:47 +01:00
DarkLiKally
5f12d99e73
Added water flow flag
2011-02-24 23:14:26 +01:00
Valentin Churavy
933987ac0a
/tpr <id> spawn does now need the permissions /tpregion.spawn and also
...
added /region flag <id> spawn delete
2011-02-24 23:04:50 +01:00
Valentin Churavy
3a10a0969a
add /tpr <region id> spawn
2011-02-24 22:53:20 +01:00
Valentin Churavy
ba4907e67b
add region.contains(location) for /region flag <id> spawn set
2011-02-24 22:29:49 +01:00
Valentin Churavy
99b37147d3
added /tpregion <region id> and /region flag <regionid> teleport
...
<set|delete>
2011-02-24 22:17:55 +01:00
Valentin Churavy
92a03ab7d6
added /region flag teleport
2011-02-24 21:35:45 +01:00
Redecouverte
68a0c67769
fixed for latest changes
2011-02-24 21:18:08 +01:00
Redecouverte
17e9105b9c
commands now handled by commandhandler, updated /region info and /region flag for extended flag data
2011-02-24 21:15:05 +01:00
Redecouverte
5411a294e7
implemented heal, greeting and farewell flag
2011-02-24 21:14:42 +01:00
Redecouverte
f821e277de
geter with default values for extended AreFlags data
2011-02-24 21:11:31 +01:00
Valentin Churavy
18c2164049
added basic support of region teleport in ProtectedRegion
2011-02-24 20:29:47 +01:00
DarkLiKally
c9688a9c58
Fixed an issue with the mob spawn control flags
2011-02-24 17:56:36 +01:00
Valentin Churavy
cd599849b2
55: Improved corner handling (Corners are now always inside a
...
PolygonalRegion)
2011-02-24 17:32:06 +01:00
DarkLiKally
423f0199d0
Updated mob spawn control flags
2011-02-24 16:36:47 +01:00
DarkLiKally
40299eeea4
Changed Logger back to private (I changed it to public for some test reasons)
2011-02-24 16:20:52 +01:00
DarkLiKally
38077275bc
Added mob spawn control Flags and global settings
2011-02-24 16:11:44 +01:00
Redecouverte
23aa6dc743
getAreaFlag now respects region priority
2011-02-24 14:52:22 +01:00
Redecouverte
b90fb6a2b0
polygonal regions are now recognized by /region command, added extended AreaFlags data functions to ApplicableRegionSet, fixed isFlagAllowed in ApplicableRegionSet can only be executed once problem, updated region managers to not just forward all regions to ApplicableRegionSet
2011-02-24 14:24:23 +01:00
Redecouverte
17c8ed9ebc
fixed typo in getRegionManager
2011-02-24 12:42:20 +01:00
Redecouverte
a091a32c26
updated imports and comments
2011-02-24 12:14:26 +01:00
Redecouverte
23970a4e36
extended AreaFlags data storage, fixed typo on renaming old regions.txt
2011-02-24 12:06:27 +01:00
Redecouverte
f61a9ab5cc
added multiworld support for regions and json region database
2011-02-24 11:19:35 +01:00
Redecouverte
4505bb6f4e
now including json-simple via build.xml
2011-02-23 20:51:19 +01:00
sk89q
bb836aea57
Updated for 4.0-alpha1.
2011-02-23 11:25:10 -08:00
sk89q
d584fba31c
Updated block damage event handling to work around issues.
2011-02-23 11:07:39 -08:00
Redecouverte
feacf3af7b
removed CraftBukkit dependency
2011-02-23 19:13:56 +01:00
Redecouverte
8c428bb399
added JSON.simple 1.1 lib
2011-02-23 19:13:55 +01:00
sk89q
8edb6976fb
Changed usage of CraftItemStack to ItemStack.
2011-02-23 10:05:29 -08:00
DarkLiKally
edd2f460a0
Updated reflowing of water on sponge removal/deactivation
2011-02-22 20:56:57 +01:00
DarkLiKally
8810647bb8
Added reflowing of water on sponge removal/deactivation and
...
Updated water clearing on sponge creation/activation
2011-02-22 20:44:16 +01:00
DarkLiKally
2204bd67a7
Fixed the water damage block Bug
2011-02-22 17:27:58 +01:00
DarkLiKally
c9c747693d
Added ability to change default values of region's flags in config.yml for: FLAG_LIGHTER, FLAG_TNT, FLAG_CREEPER_EXPLOSION, FLAG_MOB_DAMAGE
2011-02-22 15:06:25 +01:00
Redecouverte
135d92303d
more fixed for cake protection, protected cake now is semi-proteced, only the first slice is not protected
2011-02-22 15:02:57 +01:00
Redecouverte
c707434155
fixed cake protection in regions
2011-02-22 14:26:01 +01:00
Valentin Churavy
4b72805a69
55: ProtectedPolygonalRegion should now handle edges better.
2011-02-22 13:58:05 +01:00
Redecouverte
d5a9b0c65f
really fixed setUpCourtyardRegion()..
2011-02-22 13:33:30 +01:00
Redecouverte
2015604fe2
fixed ProtectedPolygonalRegion construction in setUpCourtyardRegion
2011-02-22 13:33:01 +01:00
Redecouverte
96a290b153
added ItemAcquireBlacklistEvent for onPlayerPickupItem, not implemented in craftbukkit. yet
2011-02-22 13:22:06 +01:00
Redecouverte
912fcfe88a
added tests to netbeans project
2011-02-22 13:18:27 +01:00
Redecouverte
4dcf7489fa
added NetBeans project files
2011-02-22 13:03:06 +01:00
Redecouverte
7f1552dff8
updated onPlayerDropItem for latest bukkit, updated WorldEdit API calls for latest WorldEdit
2011-02-22 12:04:44 +01:00
Redecouverte
d2ca8bffc4
we are now ignoring canceled events
2011-02-22 02:49:20 +01:00
Redecouverte
e15b01bac5
added blacklist on-drop event
2011-02-22 02:48:57 +01:00
Redecouverte
dcd3cb80b8
switched to parameterless constructor (i guess this is that the bukkit devs intended with their fancy warning)
2011-02-22 02:15:06 +01:00
Redecouverte
d0ddc7c271
- added .gitignore to ignore eclipse/etc build files
...
- events are now registered in onEnable()
2011-02-22 02:03:20 +01:00
DarkLiKally
2b55f3407c
Fixed the skeleton damage bug in protected areas
2011-02-22 01:01:31 +01:00
DarkLiKally
e84afb4808
Fixed the Skeleton damage bug in protected regions
2011-02-22 01:01:31 +01:00
Redecouverte
10c47eff7e
fixed entity damage events for latest bukkit
2011-02-21 23:30:20 +01:00
sk89q
aee81f918e
Added polygonal regions. They don't save/load yet, nor can you make them in-game yet. They were tested to work a week ago though.
2011-02-20 12:10:42 -08:00
sk89q
95b2d9419f
Fixed redstone listener for newer versions of Bukkit.
2011-02-12 19:14:14 -08:00
sk89q
feb9ce6633
Re-added priority tree region manager implementation. Add and removal operations are not yet optimized.
2011-02-12 16:09:21 -08:00
sk89q
43489ca087
Changed how ApplicableRegionSet iterated over the region set, allowing it to be reused.
2011-02-12 15:49:55 -08:00
sk89q
ce1a15e6ea
Improved tick sync message suppression.
2011-02-05 14:00:06 -08:00
sk89q
cc72d370ea
Added suppress-tick-sync-warnings option.
2011-02-05 13:45:05 -08:00
sk89q
d042185660
Added WorldGuardPlugin.canBuild(player, x, y, z)
2011-02-04 20:51:14 -08:00
sk89q
e78b639018
Updated CHANGELOG.txt.
2011-02-02 23:37:40 -08:00
sk89q
e8ea562b09
Changed 'release' target to also 'clean'.
2011-02-02 23:28:48 -08:00
sk89q
3b5a729ef3
Updated command handling for Bukkit.
2011-02-02 22:27:44 -08:00
sk89q
ef7d487ec5
Updated burn event handling.
2011-02-02 22:21:44 -08:00
sk89q
b379b8f022
Fixed suffocation disable option.
2011-02-02 21:03:33 -08:00
sk89q
a31378c2c8
Changed disable-water-damage to disable-drowning-damage.
2011-02-02 20:51:52 -08:00