Jordan
878509406b
fix: Add items to a player's inventory on the main thread ( #1977 )
...
- Fixes #1954
2022-10-12 20:48:56 +02:00
Alexander Brandes
33be942176
[ci skip] Rewrite README for modrinth ( #1979 )
...
docs: Rewrite README for modrinth
2022-10-09 16:41:22 +02:00
Pierre Maurice Schwang
598cd6ba19
Don't error when NPC-annotated "entity" leaves the server ( #1969 )
...
fix: no need to remove never-added attachment
2022-10-08 13:34:50 +02:00
Alexander Brandes
ad38d88642
[ci skip] Link to GH releases ( #1970 )
...
chore: Link to GH releases
2022-10-04 13:28:10 +02:00
Alexander Brandes
a32d8dcbdb
Release to Modrinth ( #1968 )
...
* feat: Release to Modrinth
* chore: List-ify gameVersions
2022-10-02 21:50:16 +02:00
Hannes Greule
5da558e24c
feature: support paper chunk system ( #1884 )
...
* avoid usage of ticking chunk future on paper
* fix entity handling
* fix entity handling but on spigot
* seems like no one uses spigot
Co-authored-by: Alexander Brandes <mc.cache@web.de>
2022-09-04 23:30:32 +02:00
Hannes Greule
a51863c6f0
fix: use proper level data for regen ( #1921 )
2022-08-27 15:49:01 +01:00
Alexander Brandes
e78277e158
build: Update paperweight ( #1901 )
2022-08-06 22:41:03 +02:00
Alexander Brandes
a414fd308e
Add 1.19.2 ( #1898 )
...
feat: Add 1.19.2
2022-08-05 17:05:15 +02:00
Alexander Brandes
50ee45fedd
feat: Add support for 1.19.1 ( #1887 )
2022-07-28 10:26:43 +02:00
peaches
77a929f6a1
fix: use servers removeGameEventListener instead of reimpl ( #1881 )
...
* fix: use servers removeGameEventListener instead of reimpl
* fix: 1.18.2 impl
2022-07-25 18:49:10 +02:00
Alexander Brandes
ffd98ad6d9
build: Update paperweight
...
Follow up to renovate PR
2022-06-28 17:38:46 +02:00
dordsor21
9762e4e220
Add Object2ObjectArrayMap to "DoNotMinimiseThese" class
...
- Fixes #1839
2022-06-24 10:43:21 +01:00
Jordan
d498996cbd
Use Material rather than legacy int/data when specifying block break effect type ( #1829 )
2022-06-22 12:50:09 +01:00
Jordan
968799503f
Re-implement full Entity support in history, entity removal, entity creation, etc. ( #1812 )
...
Co-authored-by: Alexander Brandes <mc.cache@web.de>
2022-06-21 14:52:02 +01:00
Jordan
dac3610bcf
Implement generation of biome decorations to //regen <biome> and add option for a random seed to be used ( #1819 )
2022-06-19 22:33:16 +01:00
Jordan
907ad8528e
Don't do the unbelievable bad use of a MutableBlockVector2 in the creation of a set ( #1825 )
...
* Don't do the unbelievable bad use of a MutableBlockVector2 in the creation of a set
- Fixes IntellectualSites/PlotSquared#3683
* Clean up remnants of the use of MutableBlockVector2
2022-06-17 23:41:25 +02:00
dordsor21
462bba4f87
Fix biome history on 1.19
2022-06-15 18:52:49 +01:00
Alexander Brandes
5b2f8502fb
fix: Run GriefPrevention region check in sync ( #1804 )
...
* fix: Run GP check in sync
Fixes #1692
* refactor: Sync on last condition only
2022-06-15 13:37:08 +02:00
Alexander Brandes
1a3b0dc133
chore: Rename legacy adapters artifact to improve matching with FAWE ( #1813 )
...
chore: Rename adapters artifact
2022-06-14 23:59:53 +02:00
Alexander Brandes
aae696686d
fix: Don't export Paster transitively on the core module ( #1808 )
2022-06-14 17:02:11 +02:00
Alexander Brandes
8a85225523
fix: Suppress Tuinity light exception on 1.16 ( #1801 )
...
* fix: Suppress Tuinity light exception on 1.16
Fixes #1591
* chore: mv'd to the right directory
2022-06-14 09:21:31 +02:00
Jordan
97ab47c90b
Command block messages should be sent on the main thread as it causes a block update ( #1796 )
...
- Fixes #1786
2022-06-13 23:42:26 +02:00
dordsor21
f8583fb7cb
Remove erroneous world height 256 limit
2022-06-13 15:11:39 +01:00
Alexander Brandes
a6b1b411d5
chore: Update upstream
...
3433e40 Fix CB watchdog, fail early if it breaks
2022-06-13 15:09:24 +02:00
Jordan
63f031b01a
Only synchronise tree generation at the very lowest level ( #1788 )
...
* Only synchronise tree generation at the very lowest level
- Fixes #1681
* Perform the generate inside try-finally and actually use the resultant copied map to place blocks to the editsession
* Check result of generateTree and return null if failed
2022-06-13 09:05:18 +02:00
Alexander Brandes
aa94612b70
feat: Add support for 1.19 ( #1783 )
...
* feat: Add support for 1.19
* build: Update paperweight version
* fix: obfuscated names, invalid method signatures
* avoid NPE on config access
* build: Update paperweight
* implement no-op light engine to avoid stalled tasks that never complete
* Apply DelegateSemaphore fixes to 1.19 (#1782 )
* Apply DelegateSemaphore fixes to 1.19
* Fixes
* Avoid using PalettedContainerRO#recreate as much as possible. Show an error or warning when we're forced to use it to help fix (#1784 )
Co-authored-by: Pierre Maurice Schwang <mail@pschwang.eu>
Co-authored-by: SirYwell <hannesgreule@outlook.de>
Co-authored-by: Jordan <dordsor21@gmail.com>
2022-06-10 23:22:06 +02:00
Jordan
da3fc2e6ea
Fix DelegateSemaphore synchronisation issues on Spigot ( #1781 )
...
* Fix DelegateSemaphore synchronisation issues on Spigot
- Also effectively nullify it on paper - the synchronisation on the object is enough
* Remove unneeded imports
2022-06-10 19:50:16 +02:00
Alexander Brandes
c5a50179f2
[ci skip] build: Switch to bom ( #1778 )
...
* build: Switch to bom
* chore: Use javax over checkerframework
2022-06-10 01:26:48 +02:00
Alexander Brandes
9b3608aada
chore: Update upstream
...
c515eb5 Cache properties to reduce startup memory (2103)
2022-06-10 01:02:03 +02:00
Jordan
198c6b7800
Some fixes and improvements to internal queuing ( #1715 )
...
* the set array given in NMSAdapter should have get data written to it
- Fixes #1664
- May fix #1700
* Having target size >= 2* parallel threads allows for adjacent chunks to be loaded with issues
* "empty" chunk section doesn't need to be localised to the chunk and may be static
* Switch to slightly more performant stream method for testing for non-empty sections
* Implement lock into ChunkHolder preventing any modification to occur whilst the edit is being applied to the world
(when ChunkHolder is called)
* Add config note about target-size
* set ordinal equal to air if both set and get are `__reserved__`
* Add note to checkAndWaitOnCalledLock method of its use
* Don't print exception and throw
* Switch to a wrapped StampedLock allowing reentrant behaviour
- StampedLock is not reentrent
- Allow unlock from a different thread only if it provides the correct stamp
- This stamp can only be retrieved by the thread owning the lock
* Avoid some "doubling-up" of using checkAndWaitOnCalledLock
* Unbloat `checkAndWaitOnCalledLock`
* Add since tags
2022-06-05 20:52:28 +02:00
BlockyTheDev
d1f3ac8f76
chore: Update PaperMC repository URL ( #1756 )
...
* Migrate PaperMC Repository Endpoints
* Migrate PaperMC JavaDocs endpoints
2022-05-21 12:08:10 +02:00
Jordan
d7543884a5
Check cached bukkit player is the same as the current player online ( #1732 )
...
* Check cached bukkit player is the same as the current player online
- If plugins do silly things like teleport, deop (anything that requires a perm-recheck) (anything that ultimately requires a BukkitPlayer at some point) then the retention of metadata by the server (as it's stored based on a string value indescriminate of player a player relogging) means that a BukkitPlayer caching an old player object will be kept, cached and retrieved by FAWE. Adding a simple memory-based equality check when the player rejoins, and then "invaliding" (redoing) the cache if the players are not equal, fixes this.
- Fixes #1730
* Address comments
* Add comment explaining reference equality check to code
2022-05-10 10:10:59 +02:00
Jordan
210ee9f2ef
Implement getNameUnsafe method to allow an unloaded world's name to be accessed ( #1712 )
...
* Implement getNameUnsafe method to allow an unloaded world's name to be accessed
- Fixes #1671 and #504
* Add javadoc since tag
Co-authored-by: Alexander Brandes <mc.cache@web.de>
Co-authored-by: Alexander Brandes <mc.cache@web.de>
2022-05-05 21:39:45 +02:00
renovate[bot]
617b0ac95c
[ci skip] build: Update dependency io.papermc.paperweight.userdev:io.papermc.paperweight.userdev.gradle.plugin to v1.3.6 ( #1720 )
...
* build: Update dependency io.papermc.paperweight.userdev:io.papermc.paperweight.userdev.gradle.plugin to v1.3.6
* build: Update paperweight
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: NotMyFault <mc.cache@web.de>
2022-04-25 17:17:23 +02:00
Octavia Togami
f2df511263
Bump paperdev 1.17.1 version (fixes yarn dependency resolution)
2022-04-23 14:39:26 +01:00
Jordan
65349392a6
Set empty block count when using fastmode on 1.17 ( #1710 )
...
* Set empty block count when using fastmode on 1.17
Fixes #1666
* Update legacy adapters
2022-04-21 13:11:23 +02:00
Pierre Maurice Schwang
bb71a18c8c
fix: update adapters (FastAsyncWorldEdit-Adapters#67) ( #1706 )
2022-04-18 21:58:02 +02:00
Hannes Greule
8f1ca48bfc
lock is in PalettedContainer in 1.17 ( #1697 )
2022-04-11 13:59:37 +02:00
Pierre Maurice Schwang
2483eacff5
Fix memory leak by Citizen NPCs ( #1693 )
...
* fix: ignore uuid v2 for BukkitPermissionAttachmentManager
Fixes a memory leak that attaches and caches PermissionAttachments to NPCs. Citiziens uses version 2 UUIDs, which are not used for regular player uuids. Those v2 uuids are now excluded.
* fix: create Permission when required
* fix: use citizens documented way to check for NPCs
2022-04-06 16:22:53 +02:00
Kekschen
f477120661
Remove unused 'listeningImages' variable. ( #1684 )
2022-04-02 22:00:57 +02:00
Hannes Greule
a240b002de
simplify biome id logic ( #1677 )
...
Co-authored-by: Alex <mc.cache@web.de>
2022-04-01 19:25:48 +02:00
Pierre Maurice Schwang
2276d82d2c
//regen creates vanilla decorations without error ( #1650 )
...
* fix: Feature placement on regen should create chunk
* feat: update adapter jar
* fix: update adapter jar
2022-03-28 21:06:26 +02:00
Hannes Greule
c45b14a52d
Avoid Unsafe on paper ( #1678 )
2022-03-27 23:56:59 +02:00
Jordan
465c81d193
Remove hardcoding of heightmap compressed long size ( #1668 )
2022-03-18 21:28:25 +00:00
Alex
05f80f23b9
refactor!: Don't bundle 1.15.2 adapters anymore ( #1656 )
2022-03-17 09:41:50 +01:00
renovate[bot]
c672d7a0b3
build: Update dependency net.kyori:adventure-nbt to v4.9.3 ( #1658 )
...
* build: Update dependency net.kyori:adventure-nbt to v4.10.1
* build: Provide proper adventure version
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: NotMyFault <mc.cache@web.de>
2022-03-14 16:14:10 +01:00
renovate[bot]
8afde807b6
build: Drop ProtocolLib dependency ( #1659 )
...
* build: Update dependency com.comphenix.protocol:ProtocolLib to v4.8.0
* build: Drop ProtocolLib dependency
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: NotMyFault <mc.cache@web.de>
2022-03-14 14:32:27 +01:00
Jordan
1708584e8d
Don't call ticking_list
on Spigot ( #1655 )
...
* ticking_list is paper only
* Update adapters
2022-03-14 11:08:10 +01:00
dordsor21
d8c0f8e3b1
Make sure thread-cached arrays are reset
2022-03-13 01:44:59 +00:00
NotMyFault
95512a4c0b
build: Release 2.1.0
2022-03-10 22:57:23 +01:00
NotMyFault
c3cdde9d2e
build: Update paperweight
2022-03-10 22:43:33 +01:00
Jordan
e9db749e2f
Add fluid ticking and refactor post-processing a bit ( #1554 )
...
* Make postProcessSet a default method and change to void
* Throwable#getMessage is nullable
* Move (re-)ticking to a post-processor per "platform"
- Add fluid ticking
* chore: Ignore (for us) irrelevant rules
* chore: Fix correct toml syntax?
* Re-add removed method for API-compliance and refactor it to have a use
* Switch to javax annotations
* Switch to recalcBlockCounts for ticking blocks.
* No need to set air count anymore either
* We can still "not tick" in fast mode in 1.17.2
* update adapters
* Let paper create the chunk section if biomes are null
* Adjust notes to settings
* 1.17.2 didn't exist
* Add 1.18.2
* Don't attempt to cache plains biome ID
* Use correct annotation
Co-authored-by: NotMyFault <mc.cache@web.de>
2022-03-10 15:27:25 +01:00
Alex
5d18e15128
Replace JB occurrences with JSR 305 (for now) ( #1651 )
...
* refactor: Replace JB occurrences with JSR 305 (for now)
* chore: Update adapter jar
2022-03-10 14:24:44 +01:00
Jordan
f59353006a
Update to P2 extended heights ( #1581 )
2022-03-09 14:21:58 +01:00
Pierre Maurice Schwang
49bc675f51
Fix //regen -b
on 1.18.2 ( #1647 )
...
* fix: adapt correct biome type
* fix: PaperweightPlatformAdapter#adapt should return BiomeType
2022-03-08 18:55:52 +01:00
NotMyFault
fb66ba6adf
build: Update paperweight
...
Closes #1649
2022-03-07 21:20:25 +01:00
Alex
345785a25e
feat: Support for 1.18.2 ( #1641 )
...
* feat: Preliminary work for 1.18.2
* Update SpigotNames to 1.18.2 (#1642 )
* 1.18.2 / Biome-Holders, regeneration (#1645 )
* 1.18.2 / Biome-Holders, regeneration
* fix: reuse old structure sets
* build: Update dev bundles
* fix: Don't log regen world generation
* fix: Run DataConverter with CBT
* fix: Override `#toNativeBinary`
* fix: Exception on regen
Co-Authored-By: Pierre Maurice Schwang <mail@pschwang.eu>
* refactor: Minor cleanup
Co-authored-by: Aurora <21148213+aurorasmiles@users.noreply.github.com>
Co-authored-by: Pierre Maurice Schwang <mail@pschwang.eu>
2022-03-07 15:20:05 +01:00
Pierre Maurice Schwang
668227ee6c
Update Upstream ( #1643 )
...
44863cf Don't access PluginClassLoader directly (#2045 )
2022-03-05 18:19:58 +01:00
renovate[bot]
4ffea67514
build: Update dependency net.kyori:adventure-nbt to v4.10.0 ( #1638 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-04 00:22:01 +01:00
NotMyFault
dafcd16a14
Update Upstream
...
eac5b51 Play dirty because bukkit classloading is bad. (2043)
2022-03-02 20:48:49 +01:00
NotMyFault
7db06061f0
Update upstream
...
e2ab12c Change the class source validator to use classloaders for detection. (2039)
2022-02-28 15:42:03 +01:00
Alex
340f8dded3
tests: Remove stub server ( #1629 )
2022-02-28 13:53:08 +01:00
Jordan
fc2662e51e
Fix //snapshot in 1.18 and re-implement biome/entity restoration ( #1620 )
...
* Re-add "//snap" and "//snapshot"
* Place code in correct method
* Use CompoundBinaryTags in AnvilChunk18 and implement biome/entity restoration
* Address comments
* Fix biome reading
* Fix retrieval of entities from zipped snapshot world
Co-authored-by: Alex <mc.cache@web.de>
2022-02-24 10:33:25 +01:00
Jordan
49d5183685
Load legacy config file before firing PlatformsRegisteredEvent ( #1623 )
...
Fixes #1622
Co-authored-by: Alex <mc.cache@web.de>
2022-02-24 10:33:06 +01:00
Jordan
28a0239437
Fix clipboards to allow proper heights by allowing extended CuboidRegion heights ( #1624 )
...
* Fix clipboards to allow proper heights by allowing extended CuboidRegion heights
Fixes #1534
* Add @since
* Fix javadoc comment
Co-authored-by: Alex <mc.cache@web.de>
2022-02-24 10:32:45 +01:00
NotMyFault
0a04b0b4cd
tests: Fix StubServer
2022-02-23 11:25:10 +01:00
dordsor21
de4f73997e
Implement missing methods in tests
2022-02-12 13:38:04 +00:00
NotMyFault
15b9b8332c
fix: Make it build again
2022-02-04 11:24:11 +01:00
NotMyFault
f0136460ba
Update upstream
...
ab31481 Use Chunk#getNoiseBiome instead of biome container (2025)
2022-01-30 21:18:40 +01:00
Jordan
178604bbb7
Only call org.bukkit.World
height methods if they're present (1.17+) ( #1551 )
...
* Only call org.bukkit.World height methods if they're present (1.17+)
* Switch to WorldEdit get height methods in GPFeature
2022-01-29 13:12:16 +01:00
Alex
4610688fcb
fix: Debugpaste on 1.17 and lower due GSON incompatibility ( #1583 )
2022-01-28 22:15:24 +01:00
NotMyFault
e309cf8f3c
build: Update PlotSquared
2022-01-27 15:30:18 +01:00
ahdg
806ca62485
fix: GriefDefender filter ( #1546 )
...
* Fix: GriefDefender filter
* Update libs.versions.toml
* Now it only work with 2.1.0.
2022-01-23 18:29:01 +01:00
NotMyFault
4d2a34fd21
refactor: Update upstream
...
0ad3ab1 Remove extra label from bukkit command usage string.
2022-01-17 13:20:16 +01:00
Alex
9e40b972b1
refactor: Put Fawe version information at debugpaste to ( #1533 )
2022-01-12 01:22:24 +01:00
Alex
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
Alex
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
Alex
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
dordsor21
59d4247ddb
Update legacy adapters
2022-01-05 23:53:02 +00:00
dordsor21
d6695d23f0
Replace remaining instances of worldeditregentempworld
2022-01-05 23:42:57 +00:00
NotMyFault
f4658cc668
docs: Document a few undocumented annotations
2022-01-04 21:15:45 +01:00
NotMyFault
b8399abfe1
refactor: Deprecate tick limiter API for public use
2022-01-04 20:33:05 +01:00
dordsor21
42dacfc7ef
Fix incorrect toNative method in 1.17 adapter
2022-01-04 13:28:29 +00:00
dordsor21
0994ea1e67
Fix issue with offset/origin when pasting a clipboard via API without wrapping into a BlockArrayClipboard
2021-12-30 16:05:16 +00:00
dordsor21
9faacb38ef
Warn user if using small-edit history setting with extended world heights
2021-12-30 16:01:23 +00:00
NotMyFault
aaad86cf1d
docs: Drop clarified todos
2021-12-29 18:16:19 +01:00
dordsor21
9e8f0e7325
Refactor: getVersionMin/MaxY -> versionMin/MaxY
2021-12-29 16:44:41 +00:00
dordsor21
8d565b93f7
Compress switch statements a bit using enhanced
2021-12-29 16:39:44 +00:00
dordsor21
867b28d439
Remove remaining keywords frm CachedChanged. IJ doesn't warn?
2021-12-29 16:37:21 +00:00
dordsor21
fd3619f7b5
Merge branch 'major/2.0.0/1.18' of github.com:IntellectualSites/FastAsyncWorldEdit into major/2.0.0/1.18
2021-12-29 16:30:12 +00:00
dordsor21
3a3143065d
Remove/add some more comments
2021-12-29 16:29:55 +00:00
dordsor21
ca5640e89e
Replace CachedChange class with record
2021-12-29 16:16:23 +00:00
dordsor21
e5cbdec67e
Remove unneeded comments
2021-12-29 16:14:13 +00:00
NotMyFault
19de815ab4
chore: Format our loggers properly
2021-12-29 17:13:20 +01:00
dordsor21
e2a1721a5c
Use new language features
2021-12-29 16:12:43 +00:00
dordsor21
0d79d084a5
Rename worldedit to fawe where appropriate
2021-12-29 16:12:16 +00:00
dordsor21
3c2394afa4
Add comments to changed code
2021-12-29 16:06:49 +00:00
dordsor21
f38859237a
Move to BinaryTags where appropriate in adapters
2021-12-29 16:00:49 +00:00
Jordan
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
dordsor21
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
dordsor21
d19369401f
Don't force tick limiter enable/disable
2021-12-29 00:18:12 +00:00
dordsor21
f236934a39
Add get default version min/max world height to platform
...
- Fixes #1500
2021-12-28 22:46:19 +00:00
SirYwell
f9ecb449cf
read the actual block from ZeroBitStorage
2021-12-27 06:03:01 +01:00
SirYwell
07695786ca
return air instead of reserved on get blocks
2021-12-26 19:52:02 +01:00
SirYwell
a717df3c5f
implement 1.18 regen
2021-12-26 16:20:39 +01:00
SirYwell
4ab140f6a1
use spigot-compatible packet constructor
2021-12-26 10:37:32 +01:00
SirYwell
018042769d
use spigot-compatible palette constructor
2021-12-26 09:31:03 +01:00
NotMyFault
7da921e075
refactor: Deprecate IMP
initializors in favor of builders
2021-12-22 20:58:23 +01:00
dordsor21
34f971c729
Add classes with the correct minor version to the start of the adapter candidates list
2021-12-22 12:19:20 +00:00
dordsor21
d98f626ba6
Reverse a "debug" change to BukkitImplLoader
2021-12-22 11:37:01 +00:00
Jordan
6b6c94556a
refactor! Remove deprecations marked for removal that are not present in upstream ( #1483 )
2021-12-22 01:53:45 +01:00
NotMyFault
a4cec49e89
fix: Fix /fawe debugpaste
2021-12-22 00:53:27 +01:00
dordsor21
28f3bc61ea
More verbosely get block data and ensure biome layer isn't null
2021-12-21 18:00:09 +00:00
dordsor21
9ec829eddf
Update adapters jar
2021-12-21 17:59:55 +00: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
Jordan
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
dordsor21
c697eb8d41
Merge branch 'main' into major/2.0.0/1.18
2021-12-20 20:28:15 +00:00
Alex
9fdff97e29
build: Update paperweight ( #1454 )
2021-12-10 16:20:15 +01:00
Hannes Greule
5367921496
fix: Use WE PaperweightAdapter for seed replacement ( #1440 )
...
* Use WE PaperweightAdapter for seed replacement
also, only replace when necessary
* fix comments
* ci: Provide basic Jenkinsfile for ghprb pipeline (#1451 )
Co-authored-by: Alex <mc.cache@web.de>
2021-12-07 12:59:58 +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
38130f701c
feat: Setup project structure for 1.18
2021-11-30 00:16:19 +01:00
NotMyFault
2a1bef28d0
Merge branch 'main' into major/2.0.0/1.18
2021-11-27 12:21:55 +01:00
Alex
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
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
Owen1212055
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
Alex
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
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
dordsor21
95ecb5609d
Check for worldguard bypass permissions
2021-11-05 19:04:15 +00:00
Pierre Maurice Schwang
c4d0a4e921
Update adapters ( #1394 )
2021-11-02 22:05:04 +01:00
renovate[bot]
bd8a2a5f2a
chore: Update dependency net.kyori:adventure-nbt to v4.9.3 ( #1387 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-01 13:53:20 +01:00
Pierre Maurice Schwang
14cb97d0ad
fix: //regen with custom populators ( #1376 )
...
* Refraction + more fixes
* Remove exception debug
* Fix populator issues with //regen
* Fixed code style
* Further simplify
* Update adapters
Co-authored-by: Alex <mc.cache@web.de>
2021-10-25 14:13:02 +00:00
dordsor21
4e6aee6bfb
Don't consider global region for blacklisting WG regions
2021-10-25 14:12:21 +01:00
dordsor21
75be38925f
Fix #1378
2021-10-25 14:11:17 +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
dordsor21
ae949d607b
Move paperweight to BinaryTag
...
- Upstream put paperweight into master branch, which doesn't have BinaryTags
- Fixes #1374
2021-10-22 16:00:51 +01:00
MrKinau
7b775ca57d
Remove Only-vanilla-biomes restriction ( #1373 )
2021-10-22 15:34:37 +01: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
dordsor21
8ed4736066
Add override and correct default method for fromNative
...
- Fixes #1370
2021-10-20 13:47:55 +01:00
NotMyFault
e7a6c3e58c
Merge branch 'chore/main/deprecate-unsafe-utils'
2021-10-19 22:09:01 +02:00
dordsor21
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
dordsor21
4ee61a93c8
Fix incorrect method params
2021-10-19 14:34:35 +01:00
dordsor21
252abf862b
Add more Refraction
2021-10-19 14:30:51 +01:00
dordsor21
b5479e480d
Don't attempt to run null P2 tasks
2021-10-19 13:35:00 +01:00
NotMyFault
bd9476a175
refactor: Address .editorconfig
violations
2021-10-18 23:09:21 +02:00
NotMyFault
f1e8a1a29a
refactor: Move Unsafe
to reflection class
2021-10-18 22:01:54 +02:00
Pierre Maurice Schwang
c7a490fa03
Fix paperweight changes ( #1364 )
2021-10-18 20:38:43 +01:00
NotMyFault
74486fc8c9
chore: Update adapters
2021-10-17 17:33:48 +02:00
dordsor21
8fe610311d
Comments
2021-10-17 15:53:19 +01:00
dordsor21
c7c00021b2
Cleanup
2021-10-17 15:53:19 +01:00
dordsor21
7d894228d0
Implement region blacklisting
2021-10-17 15:53:04 +01:00
NotMyFault
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
NotMyFault
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
NotMyFault
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
Pierre Maurice Schwang
546ad86841
fix: Update StubServer.java to the latest spigot changes ( #1345 )
2021-10-07 18:05:56 +01:00
renovate[bot]
4ffddd8c93
Update dependency net.kyori:adventure-nbt to v4.9.2 ( #1338 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-04 17:15:08 +02:00
renovate[bot]
f78730e337
Update dependency dev.notmyfault.serverlib:ServerLib to v2.3.1 ( #1337 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-04 17:13:41 +02:00
dordsor21
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
dordsor21
c10e48320b
Fix inverted expectFail boolean
2021-09-30 12:35:17 +01:00
dordsor21
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
NotMyFault
ca15e93102
refactor: Remove lz4-stream
...
LZ4-Java contains a modern version & delegate for lz4-java-stream.
2021-09-26 00:48:50 +02:00
dordsor21
268244119f
Update adapters?
2021-09-24 17:05:26 +01:00
dordsor21
4e944052cd
un-transitive some dependencies
2021-09-24 15:49:30 +01:00
NotMyFault
a5795461f2
Improve a few dependency scopes
2021-09-22 23:00:12 +02:00
dordsor21
40b024fbba
Set legacy ID when adapter is loaded to enable reading/writing anvil
2021-09-22 16:15:18 +01:00
dordsor21
a3d50585c2
Don't print error message if we're expecting it on biome loading
2021-09-22 15:58:11 +01:00
dordsor21
64036a38cf
Update adapters to 32c896db93
2021-09-22 12:58:09 +01:00
dordsor21
268d8cff49
Apply list of properties everywhere
2021-09-21 18:53:37 +01:00
dordsor21
cf585c48ae
Update adapters
2021-09-21 18:41:01 +01:00
dordsor21
e750e014ab
Properties can have the same string name
...
Make map of all properties string against list
2021-09-21 18:34:31 +01:00
NotMyFault
3617a29ba8
Address javadoc violations
2021-09-21 17:40:53 +02:00
dordsor21
84b896151f
Lazy fix for #1271
2021-09-21 14:39:14 +01:00
dordsor21
0fcf996c78
Fix #1314
2021-09-20 23:54:26 +01:00
dordsor21
017a28b3dd
Implement getAllProperties to code and adapters
2021-09-20 16:00:50 +01:00
dordsor21
35e0a47beb
Don't have adapters as "dependency"
2021-09-20 15:09:34 +01:00
dordsor21
d5be6940c7
Add default getAllProperties method
2021-09-20 14:46:51 +01:00
Matt
4f68fb0e26
Add tracing feature to EditSessions (Upstream 1301) ( #1112 )
...
Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
Co-authored-by: dordsor21 <dordsor21@gmail.com>
Co-authored-by: NotMyFault <mc.cache@web.de>
2021-09-19 20:02:41 +00:00
renovate[bot]
8cc93a2255
Update dependency com.sk89q.worldguard:worldguard-bukkit to v7.0.6 ( #1305 )
...
* Update dependency com.sk89q.worldguard:worldguard-bukkit to v7.0.6
* Make it compile
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: NotMyFault <mc.cache@web.de>
2021-09-18 21:59:29 +02:00
dordsor21
bd95d5a86d
Adjust mask managers
...
- Add list of "exclusive" managers to config to aid users in having some sort of prioritisation.
- Fixes #960 if PlotSquared is added to exclusive managers, otherwise, there's no particularly sane way of adding prioritisation without requiring a treemap be added to YAML config, or for us to decide upon it ourselves
2021-09-18 03:19:27 +01:00
NotMyFault
fbbb4ed8fa
Update adapters to f840c74a30b5c5c622080cb9678db58deb7062b9
2021-09-17 19:58:54 +02:00
dordsor21
74697ee312
Fix ZSTD implementation and test-loading. Don't allow disabling of the test on startup
2021-09-17 14:38:28 +01:00
dordsor21
4182d7473c
Slightly improve regen workflow, update adapters to a9c745a600
2021-09-16 17:42:31 +01:00
dordsor21
e4cbd85197
Ensure adapters are up to date
2021-09-15 01:44:00 +01:00
dordsor21
f10dbe7387
Use an object array for synchronising on internal chunk sections rather than the sections array itself.
...
- Synchronising on full sections synchronises on the global FULL instance (bad)
- Synchronising on empty sections synchronises on the local empty instance (bad)
- Leads to needless thread locking, and raises the possibility of cyclic locks considerably
2021-09-14 20:20:04 -04:00
dordsor21
daa418a287
Fix needless complication of section position methods in CharBlocks children
2021-09-13 18:33:42 +01:00
dordsor21
40a4010041
Add loadIfPresent method for use where the section should definitely exist and be FULL
2021-09-13 12:47:00 +01:00
dordsor21
fc47fd586c
Update adapters
...
(cherry picked from commit 6f180421e1
)
2021-09-13 12:30:05 +01:00
dordsor21
5d31b7034d
Deprecate sponge schematic reader/writer and tell users why ( #1287 )
2021-09-13 10:51:58 +02:00
dordsor21
2c0c57ec4f
Update adapters
2021-09-11 13:49:06 +01:00
dordsor21
333b9c184e
Go into more detail about tree types not being there because version
2021-09-11 12:54:09 +01:00