Commit Graph

322 Commits

Author SHA1 Message Date
destro174 7f4fa390f2 Fix kickfromclaim if target is riding 2022-03-05 12:12:10 +01:00
destro174 c2da8cdd4b Remove legacy codes in config 2022-03-05 11:29:58 +01:00
destro174 f89d443bd1 Add kick from claim 2022-03-05 11:26:38 +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 9ca7f880a0 Don't load chunks when checking for nearby claims 2022-02-25 23:58:09 +01:00
destro174 7d1fe8bf2f remove bloat 2022-02-25 23:51:32 +01:00
destro174 3ae6542648 better formatting for ignoreclaim warning 2022-02-25 21:53:28 +01:00
destro174 cba5fbbdf8 fix some stuff 2022-02-24 19:39:19 +01:00
destro174 68e14f9ceb add trust info message 2022-02-24 19:21:33 +01:00
destro174 04a035091c add error message 2022-02-24 19:18:36 +01:00
destro174 2587b26eb2 Merge branch 'alttd' of https://github.com/Altitude-Devs/AlttdGriefPrevention into alttd 2022-02-24 18:59:21 +01:00
destro174 0f8b6b5a0d mostly claimnearby stuff? 2022-02-24 18:58:38 +01:00
Teriuihi 66439802de Removed 0-500 changed to 0-10000 2022-02-22 22:37:18 +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 dbd0a4f2b9 cache playername on login 2022-02-20 14:56:51 +01:00
destro174 bbf140b020 show playernames in trustlist on webmap 2022-02-20 14:42:54 +01:00
destro174 4608ca9b95 Only cache offline playernames is requested 2022-02-20 14:42:41 +01:00
destro174 e96cbd344b Remove IgnoreLoaderThread 2022-02-20 14:34:43 +01:00
destro174 e18ec1e55c Remove wastefull cache, to be replace by a better one 2022-02-20 14:33:40 +01:00
Teriuihi a60c542b15 Fixed claim buying 2022-02-20 04:17:57 +01:00
destro174 e9eb96eb73 remove bloat 2022-02-20 01:18:18 +01:00
destro174 448f81baec fix plugin not starting 2022-02-19 22:23:26 +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 2c8121dd2c remove ClaimsMode.Creative 2022-02-19 20:40:52 +01:00
destro174 1d9b5ed1f4 remove ClaimsMode.SurvivalRequiringClaims 2022-02-19 20:31:16 +01:00
destro174 e513d226b6 remove ipbaninfo 2022-02-19 20:17:47 +01:00
destro174 4610d39713 remove troll filter 2022-02-19 20:15:08 +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 998bf5201c Remove metrics 2022-02-19 19:35:55 +01:00
destro174 1ccf191596 remove unused stuff 2022-02-19 19:33:50 +01:00
destro174 bf1c4c38a2 incremental claimblock prices 2022-02-18 11:05:31 +01:00
destro174 b784eea500 show player name in ignoreclaimwarning 2022-02-17 08:51:14 +01:00
destro174 999b474a9d Add increasing prices for claimblocks 2022-02-15 22:51:51 +01:00
destro174 d8f64cd09a protected -> public 2022-02-15 21:14:05 +01:00
destro174 f7664a5c29 Fix config path and config not loading 2022-02-15 21:13:15 +01:00
destro174 348786a5ee public -> private 2022-02-15 20:41:45 +01:00
destro174 d0e8cfe3f8 Remove configurate 2022-02-15 16:41:32 +01:00
destro174 0583968f67 Add warning message if ignore claims remains enabled 2022-02-15 15:31:04 +01:00
destro174 c17fb9cd5f Add pl3xmap 2022-02-15 15:26:23 +01:00
destro174 ca71243ad5 Add alternative claim expiriation 2022-02-15 14:07:31 +01:00
destro174 9a12797204 Add /claimlistsextra command 2022-02-15 13:00:09 +01:00
destro174 6f2e6b3d05 Add alttdconfig 2022-02-14 10:18:03 +01:00
destro174 2b76b90033 Add melon and pumpkin to container trust 2022-02-14 10:09:35 +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 1017a49c41 fix npe when mypet isn't loaded 2022-02-14 10:05:42 +01:00
destro174 f471a4ea72 Auto public trust in the admin end claim 2022-02-14 10:01:29 +01:00
destro174 bf491d649a Ignore mypets in listeners 2022-02-14 10:00:17 +01:00
destro174 366cb327a4 Relocate custom listeners 2022-02-14 09:57:19 +01:00
destro174 8cdccefdc7 Auto claim the end island 2022-02-14 09:56:32 +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 0e3a2e9791
Fix new depth not being set correctly (#1736) 2022-01-04 21:24:35 -08:00
Adam 3562a238dd
Clean up events for add-ons (#1706)
* Restructure and document events
2021-12-10 12:14:40 -08:00
Adam 9badf7e829
Fix 1.18 biome issues, maintain 1.17 compat (#1694) 2021-12-10 12:06:56 -08:00
Kamil Trysiński 137a951448
Fix WorldGuard integration (#1630) 2021-12-10 12:00:34 -08: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
Camotoy 62a1006f02
Better handling of usernames with periods (#1543)
Fixes #1360
2021-12-05 11:03:15 -08:00
drbot7 4b0998dbb7
Protect rooted_dirt (#1541)
Closes #1535
2021-12-05 10:59:09 -08:00
Adam c64baf0baa
Sanitize claim depth on extend/resize (#1598)
Closes #312
2021-12-05 10:50:15 -08:00
Yasin ca11fd1695
API: add ClaimTransferEvent (#1641) 2021-12-05 10:42:32 -08:00
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
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 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
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 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 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
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
Erik Eide 7ce30c6bec
Allow for sqlite backend to be used (#1157) 2020-12-18 08:55:02 -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