Commit Graph

205 Commits

Author SHA1 Message Date
Adam 1f98733f3b
Fix claims in other worlds preventing piston movement with EVERYWHERE_SIMPLE(#1099) 2020-11-15 06:15:00 -08:00
Adam 8c7abf9fd5
Piston should not be included in moved block bounding box (#1088) 2020-11-05 09:04:27 -08:00
Adam e1086c3206
Fix incorrect retract check and everywhere modes checking subclaim (#1083)
* Retraction checked block behind piston when no blocks were moved
* Everywhere modes are supposed to ignore subclaims, so piston claim should not be a subclaim
2020-10-29 09:52:43 -07:00
Adam 0ceb6f8e21
Fix subclaims being added to chunk claims map when resized (#1082) 2020-10-29 09:23:33 -07:00
FreeMonoid 746f10449d
Fix restore nature removing top level of liquids (#1066) 2020-10-23 19:41:46 -07:00
FreeMonoid 03074bf934
Make placing and breaking boats use containertrust (#1065)
Consistent with minecarts
2020-10-23 19:36:47 -07:00
Frank van der Heijden af25b289f4
Fix piston checks in subclaims (#1056) 2020-10-11 21:21:43 -07:00
jacob1 a34a0fecab
Fix piston retraction checking one block further than it needs to (#1036) 2020-10-11 21:15:54 -07:00
Frank van der Heijden e4a666f8be
Make sound of piston explosions toggleable (#996) 2020-10-11 20:59:17 -07:00
Luis Michaelis 97cbd80a70
Allow any type of Zombie to convert villagers. (#1050) 2020-10-08 20:53:11 -07:00
Adam ddd57834aa
Remove duplicates, move to Tags where possible (#1041) 2020-10-07 08:41:00 -07:00
Adam 2df648f50f
Update and improve economy handling (#1042) 2020-10-05 20:34:11 -07:00
Adam 287bf2202f
Fix /gpblockinfo causing legacy load (#1043) 2020-10-04 16:07:22 -07:00
Adam 6e42ed0da4
Fix WordFinder matching anything with empty BannedWords.txt (#1045) 2020-10-04 15:24:52 -07:00
Adam 1237276823
Use EnumSet for Material (#1038) 2020-10-02 17:35:45 -07:00
Adam dbe4a106bd
Fix new config node not being created (#1040) 2020-10-02 13:05:08 -07:00
Adam 74700dc3de
Add option to enforce a minimum claim size for automatically-generated claims (#1037) 2020-10-02 09:02:37 -07:00
DrBot7 6e055c90c3
Stop boats from breaking item frames in claims (#1029) 2020-09-26 12:54:19 -07:00
Adam 9622eea434
StringBuilder#append should not contain concatenation (#1020) 2020-09-20 09:06:53 -07:00
Adam 26124d3dee
Finalize fields where possible (#1021) 2020-09-20 09:01:37 -07:00
Adam bf214afe2e
Use enhanced for loop where applicable (#1016) 2020-09-19 14:14:11 -07:00
Adam 47cd376610
Remove explicit type declaration (#1015) 2020-09-17 08:25:38 -07:00
Adam 88dd68505a
Use constant for farming block list (#1014) 2020-09-17 08:22:57 -07:00
Adam eff759463d
Fix error in piston mode migration (#1013) 2020-09-17 08:19:51 -07:00
Adam b5542e24b1
Fix NPE in admin claims (#1011) 2020-09-14 21:05:51 -07:00
Nick L 2048a9f31d
Support plugins that use SignChangeEvent to check sign editing permissions (#951) 2020-09-14 16:48:34 -07:00
Adam 581e8881e9
Add new, efficient options for handling pistons (#933) 2020-09-14 16:45:08 -07:00
RoboMWM a3b8b6f2f1 add more debug messages on claim expiration
#976
2020-09-14 16:37:20 -07:00
Adam e8c9222337
Fix /AbandonAllClaims usage (#1009)
Closes #1008
2020-09-14 08:19:06 -07:00
Simon 39f385e51c
Add static getHandlerList to TrustChangedEvent (#1003) 2020-09-10 08:59:17 -07:00
RoboMWM e3bce9a35e git add --renormalize . 2020-09-07 05:32:16 -07:00
Frank van der Heijden cd5046fc71
Stop execution if PreventPvPEvent is canceled (#998) 2020-09-07 05:20:12 -07:00
Frank van der Heijden 1928b7ece7
Add ClaimExtendEvent (#947) 2020-09-07 05:14:26 -07:00
Adam 766b34a970
Add several hostile non-monsters (#927)
* Add a couple of new/missed hostile cases

* "Zoo" friendliness

* Prevent food attack vector for neutral animals
2020-09-07 05:09:14 -07:00
Adam 81cfc8f2d9
Confirm /abandonallclaims (#1000) 2020-09-07 04:19:09 -07:00
Adam 39e9d48add
Improve overlap test and amend PR #934 (#999) 2020-09-07 04:15:24 -07:00
RoboMWM 4035f40c62
Revert "Refactor overlap check (#934)" (#995)
This reverts commit 70b6574fe1.
2020-09-04 10:56:37 -07:00
Adam 70b6574fe1
Refactor overlap check (#934) 2020-08-31 08:06:11 -07:00
Frank van der Heijden 8bfc89d32e
Instead of return a set containing null, return null (#948) 2020-08-07 15:40:39 -07:00
Frank van der Heijden abfb53b1cf
Include inspectedBlock in ClaimInspectionEvent (#949) 2020-08-07 12:50:37 -07:00
Frank van der Heijden 4b3852d624 Implement Cancellable in ClaimModifiedEvent (#942)
- If canceled, GP stops processing the resize command (no error printed or potential overlapping claim displayed)
2020-08-07 10:27:49 -07:00
Adam a3d0aecaf0
Improve block ignition handling (#931)
* Improve arrow ignition handling

* Allow fireball/arrow ignition from same claim

* Allow fires to be started by dispensers in same claim
2020-08-07 10:20:35 -07:00
Frank van der Heijden fb53c1811e
Add the Visualization instance to VisualizationEvent (#945) 2020-08-07 09:50:07 -07:00
Frank van der Heijden 2d3c3a3940
Add ClaimInspectionEvent (#946) 2020-08-07 08:45:13 -07:00
Frank van der Heijden 17fbbf5553
Add visualizingNearbyClaims flag to VisualizationEvent (#940) 2020-08-06 09:02:51 -07:00
Frank van der Heijden 89f83b5b6a
public Visualization#addClaimElements() (#941)
and some refactoring
2020-08-06 08:31:51 -07:00
Frank van der Heijden ee1a5c567b
DataStore#getChunkHash is publicly accessible (#943) 2020-08-06 08:27:24 -07:00
Adam 89d362a747
Use fence gate tag (#921) 2020-07-30 17:48:40 -07:00
Eli, wyldt- 03778e6f31
Check world before performing distance call (#916) 2020-07-29 21:39:23 -07:00
Eli, wyldt- b6434298fc
support raid trigger prevention (#913) 2020-07-28 21:27:20 -07:00
Adam ac93505e2f
Fix conflicting piston settings (#907) 2020-07-25 11:50:18 -07:00
Adam 085f335559
Use tags instead of manually-maintained material lists (#905) 2020-07-25 11:47:08 -07:00
Adam 230b2bb5cc
Update to WorldGuard's 1.16 API (#904)
* Update to WorldGuard's 1.16 API

* Swap to Gson for JSON, WG was providing old lib

* Also JUnit
2020-07-25 11:42:14 -07:00
RoboMWM 7999da4e81 exclude suspicious bucket placements from being logged in console 2020-07-04 09:58:29 -07:00
Alen Budimir 909b81aea5
Add redstonewire to accesstrust (#868) 2020-07-03 11:03:40 -07:00
Isabel Lomas a6a7c237cf
1.16 materials update (#866)
- fixes #865 
- add new spawn egg names
2020-07-02 20:24:18 -07:00
RoboMWM ac5a666b8d remove all suppressions of deprecation warnings 2020-06-20 12:28:25 -07:00
RoboMWM 732fa2e015 these changes are sometimes not getting exported or something 2020-06-08 23:15:52 -07:00
RoboMWM 40f554d386 reformat code
- Lots of tabs to spaces going on
- That's a lot of changes!

#63
2020-06-08 21:57:55 -07:00
RoboMWM 110b068ac1 Set blockdata when removing chorus fruit
Closes #799
2020-05-28 21:25:34 -07:00
Adam 64e101c3bf
Use BlockData Dispenser (#818) 2020-05-15 21:11:43 -07:00
Izmoqwy 093cbb0e93
Add config to limit bonus claim blocks (on purchase) (#786) 2020-05-03 17:59:27 -07:00
Adam 28b928f4b2
Add API allowing addons to check trust levels for offline players (#801)
* Expose explicit ClaimPermission levels

* Add getPermission to allow addons to check other trust
2020-05-03 17:52:24 -07:00
RoboMWM f3186d1d84 remove entity cleanup debug logging from console 2020-04-12 22:28:28 -07:00
RoboMWM c19e3b7ea4 add more debug messages for claim expiration checks. 2020-03-16 21:23:05 -07:00
Adam e0a0be7bef
Move null check to the correct location (#746)
Closes #744, bug introduced in #736
2020-03-12 17:53:29 -07:00
RoboMWM 0cf0171391 remove duplicate owner entries in the unused claim check list
Restores the original behavior that was inadvertantly changed in #736
2020-03-08 10:23:22 -07:00
Adam 49d51a34a3
Randomize unused claim check (#736) 2020-03-02 17:04:15 -08:00
Adam 61c1ccda3f
Fix DeleteUserClaimsInWorld command (#720)
Closes #718
2020-02-15 02:26:39 -08:00
RoboMWM 8760ad69bc change priority of some denial events to LOWEST
Thanks to OliPulse in IRC, we discovered some events at the wrong
priority in GP.
2020-02-02 13:30:56 -08:00
RoboMWM 7e0f936502 skip plugins that aren't JavaPlugins
Fixes #707
2020-02-01 22:11:45 -08:00
RoboMWM 956bdbc688 Do not attempt fuzzy matching players
Fixes #541
2020-02-01 20:39:41 -08:00
RoboMWM d7dd5a8e97 add more new 1.14, 1.15 blocks to containertrust
Closes #642
Closes #698
2020-01-25 20:59:24 -08:00
Bobcat00 85205e9b6f Add config option to ignore piston movements (#671) 2019-12-15 15:15:50 -08:00
coralpapa 9048811454 Fix unignorable players from being ignored (#643) 2019-10-15 16:18:06 -07:00
Edson Passos dda2a50c70 trust change event (#623) 2019-09-17 19:19:30 -07:00
Shane Bee cc03fdcba8 Fix lectern permissions for spigot servers
- Fixes an issue with players with correct trust level not able to put a book in a lectern when the server is running Spigot
- This "fix" isn't needed for Paper...

Closes #613
2019-09-08 11:50:28 -07:00
RoboMWM 6f35aabf2e add ignoreCancelled = true 2019-08-31 21:07:48 -07:00
RoboMWM d4d7ac4e6b version 16.12.0 2019-08-31 17:17:52 -07:00
RoboMWM c02337ada9 Roundabout fix for #594
https://www.spigotmc.org/threads/spigotapi-missing.381491/#post-3460194

Closes #594
2019-08-31 16:53:41 -07:00
RoboMWM e246807d8f fix typo which caused rightclicking the air with dyes to print an NPE
Fixes #574

Was introduced in
a9a7fe41a0 (diff-b15ac36752c3cec705105f3a5f802139R1881)
2019-08-31 11:48:45 -07:00
Adam d326f106d6 Ensure subclaim boundaries are inside parent (#590)
Fixes GHSA-7mmh-4c9r-pf6v
2019-08-23 12:32:59 -07:00
coralpapa 935e7f8797 Correct item merge handler (#588)
Fixes #585
2019-08-18 10:49:29 -07:00
coralpapa 08f8d81ca4 Classify damage from fired fireworks as PvP damage
Closes #538
2019-08-15 21:38:21 -07:00
RoboMWM 73325a3f8f add some debugging for #574 2019-08-11 15:29:53 -07:00
coralpapa 6274cb7536 Allow hoppers to collect unlocked drops (#583)
Closes #576
2019-08-11 11:49:15 -07:00
Shane Bee 7c7e98e5e6 Modify lectern permissions (#579)
- /accesstrust for viewing (with a config to disable permission requirement)
- /containertrust for modifying

Closes #537

Co-authored-by: Zedadias Wick <zedwick@gmail.com>
2019-08-10 08:44:42 -07:00
RoboMWM 8f3f944cc4 a wild curly brace has appeared 2019-07-29 21:57:07 -07:00
RoboMWM cdeac80635 config to prevent ravagers from breaking blocks in claims
Defaults to true to remain consistent with behavior of preventing
enderman from taking blocks and entities from trampling crops

Closes #530

Also intellij is insistent on replacing tabs
2019-07-29 21:48:33 -07:00
RoboMWM 99a676a6d1 Ignore hanging entities that break due to lack of supporting blocks
Closes #573
2019-07-29 21:19:52 -07:00
RoboMWM 6ddcaec112 protect berry bushes in claims from being harvested without container trust
Closes #548
2019-07-29 21:14:20 -07:00
RoboMWM 6403caafca 16.12.alpha 2019-06-14 01:07:12 -07:00
RoboMWM c4a0012959 Block lightning from starting fires in claims
Should close #532
2019-06-14 00:49:26 -07:00
RoboMWM a0440733ed debug message for #495 2019-06-11 20:00:00 -07:00
RoboMWM a9a7fe41a0 disallow use of dyes in claims
Dyes can be used to change sign colors according to cities7

- Also use 1.14 signs
2019-06-09 13:54:54 -07:00
RoboMWM 59d9e6f556 Remove travel agent and related config option
- Removed Claims.PortalGenerationRequiresPermission

Closes #534
2019-06-09 10:33:38 -07:00
Shane Bee 522d225548 Protect wolves under certain conditions (#507)
- Protects wolves unless the attacker is being targeted by the wolf.
2019-04-09 21:20:36 -07:00
RoboMWM 832ec7ed86 make NoTransferException public and unchecked 2019-03-17 21:13:44 -07:00
Sigurdur 50d0376525 Assign claim ID to new claims before calling ClaimCreatedEvent (#465) 2019-03-02 22:42:04 -05:00
Sigurdur 59c9157edc Update chunk claim map on resize (#464) 2019-03-02 15:15:18 -05:00