Commit Graph

2243 Commits

Author SHA1 Message Date
RedstoneFuture c65c9e7827
fix: PlayerEnterPlotEvent (java doc) description (#4426)
Fixing event description
2024-05-13 20:20:29 +01:00
RedstoneFuture f88ea94bfe
Performance Improvement: high-requency listener (#4402)
* Adding new 'high-frequency-listener' setting

* Moving high-frequency event listener in new class

* Small typo
2024-05-13 20:20:21 +01:00
Vrganj 83fe761fe4
perf: Avoid expensive Plot#getOwner calls in Plot#getOwners (#4418)
* Avoid expensive Plot#getOwner calls in Plot#getOwners

* Don't check for the owner beforehand, because it's done in the loop regardless
2024-05-09 14:58:06 +02:00
Pierre Maurice Schwang c239908aa3
Don't heal dead players (#4407)
fix: don't heal dead players
2024-04-21 13:03:00 +02:00
Alexander Brandes bc1cc074b8
Make builds reproducible (#4395)
Signed-off-by: Alexander Brandes <mc.cache@web.de>
2024-04-14 21:04:01 +02:00
Jordan 5e8d8629c2
fix: skip valid location check for world plots (#4388)
- Checking location on teleport to a single plot means the bukkit world is attempted to be accessed before it is loaded
 - we can just skip this check because we know the player will teleport to a reasonable location
2024-04-12 20:55:22 +02:00
Alexander Brandes fe324d3ea9
Release 7.3.7
Signed-off-by: Alexander Brandes <mc.cache@web.de>
2024-04-04 21:47:43 +02:00
Alexander Brandes ff83868cbc
Add a placeholder for grants (#4380)
* Add a placeholder for grants

Signed-off-by: Alexander Brandes <mc.cache@web.de>

* Address feedback

Signed-off-by: Alexander Brandes <mc.cache@web.de>

---------

Signed-off-by: Alexander Brandes <mc.cache@web.de>
2024-03-30 18:30:40 +01:00
Nicolai 82f868ae7d
Introduce tile-drop flag (#4371)
* added tile-drops flag

* added tile-drops flag

* added tile-drop flag

* updated description

* relocated listener
2024-03-26 17:38:55 +01:00
RedstoneFuture 1b40cea51f
Feat: adding "last" argument for Visit cmd to choose the highest number (#4219)
* Refactoring, Adding "last" argument to visit cmd

* Adding reversed plot format

* fixing tab-completion of "last" argument

* reformatting the code-style
2024-03-20 20:00:22 +01:00
Alexander Brandes 1ee76bf2d9
Release 7.3.6
Signed-off-by: Alexander Brandes <mc.cache@web.de>
2024-03-10 17:57:59 +01:00
Hannes Greule 2321831044
Prevent loading faraway chunks (#4370)
* Prevent loading faraway chunks

* docs
2024-03-07 21:34:33 +01:00
Maurice 25e98618b9
feat: introduce a flag section into the config for instabreak (#4368)
* Added and applied config

* removed wrong return logic
2024-03-07 21:34:25 +01:00
Maurice 5344efd1b7
feat: introduce a fishing flag (#4343)
* introduce fishing flag

* fixed typo in description

* added details to the flags description
2024-03-02 13:43:16 +01:00
Pierre Maurice Schwang 28298ffdd6
return false if PLACE_VEHICLE and missing flag (#4345)
fix: return false if PLACE_VEHICLE and missing flag
2024-02-18 05:05:25 +01:00
Alexander Brandes 499d3c39bc
Remove static print out of legacy schematic URL (#4341)
Signed-off-by: Alexander Brandes <mc.cache@web.de>
2024-02-16 20:23:12 +01:00
Alexander Brandes 7b233c944a
Release 7.3.4
Signed-off-by: Alexander Brandes <mc.cache@web.de>
2024-02-12 20:24:23 +01:00
Hannes Greule a2e3274215
Introduce base plot count placeholder (#4328)
* Introduce base plot count placeholder

* add world-specific variant
2024-02-12 18:19:59 +01:00
Jordan 7f1f1e025e
feat: configurable accounting for bedrock layer when setting components (#4266)
- Add configuration option to force plot components to be set only above bedrock level
 - Account for build height < gen height where it is not wanted for components to be set at/below bedrock
2024-02-09 13:48:56 +01:00
Alexander Brandes 5021f5b379
Release 7.3.2
Signed-off-by: Alexander Brandes <mc.cache@web.de>
2024-01-22 20:32:39 +01:00
David 76ea9e0d3c
PostPlotClearEvent added (#4268)
* PostPlotClearEvent added

* Made requested changes

* Clear.java changed

* Changed to PlotPlayer Event

* Removed methods

* Removed methods

* Removed useless import
2024-01-21 15:22:38 +01:00
Pierre Maurice Schwang 951f08bc8b
Add events for plot buying (#4291)
* cancelable event results are nullable

* chore: add javadocs to CancellablePlotEvent#

* feat: events for plot buy process
2024-01-21 15:21:36 +01:00
OneLiteFeather a1d94af242
Fix home command reset (#4295)
* Add location not null check
The issue lies within the equals implementation

* Fix setposition method with default value.
Also add a comment too.

---------

Co-authored-by: OneLiteFeather <seelenretterin@onelitefeather.net>
2024-01-20 00:34:46 +01:00
Pierre Maurice Schwang e4613cfc62
Fix minimessage tag resolver in list command (#4290)
fix: update resolver tag names for list command
2024-01-12 09:35:11 +01:00
Jordan 8c44b2d2d2
feat: add specific admin permissions for placing vehicles (#4258)
- fixes #3850
2024-01-07 14:57:36 +00:00
Jordan 1991142d48
refactor: move leave event dispact to after logic (#4260)
- closes #4171
2023-12-26 15:26:31 +00:00
Alexander Brandes 1a33997099
Release 7.3.0 2023-12-22 17:54:28 +01:00
Alexander Brandes c6b0b99cd6
Fix MM update in plot condensation 2023-12-22 17:28:00 +01:00
Pierre Maurice Schwang dbfc43e3cd
feat: allow for custom plot limit handling (#4261)
* feat: allow for custom plot limit handling

* feat: allow for custom plot limit handling

* chore: use fluent setter
2023-12-18 21:07:41 +01:00
MrJoshuaT c8b4a2fa39
feat: Allow admin done permission to override requiring plot complexity calculation (#4267)
Co-authored-by: MrJoshuaT <josh@jmt.me>
2023-12-16 21:04:11 +00:00
Alexander Brandes d851e27aed
Fix checkerframework javadoc URL 2023-12-16 17:34:56 +01:00
Jordan 4a45729c9e
feat: add projectile-change-block flag (#4185)
- closes #4081
2023-12-12 13:53:10 +00:00
Alexander Brandes 85bec710df
Release 7.2.1 2023-12-09 10:13:42 +01:00
Jordan f5f875eb11
feat: add HasOwner PlotFilter filter (#4259)
* feat: add HasOwner PlotFilter filter
 - closes #3831

* change since to TODO

* Address feedback

---------

Co-authored-by: Alexander Brandes <mc.cache@web.de>
2023-12-07 18:29:10 +01:00
Hannes Greule 31ae62b62c
Introduce `edit-sign` flag (#4236) 2023-11-26 12:36:01 +00:00
Pierre Maurice Schwang eb63e4351d
Feat(API): Mutable Location in PlayerTeleportToPlotEvent (#4196)
* feat: ability to overwrite spawn location for plot teleports

* chore/feat: migrate to LocationTransformer to resolve unnecessary chunk loads

* chore: simplify transform type
2023-11-21 17:26:30 +00:00
RedstoneFuture ba7880241b
Fix: permission check for integer flags (#4217)
* Changing numeric check to support '0'

* Adding notes

* More detailed description of 'max-plots' setting
2023-11-21 17:26:15 +00:00
Alexander Brandes be6838f29e
Make '/plot download world' clickable (#4239) 2023-11-19 14:43:07 +01:00
RedstoneFuture dc73116401
Fix: remove everyone command (#4106)
Fixing remove everyone command
2023-11-19 13:42:11 +00:00
Alexander Brandes fdc887850c
Release 7.2.0 2023-11-03 15:01:50 +01:00
Jordan 3cc770970f
feat: add configurable border size (#4213)
- allows players to travel past border, but not claim
 - closes #2962
2023-10-31 10:51:19 +00:00
RedstoneFuture 95c7f621fb
Fix: including "highestLimit" number (#4218)
Including "highestLimit" number
2023-10-29 10:55:01 +01:00
Hannes Greule 15b4cbdb0f
Simplify Plot#getConnectedPlots and share cache between connected plots (#4212)
* Simplify Plot#getConnectedPlots and share cache between connected plots

* add missing isMerged check
2023-10-23 16:38:41 +02:00
Alexander Brandes c013b92e62
Address deprecated 'Times#of()' in 'PlotPlayer' (#4207) 2023-10-15 12:05:04 +00:00
Jordan b00a46b286
chore: remove poorly implemented /ps debug loadedchunks command (#4180)
- the same (but correctly implemented) functionality exists in other plugins
 - closes #4140
2023-10-10 11:06:22 +01:00
Alexander Brandes c7bfd48a21
Release 7.1.0 2023-10-09 17:03:09 +02:00
Pierre Maurice Schwang dc13783db8
chore: mitigate possible future sqlite driver problems (#4200)
* chore: mitigate possible future sqlite driver problems

* chore/feat: log driver version on error

---------

Co-authored-by: Alexander Brandes <mc.cache@web.de>
2023-10-09 16:55:09 +02:00
Alexander Brandes d111740f64
Updater checkerqual 2023-10-07 20:48:53 +02:00
Jordan a30cdb37d6
fix: load flags after we is initialised (#4186)
* fix: load flags after we is initliased
 - fixes #4073
 - it could be possible to add a callback in the WE initilised event listener, but that overcomplicates it a bit and this is fine tbh

* Extract method
2023-10-07 20:14:54 +02:00
Alexander Brandes f848162066
Default to latest version of informative-annotations (#4199)
* Default to latest version of informative-annotations

* Update Core/build.gradle.kts
2023-10-07 20:14:10 +02:00