Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/PaperMC/Folia

Fork of Paper which adds regionised multithreading to the dedicated server.
https://github.com/PaperMC/Folia

Move Connection tick to after world tick

The world tick will synchronise block data to clients. If
the connection tick is ran before, the...

e97b1eee63b802568447d344bac5a66bf90c6c71 authored 10 months ago by Spottedleaf <[email protected]>
Update Paper

7f0a3178545b6e265e69d1a31df188c57158b4c9 authored 10 months ago by Spottedleaf <[email protected]>
Fix entity tracker desync when new players are added to the tracker

The delta position packet instructs the client to update
the entity position by a position diffe...

5652259e1a219e368323bd729757fe386ec7f2de authored 10 months ago by Spottedleaf <[email protected]>
Make endermite spawn at original thrower position

This is how Vanilla does it, and we don't have any reason to change
this other than an oversight...

0265fdd4f47b3aa6cd9216dc10808df6ae526587 authored 10 months ago by Spottedleaf <[email protected]>
Remove pending connections for login VERIFYING state

The login state PROTOCOL_SWITCHING is only set once the player
passes initial login checks durin...

e22501a8e39b8f234bfbedbe0560b6f8f425a818 authored 10 months ago by Spottedleaf <[email protected]>
Add support for Eigen/Alternate current

The data both store are caches which are cleared after updates,
which means that there is no blo...

7a3dea9038fdcd07c6c5197bf0d6ecffaf6162c8 authored 10 months ago by Spottedleaf <[email protected]>
No longer plan to add tick rate manager support

It doesn't really make sense to use this as most of the features
involve stopping/stepping the w...

8939611bb53d6d1d98fd76e91c320d55a28700ad authored 10 months ago by Spottedleaf <[email protected]>
Update Paper

d3d0df309c96aad187cba612f26b3e8a9db1d6e2 authored 10 months ago by Spottedleaf <[email protected]>
Update Paper

Also included is a fix to Connection#handleDisconnection
using the wrong login state for removin...

32ff12e4dc360df395d093d8b72dda150d64bc34 authored 11 months ago by Spottedleaf <[email protected]>
Update Paper

Additionally, fix ActivationRange using global state to store
the AABBs it checks entities again...

7bc26ecc74fed21699033d5e7ed5d003796b60cf authored 11 months ago by Spottedleaf <[email protected]>
Add rcon command source to dispatch check

I am surprised it does not implement ConsoleCommandSender.

27561750dd0e90fe957d77e075f696a6f63b73b4 authored 11 months ago by Spottedleaf <[email protected]>
Generated API

Fixes build

4d78338afea610ea8aee20aa0f3cbb36f443640a authored 12 months ago by Spottedleaf <[email protected]>
Update Paper

be90fb8d368db82b056e6bf96a6e63475b0f31aa authored 12 months ago by Spottedleaf <[email protected]>
Check processed disconnect after invoking keepConnectionAlive()

Since we move this up, we need to check it to prevent ticking
a possibly removed player

16e8d3aea410c6bbe07459bf08c865168a99d03c authored 12 months ago by Spottedleaf <[email protected]>
Guard against double onDisconnect calls in common packet listener

The non-game type implementation will not guard against double calls,
which means that any invoc...

e89a107ef0d4a6f009ad81a2bf329b312c5e6cea authored 12 months ago by Spottedleaf <[email protected]>
Update Paper and add configurable region shift

The region shift is configurable under `grid-exponent`, which
allows setting the region shift to...

6928284a5652eb66040166c4ce9ea8f87034bc49 authored 12 months ago by Spottedleaf <[email protected]>
Update Paper

9a389a1a5e10b2c990c521f4af9674b9338b0b42 authored almost 1 year ago by Spottedleaf <[email protected]>
Fix compile/run for 1.20.4

Currently, /tick is disabled but is planned to be re-added.
It's unlikely that support for sprin...

cd713b8ea2e7a57a37a99755d8d84b7fa0c9f170 authored about 1 year ago by Spottedleaf <[email protected]>
Apply patches for 1.20.4

- Compile needs to be checked.
- Behaviors around the new tick manager need to be designed
and...

de6a87e338d33fe26e7620680ed3bd48574b70b9 authored about 1 year ago by Spottedleaf <[email protected]>
Implement command execution support for RCON

Just need to change the executeBlocking() call to use the
global region to execute the command i...

