Commit Graph

24 Commits

Author SHA1 Message Date
Adam 74700dc3de
Add option to enforce a minimum claim size for automatically-generated claims (#1037) 2020-10-02 09:02:37 -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 1928b7ece7
Add ClaimExtendEvent (#947) 2020-09-07 05:14:26 -07:00
Adam 81cfc8f2d9
Confirm /abandonallclaims (#1000) 2020-09-07 04:19:09 -07:00
Frank van der Heijden 4b3852d624 Implement Cancellable in ClaimModifiedEvent (#942)
- If canceled, GP stops processing the resize command (no error printed or potential overlapping claim displayed)
2020-08-07 10:27:49 -07:00
Frank van der Heijden ee1a5c567b
DataStore#getChunkHash is publicly accessible (#943) 2020-08-06 08:27:24 -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 d326f106d6 Ensure subclaim boundaries are inside parent (#590)
Fixes GHSA-7mmh-4c9r-pf6v
2019-08-23 12:32:59 -07:00
RoboMWM 59d9e6f556 Remove travel agent and related config option
- Removed Claims.PortalGenerationRequiresPermission

Closes #534
2019-06-09 10:33:38 -07:00
RoboMWM 832ec7ed86 make NoTransferException public and unchecked 2019-03-17 21:13:44 -07:00
Sigurdur 50d0376525 Assign claim ID to new claims before calling ClaimCreatedEvent (#465) 2019-03-02 22:42:04 -05:00
Sigurdur 59c9157edc Update chunk claim map on resize (#464) 2019-03-02 15:15:18 -05:00
Sigurdur 904c304666 Mutate existing claim instead of creating new claim on resize (#461) 2019-01-26 10:54:35 -08:00
112madgamer 1a7a6eca42 Siege cooldown (#418) closes #415 2018-11-19 00:03:24 -08:00
RoboMWM c04666b43d Fix NPE that occurs when repairing nextClaimID value
Very likely I was going to refactor this class, but then stopped since
it's abstract and thus can't have any constructor... but apparently I
forgot to revert that line.

Closes #377
2018-09-24 01:51:47 -07:00
RoboMWM e17403feb2 Perform sanity check on nextClaimID, closes #207 2018-08-17 10:15:35 -07:00
Narimm 643ad8a7f7 Add ClaimCreatedEvent and ClaimModifiedEvent (#344)
1. Claim creation event... this is fired once all the claim creation checks have been passed.  It can be cancelled. It contains the claim and the creating player
2. Claim modification event - this is fired as the claim is modified - it cannot be cancelled. It contains the claim and the modifier...which can be null.

Use Case:
This could be used so other plugins can hook gp and perform an action if a claim is created or changed. Something as simple as logging claim creations/modifications and deletions.
2018-08-13 07:09:05 -07:00
jer3m01 f84ff64c24 Fixed typo for Messages.BuySellNotConfigured (#305)
`anhd`--> `and`
2018-06-22 17:42:06 -07:00
Narimm b38e4aedb6 Refactor to maven standard layout (#270) 2018-06-11 23:11:37 -07:00