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
Perform thread checks on the chunk send and warn when the
world is mismatched. I suspect that th...
Changed links from PROJECT DESCRIPTION.md to Paper website
41c5548dee9c8c0190aea9d9a8d2b4ddc444db89 authored over 1 year ago by martijnpu <[email protected]>
Change overview:
- Rework limiting
- Remove mid tick updates
- Introduce consistency checks
The...
25e0cbdae46912d227a31703869594538b731931 authored over 1 year ago by Spottedleaf <[email protected]>
Due to TPS catchup being removed, a lost tick will always
affect block breaking.
Additionally, ...
ad70ddfc204ab3aecab5b7cb280ebeb7f93f6347 authored over 1 year ago by Spottedleaf <[email protected]>
The expected behavior is that the entity is only dismounted
_if_ the teleport takes place, not r...
Required to add some basic hacks to expose a regionstats object
in the TickRegions data class, b...
This preserves behavior with the older API that did
dismount the entity before teleporting
Fixe...
4431a66c1249a0fbf11ed649c3d279cfd2a17503 authored almost 2 years ago by Spottedleaf <[email protected]>b1c668f2b9155c213dd28b9ce0cc31c1c24696cc authored almost 2 years ago by ShoelessTom <[email protected]>
Vanilla inserted the alive check so that dead players
could see the chunks around them, but in F...
The inventory was being cleared by removing the entity
from the world, but Folia changed the rem...
Should always include the world if we're including the center
position
If the player moves out of range by the time the block is destroyed,
then the exception would th...
It should be offset = to - from, not from - to. This should
fix redstone freezing randomly when ...
Turns out, the utility is not thread-safe to use for whatever
reason. So, we need to use ThreadL...
The MinecraftServer executor will throw, and thanks
to CompletableFuture's awful exception handl...
It modifies data that should be held by the lock: pending
chunk status
It is not guaranteed that ticket levels are updated, so we need to
to move the logic so that it ...
The code to stop all brain tasks is required to pass the current
game time to the tasks it stops...
Additionally, make the teleportAsync call immediately teleport
if the current caller owns the en...
32417a23f251962b957b13dd9055735b81bd8067 authored almost 2 years ago by Jason <[email protected]>
* Fix enchant command feedback messages
9c8863a490ce0a892337b617b4ca78421da18668 authored almost 2 years ago by Jake Potrebic <[email protected]>* Fix 2 incorrect threading checks
* Fix bad catcher methods, fix missing async catcher
--...
508a6688e57d3a12086043075a8f40ff17d0d717 authored almost 2 years ago by Jake Potrebic <[email protected]>* Log traces of threads that fail to shut down in SchedulerThreadPool
fbf832bc0541e5b17af7dedc9b0ddbf560301104 authored almost 2 years ago by Jason <[email protected]>ed7a5c57f4082107751dd8aad431d45ab5fab1d2 authored almost 2 years ago by Noah van der Aa <[email protected]>
00cfbaa1c2c3125e9028efd76ac078a7932b5cc9 authored almost 2 years ago by Riley Park <[email protected]>
ccc5bdb92f3184a532ce8c21db86c7445d08d211 authored almost 2 years ago by Riley Park <[email protected]>
* [ci skip] add issue templates
* mention paper plugins might not work
* change name
* ...
051d489a952e535ad52dfde197fc90e2cb6598c9 authored almost 2 years ago by powercas_gamer <[email protected]>5b74945159ead502c0bd596e84d6e720fef825eb authored almost 2 years ago by Nassim Jahnke <[email protected]>
f3e6529d49ed625689120a36f68c3200cc180486 authored almost 2 years ago by Riley Park <[email protected]>
00864ac5b1409ea73e5ff77c759bbe5d6e41f18a authored almost 2 years ago by Riley Park <[email protected]>
Now that there is no on-main task, the completion logic
for the status task is completed with th...
Before, it returned the center chunk section. Also, now instead
of approximating the center chun...
Needed to implement isFoliaSupported()
b3e1b06c07a01f01fdabf9da1c6cc5bca6baa87f authored almost 2 years ago by Spottedleaf <[email protected]>
We can do this because we thread-check the entities retrieved,
we want to do this because a larg...
32f79c415e70f6294460287155303c5806c8e57a authored almost 2 years ago by Owen1212055 <[email protected]>
7ce0308bdb6faf8a589423b913e1aebe69cf19af authored almost 2 years ago by Spottedleaf <[email protected]>
4c79bb48784a203ad2815bceaa6b409712c6fa72 authored almost 2 years ago by Spottedleaf <[email protected]>
https://bstats.org/plugin/server-implementation/Folia/18084
f42c61aba66e267a57474a239b3b4ead90f16f89 authored almost 2 years ago by Spottedleaf <[email protected]>b3d994fb9b8f02059100037312bae530e1489e7c authored almost 2 years ago by Jason Penilla <[email protected]>
fca2eba2f87690c110195c65811b883eec4b8b01 authored almost 2 years ago by Jason Penilla <[email protected]>
df6b444946e70b2992e6d77d96739c4caef4b3e2 authored almost 2 years ago by Jason Penilla <[email protected]>
e35a734744283f30ee4ea7a7969f921c2de8cea2 authored almost 2 years ago by Spottedleaf <[email protected]>
Allocates too many threads by default
7de5c541b3f085cce611135400c762ad22037a0a authored almost 2 years ago by Spottedleaf <[email protected]>88167d59d2b3d2d09be604048e965a57433356e5 authored almost 2 years ago by Josh Roy <[email protected]>
Explains most important concepts, like data management,
tick count handling, and teleportations
Not block coords
108dc2358b5200dcca59b7acf0a8b164c3f42033 authored almost 2 years ago by Spottedleaf <[email protected]>Not safe to allow this anymore
1c5e9be7fd3d8765c738c16e7b7781463767c649 authored almost 2 years ago by Spottedleaf <[email protected]>Need to convert the Z to chunk, not block...
Also throw for CraftPlayer#teleport and friends
d113346b6df223f1c5546fdd95294f2203274db3 authored almost 2 years ago by Spottedleaf <[email protected]>
Directly access spawn category limits rather than go through
the method
5fa055686922a2b7415cd2a12926800509ce175b authored almost 2 years ago by Josh Roy <[email protected]>
75e3cdbc619af89cf5583849bcb46115e1f84dca authored almost 2 years ago by Spottedleaf <[email protected]>
Every method on that should basically throw, so the API should
reflect that
Most of the World methods, and for updating captured TEs
66c77fb5738c174f6a4b3d642e6b1b6c9d450910 authored almost 2 years ago by Spottedleaf <[email protected]>This is to mirror behavior of RegionizedData's world check.
c435aaae96c466eff75e545966dc2f5270fd5d4c authored almost 2 years ago by Spottedleaf <[email protected]>Random newline?
7eea12b9e460b0f8fba02f7192bbe93758822436 authored almost 2 years ago by Spottedleaf <[email protected]>3c629322501b3b3da040df2753e2ee9a325d6f62 authored almost 2 years ago by Nassim Jahnke <[email protected]>
5e7b4f01855bb5b954200ee16f4ec281a241e8b3 authored almost 2 years ago by Nassim Jahnke <[email protected]>
Closes #3
836dc75b65db706da83eab7c963e45545d56f1e9 authored almost 2 years ago by Nassim Jahnke <[email protected]>8d15f3e23df309fce6b1b58c4febebc8286878cd authored almost 2 years ago by Nassim Jahnke <[email protected]>
dfc157075abff60c5d0365e2ad566a4fb13220f8 authored almost 2 years ago by Nassim Jahnke <[email protected]>
64f7932ed03c1aeb40a099878ad6e6ba8ccba90f authored almost 2 years ago by Nassim Jahnke <[email protected]>
Can no longer process tasks from the main thread like that anymore,
it just needs to be concurrent.
d5b837c4574eedc033acf8fcd67cb34545a03473 authored almost 2 years ago by Spottedleaf <[email protected]>
4c183bf9601971de6596d8e16f0bb5f9cbbe126f authored almost 2 years ago by Spottedleaf <[email protected]>
Patches applied, but not yet checked compile.
c7fbdd87d2a8712804f4c5539553f881a5f12e47 authored almost 2 years ago by Spottedleaf <[email protected]>Make JMP happy
e3a299c5ce1dbf5bb914571a7065f318d7c3aa77 authored almost 2 years ago by Spottedleaf <[email protected]>
Now, entity/global/location schedulers implement a generic run,
runDelayed, and runAtFixedRate m...
Mid-tick task execution acquires the ticket lock at least,
which can possibly be a significant p...
The event is not being called, so the checks will not do
anything. We need to bypass the checks ...
This will allow plugins to safely execute commands or perform
other global tick thread data modi...
This patch performed perfectly to handle the test server,
so it can stay.
Specifically, the /msg and /me command removal and the operator
only chat. Additionally, remove ...
Also resolve some issues found by this change.
Currently, the player handle checks are disabled.
ee737050a01a9237706f82d5fc27151e7e84b000 authored almost 2 years ago by Spottedleaf <[email protected]>Global state used to update redstone, so it should be regionised.
a980944815620be6bbf782dc190330cfa8b4b060 authored almost 2 years ago by Spottedleaf <[email protected]>This will prevent access to the target's position or data.
6fe75ab0682828ff3b9207eb06506e522494bcf6 authored almost 2 years ago by Spottedleaf <[email protected]>
We implement it by ensuring that if the entity is not nearby
the job site, they automatically lose.
cf72543628de60f444b385a00ae1660b6f662f3c authored almost 2 years ago by Spottedleaf <[email protected]>
The concurrent access occurred in the region merge/split logic,
as it did not own the ticket loc...
Fixes parallelism loss from spawn entity chunk status
518b2d5dec962d4b3c5740c4c5b6a4c6ca239477 authored almost 2 years ago by Spottedleaf <[email protected]>By definition, it should not execute in parallel with anything.
0a11f6aa1f71323bcd41ce372d982f85543b9319 authored almost 2 years ago by Spottedleaf <[email protected]>
With region state, it may be modified concurrently while
only holding the region lock. Need to f...
I suspect something called these methods, they threw and then
the error was hidden by some compl...
a80cdafae92bf831f74f5d9e6067c94be22b8dcb authored almost 2 years ago by Spottedleaf <[email protected]>
Now it is accessed concurrently
3f2b83c35a948e37738b0bb18490cc38bf936738 authored almost 2 years ago by Spottedleaf <[email protected]>This will ensure the thread check from discard does not fail
9e835221b90ca61932f0945e4dead25c44fce100 authored almost 2 years ago by Spottedleaf <[email protected]>
Sometimes a region is empty, but only when the threaded regioniser
crashes. So, it should not pr...
0fa5f339f29c77dbe8597d0132064d24200c6290 authored almost 2 years ago by Spottedleaf <[email protected]>
d2a5acba4a91f94af1f1eec6bdc451569bf8f4dd authored almost 2 years ago by Spottedleaf <[email protected]>
4af9f6c8897b123bc7f96a1206031aef265371e2 authored almost 2 years ago by Spottedleaf <[email protected]>
This will prevent a race condition where the region is cancelled
and immediately re-scheduled, a...
The respawn logic apparently can fire before the death is broadcasted
f6d776697b85c7ffee2e696b8110389c1a785742 authored almost 2 years ago by Spottedleaf <[email protected]>
Everyone had access to /tps for the private tests, but we cannot
trust everyone to use it respon...
d258d323938486def4b9c2d655db0a4e28c68ba0 authored almost 2 years ago by Spottedleaf <[email protected]>
8625606b3dca1a58a3b3124e5fe49a31dffc050e authored almost 2 years ago by Spottedleaf <[email protected]>
Should help hold the floodgates on launch
a9d01f9b4f36d8d0fbf0dd0a40afa747c1f2b1e3 authored almost 2 years ago by Spottedleaf <[email protected]>
Disable chat and /msg and /me for non-ops so that the server is
safe to stream
Need to move setOwner after the position update, as the thread-check
will fall back to position
Otherwise, the thread checks for moving the entity into the new
entity chunk section would throw...
This should prevent entities from moving into areas not owned
by the current region.
In the case that the entity has a null callback, it means the
entity has not been added to the w...