Commit Graph

1281 Commits

Author SHA1 Message Date
Adam a844e39865
Fix some issues with splash potions (#1636)
- Fix NPE on non-player thrower
- Fix non-player thrower warning console when blocked
- Fix only first entity being saved
- Allow dispensers inside the same claim to harm entities with potions (consistent with arrows)
- Fix spamming player on multi-hit/multi-effect
2021-10-25 09:38:33 -07:00
Bobcat00 ed92324c26
Fix check for expiring chest claims (#1600)
fixes #1597
2021-09-28 08:40:49 -07:00
Logan Barrett e6ce386bcf
resolve NPE when calling Claim.allowEdit (#1580) 2021-09-12 10:58:15 -07:00
drbot7 134729167b
Protect candles from being extinguished (#1526) 2021-08-19 08:51:35 -07:00
multirp e8c5b37119
ink/glow ink sacs on signs require build permission (#1508) 2021-08-08 11:29:18 -07:00
Adam 219cf6edd1
Fix max depth below world height (#1502) 2021-08-02 08:32:23 -07:00
MrPowerGamerBR 7723d10196
Fix NPE when using allowBuild in a claim that the player has permission to build (#1500) 2021-07-31 10:15:15 -07:00
drbot7 6382a9fee4
Config option on silencing ban messages (#1480)
Enabled by default as per previous behavior.
2021-07-21 10:12:24 -07:00
drbot7 16036bdc19
Deny pumpkin carving in untrusted claims (#1473)
Fixes #1352
2021-07-17 08:58:21 -07:00
Adam d930e45440
Fix falling block and vehicle block change handling (#1424) 2021-07-16 09:22:15 -07:00
drbot7 fadc1aab30
protect glow berries (#1459)
Addresses comment in https://github.com/TechFortress/GriefPrevention/issues/1352#issuecomment-877190767
2021-07-16 09:21:02 -07:00
Erik 5a0829593d
Actions workflow: build all branches (#1456) 2021-07-12 12:05:32 -07:00
Erik 5a9a71f48a
Set up GitHub actions maven workflow (#1454) 2021-07-12 10:02:06 -07:00
Adam 528f9f9777
Update to 1.17 (#1448)
* Update to include 1.17 materials and tags

* Use world height for claim max height

* Account for worlds with min height < 0

Fix restore not working under y 0
Change default max claim depth to integer min value
Fix creative claims always going to 0, not world min height

* Update material listings to include new blocks
  * Fixes a few missed cases from previous versions
* Replaced claim to bounding box bandaid for world max height increase with actual world limit
* Account for worlds with min height less than zero
  * New default maximum depth is now integer min value (-2147483648) to not restrict users no matter how weirdly they set up worlds
  * Creative claims always extend to world min height, not 0
  * RestoreNature restores to a max depth of world min height instead of 0

Closes #1309 
Closes #1431
2021-07-10 12:31:12 -07:00
Adam 6727fa76e3
Fix deprecated claim API (#1439)
Closes #1438
2021-07-04 11:38:39 -07:00
Adam bbb1e5d58c
Add ClaimPermissionCheckEvent (#1006)
Also contains a bit of refactoring on internal logic. Modifies (secondary) siege mechanics.

* Un-couple siege from core claim functions

* UUID overload, documentation, naming clarity

* Add internal special message override support

* Fix permission calculation issues in subclaims

* Migrate egg handling to new methods

* Use suppliers for denial message

In many use cases addons don't care why a denial occurred, only that it did. On-demand calculation is vastly preferable to reduce server impact.
2021-06-24 01:28:59 -07:00
drbot7 fbf4c7c45b
Protect glow item frames (#1413)
Consistent with regular item frames
2021-06-19 09:52:16 -07:00
zhenghanlee f4680c4051
Change method signature of allowBreak method in main class (#1406) 2021-06-17 14:11:46 -07:00
Adam 6e62779d0d
Include scope in dependency information (#1390)
Ideally will reduce the number of people shading GP into their projects by mistake.
2021-06-04 17:23:18 -07:00
Adam cac5aa04f1
Prevent nametag usage unless player can kill target (#1337)
Addresses discussion #1333
2021-05-29 12:36:02 -07:00
RoboMWM 64df0e8297 don't delete claims in unloaded worlds in flatfile storage
Closes #1338
2021-05-29 12:33:41 -07:00
RoboMWM e63d1d9e51
Update bug-report.md 2021-04-29 08:34:13 -07:00
Adam e6d608bcb9
Fix ignoring height (#1260) 2021-04-07 19:33:44 -07:00
Adam b3774efad8
Check before casting to mob (#1281)
fixes #1278
2021-02-23 10:39:41 -08:00
RoboMWM e0f7e3c887
slightly reduce chatbox height 2021-02-19 08:17:28 -08:00
RoboMWM 8956a37e9d use git describe variable for version
I wish there was an inverse of describe-short, i.e. only includes the
count + commit hash
2021-01-24 12:00:24 -08:00
RoboMWM 4e09977414
Update README.md 2021-01-23 13:52:50 -08:00
RoboMWM 21d7b100b1
Update README.md 2021-01-23 13:50:38 -08:00
RoboMWM 01241d8112
Update README.md 2021-01-23 13:45:55 -08:00
RoboMWM 83e89b3772 remove unused lightning strike event handler 2021-01-19 17:29:53 -08:00
RoboMWM 6ac16665b3 Add cocoa to farm blocks
closes #839
2021-01-19 17:29:23 -08:00
RoboMWM db842edc51 [maven-release-plugin] prepare for next development iteration 2021-01-18 20:33:23 -08:00
RoboMWM 2b69191e73 [maven-release-plugin] prepare release 16.17.1 2021-01-18 20:33:07 -08:00
HexedHero 936b20afa2
Update build instructions to use 16.17.1 (#1163) 2021-01-18 20:27:22 -08:00
YanisBft 5a70d694e7
Prevent egg hatching in claims without container permission (#1128) 2021-01-13 08:17:38 -08:00
Frank van der Heijden e95b7986e4
Add the involved entities in PreventPvPEvent (#1186) 2021-01-09 09:11:28 -08:00
RoboMWM 2f0f98db25
add "test with vanilla client" debugging step 2020-12-19 08:32:57 -08:00
Erik Eide 7ce30c6bec
Allow for sqlite backend to be used (#1157) 2020-12-18 08:55:02 -08:00
RoboMWM ddcf4b2da3
apparently MOSS is censoring "dumcord" which is leading to dropped messages... 2020-12-17 13:20:44 -08:00
RoboMWM 1838c78112
update chat page 2020-12-17 12:41:33 -08:00
Erik Eide 329bfb54de
Add waterlogging check for buckets (#1156)
Co-authored-by: Adam <Jikoo.Games@gmail.com>
2020-12-16 12:32:43 -08:00
Erik Eide c235bb0a00
Make POM more explicit about plugin versions (#1153)
- Add missing POM sections: name, description, inceptionYear, packaging, licenses, and issueManagement
- For tests, use junit-jupiter instead of both junit-jupiter-api and junit-jupiter-engine
- Dependency versions:
    - junit-jupiter 5.6.2 -> 5.7.0
    - git-commit-id-plugin 3.0.0 -> 4.0.3
- Explicitly use the latest plugin versions, rather than the dated default versions from the Super POM
- Define Java language source- and target level directly in the maven-compiler-plugin configuration
2020-12-14 00:09:58 -08:00
RoboMWM 2d68fa5cd2 [maven-release-plugin] prepare for next development iteration 2020-12-13 18:57:26 -08:00
RoboMWM 8b139c2239 [maven-release-plugin] prepare release 16.17.0 2020-12-13 18:57:10 -08:00
RoboMWM bac6ce0b62 add maven release plugin 2020-12-13 18:55:57 -08:00
RoboMWM 0052152f05
remove release drafter for now
Will experiment more on another repo later
2020-12-13 18:38:12 -08:00
RoboMWM bb7768cf6f prepare pom for deploying to maven central 2020-12-13 17:02:32 -08:00
RoboMWM f50e08bccf
Update README.md 2020-12-13 01:15:05 -08:00
RoboMWM 690975d71f
dumcord will live on 2020-12-13 00:14:40 -08:00
RoboMWM 9d4d8c5e1c
Update README.md 2020-12-12 23:47:21 -08:00