Commit Graph
100 Commits
Author SHA1 Message Date
NotMyFault 38b0dcf7e4 Update upstream
e485433 Fix legacy error message output for WorldGuard commands (2023)
2022-01-30 19:54:50 +01:00
AlexandGitHub 4610688fcb fix: Debugpaste on 1.17 and lower due GSON incompatibility (#1583) 2022-01-28 22:15:24 +01:00
NotMyFault 15076f3d93 [ci skip] docs: Update documentation for Java 17 2022-01-27 21:04:22 +01:00
NotMyFault 272920fb25 build: Back to snapshot for development 2022-01-27 16:06:40 +01:00
NotMyFault a0b61512fb build: Release 2.0.1 2022-01-27 15:52:23 +01:00
NotMyFault e309cf8f3c build: Update PlotSquared 2022-01-27 15:30:18 +01:00
AlexandGitHub e8f72d6521 fix: Deduplicate error messages (#1557)
Fixes https://github.com/IntellectualSites/FastAsyncWorldEdit/issues/1535
2022-01-24 12:52:33 +01:00
AlexandGitHub 016b4ba81d fix: Unify superpickaxe behavior (#1553)
Fixes https://github.com/IntellectualSites/FastAsyncWorldEdit/issues/1547
2022-01-21 14:41:24 +01:00
NotMyFault d17e3a6555 chore: Add missing Fawe annotations to //regen command 2022-01-19 13:58:52 +01:00
NotMyFault 4d2a34fd21 refactor: Update upstream
0ad3ab1 Remove extra label from bukkit command usage string.
2022-01-17 13:20:16 +01:00
NotMyFault 0ccae19ded refactor: Update javaodc url 2022-01-14 15:34:04 +01:00
NotMyFault f077ec9163 build: Back to snapshot for development 2022-01-14 14:54:37 +01:00
NotMyFault 2c4453b68f build: Release 2.0.0 2022-01-14 13:53:59 +01:00
AlexandGitHub 9e40b972b1 refactor: Put Fawe version information at debugpaste to (#1533) 2022-01-12 01:22:24 +01:00
AlexandGitHub 6b857b0f58 ci: Cleanup maven repositories (#1526) 2022-01-12 01:21:27 +01:00
NotMyFault f0f201002a Update adapters 2022-01-09 11:22:00 +01:00
AlexandGitHub 9ba90d8c83 refactor: Drop custom snakeyaml implementation (#1523)
* refactor: Drop custom snakeyaml implementation

* Merge branch 'main' into chore/main/remove-snakeyaml-wannabe-abstraction
2022-01-09 10:55:16 +01:00
AlexandGitHub 64442a8051 refactor: Tackle a few Semgrep and ErrorProne violations (#1520)
* refactor: Tackle a few Semgrep and ErrorProne violations

* Address comments
2022-01-07 12:45:53 +01:00
AlexandGitHub f27959e49a [ci skip] Don't run build twice 2022-01-07 10:42:57 +01:00
AlexandGitHub fe1a77a593 ci: Let release drafter listen to forks too 2022-01-05 23:49:36 +01:00
NotMyFault 3a78abe273 ci: Change GH action branch 2022-01-05 17:00:42 +01:00
8b973da7ee feat!: Update for 1.18 (#1482)
* ci: Switch deployment to gh actions and use semver & java 17

* build: Update core dependencies

- Drop paranamer, you can access parameter names at runtime with Java 8+ natively

* ci: Snapshot builds are the default

* ci: Cleanup and finish transition

* ci: Trigger initial sync with the OSSRH

* revert: OSSRH snapshot deployment was successful, returning to baseline

This reverts commit 3a189f65f2.

* ci: Register javadoc jar for lib artifacts

* ci: Sign artifacts

* build: Set kotlin jvm toolchain

* style: Use minimized `version` output

* feat: Setup project structure for 1.18

* Exclude 1.17

* Port initial paperweight classes to 1.18 folder structure

* Move to Paper 1.18

* Update templates, address JEP deprecations and place a few TODOs

* Drop Guava 21 enforcement

* Make 1.18 to be effectively in a usable state (#1452)

* Update swathes of easy-to-update-sort-of-code.
 - Untested
 - Should compile but NMF broken something
 - Several todos:
  - biome history//better support (move to biome sections in core)
  - regen (haha lol no thanks, someone else can do that)
  - probably actually do the palette stuff that probably won't work in PaperweightPlatformAdapter

* ci: Provide basic Jenkinsfile for ghprb pipeline

* build: Update paperweight

* upstream: Update Upstream

de6fa17 Add getBrush helper for use with instanceof pattern matching (1926)

* FAWE will now load on startup

* it....works?

* Begin to allow biome edits (and fix biomes reverting to plains upon editing blocks)

* Add new blocks/block properties

* Only create biome palette if supplies is null

* Fix biome operations

* Finally get removing BlockID done (major version change allows it)

* refactor!: Drop PlotSquared v4

Fawe 2.0.0 and newer requires Java 17, PlotSquared v4 supports 1.13 and 1.14, Fawe wont work on these versions nevertheless and refuses to load due Java version incompatiblities with older versions. Newer versions can use PlotSquared v6.

* docs: Update readme

* Added and removed some comments

* Added and removed some comments

* refactor: Rename worldedit configuration

* build: Re-add 1.17 module

This the a very nasty commit

* chore: Implement missing methods

* build: Update paperweight

* upstream: Update upstream

6df194e Remove finalize, use a Cleaner instead (1943)
9843a4f Fix snapshots in 1.18 (1959)

* ci: Escape workflows

* build: Update paperweight to 1.18.1

* build: Update Paster

* Fix compilation

* Bump to 1.18.1

* Do both 1.18 and 1.18.1

Co-authored-by: Alex <[email protected]>

* Fix single-block lookups

* Reserve ordinals 0 through 3 for air/"reserved"

* Create block palette data with values

* Fix classpath for testing for starlight

* Correctly use block rather than sky light layer [not used in paper]

Co-authored-by: NotMyFault <[email protected]>
Co-authored-by: Matt <[email protected]>

* Update version (checking) for semver

* build: Fix release drafter base branch

* Trigger GHPRB

* tests: Add resource pack methods

* build: Update paperweight and add 1.17 again

* chore: Lazily change build delimiter

* build: Deploy API snapshots for 2.0.0

* Update adapters jar

* More verbosely get block data and ensure biome layer isn't null

* refactor: Address a few `TODO 1.18`'s

(cherry picked from commit 0b77932b6e46c825d78b8c7ccae2a68ad890564e)

* fix: Fix `/fawe debugpaste`

* refactor! Remove deprecations marked for removal that are not present in upstream (#1483)

* Reverse a "debug" change to BukkitImplLoader

* Fix parsing of build in FaweVersion

* refactor: Do prepared statements properly

- Update TextureUtil client jar to 1.18.1
- Limit the update checker to our domain

* Add classes with the correct minor version to the start of the adapter candidates list

* refactor: Deprecate `IMP` initializors in favor of builders

* Fix WEManager (#1487)

* Fix WeManager?

* Fix WeManager?

* Also register WEManager if not available, like TaskManager.

* refactor: Also deprecated `IMP` for DBHandler

* feat: Add a bunch of new types to the flora generator

* use spigot-compatible palette constructor

* use spigot-compatible packet constructor

* implement 1.18 regen

* return air instead of reserved on get blocks

* refactor: Shift `FileAlreadyExistsException` catch to a higher level

* read the actual block from ZeroBitStorage

* Add get default version min/max world height to platform
 - Fixes #1500

* Add methods to CLIPlatform

* Fix #1490

* Fix tests

* Don't force tick limiter enable/disable

* Use Math.floor instead of int cast 757bef1f7d2b16317ab3d18427ad22183344e28d

* More precise method names in MinecraftVersion
 - Also ensure correct comparisons are made in FaweBukkit and BukkitServerInterface
 - Fixes #1504

* Add back statically-set reserved IDs for air blocks only, make it clear they're "reserved" (#1502)

* Add back statically-set reserved IDs for air blocks only, make it clear they're "reserved"
Also:
 - Ensure that reserved is never returned in GET block operations
 - "empty" thus doesn't exist in the GET update methods; remove the needless checks
 - Allow GET/SET chunks to determine their own default values for non-present blocks/sections

* Add comments

* Remove mentions of NMS from compilation instruction

* Update log4j version, update jd links to use "latest"

* Move to BinaryTags where appropriate in adapters

* Add comments to changed code

* Rename worldedit to fawe where appropriate

* Use new language features

* chore: Format our loggers properly

* Remove unneeded comments

* Replace CachedChange class with record

* Remove/add some more comments

* Remove remaining keywords frm CachedChanged. IJ doesn't warn?

* Compress switch statements a bit using enhanced

* More enhanced switches

* Refactor: getVersionMin/MaxY -> versionMin/MaxY

* Throw, catch, and rethrow our own exception to make sure we're finding the culprit to a possible shaded-FAWE.

* Don't wrap Exception thrown upon invalid schematic path inside a RuntimeException
Fixes #1506

* docs: Put `since` annotation on newly introduced API

* docs: Drop clarified todos

* Warn user if using small-edit history setting with extended world heights

* Refactor: add javadoc to Clipboard#create and improve variables when delegating to another paste method

* Fix issue with offset/origin when pasting a clipboard via API without wrapping into a BlockArrayClipboard

* build: Remove drop our maven repository

* docs: Fix deprecation tag

* Fix incorrect toNative method in 1.17 adapter

* refactor: Deprecate tick limiter API for public use

* ci: dordsor does love rebasing here too

* docs: Document annotations

* Update upstream

fb5ec19 Fix error for snapshot restore missing chunk

* docs: Document a few undocumented annotations

* feat: Add worldedit.schematic.list.other permission and functionality (#1507)

* Add worldedit.schematic.list.other permission and functionality

* Implement StringMan#containsUuid

* Javadocs

* chore: Add since annotation

Co-authored-by: NotMyFault <[email protected]>

Co-authored-by: NotMyFault <[email protected]>
Co-authored-by: Matt <[email protected]>
Co-authored-by: Aurélien <[email protected]>
Co-authored-by: SirYwell <[email protected]>
Co-authored-by: JOO200 <[email protected]>
Co-authored-by: Owen1212055 <[email protected]>
2022-01-05 16:58:30 +01:00
NotMyFault f4658cc668 docs: Document a few undocumented annotations 2022-01-04 21:15:45 +01:00
NotMyFault ef686af8dd Update upstream
fb5ec19 Fix error for snapshot restore missing chunk
2022-01-04 21:01:49 +01:00
NotMyFault 631fd3c7f5 docs: Document annotations 2022-01-04 20:57:23 +01:00
NotMyFault 30c2597aad ci: dordsor does love rebasing here too 2022-01-04 20:33:43 +01:00
NotMyFault b8399abfe1 refactor: Deprecate tick limiter API for public use 2022-01-04 20:33:05 +01:00
NotMyFault 7e96853b89 docs: Fix deprecation tag 2022-01-01 18:46:28 +01:00
NotMyFault 42d6466a4c build: Remove drop our maven repository 2021-12-31 17:26:15 +01:00
NotMyFault aaad86cf1d docs: Drop clarified todos 2021-12-29 18:16:19 +01:00
NotMyFault 122cba677a docs: Put since annotation on newly introduced API 2021-12-29 18:14:18 +01:00
NotMyFault 19de815ab4 chore: Format our loggers properly 2021-12-29 17:13:20 +01:00
NotMyFault 596356a936 refactor: Shift FileAlreadyExistsException catch to a higher level 2021-12-27 00:00:49 +01:00
NotMyFault 040a011ff1 Merge branch 'main' into major/2.0.0/1.18 2021-12-26 16:24:36 +01:00
NotMyFault 0c8db1e1fe feat: Add a bunch of new types to the flora generator 2021-12-25 19:03:30 +01:00
NotMyFault 42035bdb87 chore: Lazily prepare update checker for future job
Future versions of Fawe use a version agnostic job. This commit will remain unmerged to any other branch but warrant a working update checker.
2021-12-25 17:24:26 +01:00
NotMyFault 3b24a8ae8a Merge branch 'main' into major/2.0.0/1.18 2021-12-25 17:20:52 +01:00
NotMyFault 28079e8129 refactor: Also deprecated IMP for DBHandler 2021-12-23 15:59:05 +01:00
NotMyFault 7da921e075 refactor: Deprecate IMP initializors in favor of builders 2021-12-22 20:58:23 +01:00
NotMyFault 1715f35341 refactor: Do prepared statements properly
- Update TextureUtil client jar to 1.18.1
- Limit the update checker to our domain
2021-12-22 13:10:04 +01:00
NotMyFault a4cec49e89 fix: Fix /fawe debugpaste 2021-12-22 00:53:27 +01:00
NotMyFaultanddordsor21 94b392dd39 refactor: Address a few TODO 1.18's
(cherry picked from commit 0b77932b6e46c825d78b8c7ccae2a68ad890564e)
2021-12-21 18:02:20 +00:00
NotMyFault aff3d8ba49 build: Deploy API snapshots for 2.0.0 2021-12-21 17:48:56 +01:00
NotMyFault c9dc1ed655 Merge branch 'main' into major/2.0.0/1.18 2021-12-21 17:31:46 +01:00
AlexandGitHub 8ab1d50f01 docs: Issue templates are provided by the default branch 2021-12-21 17:22:00 +01:00
NotMyFault 7453f12e66 chore: Lazily change build delimiter 2021-12-21 16:27:46 +01:00
NotMyFault 78aff4c81f build: Update paperweight and add 1.17 again 2021-12-21 11:11:08 +01:00
NotMyFault d6110013b8 tests: Add resource pack methods 2021-12-21 00:42:46 +01:00
NotMyFault 01ce0f94af Trigger GHPRB 2021-12-21 00:30:36 +01:00
NotMyFault 6350fe5411 build: Fix release drafter base branch 2021-12-20 22:20:41 +01:00
NotMyFault a87323616d Merge remote-tracking branch 'origin/renovate/org.checkerframework' 2021-12-13 20:18:34 +01:00
AlexandGitHub 9fdff97e29 build: Update paperweight (#1454) 2021-12-10 16:20:15 +01:00
NotMyFault 6afde13a01 Drop Guava 21 enforcement 2021-11-30 22:13:13 +01:00
NotMyFault 1f975ac044 Update templates, address JEP deprecations and place a few TODOs 2021-11-30 21:30:46 +01:00
NotMyFault d3aaf7acff Move to Paper 1.18 2021-11-30 18:04:47 +01:00
NotMyFault e296a329c2 Port initial paperweight classes to 1.18 folder structure 2021-11-30 12:35:34 +01:00
NotMyFault 930025afac Exclude 1.17 2021-11-30 00:23:46 +01:00
NotMyFault 38130f701c feat: Setup project structure for 1.18 2021-11-30 00:16:19 +01:00
NotMyFault 0b45248b8c style: Use minimized version output 2021-11-29 22:15:41 +01:00
NotMyFault 2a1bef28d0 Merge branch 'main' into major/2.0.0/1.18 2021-11-27 12:21:55 +01:00
AlexandGitHub 05c22a6802 build: Update paperlib (#1439) 2021-11-27 12:21:38 +01:00
AlexandGitHub 11e25911d5 upstream: Update upstream (#1430)
* upstream: Update upstream

c407471 Re-add class shutter with tweaks. (1947)

* upstream: Update Upstream

29f1c66 If a trace hits the world limit, cancel it (1942)

* upstream: Update upstream

511daa5 Update paperweight dev bundle
2021-11-26 23:31:27 +01:00
NotMyFault 0af0d84cf7 build: Set kotlin jvm toolchain 2021-11-25 18:23:18 +01:00
NotMyFault 22f52fc4e1 ci: Sign artifacts 2021-11-25 13:14:49 +01:00
NotMyFault 121bd58029 ci: Register javadoc jar for lib artifacts 2021-11-23 14:14:01 +01:00
NotMyFault 64f393201f revert: OSSRH snapshot deployment was successful, returning to baseline
This reverts commit 3a189f65f2.
2021-11-22 18:11:27 +01:00
NotMyFault 3a189f65f2 ci: Trigger initial sync with the OSSRH 2021-11-22 17:18:21 +01:00
NotMyFault 52293f54e8 ci: Cleanup and finish transition 2021-11-22 16:56:20 +01:00
NotMyFault 7d5659aeac ci: Snapshot builds are the default 2021-11-22 14:35:40 +01:00
NotMyFault 705f580290 build: Update core dependencies
- Drop paranamer, you can access parameter names at runtime with Java 8+ natively
2021-11-22 13:47:59 +01:00
NotMyFault 507b8d5e35 ci: Switch deployment to gh actions and use semver & java 17 2021-11-22 13:38:32 +01:00
NotMyFault 4b57a34f59 [ci skip] Setup release drafter for future work 2021-11-22 09:44:24 +01:00
AlexandGitHub 4c6e707fcf fix: Error when setting PS v4's config option (#1427)
Fixes https://github.com/IntellectualSites/FastAsyncWorldEdit/issues/1372
2021-11-19 09:42:33 +00:00
NotMyFault 5604000ae2 style: Don't use spaces before colons in yaml files 2021-11-17 17:58:42 +01:00
NotMyFault 7f61483609 build: Update dependencies
Closes #1415
2021-11-15 12:38:52 +01:00
AlexandGitHub ae53990136 [ci skip] Update codeowners' team scope 2021-11-14 18:40:54 +01:00
NotMyFault 6f33c5223d build: Update Gradle
Address regression from 3ad2f8b5fa
2021-11-11 22:30:22 +01:00
NotMyFault 3ad2f8b5fa Update Upstream
bd87665 Update paperweight + userdev bundle. (1930)
2021-11-11 22:22:44 +01:00
NotMyFault ad640532dc Update Upstream
d48530c Don't allow editing without a Bukkit Impl Adapter. (1920)
2021-10-24 12:21:23 +02:00
NotMyFault c55bc8c05f refactor: Move update checker to core
feat: Add permission for tracing
2021-10-23 19:36:59 +02:00
NotMyFault d4eda78818 refactor: Remove redundant loggers 2021-10-21 17:26:16 +02:00
NotMyFault c07ba4e88e Merge branch 'feature/region-blacklist' 2021-10-21 17:13:13 +02:00
NotMyFault 7294e2346e fix: Update adapters to latest reflection changes 2021-10-21 11:31:12 +02:00
NotMyFault e7a6c3e58c Merge branch 'chore/main/deprecate-unsafe-utils' 2021-10-19 22:09:01 +02:00
NotMyFault bd9476a175 refactor: Address .editorconfig violations 2021-10-18 23:09:21 +02:00
NotMyFault 9a33789e41 build: Update shadow and PlotSquared
Closes #1367
2021-10-18 22:41:31 +02:00
NotMyFaultandGitHub f7c428a894 Merge branch 'main' into chore/main/deprecate-unsafe-utils 2021-10-18 22:08:27 +02:00
NotMyFault 6827f17d4d build: Closes #1365 2021-10-18 22:08:07 +02:00
NotMyFault f1e8a1a29a refactor: Move Unsafe to reflection class 2021-10-18 22:01:54 +02:00
NotMyFault 74486fc8c9 chore: Update adapters 2021-10-17 17:33:48 +02:00
NotMyFaultandGitHub f0880a27a0 feat: Paperweight support (#1362)
* Initial work towards paperweight

* feat: Port Fawe classes to paperweight

- Hide UnsafeUtilities in javadocs
- Fix typo in Regenerator
- Create fawe tmp directory for fawe regen

* Update adapters

* chore: Update MiniMessage

* Address todos

* Fix leftover Tuinity loggers
2021-10-17 16:32:36 +02:00
NotMyFaultandGitHub 27865dc785 chore: Exchange debug log levels & component-ify a few messages (#1342) 2021-10-17 14:50:42 +02:00
NotMyFault 69a85fb068 tests: Update tests to latest Server changes 2021-10-17 10:06:21 +02:00
NotMyFaultandGitHub 5db9a601b1 feat: (Re-) Add update notifications (#1361)
* feat: (Re-) Add update notifications

Fixes #1348

* Move update notification to seperate class

- Add a couple of linebreaks to the chat messages
2021-10-17 09:55:25 +02:00
NotMyFault c58f9daf0d build: Test with valid junit version
This is likely a typo from mockito. Junit 4 was released in 2014, not to mention prior versions...
2021-10-10 01:21:44 +02:00
NotMyFault 99b45c13fb fix: Invalid yaml syntax of new config values
Follow up from 6839fa5567
2021-10-09 17:22:16 +02:00
NotMyFault d641e21dfc [ci skip] Move to org level templates 2021-10-08 19:03:41 +02:00
NotMyFaultandGitHub e2924f4cba feat: Improve wording of allowed-plugins message (#1341)
Fixes #1319
2021-10-07 17:12:17 +00:00
NotMyFaultandGitHub 2e10936b3d [ci skip] chore: Limit dependency updates to one day per week
Closes #1333
2021-09-29 22:48:42 +02:00
NotMyFaultandGitHub 5940ebbccc [ci skip] chore: Never suggest to update guava
Closes #1321 
Closes #1320
2021-09-26 01:36:47 +02:00