1e5e2154c9f88d788cecf0b9fcc77ece7d1f8663 authored about 1 year ago by Spottedleaf <[email protected]>
Bump paper-mojangapi and Gradle

c1e3c3c5321229560223af9d7e090b733dc45d5b authored about 1 year ago by Jason Penilla <[email protected]>
Fix command sender check

3843340cba3aac68f5ab54bd8a0cafd2670a9458 authored about 1 year ago by Jason Penilla <[email protected]>
Fix animal spawning issue

d58fab2cceeabe47b2f0925bb0bde551c46029e9 authored about 1 year ago by Siroshun09 <[email protected]>
Update Paper

7aacf902b0fc917b2874a67f4ebc77077936355d authored about 1 year ago by Spottedleaf <[email protected]>
Update Paper

757cb09c41e5a8eb10dc5b23e5959369fd1fbe86 authored about 1 year ago by Spottedleaf <[email protected]>
Update paper

9190eb011c60a185cc88f6985fb5b941eafa91a3 authored about 1 year ago by Spottedleaf <[email protected]>
Update paper

84aecdc64afc48e73fffe01f6055c453567f2027 authored about 1 year ago by Spottedleaf <[email protected]>
Fix crash when generating swamp structure

Need to implement structureManager on CB's DelegatedGeneratorAccess,
as that is now used during ...

905cf0b6bef5ccc3f2a79b976442978d02f97d05 authored about 1 year ago by Spottedleaf <[email protected]>
Use tracker field instead of entity map lookup in CraftEntity#getTrackedBy

Fixes compilation

8cde60d1f9a06e2c6e04d436661a7e772d7b7ce9 authored about 1 year ago by Spottedleaf <[email protected]>
Use postprocess annotation for config

dc3fcef3bb3f34820d4af0ffdfd1554a68cc0cf0 authored about 1 year ago by Spottedleaf <[email protected]>
Re-add RandomCommand

Now that RandomSequences is thread-safe, do not need to disable
this command

6c59a955b070dcde1b06c00578c8111dad3c91be authored about 1 year ago by Spottedleaf <[email protected]>
Update paper

726cdc39a5dfcafcaa00016fd9940e7285fc6108 authored about 1 year ago by Spottedleaf <[email protected]>
Update paperweight to 1.5.7

Apparently, fixes some compile issues for some users.

a4d99b3cd37206a5fb887f08a0443b0d8b8ac2f3 authored about 1 year ago by Spottedleaf <[email protected]>
Properly synchronise RandomSequences access

The underlying map should be CHM, and the access to the
underlying random should be synchronised...

e5b552fb0cf75e50c1b00b5a00c1f467f2dc305e authored about 1 year ago by Spottedleaf <[email protected]>
Region profiler

Profiling for a region starts with the /profiler command.
The usage for /profiler:
/profiler <wo...

e876103942278b4a392634a2e9b204e02d2993a3 authored about 1 year ago by Spottedleaf <[email protected]>
Properly revert reversion of per-player mob caps

Some diffs were stilled dropped, which made mob spawning
limitless.

cdf356915b9051a6a895e53f663f24afb05c04a2 authored about 1 year ago by Spottedleaf <[email protected]>
Update to 1.20.2

