Commit Graph

1062 Commits

Author SHA1 Message Date
9e8f0e7325 Refactor: getVersionMin/MaxY -> versionMin/MaxY 2021-12-29 16:44:41 +00:00
8d565b93f7 Compress switch statements a bit using enhanced 2021-12-29 16:39:44 +00:00
19de815ab4 chore: Format our loggers properly 2021-12-29 17:13:20 +01:00
177d731957 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
2021-12-29 16:17:20 +01:00
bca3a1b04d More precise method names in MinecraftVersion
- Also ensure correct comparisons are made in FaweBukkit and BukkitServerInterface
 - Fixes #1504
2021-12-29 14:46:30 +00:00
d19369401f Don't force tick limiter enable/disable 2021-12-29 00:18:12 +00:00
f236934a39 Add get default version min/max world height to platform
- Fixes #1500
2021-12-28 22:46:19 +00:00
07695786ca return air instead of reserved on get blocks 2021-12-26 19:52:02 +01:00
a717df3c5f implement 1.18 regen 2021-12-26 16:20:39 +01:00
7da921e075 refactor: Deprecate IMP initializors in favor of builders 2021-12-22 20:58:23 +01:00
34f971c729 Add classes with the correct minor version to the start of the adapter candidates list 2021-12-22 12:19:20 +00:00
d98f626ba6 Reverse a "debug" change to BukkitImplLoader 2021-12-22 11:37:01 +00:00
6b6c94556a refactor! Remove deprecations marked for removal that are not present in upstream (#1483) 2021-12-22 01:53:45 +01:00
d6110013b8 tests: Add resource pack methods 2021-12-21 00:42:46 +01:00
d6e3c331d4 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 <mc.cache@web.de>

* 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 <mc.cache@web.de>
Co-authored-by: Matt <4009945+MattBDev@users.noreply.github.com>
2021-12-20 21:12:04 +00:00
1f975ac044 Update templates, address JEP deprecations and place a few TODOs 2021-11-30 21:30:46 +01:00
e296a329c2 Port initial paperweight classes to 1.18 folder structure 2021-11-30 12:35:34 +01:00
fc4517fe4c feat: Sort plugins on debugpaste (#1429)
* Replace plugins with an array and sort them by their name.

Resolves #1428

* Use comparator

Co-authored-by: Alex <mc.cache@web.de>
2021-11-20 16:28:18 +00:00
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
5604000ae2 style: Don't use spaces before colons in yaml files 2021-11-17 17:58:42 +01:00
95ecb5609d Check for worldguard bypass permissions 2021-11-05 19:04:15 +00:00
4e6aee6bfb Don't consider global region for blacklisting WG regions 2021-10-25 14:12:21 +01:00
75be38925f Fix #1378 2021-10-25 14:11:17 +01:00
ad640532dc Update Upstream
d48530c Don't allow editing without a Bukkit Impl Adapter. (1920)
2021-10-24 12:21:23 +02:00
c55bc8c05f refactor: Move update checker to core
feat: Add permission for tracing
2021-10-23 19:36:59 +02:00
c07ba4e88e Merge branch 'feature/region-blacklist' 2021-10-21 17:13:13 +02:00
8ed4736066 Add override and correct default method for fromNative
- Fixes #1370
2021-10-20 13:47:55 +01:00
13be5a22ad Fix #1370
- Actually override toNative in adapter
 - Correctly assign generic-type
 - Better default method for BinaryTag retrieval in adapter
2021-10-19 15:14:25 +01:00
b5479e480d Don't attempt to run null P2 tasks 2021-10-19 13:35:00 +01:00
bd9476a175 refactor: Address .editorconfig violations 2021-10-18 23:09:21 +02:00
74486fc8c9 chore: Update adapters 2021-10-17 17:33:48 +02:00
8fe610311d Comments 2021-10-17 15:53:19 +01:00
c7c00021b2 Cleanup 2021-10-17 15:53:19 +01:00
7d894228d0 Implement region blacklisting 2021-10-17 15:53:04 +01:00
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
27865dc785 chore: Exchange debug log levels & component-ify a few messages (#1342) 2021-10-17 14:50:42 +02:00
69a85fb068 tests: Update tests to latest Server changes 2021-10-17 10:06:21 +02:00
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
546ad86841 fix: Update StubServer.java to the latest spigot changes (#1345) 2021-10-07 18:05:56 +01:00
6895234815 Don't allow edits on plots when owner is offline and player is only added (#1313) 2021-10-04 12:34:40 +00:00
c10e48320b Fix inverted expectFail boolean 2021-09-30 12:35:17 +01:00
e94b85a0fc Don't load clipboard more than once. Deprecate BukkitPlayer constructors as it's more efficient to use cached players 2021-09-28 14:11:12 +01:00
268244119f Update adapters? 2021-09-24 17:05:26 +01:00
40b024fbba Set legacy ID when adapter is loaded to enable reading/writing anvil 2021-09-22 16:15:18 +01:00
a3d50585c2 Don't print error message if we're expecting it on biome loading 2021-09-22 15:58:11 +01:00
64036a38cf Update adapters to 32c896db93 2021-09-22 12:58:09 +01:00
268d8cff49 Apply list of properties everywhere 2021-09-21 18:53:37 +01:00
cf585c48ae Update adapters 2021-09-21 18:41:01 +01:00
e750e014ab Properties can have the same string name
Make map of all properties string against list
2021-09-21 18:34:31 +01:00
3617a29ba8 Address javadoc violations 2021-09-21 17:40:53 +02:00