Commit Graph

97 Commits

Author SHA1 Message Date
Len 9a687ec099 Add abandonpet command. 2024-08-03 14:32:34 +02:00
Len 88f9c27194 Cherry pick: * Extract GriefPrevention#allowBuild/GriefPrevention#allowBreak to a helper method
* These methods have been hacky since the introduction of the `ClaimPermissionCheckEvent`, and as we saw with damage events, Spigot is serious about event constructors not being API. Moving away from constructing events is a good idea in general.
2024-07-20 17:54:40 +02:00
Len 0acbfa316f Cherry pick: * Use Tag.REPLACEABLE instead of manual material listing 2024-07-20 17:09:21 +02:00
Len 5c345f697b Add support for crafter 2024-03-20 15:25:29 +01:00
Len fc816340d5 Update to 1.20.4 2024-01-05 19:15:43 +01:00
Len d26c6a8082 Allow containers to be named playernames to have them be accessed by that player 2023-10-31 21:23:05 +01:00
Len 543820ab71 Merge branch 'alttd' of https://github.com/Altitude-Devs/AlttdGriefPrevention into alttd 2023-10-31 19:02:49 +01:00
Teriuihi 3ba67d597d Fix for making item frames invisible with diamonds 2023-05-01 22:41:37 +02:00
Teriuihi 4776000c30 Added container trust for rotating item frames 2023-05-01 02:33:15 +02:00
Len afba8f97b4 Fix unsitting sittable animals 2022-10-03 21:09:22 +02:00
Len aeec095ff8 Prevent theft from water/lava cauldrons.(
058ae980
2022-09-29 17:58:10 +02:00
Len 5a57c5180e Do not protect chests with a loottable 2022-09-29 15:31:41 +02:00
Len 189f044d90 nitpick upstream 2022-06-19 13:17:35 +02:00
Len 9fe7f8258d Require container trust to let pets sit down 2022-06-09 11:05:13 +02:00
destro174 8be187c73b Remove bloat 2022-04-02 10:38:58 +02:00
destro174 5e8bbe75c3 prevent interacting with cauldrons w/o container trust 2022-03-05 15:30:42 +01:00
destro174 6d14031a02 fix commands requiring trust 2022-03-05 12:29:43 +01:00
destro174 fe43443cde Fix not being able to place lava near vanished players 2022-03-05 10:15:58 +01:00
destro174 9ecebc929d Some fixes and changes to IgnoreClaimWarningTask 2022-02-26 11:00:53 +01:00
destro174 7d1fe8bf2f remove bloat 2022-02-25 23:51:32 +01:00
destro174 67b9c2c8ba Remove WelcomeTask 2022-02-21 17:45:52 +01:00
destro174 0a012a395b remove junk 2022-02-20 20:41:27 +01:00
destro174 708cc75d5b remove unused code 2022-02-20 20:11:03 +01:00
destro174 e96cbd344b Remove IgnoreLoaderThread 2022-02-20 14:34:43 +01:00
destro174 ed3188b37a Remove unused code 2022-02-19 21:06:41 +01:00
destro174 b4a60683d9 Remove unused check for creative mode 2022-02-19 20:57:34 +01:00
destro174 e513d226b6 remove ipbaninfo 2022-02-19 20:17:47 +01:00
destro174 8a5369d888 remove smart ban 2022-02-19 20:14:19 +01:00
destro174 f4c6dcbf19 Remove spamdetector 2022-02-19 20:10:31 +01:00
destro174 537803028b remove sieges 2022-02-19 20:07:28 +01:00
destro174 dce8fc9576 only allow glowberries to be farmed, not planted and broken 2022-02-14 10:08:35 +01:00
destro174 35251efd29 Revert Prevent nametag usage unless player can kill target 2022-02-14 10:06:50 +01:00
destro174 366cb327a4 Relocate custom listeners 2022-02-14 09:57:19 +01:00
destro174 3757b00fbf Prevent boats breaking lily pads 2022-02-14 09:52:08 +01:00
destro174 af91fbe5b4 Require build trust to hatch eggs 2022-02-14 09:51:05 +01:00
destro174 f99d17f5c5 Require trust to blow up tnt with arrows 2022-02-14 09:50:09 +01:00
destro174 01d303d484 Allow Villagers to be named public to bypass claim checks 2022-02-14 09:46:51 +01:00
destro174 244e582e97 Allow inventoryholders to be named public to bypass claims 2022-02-14 09:45:55 +01:00
destro174 1a22d4acc0 Make Raids require access trust 2022-02-14 09:44:10 +01:00
destro174 fdfea84c45 Remove some bloat 2022-02-14 09:43:00 +01:00
Adam a7cb4a0c78
Don't fire EntityDamageByEntityEvent when renaming (#1680)
Fixes incompatibility with mcMMO's health bar displays
2021-12-05 11:07:21 -08:00
drbot7 4b0998dbb7
Protect rooted_dirt (#1541)
Closes #1535
2021-12-05 10:59:09 -08: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
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
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
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 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