Very early build, network configuration switching is supported
but not tested (note: changes nee...

4a59238743e8636326fa9120e5c52a56df51ae57 authored about 1 year ago by Spottedleaf <[email protected]>
Update Paper

edafbcef6884cffe493e62cd71f4957708fba7ff authored over 1 year ago by Spottedleaf <[email protected]>
Update upstream Paper

372d479cc173cd9d0f91265ebb4b198354717e47 authored over 1 year ago by Spottedleaf <[email protected]>
Further optimise hoppers

Merge the container is empty and move checks when attempting
to pull from other containers, as i...

55796e2084860ee6dfe8adc27a09772c83930cfe authored over 1 year ago by Spottedleaf <[email protected]>
Fix NPE in TeleportUtils if the Entity becomes retired

The onComplete variable is possibly null and should be checked
before trying to invoke it.

Fixe...

1f46b2ca93d6f528aca1ea327ac678d476104a18 authored over 1 year ago by Spottedleaf <[email protected]>
Update Paper

f6e91e9a4cd5ba4eb5a1f89f71fd6b4f2bd0fbef authored over 1 year ago by Spottedleaf <[email protected]>
Additionally remove Mob target if the target is removed

If the target is removed, then it is possible that
using the CraftEntity could retrieve a telepo...

9ae65d1b3e4f23e46fb65546276ff091ffeac951 authored over 1 year ago by Spottedleaf <[email protected]>
Remove bee flower/hive position if it is too far away

This should prevent attempting to load chunks in areas outside
of the current region, and is wha...

bd72070fb9b1916b84a0cc489dc87ac6e5ef4b52 authored over 1 year ago by Spottedleaf <[email protected]>
Do not attempt to pathfind into non-owned chunks

Fixes https://github.com/PaperMC/Folia/issues/117

09ac612b2fd0677e77611b8c22ec60d9696e3866 authored over 1 year ago by Spottedleaf <[email protected]>
Add thread check for NMS block setting

To catch block updates in chunks, currently for performance
reasons loaded chunks do not perform...

3379b89797f3e9ecbc29a66e3d7362af20b7ca7b authored over 1 year ago by Spottedleaf <[email protected]>
Fix race condition on UpgradeData.BlockFixers class init

The CHUNKY_FIXERS field is modified during the constructors
of the BlockFixers, but the code tha...

65667ccd074cec3a600a6d5f117beac04ebac05f authored over 1 year ago by Spottedleaf <[email protected]>
Reset player before running place logic

As part of Folia's place logic, the player's health is sent
after the respawn packet.

Since the...

3cf16eeaf2e9c2346b9825900e5eaab376654c36 authored over 1 year ago by Spottedleaf <[email protected]>
Make loadChunksAsync callback thread-safe

Need to perform synchronisation on the return list to avoid CMEs

b2d7bdb0bb5c841b4ccd096c0181664664ce97b1 authored over 1 year ago by Spottedleaf <[email protected]>
Rewrite spawn selection algorithm

The new spawn selection algorithm attempts to search the area
around a selected point, in an eff...

57983f77f75115bb26d2e2f07a8a4fe84ad78084 authored over 1 year ago by Spottedleaf <[email protected]>
Use Folia for bstats version instead of Paper

daacd4255022f3a1bf74dd3e84f751be838678ac authored over 1 year ago by Spottedleaf <[email protected]>
Correctly handle ender pearl end gateway teleportations

The end gateway is supposed to teleport the person who threw
the ender pearl.

The changes more ...

b5fc6d0a12b44dafff126c1a52af727bbb9cf1eb authored over 1 year ago by Spottedleaf <[email protected]>
Set correct riding position for entity passengers on vehicle move packet

Since Folia moves the connection tick to the beginning of the tick,
the player's position would ...

62b165bd7ca34cf50e6606b4fe235841dda672bd authored over 1 year ago by Spottedleaf <[email protected]>
Do not erase job site memory when not in tick thread region

The intention behind erasing the memory was to match the case
where the villager would lose. How...

c0631fd5cd529bac79fee550d89106d528afe84b authored over 1 year ago by Spottedleaf <[email protected]>
Update paper

bd96e299d4fd3cc5887e537ae1c889a4247dcf81 authored over 1 year ago by Spottedleaf <[email protected]>
Add Yaw and Pitch to CraftEntity.teleportAsync

6b978f2aafd9dd3d18a4ec2f1f5e28777763b3c7 authored over 1 year ago by Sofiane H. Djerbi <[email protected]>
Only thread-check addEffect for entities in the world

Resolves possible crashes when adding effects before adding to the
world or when adding from the...

6e317fd38a0ddf1ea373734564efb5e2d1e1bb02 authored over 1 year ago by Spottedleaf <[email protected]>
Check region for Vex spell origin

If the Vex portals or is moved far enough away, it may trip
a thread check.

Fixes https://githu...

bff0370b70ea7f35808419e96d1b5ab46184eff1 authored over 1 year ago by Spottedleaf <[email protected]>
Only update time for local players in time update tick

This was done in 1.19.4, but the diff to use getLocalPlayers()
was dropped by accident.

Fixes h...

eb2231736b208862fc79e29c78582b660b9fbf4d authored over 1 year ago by Spottedleaf <[email protected]>
Use teleportAsync for handling cancelled move events

Some plugins are bad and update the `from` position to something
completely garbage. To avoid a ...

d1c9e634703f9a414d5993c492fe44add90dd262 authored over 1 year ago by Spottedleaf <[email protected]>
Re-add dropped thread check for retrieving fall position from entities

Additionally, reset the fall position on dimension change.

Fixes https://github.com/PaperMC/Fol...

801cff15700625f5ab45c16fc5061b8db101feb0 authored over 1 year ago by Spottedleaf <[email protected]>
Optimise regionized save on shutdown

When there are many chunkholders and regions, the cost of collecting
and checking tick thread fo...

633abb1d5092abb85b37f739d1bf8e276260c5ac authored over 1 year ago by Spottedleaf <[email protected]>
Always synchronise on target for regionized queue mergeInto

While for merging the synchronisation occured, it did not synchronise
for splitting. This resolv...

81fe50f26fe4fa70e3407d9e7f4dbe9ff60fd223 authored over 1 year ago by Spottedleaf <[email protected]>
Fix some issues from Folia test

Player spawn position changing caused any player to log in while
on a boat to trip a thread chec...

34039e37099e9eefae8d617fa905656125cec2e5 authored over 1 year ago by Spottedleaf <[email protected]>
Fix funny respawn animation & respawn button not working

0558e7d923dc1e5d6d6ca8fa84bc9edda649d090 authored over 1 year ago by Sofiane H. Djerbi <[email protected]>
Update paper

7c6e2514d2ecd9f5f7db911aab29bfe7f373eb9e authored over 1 year ago by Spottedleaf <[email protected]>
Make regioniser more aggressively recalculate regions

This is to try and prevent regions from grouping together
when they really shouldn't be

0dd151fd1e49a26b581b125dc6b7ce4a5a79a69c authored over 1 year ago by Spottedleaf <[email protected]>
Avoid off-region chunk read for paper entity command

Allow usage of the specific entity command

e8e6ac4006bcfb51da9b30321791e70b16973cf6 authored over 1 year ago by Spottedleaf <[email protected]>
Update paper

dc7eeddb96e1ebe27d9d33075df7f407f192c25e authored over 1 year ago by Spottedleaf <[email protected]>
Update to 1.20.1

No changes to note

fa018cc37228f81347c5824274bd1e31c123be13 authored over 1 year ago by Spottedleaf <[email protected]>
Clear main supporting position on teleport

It becomes invalid switching dimensions or by moving far. If
it used after teleporting, then it ...

db2e6578f8cfb04ab339ca9219ebbf6629d2f091 authored over 1 year ago by Spottedleaf <[email protected]>
Update leafprofiler to be able to dump to a list of strings

First steps to making this thing useful

8a067cdbdd77c4cec137758531c78fb2df22ee51 authored over 1 year ago by Spottedleaf <[email protected]>
Fix processUnloads trying to unload for all regions at once

23b6f9e0efe76505d936146529f7db3478e78ad6 authored over 1 year ago by Jason Penilla <[email protected]>
Remove unused skyLightSources

Starlight does not use the sky light sources, and there
appear to be issues with TE access on Fo...

9b2ffd03cfba3dddd8cd066816ef56cefa0dad22 authored over 1 year ago by Spottedleaf <[email protected]>
Update to latest paper

Make sure the player chunk loader throws when a double-remove
occurs, as that should not be happ...

b886376c2667d4d7466ed762961470f7e7701fb8 authored over 1 year ago by Spottedleaf <[email protected]>
Update to latest paper

Fix two regionizer issues:

In ThreadedRegionizer#addChunk, fix the incorrect handling
of mergin...

fd838ffbee8a7e22db17cf542de405ed77eb9b7b authored over 1 year ago by Spottedleaf <[email protected]>
Fix compile / boot

d0517f1656c0dba1c82932193ad74152cc145884 authored over 1 year ago by Spottedleaf <[email protected]>
Initial patch apply

1b0a5071d06c2d380cd63492937ba4a8b1030c16 authored over 1 year ago by Spottedleaf <[email protected]>
Fix missing captureBlockStates usage

Needs to be redirected to the regionized world data.

bf7ba50dcd09bd5116522be2d2f2f86d1e5a3da2 authored over 1 year ago by Spottedleaf <[email protected]>
Update to latest paper 1.19

308d1ca5dc4db357ba9cb2d06a651548b6f95eb0 authored over 1 year ago by Spottedleaf <[email protected]>
Resolve issues with player autosave

The last save was based on region tick, but it was not adjusted
on player region change or regio...

ca3b7adee262589e379183f8c36a50d10967a0b2 authored over 1 year ago by Spottedleaf <[email protected]>
Eliminate usages of MinecraftServer#tickCount field

Mobs would use the evenness of server tick count plus id
to determine whether they eoilf tick on...

df0065bd53d057997de6c08dddb3e6a806534f80 authored over 1 year ago by Spottedleaf <[email protected]>
Fix off region raid heroes

be3c9e596e2a4ad96f2db2724d1840579e5ead97 authored over 1 year ago by WillQi <[email protected]>
Fix some bugs in ThreadedTicketLevelPropagator

First, when a section update is stolen, the thread that acquires
the stolen update should remove...

f15f1ceab565ce6af84cba2d41de32669e6c3bad authored over 1 year ago by Spottedleaf <[email protected]>
Fix infinite loop in ChunkBasedPriorityTask#queue

We must attempt to synchronise when the returned queue is null
so that we can get a correct queu...

ed61eb315e47ebae0861b16e85bdddcdaf545cba authored over 1 year ago by Spottedleaf <[email protected]>
Always recalculate light list on protochunk deserialize

I noticed during my stress testing that the total size of the
light list was far too large, whic...

112881002917ae4b3ca9a6678c1b9fee3e66f4db authored over 1 year ago by Spottedleaf <[email protected]>
Optimise recalcBlockCounts() for empty sections

In 1.18, every chunk section is initialised to a non-null value
and recalcBlockCounts() is invok...

94b1400a810aea847279afe1eda2321f5d33e7b0 authored over 1 year ago by Spottedleaf <[email protected]>
Properly cancel chunk load tasks that were not scheduled

Since the chunk load task was not scheduled, the entity/poi load
task fields will not be set, bu...

22085eae159a99c2aa302d0227e8a26e3e7944b7 authored over 1 year ago by Spottedleaf <[email protected]>
Mark POI/Entity load tasks as completed before releasing scheduling lock

It must be marked as completed during that lock hold since the
waiters field is set to null. Thu...

7595ff6bb2b952f2a1d9c866ef892f9c1a0b759c authored over 1 year ago by Spottedleaf <[email protected]>
Synchronize PaperPermissionManager

Since multiple regions can exist, there are concurrent accesses
in this class. To prevent deadlo...

80af54eeda161bde6b0a363a1eb9d08c5a578b3c authored over 1 year ago by Spottedleaf <[email protected]>
Fix concurrenct access to lookups field in RegistryOps

The concurrent access occurs on the Netty IO threads when
serializing packets. Thus, it seems it...

051ec0dd65b34549f6c0cac064abea1dc74c5420 authored over 1 year ago by Spottedleaf <[email protected]>
Use coordinate-based locking to increase chunk system parallelism

A significant overhead in Folia comes from the chunk system's
locks, the ticket lock and the sch...

31b5b1575b6aba41d5877b84191eb694bbfb51c1 authored over 1 year ago by Spottedleaf <[email protected]>
Undo making JavaPlugin#logger field public (see PaperMC/Paper#9125) (#76)

9bd857dabce99f0a01c63790c1512542465f125f authored over 1 year ago by Jason <[email protected]>
Do not access POI data for lodestone compass

Instead, we can just check the loaded chunk's block position for
the lodestone block, as that is...

10a11c3712b733e9f3a3bb584435acb9bf42385c authored over 1 year ago by Spottedleaf <[email protected]>
[ci skip] Update paperweight (#72)

fea2422e25da3617604e2ac22faad00bc7e7cfed authored over 1 year ago by Jason <[email protected]>
Break redstone on top of trap doors early

This logic hooks into the neighbour update which should be invoked
as a result of redstone power...

47105ea28e71d337c2683c7b7ae8228e61901cbb authored over 1 year ago by Spottedleaf <[email protected]>
Skip worldstate access when waking players up during data deserialization

In general, worldstate read/write is unacceptable during
data deserialization and is racey even ...

b97116b7b2236ca422150d93de5fd1fc8f08de17 authored over 1 year ago by Spottedleaf <[email protected]>
Block reading in-world tile entities on worldgen threads

The returned TE may be in the world, in which case it is unsafe
for the current thread to modify...

3a954850430e8852c829d62b0abdf34da435096e authored over 1 year ago by Spottedleaf <[email protected]>
[si ckip] Copy git warning from Paper (#54)

17a32369276fadb353a85a5d0488485c14de643d authored over 1 year ago by Jason <[email protected]>
Prevent block updates in non-loaded or non-owned chunks

This is to prevent block physics from tripping thread checks by
far exceeding the bounds of the ...

dddaab9bbddf05311b9a0e8560f5b58024345b7b authored over 1 year ago by Spottedleaf <[email protected]>