Commit Graph

74 Commits

Author SHA1 Message Date
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
Adam cac5aa04f1
Prevent nametag usage unless player can kill target (#1337)
Addresses discussion #1333
2021-05-29 12:36:02 -07:00
YanisBft 5a70d694e7
Prevent egg hatching in claims without container permission (#1128) 2021-01-13 08:17:38 -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
Adam 1edd0a921e
Fix resizing 1-wide claims (#1148) 2020-12-12 10:33:29 -08:00
Adam e74ad1f94b
revert to using static calls instead of instance (#1017) 2020-12-09 00:47:39 -08:00
FreeMonoid 03074bf934
Make placing and breaking boats use containertrust (#1065)
Consistent with minecarts
2020-10-23 19:36:47 -07:00
Adam 1237276823
Use EnumSet for Material (#1038) 2020-10-02 17:35:45 -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
Frank van der Heijden abfb53b1cf
Include inspectedBlock in ClaimInspectionEvent (#949) 2020-08-07 12:50:37 -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
Adam 89d362a747
Use fence gate tag (#921) 2020-07-30 17:48:40 -07:00
Eli, wyldt- b6434298fc
support raid trigger prevention (#913) 2020-07-28 21:27:20 -07:00
Adam 085f335559
Use tags instead of manually-maintained material lists (#905) 2020-07-25 11:47:08 -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