Commit Graph

59 Commits

Author SHA1 Message Date
destro174 d8f64cd09a protected -> public 2022-02-15 21:14:05 +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 f471a4ea72 Auto public trust in the admin end claim 2022-02-14 10:01:29 +01:00
destro174 8cdccefdc7 Auto claim the end island 2022-02-14 09:56:32 +01:00
Adam 3562a238dd
Clean up events for add-ons (#1706)
* Restructure and document events
2021-12-10 12:14:40 -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 6382a9fee4
Config option on silencing ban messages (#1480)
Enabled by default as per previous behavior.
2021-07-21 10:12:24 -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
zhenghanlee f4680c4051
Change method signature of allowBreak method in main class (#1406) 2021-06-17 14:11:46 -07:00
RoboMWM eaaa42365e reinstate default of max accrual blocks to 80k
comment in #1107

c7327d4#diff-bd72da6eb91964fbaa474bafcaac56434a55926a9743ec41c3dba6de30eedc86L531

This is when it changed, when he added the multiple accrual rate
permissions.
2020-11-28 22:28:08 -08:00
Frank van der Heijden e4a666f8be
Make sound of piston explosions toggleable (#996) 2020-10-11 20:59:17 -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 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
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 eff759463d
Fix error in piston mode migration (#1013) 2020-09-17 08:19:51 -07:00
Adam 581e8881e9
Add new, efficient options for handling pistons (#933) 2020-09-14 16:45:08 -07:00
Adam e8c9222337
Fix /AbandonAllClaims usage (#1009)
Closes #1008
2020-09-14 08:19:06 -07:00
Adam 81cfc8f2d9
Confirm /abandonallclaims (#1000) 2020-09-07 04:19:09 -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
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
Izmoqwy 093cbb0e93
Add config to limit bonus claim blocks (on purchase) (#786) 2020-05-03 17:59:27 -07:00
Adam 61c1ccda3f
Fix DeleteUserClaimsInWorld command (#720)
Closes #718
2020-02-15 02:26:39 -08:00
RoboMWM 956bdbc688 Do not attempt fuzzy matching players
Fixes #541
2020-02-01 20:39:41 -08:00
Bobcat00 85205e9b6f Add config option to ignore piston movements (#671) 2019-12-15 15:15:50 -08:00
Edson Passos dda2a50c70 trust change event (#623) 2019-09-17 19:19:30 -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 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 59d9e6f556 Remove travel agent and related config option
- Removed Claims.PortalGenerationRequiresPermission

Closes #534
2019-06-09 10:33:38 -07:00
Shane Bee f96d62aa05 Config to allow fire spread and damage within claims (#445) 2019-01-09 15:50:21 -08:00
112madgamer 1a7a6eca42 Siege cooldown (#418) closes #415 2018-11-19 00:03:24 -08:00
112madgamer 3e1e058001 Allow Donkey and llama protection to be disabled (#406) 2018-11-03 01:38:45 -07:00
RoboMWM 5fc85097a7 typo 2018-09-22 06:30:28 -07:00
RoboMWM cf217e27c4 config for OfflinePlayer cache, closes #238
The OfflinePlayer cache holds players who have logged in within the last
X number of days (default 90).
2018-09-22 05:37:35 -07:00
RoboMWM f6b35d71bf Claim expiration: improvements+config option. Closes #24
- Claim expiration collects all players (uuids) that own claims, and
iterates this set instead of iterating through every single claim.
- Individual claims had a "last modified" timestamp, so this method was
valid before, but makes no sense now since expiration is based on player
inactivity instead of claim inactivity.

New config option under the advanced node allows controlling the
frequency each player in the aforementioned set is checked for
inactivity.
2018-09-22 05:21:00 -07:00
RoboMWM 93a36dd9e1 Remove old try-catch block, add metrics 2018-09-22 04:47:40 -07:00