#folia-help

1 messages · Page 34 of 1

flint forge
#

Okay thank you

desert orchid
#

I have a fabric server running 1.21.4 on a linux box. Idk how good the cpu is but it has 20 gigs of ram, has about 190 mods, and if i have 3 people on at once it starts lagging really bad. Is folia compatible with that? If so, how much will it help? I guess you can’t answer that question unless I tell you what my CPU is

daring nimbus
#

Folia does not support Fabric mods, at all

desert orchid
#

Rip

#

Does it support any mod loaders?

daring nimbus
#

No. It supports Paper/Spigot plugins that were specifically adapted for it by the developer of the plugin

desert orchid
#

Ah i see

#

Thank you

north cove
#

idk why but it fixed itself after i recloned repo. i think

lunar holly
#

hi, does anyone know a coreprotect alternative that is compatible with folia?

daring nimbus
#

I thought CoreProtect supports folia? At least its plugin.yml claims so

zealous hill
fresh sonnet
#

Does script 1.21.4 have folia support?

#

and clearlagg

viral stone
#

You would need to go check with those plugins

#

clearlagg is also generally not recommended vs properly configuring your server

fresh sonnet
viral stone
#

A properly configured server

#

most of what CL patches over are better solved through configuration of the server rather than trying to solve it after the issue has already been created

fresh sonnet
#

What about multiversecore?

viral stone
#

un/loading worlds at runtime is not supported

dim merlin
fresh sonnet
#

mv

dim merlin
#

i dont think i understand your question correctly

fair merlin
#

And if someone's asking questions about your plugin(s) then we're prefer them go through whatever support channel you have, not use this channel as a forum for that.

#

I don't think it's been a real problem yet, I'm just telling you now before someone feels like it has been, if that makes sense.

fresh sonnet
dim merlin
viral stone
#

No, it does not

#

meh, different plugin from what I recall, you'd need to read the docs or whatever and see if it has what you need

fresh sonnet
#

So is there a World Guard folia?

#

I ask a lot of questions

viral stone
#

Google

#

use the search

fresh sonnet
#

I found it but it didn't work

fair merlin
#

Yeah "does this plugin exist" is more of a you should be helping yourself answer those questions.

#

Or asking the places who make those plugins.

finite hinge
viral stone
#

There was a page maintained by somebody which had a list of plugins which support folia/forks/prs with such stuff

finite hinge
#

And if you can't unload worlds I don't really see the point in a plugin to load them but maybe people have a better imagination than I do

fresh sonnet
#

...

#

thanks

prime juniper
#

You still having this issue? I haven’t had time to do side testing yet?

humble mesa
prime juniper
humble mesa
#

thats the issue?

prime juniper
#

And it’s just one guy so it’s probably something stupid. I get stuff reported all the time that’s just user error.

#

I just wanted to ask to make sure, though since I have your attention right now

humble mesa
#

i will take a look though and see if we have any issues like that. I havent heard of any yet though

prime juniper
#

Great server by the way, we are fellow anarchy owners

lavish stag
#

Hey so im asking myself if you should switch to Folia. The current server I have is with paper (1.21.4) and i got a few plugins including mine. The server would be an SMP. I heard that Folia is made for SMP where players are spread out in the world, which would be the case for me. I also know that Folia probably breaks multiple plugins and I dont know if it would be the case for mine. My plugin just has some basic command, adding few custom items and accessing a DB. My question is should I switch to Folia, with a goal of reaching 100-150 players eventually, taking in account the fact that I'm still really early in the dev.

outer mural
#

Just use paper until you have the need man

fair merlin
#

If you aren't anywhere near 100 players yet, I'd say you could start developing plugins for it but maybe not switch yet.

If you've read all the requirements for Folia including the system specs and player spread distances and think it'd be worthwhile for you, then it would make sense to start porting stuff over.

lavish stag
#

Yeah I guess it would be better to just use Paper until I really need FOlia, at this point it would be a much bigger project and the choice is safer that way. thanks

fair merlin
#

If you think you'll switch to Folia some day, it can't hurt to start developing your stuff against it.

#

You can write a plugin with Paper+Folia support and switch over when/if you switch.

lavish stag
#

Is the difference between them really big ?

fair merlin
#

It depends.

lavish stag
#

API side

fair merlin
#

I'd recommending reading up on the documentation in here and browsing through #folia-dev

daring nimbus
#

don't think thats explicitly mentioned in the docs, but the Folia schedulers will work on Paper too, so its reasonably easy to make your plugin work on both

prime juniper
#

Is there any unofficial forks of worldedit and worldgaurd that supports 1.21.4?

dim merlin
prime juniper
#

I mean I did look for worldedit that supports 1.21.4 but I couldn't find one 😭

dim merlin
prime juniper
#

Lemme check

dim merlin
#

you'd have to check yourself but i think so

prime juniper
#

I believe 7.3.9 version doesn't support 1.21.4 it only works for 1.20.6-1.21.3

#

This is pure turtore fr

#

Downgrading to 1.21.3 is my only option but is there a worldgaurd for 1.21.3? 💔

#

Wai

dim merlin
#

try and see
i doubt it only works up to .3

prime juniper
#

Imma test

#

@dim merlin

#

Do you have a pre built jar file for folia 1.21.1?

dim merlin
#

I wouldn't suggest to downgrade
Especially not on folia

tawdry gullBOT
#

⚠️ Please do not share any links to builds of Folia at this time. We are intentionally not providing easy to find/obtain downloads right now - when the time is right, everything will be available through official PaperMC distributions.

prime juniper
#

Folia 1.21.1 is broken?

exotic canopy
prime juniper
#

💔

exotic canopy
#

So on paper each commit is a very small bugfix but on folia there are many more bugs and instability issues

exotic canopy
#

try and see

prime juniper
#

so like what's wrong with it tho

dim merlin
# prime juniper why?

Also it sounds like folia is not for you
It is not a replacement for paper
To get the most out of folia you have to meet certain conditions
You are most likely better of running a paper server

prime juniper
exotic canopy
prime juniper
#

so I just keep the lastest?

exotic canopy
exotic canopy
#

And you also get more minecraft features

prime juniper
exotic canopy
#

That much spread?

prime juniper
#

kinda

#

I have a bad cpu

exotic canopy
#

But folia also needs good specs

#

just try and see

prime juniper
#

12 vcore

#

Probably enough to handle 100-200 players with multithreading

#

P

#

I really need this folia thingy 💔

exotic canopy
#

then do it

#

What's stopping you?

prime juniper
#

Should I use it instead? @exotic canopy

exotic canopy
#

As i said i wouldn't but if you really want

#

I dont see any advantage

tawdry gullBOT
#
🚨 Unsupported Version

The version of Paper you are using is outdated and unsupported, as old versions may contain numerous bugs and/or exploits. If you wish to receive support, make a backup and update to the latest supported version.

Download the latest version here.

prime juniper
#

imma die

#

Ait I'm going for 1.21.1

dim merlin
prime juniper
#

It only uses like 4vcore

prime juniper
#

Making the extra 6 useless

dim merlin
#

of course it doesnt
throwing more cores at it doesnt magically make it go faster
you are most likely bottle necked by the clock rate/speed

prime juniper
#

does throwing more cores at folia work?

dim merlin
#

not if the cores are weak

prime juniper
#

uh

#

ig my cores can handle it

#

It's mid

dim merlin
#

doesnt sound like it tbh
but if you go for something else than latest version you are on your own

dim merlin
prime juniper
#

@dim merlin I give up

#

💔

#

So many issues

#

Do you have a region protector for folia? @dim merlin

#

1.21.4

dim merlin
#

please stop tagging me

prime juniper
#

Mb

faint crown
#

You should test the ones linked above and fix smaller issues yourself... To make these plugins work on the latest version shouldn't be really challenging since they are explicitly made for Folia, so the whole region-handling thing ist already dealt with so you would just need to Deal with minor changes Like in normal paper.

#

If you are not able to programm such bugfixes and don't have a Developer who is, Folia isn't for you...

cloud sapphire
#

When will be folia 1.21.5 released?

tawdry gullBOT
#
Folia

Folia is a fork of Paper that adds multi-threaded region support. Many plugins will require updating to support Folia. There is no ETA for publicly available builds.

For more information:

Folia will:

  • NOT be backported to older versions <1.19.4
  • NOT be merged into Paper
  • NOT be ported to Fabric nor Forge

Stay tuned to #announcements for any further info about releases.

wheat escarp
#

hi do you guys know any good economy provider plugin for folia?

fair merlin
#

It'll get released when Leaf releases it.

quaint panther
#

leaf?

#

dang

fair merlin
#

Did you think I meant something else?

quaint panther
#

oh

#

yeah

#

my bad

#

I thought you talking about leaf the fork of paper

#

mb

quaint panther
#

yeah my badkekw

prime juniper
#

Any fork of skript that supports folia?

daring nimbus
#

Folia is generally aimed at large professional servers that care for performance. Skript is the exact opposite of that.
Not to mention that you would need to change the skript language itself in a major way too + adapt all your Skripts to Folia

dim merlin
empty rock
#

Is there no version of Folia for the latets version of Minecraft?

quaint panther
#

yeah no

#

no eta

empty rock
#

But in the works?

quaint panther
#

1.21.5 of paper is even in experimental

empty rock
#

I thought I did something wrong

#

Ah good to know!

quaint panther
#

the latest in folia is 1.21.4

#

no eta for 1.21.5

empty rock
#

Oops no, it's still experimental

quaint panther
#

yeah alot of things need to fix

#

just stay in 1.21.4

flat epoch
#

what's the difference between dev/hard-fork and dev/1.21.4

modest kestrel
#

one of them is so outdated you wouldnt want to use it

fair merlin
fallen osprey
#

Is there a way to make the thread regions smaller? I'm running a server with Folia and people are thousands of blocks apart and the threads arent splitting.

daring nimbus
#

they aren't fixed size. But with a default grid-exponent value, its around ~900 blocks for a split at view-distance=10, which seems plenty low

#

you can try adjusting that value (see here for an explanation), but generally the default is sensible

#

Your players are likely just not far apart enough from each other

wet frost
#

***grid-exponent: 2 ***tried finding some information on this setting, what does this modifty regions?

fair merlin
#

You can't really get regions smaller than ~1000 blocks, though.

#

If you need players closer than 1000 blocks then Folia might not be for you.

finite hinge
#

I think they're down to ~700 blocks

#

You can't change the grid exponent to be smaller though, only larger

fair merlin
#

IIRC it's ~900

finite hinge
#

So you can have bigger regions if you want, there can be some performance benefits to that

#

Or maybe I don't understand that setting either 😛

#

All I know is around the time that setting was added the default was also changed to make smaller regions and it was suggested making them smaller would break things and/or cause large slowdowns

wet frost
#

Right, so grid-exponent is 2. if I am reading it right, is it suggesting chunk buffer is increased or more

#

But what I don't get is increase the number = more buffer or less. That isn't explained in the github

fair merlin
#

Smaller regions means they're more likely to combine.

#

So be aware of that.

#

It's a lot easier for players to move towards each other if the block distance is small.

finite hinge
#

smaller = more lock overhead

wet frost
#

So what exactly is grid-explonent supposed to do? thats the question I am still on

#

It says chunk buffer, but lock shift above 6 shift affect region shift

#

Previously was at 4 and now at 2 implying ~1500 blocks to ~900 to which I assume from grid exponent being changed changes region shift

karmic yew
#

datapacks not working on folia

daring nimbus
#

true

#

well, functions don't. the rest of datapacks should work

karmic yew
#

well

#

datapack command don't even exist

daring nimbus
#

that is correct

karmic yew
#

:waa:

daring nimbus
#

just as a heads up, Folia is not a drop-in replacement for Paper. Your plugins also won't just work, until they are specifically adapted for it

karmic yew
#

i know

#

i just need to get one datapack working lol

daring nimbus
#

well as long as it does not have any functions in it, it should work just like on Paper

karmic yew
#

i guess it didn't

#

i guess i'll have to make a plugin for that

small canopy
#

Do you need to install paperweight to compile folia?

karmic yew
subtle wasp
small canopy
small canopy
viral stone
#

use a shorter path

#

probably want to do a fresh clone and immediatly switch over to the correct branch too

small canopy
viral stone
#

unsupported

#

There is a plugin thing which shims support for that back into its own library

#

but, unloading is 100% unsupported and nobody has gotten that working

small canopy
#

Alright, but disabeling access to the world and remove it on shutdown/startup is supported?

viral stone
#

you cannot remove the main world at any point

#

the server will unload worlds on shutdown for you

small canopy
#

No but I want to reset the nether world every x days (automatically)

viral stone
#

if you use the bootstrapper you could maybe just delete the folder from there, or do it with a startup script

small canopy
#

Alright thx, where do I find the jar? I compiled it but there is nothing in /build

viral stone
#

in the build/libs folder

small canopy
viral stone
#

you ran the wrong jar

#

you want the one in the root build folder

small canopy
#

I need the bundled one?

viral stone
#

yes

small canopy
#

In the root build folder is nothing

viral stone
#

then you probably didn't run the correct command

small canopy
#

./gradlew applyAllPatches
and
./gradlew createMojmapBundlerJar

viral stone
#

then it should be in the build/libs folder of the folder you cloned

small canopy
#

I only have these in the folia-server/builds/libs

viral stone
#

I guess maybe he set a different layout then, you need the bundler jar

unkempt otter
#

Hello i would like to know if folia can be good for us. Our server is a Gens Tycoon. So most of player are on spawn in the same wheat field (or in their skyblock island).
Im asking that because i see someone say that: "Folia will be only useful to you if your players are spread far across the same world / multiple worlds. The work is split between independant areas (unloaded chunks inbetween a batch of loaded chunks)"
So actualy our players are not spread far across the same world they are all in the same area (the 1000x1000 spawn)

fair merlin
#

If everyone is in one small area, then no, it wouldn’t make sense to use Folia.

unkempt otter
#

Ok thank you

#

I thought that servers with "kind of" instances were actually using Folia, but it seems it's actually multiple servers connected through a proxy, if I'm not mistaken. Thanks!

latent sun
#

Does anyone know if Tebex supports Folia?

worldly sparrow
#

Hi, how do i download Folia 1.20.4?

livid crag
#

You have to compile it yourself. There is no direct download @worldly sparrow

copper field
#

Just try it out

timid ore
#

Does folia work with worlds with custom height?

fair merlin
#

You'd need a datapack for that - so probably not.

timid ore
fair merlin
#

Actually I guess a world datapack might work.

#

Datapack functions won't

#

Test and see if it works.

#

Best way to know for sure.

ionic dome
#

Is the latest version of Folia on the banch dev/hard-fork? Also, how exactly do I build it? What are the commands? I get an error from time to time.

daring nimbus
#

the same you build Paper, so see the build instructions on the Paper github page

ionic dome
# daring nimbus the same you build Paper, so see the build instructions on the Paper github page

Task :Folia:folia-server:applyPaperMinecraftSourcePatches
[WARN] Patching: net/minecraft/server/players/PlayerList.java
[WARN] Hunk 7: FAILURE: @@ -309,56 +481,162 @@
[WARN] Hunk 22: FAILURE: @@ -772,18 +1270,25 @@
[WARN] Hunk 23: FAILURE: @@ -791,7 +1296,7 @@
[WARN] Hunk 24: FAILURE: @@ -799,11 +1304,11 @@
[WARN] Patching: net/minecraft/server/players/UserBanListEntry.java
[WARN] Hunk 0: FAILURE: @@ -37,19 +37,27 @@
[WARN] Patching: net/minecraft/world/entity/NeutralMob.java
[WARN] Hunk 0: FAILURE: @@ -39,18 +39,11 @@
[WARN] Patching: net/minecraft/world/entity/animal/horse/AbstractHorse.java
[WARN] Hunk 11: FAILURE: @@ -862,6 +936,11 @@
[WARN] Patching: net/minecraft/world/entity/raid/Raid.java
[WARN] Hunk 6: FAILURE: @@ -357,6 +378,7 @@
[WARN] Patching: net/minecraft/world/level/entity/EntityLookup.java
[WARN] Hunk 0: FAILURE: @@ -33,6 +33,14 @@

Task :Folia:folia-server:applyPaperMinecraftSourcePatches FAILED
Task :applyAllPatches FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':Folia:folia-server:applyPaperMinecraftSourcePatches'.

java.lang.Exception: Failed to apply 9/2970 hunks

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

BUILD FAILED in 2m 23s
6 actionable tasks: 4 executed, 2 up-to-date
Configuration cache entry updated for no projects, no projects up-to-date.

viral stone
#

make sure that it's a fresh clone, make sure that you're using java 21

manic jasper
#

Hey, is it somehow possible to turn off the new ender pearl chunk loading feature from 1.21.2?

livid crag
daring nimbus
#

its called something with "legacy enderpearl"

ionic dome
viral stone
#

use a shorter folder path

ionic dome
viral stone
#

Yes

#

use a shorter one

ionic dome
#

Isn't it short?

viral stone
#

No

#

Not compared to some of the filenames and some of the restrictions in windows

manic jasper
#

Thank you EterNity, could you tell me where I can find this setting or how its called?

viral stone
#

it's probably not that for that specific failure, but, you'd want to reclone anyways, and, update to the latest build of java 21

#

outside of that, you'd need to work out why the patches are failing

manic jasper
#

oh thanks sniffer I didn't see your message

ionic dome
viral stone
#

it has nothing to do with us

#

and, yea, there are a small number of forks which allow non-folia plugins to load at the cost of introducing a whole bunch of syncronisation; we recommend actually addressing the issues rather than shimming in such a thing, you'll also not get any support here

ionic dome
viral stone
dim merlin
ionic dome
finite hinge
#

Good luck with that

livid crag
fair merlin
#

Either way - not our software. We don't recommend running it.

ionic dome
mint ember
#

Whats the vibe for folia stability now

#

Is it good enough for prod if ur fine with rewriting all the plugins

livid crag
#

Had been that way for a while now

timid ore
#

Are bossbars completely disabled in folia or just the command is disabled?

quaint panther
#

is it safe to switch from paper to folia? and also folia to paper?

#

just askin

#

anyone

timid ore
#

-# the world itself would be okay

quaint panther
#

oh okok, i don't mind plugins lol

thin compass
#

is this like packet crash?

viral stone
#

Yes, fixed in the latest builds of paper

thin compass
#

when will there lastest for folia?

tawdry gullBOT
#
__There Is No ETA__

Updates to Paper do not have any sort of estimate for when they release, ever. Any and all updates will arrive when they are ready, and the only thing to do is wait for them patiently along with everyone else.

primal oyster
#

never

thin compass
#

bro

viral stone
#

This is prerelease quality software which in expects that you're a competent developer or have access to them in order to deal with issues that might arise

outer mural
#

115 plugins

mint ember
viral stone
#

That's literally just the "here is what we had it working on on our test server" notes

mint ember
#

yea

outer mural
#

towards the start of our season we were doing 220 no problem

#

prison server which has some advantages and challenges though

viral stone
#

Just as a quick 2-second (and then 10 minute...) experiment grabbed the latest commit ref from the 1.21.4 paper branch and folia appears to patch and compile with 0 issues, do with that what you will, 0 warranty, etc

fickle grotto
#

tried it myself and got some errors

vestal musk
#

Is it possible to get the Chunk's LoadLevel without loading the chunk first in Folia? I thought you had to load the chunk to read any data from it

subtle wasp
#

Can't you check if it's in World#getLoadedChunks first?

vestal musk
#

I know many of the chunks I'm looking at won't be loaded. I was curious about the exact LoadLevel instead of just loaded vs unloaded as that's causing my issue

subtle wasp
#

Right, so only call Chunk#getLoadLevel if it's loaded; otherwise, default to UNLOADED

#

The load level is a dynamic value.

floral hawk
fair merlin
ionic dome
#

threaded-regions:
grid-exponent: 4
threads: -1

Could you explain these settings to me, I couldn't find a clear document??

#

grid-exponent ?

wet arch
ionic dome
prime juniper
lofty sage
#

Can someone tell me what version of folia most stable.
Thx

sturdy herald
finite hinge
lofty sage
finite hinge
lofty sage
finite hinge
#

Yep

velvet oracle
#

I'm guessing that Folia has stalled while Paper updates?

idle furnace
#

Ye, Leaf must be helping with it

misty kraken
strong kelp
#

ETA on 1.21.5?

#

i noticed main paper still only has experimental builds for it

tawdry gullBOT
#
__There Is No ETA__

Updates to Paper do not have any sort of estimate for when they release, ever. Any and all updates will arrive when they are ready, and the only thing to do is wait for them patiently along with everyone else.

pastel musk
#

i know this is a bit off topic, but can someone please help me

pastel musk
sudden tusk
elfin thicket
#

Guys, I'm planning to set up (actually convert) a Paper server to Folia. It's a semi-anarchy server, basically a survival. I'll be using a Ryzen 9 9950X, fully dedicated to this server with all 16 cores. What do you guys, who are more experienced, think the average player capacity will be?

livid crag
#

It depend on what your players are doing. This is also an unanswerable question on Paper.

#

100 players naked who just log in to your server? spread out? No problem vs 5 players with SciCraft level base close together? Your server is doomed.

elfin thicket
drifting sparrow
#

is there any alternative for worldguard that works in folia? or a worldguard fork that works with the latest folia dev/hard-fork version?

primal oyster
#

there seems to be an alternative yes

#

but you should be able to also sort of create these functions yourself (and it would probably be better if there were issues)

elfin thicket
fair merlin
elfin thicket
void summit
#

Values from /mspt are real?

subtle wasp
#

As opposed to lies?

ionic dome
#

Task :Folia:folia-server:applyPaperMinecraftSourcePatches
[WARN] Patching: net/minecraft/server/players/PlayerList.java
[WARN] Hunk 7: FAILURE: @@ -309,56 +481,162 @@
[WARN] Hunk 22: FAILURE: @@ -772,18 +1270,25 @@
[WARN] Hunk 23: FAILURE: @@ -791,7 +1296,7 @@
[WARN] Hunk 24: FAILURE: @@ -799,11 +1304,11 @@
[WARN] Patching: net/minecraft/server/players/UserBanListEntry.java
[WARN] Hunk 0: FAILURE: @@ -37,19 +37,27 @@
[WARN] Patching: net/minecraft/world/entity/NeutralMob.java
[WARN] Hunk 0: FAILURE: @@ -39,18 +39,11 @@
[WARN] Patching: net/minecraft/world/entity/animal/horse/AbstractHorse.java
[WARN] Hunk 11: FAILURE: @@ -862,6 +936,11 @@
[WARN] Patching: net/minecraft/world/entity/raid/Raid.java
[WARN] Hunk 6: FAILURE: @@ -357,6 +378,7 @@
[WARN] Patching: net/minecraft/world/level/entity/EntityLookup.java
[WARN] Hunk 0: FAILURE: @@ -33,6 +33,14 @@

Task :Folia:folia-server:applyPaperMinecraftSourcePatches FAILED
Task :applyAllPatches FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':Folia:folia-server:applyPaperMinecraftSourcePatches'.

java.lang.Exception: Failed to apply 9/2970 hunks

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

BUILD FAILED in 3m 26s
6 actionable tasks: 6 executed
Configuration cache entry stored.

#

what is the problem

#

branch ver/1.21.4

viral stone
#

delete stuff and try again, make sure you're using java 21

ionic dome
sturdy herald
ionic dome
sturdy herald
#

maybe try --info or --stacktrace?

crude wren
#

Hi, I am beginner developer with plugin on Minecraft, please I need help with one problem. I created my own plugin, but this plugin is function on Spigot, Paper, but no to Folia,. I know that I need threadedregions.scheduler.ScheduledTask, but my maven project does not support Folia. so threadedregions.scheduler.ScheduledTask is error

#

What should I do please?

maiden bronze
#

<@&748618676189528155>

livid crag
#

Thank you

flat epoch
#

Sometimes this is spammed randomly for 10-20 times in the console (I know this happens when whitelisting sometimes), without any command like whitelist etc. being executed:

[10:06:01 ERROR]: Got an error with a html body connecting to https://api.minecraftservices.com/minecraft/profile/lookup/bulk/byname: <html>
<head><title>403 Forbidden</title></head>
<body>
<center><h1>403 Forbidden</h1></center>
<hr><center>Microsoft-Azure-Application-Gateway/v2</center>
</body>
</html>

also this:

[com.mojang.authlib.minecraft.client.MinecraftClient] Got an error with a html body connecting to https://api.minecraftservices.com/minecraft/profile/lookup/bulk/byname: <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>

<head>
    <meta content='text/html; charset=utf-8' http-equiv='content-type' />
    <style type='text/css'>
        // random css I removed bc it doesn't matter and bc of discords character limit
    </style>
    <title>Service unavailable</title>
</head>

<body>
    <div id='content'>
        <div id='message'>
            <h2>The request is blocked.</h2>
        </div>
    </div>
</body>
</html>
#

didn't happen when using folia 1.21.1, now on 1.21.4 it happens. Could be an issue with microsoft/mojang that would have also been present on 1.21.1, I don't know.

viral stone
#

it does happe.n in 1.21.1, mijang just had the errors squashed, now they don't

modest kestrel
#

yeah, i noticed the same thing

#

but i suppose each server owner has to fix it for themselves

modest kestrel
#

yeah, 1.21.4 seems stable unless you have shitty plugins crashing it

fair merlin
#

We don’t really have “stable” versions. The brand names change because new versions come out, basically.

#

Folia is inherently experimental and when there’s a working 1.21.5 branch that’s the branch you’ll want to be on.

fair merlin
#

No, it’s just a branch scheme.

crude wren
#

hi, I don't know how I'm doing here, but would it be possible to help me please? I created my own home system, which is not 100% functional yet, I already got it on the server, the home is created but it can port me out, I tried PortalAsyns, but it doesn't work, would anyone know how to fix it? not only this, but also the gui click menu etc.

fair merlin
#

See if they have a support Discord or something similar.

crude wren
waxen sluice
#

Heya! I might just be being blind but what do I need to do to build the folia server jar? i tried running the patch.bat then the rb.bat file but both failed to build?

this is the build failed error: https://pastebin.com/s5wh9nwm

#

this is on the 1.21.4 branch

fair merlin
#

Folia's a fork of Paper, so you'd want to follow the instructions on the Paper repo.

waxen sluice
#

ahh alright cool ty

hexed ice
#

your folder path is too long, give your folders a shorter name

little sable
#

I believe the command: git config --system core.longpaths true fixes the problem of having a folder name that is too long

waxen sluice
#

why is that still an issue 😭

#

ty though

open plinth
#

How many netty threads should I set for a server of 100-200 players?

scarlet ginkgo
#

leave at the default

#

aka 4

#

its 4 threads per 200 players so u should be fine iirc

tardy zinc
#

Hello, I ran into a problem that sometimes the entire tab complete of command arguments can disappear, most often this happens when there are 50+ players on the server, maybe someone has encountered this and knows how to fix it or wants to track down why this is happening?

daring nimbus
#

If I had to guess, some plugin is causing it.
The command tree (the thing that does the tab complete) does not get randomly re-sent to the client otherwise, so it shouldn't just pop out of existence suddenly unless something causes it to get sent again

manic jasper
#

Since we switched from 1.21.1 to 1.21.4 after switching worlds the hungerbar shows to be full only if it gets updated with losing hunger it shows the real hungerbar from before.

#

It doesn't act as its full but shows it everytime until a hunger update.

fair merlin
#

Sounds like a plugin issue.

tawdry gullBOT
fair merlin
#

Quickest way to test ^

flat epoch
#

would it be good to use -XX:+UseZGC -XX:+ZGenerational instead of G1GC for a ~100 player folia smp server?

livid crag
#

It will be fine. They ain’t going to make much difference if you do not have problem to begin with.

flat epoch
#

would I need any other startup flags? I would use amazon jdk 23 then andjust the 2 flags above instead of -XX:+UseG1GC

#

I already have aikar flags etc.

#

I mean any other flags for the GC to work good with 128 GB memory

paper siren
#

Java 23 is eol and shouldn’t be used

fierce knotBOT
viral stone
#

2nd error is due to a busted chunk

#

1st error is because internals apparently changed, accessing internals is not supported

primal oyster
#

If its the internal stuff then its to the devs to fix it

sullen gale
#

Why can't we copy the carpet

fair merlin
#

If you're trying to copy and paste something, that's a plugin, not Folia.

hexed ice
#

copy meaning dupe I assume

tawdry gullBOT
sullen gale
#

Sorry, I am a Chinese user and I use a translator to type. The translation may not be accurate

arctic bear
#

So did anyone found there is an issue on the teleport async method?()

#

I noticed someone who teleported to the edge of the tickregion will trap the async catcher after they teleported

#

This issue also happening on some portals like end gateway but it says it's getting a chunk out of the tickregion

viral stone
#

I mean, I'm guessing you mean the entity tick logic is accessing unloaded chunks

#

that should be fixed in the scheduler branch afaik

arctic bear
viral stone
#

tried what?

arctic bear
#

Teleport to the edge of the tickregion

#

And then it threw the same error()

viral stone
#

Yes, and that's a known issue

#

at least, I know of it, idk if anybody cared to report it on the issue tracker

arctic bear
#

I tried add a tickthread check in the same tickregion check and it seems to be solved?()

#

It happens a little frequently on my friend's server()

arctic bear
#

As the check radius is actually cannot be surely given()

viral stone
#

Well, yea

#

the only garauntee is that the chunk they're standing in is fully loaded, that doesn't really change

arctic bear
viral stone
#

No idea, I don't really deal with folia

arctic bear
#
  • private boolean checkNearbyTickRegions(int destX, int destZ) {
  •    // Dumb end gateway search the chunks in radius of 5 chunks, so we need keep 6(5+1) by default check radius
    
  •    int sizeBx = Math.min(6, (int) (this.bb.maxX - this.bb.minX) + this.level.getCraftServer().getSimulationDistance());
    
  •    int sizeBz = Math.min(6, (int) (this.bb.maxZ - this.bb.minZ) + this.level.getCraftServer().getSimulationDistance());
    
  •    // check tick thread around these area
    
  •    return ca.spottedleaf.moonrise.common.util.TickThread.isTickThreadFor(this.level,
    
  •            (destX >> 4) - sizeBx,
    
  •            (destZ >> 4) - sizeBz,
    
  •            (destX >> 4) + sizeBx,
    
  •            (destZ >> 4) + sizeBz);
    
  • }
  • protected final void transform(TeleportTransition telpeort) {
    PositionMoveRotation move = PositionMoveRotation.calculateAbsolute(
    PositionMoveRotation.of(this), PositionMoveRotation.of(telpeort), telpeort.relatives()
    @@ -4157,7 +4172,8 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
    // check for same region
    if (destination == this.level()) {
    Vec3 currPos = this.position();
  •        if (
    
  •        if (this.checkNearbyTickRegions((int) pos.x, (int) pos.z) &&
               destination.regioniser.getRegionAtUnsynchronised(
                   ca.spottedleaf.moonrise.common.util.CoordinateUtils.getChunkX(currPos), ca.spottedleaf.moonrise.common.util.CoordinateUtils.getChunkZ(currPos)
               ) == destination.regioniser.getRegionAtUnsynchronised(
    
#

My fix(

viral stone
#

Given that you've not provided the error I just assumed it's the one I already knew about, outside of that, I'm out

arctic bear
#

But idk if it's correct()

arctic bear
#

Ok I need to go sleep,I am out()

thin compass
#

Hi, I have a question: Is it possible to run a Minecraft server using storage over NFS?
I have two servers:

Server A: Acts as a storage server with 12TB of NVMe, but only has an 8-core CPU

Server B: A high-performance Ryzen machine that I want to use to actually run the Minecraft server

Can I mount the storage from Server A over NFS on Server B and run the Minecraft server from there? Will this work reliably and perform well, especially under high player load?

viral stone
#

using network based filesystems is generally unsupported as they do not reliably implement the various things minecrafts region file stuff expects

#

afaik it should generally work, your biggest issue is also going to be things like latency

fair merlin
#

Yeah the latency would make it a non-starter IMO

thin compass
#

I have like an SMP

#

it load for like 70k chunks and 35k entites

#

it gonna be so worst right..?

viral stone
#

I mean, it's going to depend on many factors that we cannot see or cater for

thin compass
viral stone
#

nfs performance can wildly vary depending on network conditions

fair merlin
#

Put a bigger drive on “server b” and use that.

thin compass
#

dang it, i spent all my money on "server a"

#

😭

lofty sage
#

My server always crashed by this error

primal oyster
#

i like that graph

autumn grail
austere hazel
elfin thicket
#

Hey guys, does anyone know an anticheat for Folia? I tried Grim and Spartan, but Spartan isn't even running, and Grim doesn't work because of Velocity.

thin compass
quaint trench
#

any Multiverse-Core like plugin for folia?

prime juniper
#

I'm the server owner who previously reported issues with Piglins spawning outside of the gold farm portals. I went ahead and loaded the world on a fresh Folia 1.21.4 server with no plugins and default config files. The issue still persists, so I can now confirm this isn’t caused by any plugins on my end. I likely would’ve seen more spawning below the gold farm if I hadn’t used so much carpet spawn-proofing

#

Fulgur I assume you didnt find a solution either?

#

I’ve also noticed another issue with overworld gold farms. Piglins are being sent through the overworld portal into the Nether, and once there, they just keep coming... without mercy, care, or love. They continuously pour in from the Overworld and stack up on the Nether side, potentially reaching into the thousands if left unchecked.

#

This was not happening when our server was on 1.21.1 of Folia. Only after the update did we start seeing these issues

humble mesa
#

also, i may just be dumb and it might just be a vanilla feature, but i have found that if you load a portal gold farm, and a player just loads the nether, it will still run the overworld side. Can you see if you can replicate that on your server as well. I haven't reported it yet because i want to verify its not something on my end.

fringe kettle
inner swift
#

No, only the ones that are marked as compatible with Folia

arctic bear
#

But a little confusing()

tropic hearth
#

Hello, will the Foila be suitable for SMP where there are e.g. clans, and there may be clusters of several dozen people in one place?

livid crag
#

will your player be few thousands block apart and anti-social and never want to meet each other enmass? if so, yes

#

Assuming you have top of the line hardware dedicated to you and a team of developers updating plugin that may otherwise not support Folia.

arctic bear
#

ServerChunkCache getChunk → ChunkTaskScheduler scheduleChunkLoad→ created chunkholder out of tickregion but close to current enough → ChunkHolderManager run some ticket updates → ThreadedRegionizer addChunk→ created a transit tickregion for merging logics and then will merge to current tickregion and begin to tick when the merging is done and chunksystem put some main thread taks of the load task into this transit ticket(including retiring that chunk load callback) → waiting for that future until task is done

#

But current tickregion is waiting for that chunk future and that chunk future can only be finished by that transit tickregion and that tickregion can only begin ticking when the merging is done and the merging can only run when current tick of the tickregion is done

#

So it actually became a unreachable future

#

And nothing but that block waiting can be found on thread dump

#

And in this commit https://github.com/PaperMC/Folia/commit/2e7bc0721af95196c85500c7bb136aeea0bc12ce which adds the thread checks back to getChunk again, preventing load a chunk out of current tickregion.And it is that actually make that "deadlock" disappeared in the last versions because it actually prevent that unreachable future

GitHub

The spawn selection may actually be farther than 32 blocks,
so we need a larger load radius to prevent a deadlock on startup.

Additionally, re-insert thread checks for sync loads that were
previou...

tropic hearth
livid crag
#

Sounds like Paper with correct amount of optimization/gameplay reduction is the way to go.

hexed ice
#

I spent quite a few hours testing for that issue and it was caused by the zombie leader reinforcement feature, which isn't a bug and happens in vanilla as well

idle furnace
#

👍

#

Better ban from server or he will try again

river tide
#

what folia supose for

inner swift
#

The main audience is large servers with good hardware, the dev workforce to rewrite plugins, and with gamemodes where players (or groups of players) are a couple thousand+ blocks a part

river tide
#

should i choose folia or paper

bold osprey
somber blade
#

guy

#

can someone help me

#

about folia

#

bruh

tawdry gullBOT
#
Don't ask to ask.

If you have a question, please just ask it. Don't look for staff or topic experts. Don't ask to ask or ask if people are awake or available. Just ask the question to the channel straight out, and wait patiently for a reply.

somber blade
#

wth

river tide
bold osprey
bold osprey
scarlet ginkgo
#

@somber blade just ask

#

someone will help you

somber blade
#

i will send the src file

#

i scare smb steal my src

subtle wasp
#

what

somber blade
#

check it

#

i got region error

scarlet ginkgo
#

you’re managing entities on the global region that’s your issue

somber blade
#

but idk how to fix kekw

#

bc i use ai to fix my code kekwhyper

scarlet ginkgo
#

you should replace it with the entity scheduler

tawdry gullBOT
#
:exclamation: ChatGPT is not a replacement for learning a language

When you seek community support, we expect you to have a basic understanding of Java and to have already invested a certain level of effort in troubleshooting issues before asking for help here. The community volunteers are not here to review your ChatGPT-generated code nor to spoon-feed you solutions.

Please note that ChatGPT is not an ideal tool to answer questions.

somber blade
#

what

scarlet ginkgo
#

don’t use ai to fix your code

dire pebble
#

In short: Read the docs

somber blade
#

huhu

scarlet ginkgo
#

the global scheduler is for things like weather etc

somber blade
#

no im using deepseek

#

not chat gpt

scarlet ginkgo
#

Still the same applies

scarlet ginkgo
tawdry gullBOT
#
🙅 Vibe Coding is a Horrible Idea.

Vibe coding, which refers to using AI to generate code without fully understanding the language, can result in undetected bugs, errors, security vulnerabilities, or even code that doesn't work at all due to hallucinations.

When seeking community support, we expect you to have a basic understanding of the topic and to have already invested a certain level of effort in troubleshooting issues before asking for help here. The community volunteers are not here to review your AI-generated code or to spoon-feed you solutions.

Please note that ChatGPT is not an ideal tool for answering programming-related questions.

scarlet ginkgo
#

and the region for other things related to world state such as blocks

subtle wasp
#

Please learn to code instead of vomiting your AI slop here for us to fix.

tawdry gullBOT
#

To create plugins, learning Java beforehand is like learning how to write before creating a novel - it's an essential part of the process.

There is no shortcut to learning programming, just as there is no single, definitive way to approach it. Everyone learns differently. One of the best ways to learn is by doing and actively applying what you're learning as you go.

Learning Resources:

scarlet ginkgo
#

^^

somber blade
#

oh

#

okay

scarlet ginkgo
#

try replacing the global scheduler with entity scheduler

#

but pls dont use ai

somber blade
#

alr

#

only global scheduler?

scarlet ginkgo
#

i mean in the places where u modify entities use the entity scheduler

#

and also you should prob broadcast chat messages on the async sched not global

#

try and see

somber blade
#

oh

somber blade
#

oh no

fierce knotBOT
somber blade
#

xD

scarlet ginkgo
#

are you sure you’ve changed those scheds correctly?

somber blade
#

maybe.....

scarlet ginkgo
#

send the src

somber blade
scarlet ginkgo
#

you’re still using the global for entities

somber blade
#

i remember i did change

scarlet ginkgo
#

        for (World world : Bukkit.getWorlds()) {
            globalScheduler.run(this, task -> {
                int worldCount = 0;
                for (Item item : world.getEntitiesByClass(Item.class)) {
                    if (item.isValid()) {
                        item.remove();
                        worldCount++;
somber blade
#

oh shiet

somber blade
scarlet ginkgo
#

try it first

somber blade
#

alr bro

somber blade
# scarlet ginkgo try it first

[17:01:11 ERROR]: [ca.spottedleaf.moonrise.common.util.TickThread] Thread Region Scheduler Thread #0 failed main thread check: Accessing entity state off owning region's thread

#

oh shiet

#

it happen again

scarlet ginkgo
#

can you share the full logs?

#

and also youre broadcasting the messages on the entity sched

somber blade
fierce knotBOT
scarlet ginkgo
#
private final GlobalRegionScheduler EntityScheduler = Bukkit.getGlobalRegionScheduler();
#

that… is not the entity scheduler

#

are you still using ai?

somber blade
#

no

#

im not read carefully

#

sorry

#
private final GlobalRegionScheduler EntityScheduler = Bukkit.getGlobalRegionScheduler(); to     private final GlobalEntityScheduler EntityScheduler = Bukkit.getGlobalEntityScheduler(); right?
scarlet ginkgo
#

No

#

read the javadocs, the docs and then do it

tawdry gullBOT
#
Folia

Folia is a fork of Paper that adds multi-threaded region support. Many plugins will require updating to support Folia. There is no ETA for publicly available builds.

For more information:

Folia will:

  • NOT be backported to older versions <1.19.4
  • NOT be merged into Paper
  • NOT be ported to Fabric nor Forge

Stay tuned to #announcements for any further info about releases.

scarlet ginkgo
#

^^

#

folia programming is not for the beginners

somber blade
#

oh....

wheat escarp
somber blade
zealous lichen
#

skidder

river tide
#

does folia support multi world plugin

viral stone
#

no

bold osprey
glossy spear
#

(For context: The torch should turn off when looking straight up. This worked before. However, it breaks after relogging.)

#

-# Please ping on reply

glass cloak
#

Uh are command blocks disabled for folia?

inner swift
#

Yes, support for some in-game commands is (by extension, command blocks), in general, out of scope

finite hinge
#

Command blocks require commands to give immediate feedback which is not possible

#

Presumably you could have command blocks still work but have the redstone part of them not work but... why?

glass cloak
finite hinge
#

You have farms that use command blocks as a part of their redstone?

#

Redstone works fine, command blocks don't

glass cloak
#

No, I thought redstone wouldn't work either because you said the redstone part wouldn't work xd

finite hinge
#

The command block redstone is that their output signal is based on the result of the command they ran but since commands don't run in a single tick in Folia that can't work

glass cloak
#

Alright

finite hinge
#

Redstone in general works just like in Paper

#

Vanilla compatible about 99% of the time, there are a few differences that no one has ever been able to figure out (my guess is due to BlockPlaceEvent and piston events) since the CraftBukkit days

glass cloak
#

kk

#

ty for the info

pastel musk
#

hi I'm trying to run a folia server but I am getting this error:
https://mclo.gs/jQCP2w8
📦 Installed Plugins:

  • DiscordSRV 1.29.0
  • floodgate
  • Geyser-Spigot
  • GemMod
  • HuskHomes 4.9.6
  • LuckPerms 5.4.159
  • MiniMOTD 2.1.6
  • PingPlayer 1.1.0
  • spark
  • ViaBackwards 5.3.2
  • ViaVersion 5.3.2
  • voicechat 2.5.26

📦 Installed Datapacks:

  • blocks_silk_touch_budding_amethyst v4.2
  • bukkit
  • carpet2wool
  • crafting_misc_more_dyed_wool_and_carpet v5.2
  • crafting_re_dye_concrete_powder v4.2
  • crafting_re_dye_glass v4.2
  • crafting_re_dye_terracotta v4.2
  • crafting_smithing_armor_netherite_no_template v4.2
  • crafting_smithing_tools_netherite_no_template v4.2
  • enchant_infinity_and_mending_bows v2.2
  • enchant_infinity_on_crossbow v2.2
  • Nullscape (1.21) v1.2.11
  • Terralith (1.21) v2.5.8
  • terratonic-datapack v3.2
  • xp bottling v1.1.12 (MC 1.21–1.21.5)

What in the world is wrong???????????? BTW this is a fresh new SMP

subtle wasp
#

Please stop using AI to format your plugin list.

livid crag
#

Did you seriously use AI.

pastel musk
subtle wasp
#

This isn't the first time.

pastel musk
#

I wasn't using AI for any code or anything except making a easy-to-read list for the plugins and datapacks

#

i'm sorry if I did that

livid crag
#

Well stop it. It’s not easier to read

pastel musk
#

then did you want like a dir of that folder? or a screenshot?

subtle wasp
#

I want you to use binary search and debug why this easy-to-reproduce issue is happening.

pastel musk
#

I know binary search since I do CS actually. however, I think the reason is that this is a fresh server w/ no new world

sudden tusk
#

You think the reason you know binary search is that it's a fresh server?

pastel musk
#

no

#

wait

#

I found the exact issue

sudden tusk
#

You are allowed to type out complete messages and thoughts. Please do so instead of pressing enter repeatedly between announcing you found the issue 😉

subtle wasp
#

(Reminder 4)

pastel musk
#

when I start a folia server w/ new world, it has async loading errors --> crashes out. by starting w/ a paper server, which safely generates the start chunks and then switching to a folia server, it has no issues

foggy blaze
pastel musk
#

Folia == Paper IFF I am in this world

gusty parrot
#

Could anyone tell me roughly when Folia 1.21.5 might be released?
A speculative estimate would be fine.
Fx, how many months after Paper's 1.21.4 release did Folia release its 1.21.4-compatible version?

little sable
tawdry gullBOT
livid crag
#

@gusty parrot this is for you ^

gusty parrot
elfin thicket
#

Hi everyone, every time someone uses the bag on the server, it crashes. I’d like to know if there's a way to remove it or a plugin to disable it.

livid crag
#

assuming that's the bundle crash.

elfin thicket
#

What I did was use a fork of EssentialsX and block the use of the bundle because, from what I saw in the error logs, it happened when the player interacted and dropped the items.

elfin thicket
rustic scaffold
#

how can I setup a folia project?

tawdry gullBOT
idle furnace
#

and @rustic scaffold

rustic scaffold
#

yeah

tawdry gullBOT
idle furnace
#

you will need to build it yourself

rustic scaffold
#

alr thx

idle furnace
#

check github for folia

blissful wadi
#

Hello

i am trying to compile the ver/1.21.4 of folia

Anytime i run gradlew applyPatches it fails with this message popping up

Calculating task graph as no cached configuration is available for tasks: applyPatches

> Configure project :
paperweight-patcher v2.0.0-beta.14 (running on 'Windows 11')

[Incubating] Problems report is available at: file:///C:/Users/albin/Desktop/mcest/foliaallfiles/Folia/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Task 'applyPatches' is ambiguous in root project 'folia' and its subprojects. Candidates are: 'applyAllPatches', 'applyPaperApiFeaturePatches', 'applyPaperApiFilePatches', 'applyPaperApiFilePatchesFuzzy', 'applyPaperApiPatches', 'applyPaperFeaturePatches', 'applyPaperFilePatches', 'applyPaperPatches', 'applyPaperSingleFilePatches', 'applyPaperSingleFilePatchesFuzzy'.

* Try:
> Run gradlew tasks to get a list of available tasks.
> For more on name expansion, please refer to https://docs.gradle.org/8.12/userguide/command_line_interface.html#sec:name_abbreviation in the Gradle documentation.
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 875ms
Configuration cache entry stored.

And i have no idéa why it fails

viral coral
#

applypatches doesn't exist anymore

#

try the first candidate you see in said error message

idle furnace
#

use applyAllPatches instead

blissful wadi
# idle furnace use applyAllPatches instead

tried that got this instead

C:\Users\albin\Desktop\mcest\foliaallfiles\Folia>gradlew applyAllPatches
Calculating task graph as no cached configuration is available for tasks: applyAllPatches

> Configure project :
paperweight-patcher v2.0.0-beta.14 (running on 'Windows 11')

> Task :applyPaperApiFilePatches
Applied 0 patches

> Configure project :Folia
paperweight-patcher v2.0.0-beta.14 (running on 'Windows 11')

> Configure project :Folia:folia-server
paperweight-core v2.0.0-beta.14 (running on 'Windows 11')

> Task :Folia:folia-server:setupMacheResources
Copy initial sources...
Setup git repo...

> Task :Folia:folia-server:applyPaperMinecraftResourcePatches FAILED
> Task :applyAllPatches FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':Folia:folia-server:applyPaperMinecraftResourcePatches'.
> io.papermc.paperweight.PaperweightException: Command finished with 128 exit code: git -c commit.gpgsign=false -c core.safecrlf=false reset --hard upstream/main

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 1m 33s
6 actionable tasks: 6 executed
Configuration cache entry stored.
idle furnace
#

branch well synchronized?

#

try "/gradlew clean" then gradlew applyAllPatches

blissful wadi
blissful wadi
idle furnace
#

the main problems i get is branch out of sync. long path or path with spaces

#

can you try put everithing on a folder on C and try from there in order to have a shorter path

blissful wadi
blissful wadi
#

applyAllPatches worked

idle furnace
#

That error doesnt tell me much. You have recloned the folia repository to the folder on c, or did you just move the folder? If you did the second, try the first.

hexed ice
#

.4

blissful wadi
viral stone
#

You would need to work out why git failed

#

make sure that you do a clean clone and switch directly to the new branch and then applyAllPatches; otherwise, you would need to try to figure out why it failed

blissful wadi
#

I get this error when i try to clonse it:

daring nimbus
#

idk about that GUI, but make sure you are cloning the correct branch

blissful wadi
daring nimbus
#

no that seems fine

#

try with the command line git I guess?

blissful wadi
#

Havent used that before

daring nimbus
#

its just git clone https://github.com/PaperMC/Folia/

#

and then checking out the branch (git checkout)

blissful wadi
#

using that (not suprsinglt) i get the master version

trying to run the 1.21.4 still failes however

daring nimbus
#

just tried it, works fine for me. Make sure you got the name correct though, its ver/1.21.4

blissful wadi
daring nimbus
#

no

#

clone the repo

#

then checkout the branch. not one step

#

but that really is git basics, which you should know if you are running Folia. Its not intended for beginner users

viral stone
#

the fact that you can /tree/xxx is a github thing, not a git thing, you need to clone the repo itself and then switch over branch, or use the --branch argument, but, as said, this is pre-release quality software, you are expected to be familiar with this tooling or be in a position to hire somebody who is

drifting locust
#

Are there any fixes for entity interactions in unloaded chunks? I ran into an issue with the vanilla TNT bore not working properly in lazy chunks

(Also, I’m using the new-scheduler branch)

scarlet ginkgo
#

im not sure but you should switch to the normal 1.21.4 branch since the new scheduler is outdated by a lot

#

in terms of eg the bundle exploit

prime juniper
#

And would nether zombie piglins do the same thing?

manic jasper
#

I have 16 physical cores and I have 1200% max CPU for the folia server. Can I up it to 1400% without the remaining 200% being not enough for the async tasks? Player Counts right now are around 100 but we expect around 200-300 in the future.

loud ember
#

Hello everyone! Will 9 5950X be good with folia core? Will folia take up all its cores? So there won't be enough resources for other tasks? (online 50 players, the whole map is preloaded, the server theme is vanilla survival with a couple of plugins)

inner swift
#

It does fit the recommended minimum requirements

#

Folia has configurable thread amounts for certain tasks, e.g. amount of tick threads, so you'll be able to cap that if you have a lot of regions

loud ember
#

Thank you!

river tide
#

Folia broke most vanilla datapack :(((

scarlet ginkgo
river tide
#

Will there alternative

viral stone
#

No

#

There already is an alternative, called plugins

#

the commands used by datapacks expect there to not be regions, and so either you stall the whole server out for them into some giant region, thus losing some of the goals of folia, or you admit that relying on global state is stupid and expect that people actually using folia have the resources to do so

viral stone
#

We don't know what your server needs

manic jasper
#

We currently use 300-400% for folia with around 100 players

livid crag
manic jasper
#

alright thanks

elfin thicket
#

Can you guys help me? I need a good anti-cheat for Folia, not Spartan, GrimAC, or Lightning. I was thinking about Matrix — is it good?

livid crag
#

@elfin thicket this channel is for people who need help with Folia server software itself. If you want to look for opinions on plugins, you can either use syscraft in #community-guilds or Google.com

ionic cipher
#

can i use folia with 4 thread?

viral stone
#

You can use it with 1

#

Just how much of an advantage you're going to get in such a tight environment is generally going to be the questionable factor

ionic cipher
#

can i send you s spark report for you to have a look? i kinda ran out of options

viral stone
#

I mean, maybe; running pre-release quality software intended for servers with a metric ton of resources is hardly a thing we ultra support

ionic cipher
ionic cipher
viral stone
#

I mean, tbqh, you are generally pushing on what modern MC will generally handle without going crazy with restrictions and such

ionic cipher
#

any recommendation?

viral stone
#

Not really, outside of the generic "do less" type of stuff, i.e. reduce mobs, but, them taking 1/2 a tick is pretty much the norm

ionic cipher
#

thanks

proper dust
#

1/2 or 3 per tick, for each function

limpid umbra
#

Hello everyone, I'm running into a problem with region TPS on my Folia server and would really appreciate some insight.

Server specs:

  • CPU: AMD EPYC Milan, 12 cores / 24 threads
  • RAM: 32 GB
  • Folia build: folia-bundler-1.21.4-R0.1-SNAPSHOT-reobf.jar
Server Health Report
 - Online Players: 101
 - Total regions: 23
 - Utilisation: 370.7% / 1,000.0%
 - Load rate: 115.00, Gen rate: 0.00
 - Lowest Region TPS: 7.92
 - Median Region TPS: 19.53
 - Highest Region TPS: 19.54
Highest 3 utilisation regions
 - Region around block [w:'world',-697,80,215]:
    100.0% util at 125.85 MSPT at 7.92 TPS
    Chunks: 9,541 Players: 52 Entities: 6,293

Other regions are doing okay, but this one region is dragging down performance. The overall CPU usage is only ~370% out of 1000%, so it seems like not all threads are being fully utilized.

Relevant config:

  • threaded-regions.threads: 10
  • chunk-system.io-threads: 2
  • chunk-system.worker-threads: 2
  • spigot.yml.netty-threads: 2
  • JVM: -XX:ConcGCThreads=2

Server Plugins (16):

Paper Plugins:

  • SignedVelocity
    Bukkit Plugins:
  • BlockLocker, ChatManager, Chunky, CommandWhitelist, CoreProtect, DiscordSRV, LuckPerms, packetevents, PlaceholderAPI, ProtocolLib, ViaVersion, WorldEdit, WorldGuard, zEssentials, zMenu

Question:
Are there any specific settings or strategies I should change to better spread the load across more region threads, or to avoid one region bottlenecking TPS like this? I’d love to hear if others have hit this and how you dealt with it.

viral stone
#

players 52

#

You, er, are probably wasting your time using folia

tawdry gullBOT
modest kestrel
#

having 52 players close to each other is only good at spawn, if its in another dimension, for instance, because you can disable certain gamerules, but having 52 players in world at around 0,0 with 6k mobs is a suicide

limpid umbra
# tawdry gull

Ah, that leftmost diagram looks exactly like our setup — makes sense why it's hard to parallelize then.

modest kestrel
#

just to give you an example, we had 15k RTP (so from -15k to +15k in overworld) radius on new season launch and it was not enough for 200+ players

#

you'd need at least 30k

#

its just a downside of folia

limpid umbra
#

Yeah, I was hoping to encourage more player interaction, so I didn’t want to force RTP too hard. We actually have a 20k x 20k world border, but I guess everyone still naturally clustered toward the center anyway — so it didn’t really help.

#

In hindsight, Folia might not be the best fit for this kind of gameplay. Spreading players out kind of goes against what we were trying to do, but I get now that it’s necessary if we want to get good performance with Folia

#

Thanks for the example!

#

RTP doesn’t really fit the kind of experience we’re going for on our server, so that’s probably not an option.

#

But reducing mob counts is something I’ll definitely look into — I’ve already noticed animals getting way too dense in some areas. I’ll try adjusting despawn settings to help with that.

hot marsh
#

Hello everyone,
I'm running a server that averages around 150 players, but the spawn area is experiencing major lag and seems to be locking up

[17:00:43 INFO]: Server Health Report
 - Online Players: 151
 - Total regions: 98
 - Utilisation: 437.6% / 800.0%
 - Load rate: 11.40, Gen rate: 45.20
 - Lowest Region TPS: 0.63
 - Median Region TPS: 20.00
 - Highest Region TPS: 20.01
Highest 3 utilisation regions
 - Region around block [w:'world',-873,80,-265]:
    92.8% util at 1,215.92 MSPT at 0.63 TPS
    Chunks: 534 Players: 32 Entities: 236
 - Region around block [w:'world',334951,80,-1036745]:
    19.1% util at 9.53 MSPT at 20.00 TPS
    Chunks: 338 Players: 2 Entities: 531
 - Region around block [w:'world',-96521,80,-101529]:
    9.4% util at 4.67 MSPT at 20.00 TPS
    Chunks: 470 Players: 4 Entities: 401

I'm not sure if this is caused by a misbehaving plugin or something else. Any help or advice would be greatly appreciated. Thanks!

idle furnace
#

Can you get us a spark report?

daring nimbus
#

oh nvm

#

I am blind kek

#

but - make sure you are up to date. older versions of Folia had some region locking bugs

elfin thicket
#

In that part of the screenshot, where it says threads: 32, does it really mean threads or cores? Config file.

maiden bronze
#

So it depends.

autumn grail
#

is there a newer version of spark that support folia ?

#

i can see that it is many commits behind

#

im unable to compile the one on github on the branch feat/folia

elfin thicket
#

Hello everyone, I have my Folia server hosted on my own dedicated server with a Ryzen 9 9950X, but I see that my server barely uses all that it offers, and it still feels a bit laggy, about 1 second of delay, even with the TPS at 20. I don’t know how to fix it. Can anyone help me?

tawdry gullBOT
late bobcat
#

Has anyone encountered the crash problem with 1.21.5?

tawdry gullBOT
stray flax
#

how to make my aternos server online 24/7

inner swift
#

You can't. This is the Folia help channel, though

tardy ravine
#

hi, does someone know a working worldedit plugin for folia 1.21.4?

scarlet ginkgo
#

fawe -> fastasyncworldedit

raven mesa
#

Fawe only supports folia up to 1.20.4

autumn grail
#

is there spark for folia yet ?

autumn grail
#

o thanks

#

i tried the feat/folia branch, that didnt work

daring nimbus
#

are you on the latest 1.21.4 build?
I recall this being a pretty common issue in earlier Folia versions

#

maybe.
especially with experimental software like Folia its very important to stay up-to-date

north shale
#

Will older fully stable versions of folia ever exist?

livid crag
north shale
#

👍🏻

#

Wasn’t planning on using it I was just curious

twin spindle
fierce knotBOT
earnest folio
#

When people say "spread around" what do they mean, how far?

tawdry gullBOT
earnest folio
#

Also why not just have enough ram not to need to do any garbage collection and just store everything until server restarts[either every 12 or 24 hours] that way you avoid the said potential problem? Would that be viable solution if lets say you could allocate 4TB of ram or 8TB

#

For example in windows you have pagefile, if your ram gets filled up OS will hit a pagefile[a disk] and then unused data will be moved from ram to SSD, if you are playing a game a stutter/slowdown can occur while windows is moving data from ram to pagefile[paging]. Kinda sounds similar to what the Amaranth has said "The GC stats would show a lot and/or very long pauses as the GC" so that's why i am asking if more ram would bruteforce that problem because in Windows it would definitely, more ram would make it basically rarely or even never use paging as hard as it does when it runs out of ram, windows still utilizes pagefile i know that..

inner swift
#

I recall that just really being a Shenandoah test, using 500GB is already an order of magnitude too high for any kind of server

earnest folio
#

So the person who tested used 500GB basically to decrease how often GC happens and potential hiccups?

inner swift
#

When you run a server, you usually don't want to restart, and GC is most of the time not an issue to worry about to that point

earnest folio
#

From what i've so far learned, allocating too much ram to server can be harmful, but if you allocate big amount enough for GC to "never" need to happen you solve the problem?

earnest folio
inner swift
#

With MC's allocation profile, I'm not positive epsilon GC with even a couple terabytes would last too long lol

#

Well, restarting is sometimes done as a band-aid fix for memory leaks, you don't need to

finite hinge
#

Shenandoah and ZGC are the kind of GCs where you can just throw as much RAM as you want at them, more or less

#

They burn CPU time but almost none of it is ever on the main thread so that reasoning I gave doesn't apply

#

Assuming you have a few CPU cores available to dedicate to GC

earnest folio
#

For example, in windows if you boot you will have a certain ram usage. Lets say 2GB
You open browser, discord and few apps and then you decide to close them all, upon closing them and basically having nothing open as you booted windows - Your ram usage would be at lets say 2.5 GB or 3GB instead it being at 2GB as it initially booted

finite hinge
#

Memory leaks in the traditional sense can't happen with a GC-based language, instead you get things like a plugin storing Player or World references or whatever even though those players or worlds aren't around/relevant anymore

dire pebble
#

My two often heard points:
Some plugins keep references to entities/worlds that can't be collected that way
Something about cache hits with huge ram allocations?

finite hinge
#

The region system itself (region files, not folia's thing) used to sort of leak memory too as it had a cache but after a long enough time period things would be ejected from the cache so not really a leak

finite hinge
#

I think the region thing is still relevant because you can't just unload a world and then immediately delete it and recreate it but I don't know the specifics

#

Not that you can do that with folia anyway...

livid crag
#

Do keep it in mind our first test, the number thrown on it isnt something of deep research, it’s more off “hey we have those much resource, let’s throw majority of them in and see” type of deal @earnest folio so you don’t have to look too deep into it.

finite hinge
#

iirc the only reason there wasn't more RAM thrown at it was NUMA

crimson folio
earnest folio
#

So regarding Folia. Is it less dependent on core speed then or still matters. I suppose if Folia is like paper then yes indeed single core would still matter, but maybe the way its multithreaded a single core performance has less of an impact compare to running paper for example?

finite hinge
#

Core speed still matters, each individual Folia region will only run on a single core

#

It matters less the more regions you can get but you still wouldn't want to run it on a Xeon meant for web servers (tons of Atom-class cores) as each individual region would perform badly

viral stone
#

loosely, the # of cores dictates how many regions you can have ticking at once; the single core perf dictates how much those regions can do

#

if you know you're going to only have a player or two inside of your regions, you can lean more towards high count low perf chips, otherwise, the high core count CPUs tend to bust fairly fast

finite hinge
#

If a particular CPU is only good for running a 10 person Paper server (this of course varies based on what the players are doing, etc) then each Folia region would be able to handle say 8 players at the same level of performance

#

The overhead is probably not 20% but it isn't zero so I'll overestimate

weak quarry
#

Is there any way to enable tnt duping in Folia?

#

nvm found

earnest folio
#

Thanks for insights

fallen charm
#

yo

#

how do i get the older version of folia?

#

specifically for 1.16.5

dim merlin
#

there are no older versions of folia

#

1.20 is the oldest i think
also with folia you want to always be up to date so using 1.20 is absolutely not recommended

tawdry gullBOT
fallen charm
#

where do i download 1.20

dim merlin
fallen charm
#

cuz i dont want shitty 1.21.5

dim merlin
#

there is no direct download

fallen charm
#

fuck

#

what thers only 1.21.5?

little sable
wicked mantle
#

You have to know how to use git and how to build Folia from source. No download URLs are provided.

daring nimbus
#

then Folia probably isn't for you

#

its in-development software aimed at large servers (=have/can pay their own dedicated developer).
Its not a drop-in replacement for Paper, at all

fallen charm
livid crag
#

Paper and folia both do not support mods

fallen charm
#

like i swr servers like 2b run on folia and they got cirtian mods

daring nimbus
#

2b2t most definitely has no mods

#

plugins, sure. but not mods

fallen charm
#

thats what i meant mb

daring nimbus
#

You can install plugins on Paper, or Folia. However plugins for Folia need to be specifically adapted for it.

Overall, it sounds like what you really need is just a normal Paper server

fallen charm
#

but now i realise there are

fallen charm
#

anyone know how i fix this

little sable
rain sedge
#

based on what that erorr .... yeah that

fallen charm
fallen charm
little sable
#

use patch.bat

fallen charm
#

still doesnt work

little sable
livid crag
#

You should probably just stick with Paper if you have so much trouble getting it compiled.

#

Otherwise, try again with a clear mind later. When you are able to read.

fallen charm
#

so even copy and pasting the things i need is saying that im not able to read

#

makes sense

wicked mantle
#

The reason we make people compile Folia from source is to attempt to weed out people who don't even need to be running it

fallen charm
indigo shadow
#

does anyone know how to help with Error: -classpath requires class path specification error?

viral stone
#

Probably busted repo or file path too long, assuming you’re an alt of the person above

tall marsh
#

That error does seem reasonable based on what I'm reading tho

#

Looks like the wrapper matches official gradle repo, so it's not like it got modified somehow

I guess a weird java install isn't handling this correctly?

indigo shadow
#

if that is the person u are on about

viral stone
#

Yes, was just fun to see two people with the same error

#

Either way, no idea how to diagnose that, I'm guessing you're using using windows?

viral stone
#

all I can guess is to check your environment variables to make sure that nothing is awry

#

or, just use a supported environment like WSL

tall marsh
#

it also try reducing the path length, since i guess it could be some weird cli parsing stuff with that?

viral stone
#

the APP_PATH is calculated dynamically, outside of stuff like running in a folder tained by something like onedrive, hard to say

earnest folio
#

Is --add-modules=jdk.incubator.vector needed? Says that it can improve performance on newer cpus slightly.

finite hinge
#

Pretty sure that only matters for some paper forks

#

iirc some of them do things like map rendering using that API

manic quarry
#

flag's pretty much just there to cover some older versions

#

it doesn't do anything bad if just left in

paper tangle
#

Yo will folia work fine on 12 core 24 thread cpu

#

With like 8gb of ram allocated to it

tepid bronze
paper tangle
#

I have like 6ish rn

#

Was wondering if it will run just wanted to play around with it

inner swift
#

Yes, it'll run fine

#

(The spread rule still applies, though, if you have all players in the same place, you'll end up with slightly slower Paper)

paper tangle
inner swift
#

Spread is the defining factor, not view/sim distance

viral stone
#

I mean, it's splitting up the world into stuff, that includes splitting up ticking of worlds

#

each region is basically akin to its own tickable thing, and so, you're less time contrained with ~50ms per region rather than ~50ms for everything

noble osprey
#

Hello, im currently hosting a 60 player projekt and my server is lagging how can i distribute more regions?

inner swift
#

You make more regions by making players go farther from each other

#

If the distance between any two given players is around 1000 blocks (or a bit less, iirc), they will be in the same region

noble osprey
#

could this be solved by making grid-exponent smaller?

viral stone
#

It reduces the required spread a tiny bit at a small cost of performance

#

but, really, you just need the correct play r spread

tawdry gullBOT
primal oyster
#

That's new

shut heron
#

if i have a world on disk, can i somehow load it when i start the server?

viral stone
viral stone
#

That's not the only answer I gave

rain sedge
viral stone
#

You would need to create one

shut heron
#

💀

livid crag
#

Folia isnt for beginner, you are likely better off using Paper.

shut heron
#

"Datapack cannot automatically load worlds from other folders"

twin spindle
shut heron
viral stone
#

Well, no, you would need to hard code the worlds to load

#

that is also 2/3 of the messages I sent

thin compass
#

uh can i ask where is beta-schedule

finite hinge
#

Not a thing

thin compass
#

huh

finite hinge
#

Oh I thought you were asking for when Folia would be in beta

thin compass
#

did it got merge to dev/1.21.4

finite hinge
#

No idea what that thing is/was

thin compass
#

💔

#

isaw this

#

but not sure if it got merge from new-scheduler to 1.21.4

#

icl, the new scheduler is way better than the normal one, saves me some CPU.

livid crag
# thin compass 💔

Folia is experimental software so Leaf is the sole developer so the changes may be drastic and never final. You can always make your own fork and continue to apply the changes you wish to keep. Try using #general for general chatter and #folia-help if you are actually in need of assistance.

scarlet ginkgo
#

leaf will remake it since it had some core flaws

velvet oracle
# thin compass

If you look at the messages below, you'll find why the branch got deleted

hoary stream
#

Hey guys i'm working on a small airdrop plugin and have problem when trying to spawn a chest and replacing its content with a new list of ItemStacks, nothing happens and the chest stays empty even when i'm delaying the whole thing :\

(I get no error)

private int executeSummon(CommandContext<CommandSourceStack> ctx) {
        Player p = (Player) ctx.getSource().getSender();

        Location loc = p.getLocation();
        loc.getBlock().setType(Material.CHEST);

        plugin.getServer().getRegionScheduler().runDelayed(plugin, loc, task -> {
            Chest airdrop = (Chest) loc.getBlock().getState();

            if (!(airdrop instanceof Chest)) {
                plugin.getLogger().warning("Block is not a chest yet?");
                return;
            }

            airdrop.update(true);

            ItemStack[] items = plugin.getConfigManager().getAirdropConfig().getContent("test-1");
            
            plugin.getLogger().info(loc.getBlock().getType().toString());

            airdrop.getInventory().setContents(items);
            airdrop.getInventory().addItem(new ItemStack(Material.STONE));

            airdrop.update(true);

            plugin.getLogger().info(items[0].getType().toString());
        }, 10);

        return Command.SINGLE_SUCCESS;
    }

(Fix) Dont use update for some reason it just breaks the whole thing, dont know why

tulip swift
thin compass
#
net.minecraft.ReportedException: Exception ticking world
    at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1838) ~[folia-1.21.4.jar:1.21.4-DEV-cd49d65]
    at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1668) ~[folia-1.21.4.jar:1.21.4-DEV-cd49d65]
    at io.papermc.paper.threadedregions.TickRegions$ConcreteRegionTickHandle.tickRegion(TickRegions.java:407) ~[folia-1.21.4.jar:1.21.4-DEV-cd49d65]
    at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:418) ~[folia-1.21.4.jar:1.21.4-DEV-cd49d65]
    at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:546) ~[concurrentutil-0.0.3.jar:?]
    at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "ca.spottedleaf.moonrise.patches.entity_tracker.EntityTrackerEntity.moonrise$getTrackedEntity()" because "entity" is null
    at net.minecraft.server.level.ChunkMap.newTrackerTick(ChunkMap.java:958) ~[folia-1.21.4.jar:1.21.4-DEV-cd49d65]
    at net.minecraft.server.level.ChunkMap.tick(ChunkMap.java:976) ~[folia-1.21.4.jar:1.21.4-DEV-cd49d65]
    at net.minecraft.server.level.ServerChunkCache.tick(ServerChunkCache.java:502) ~[folia-1.21.4.jar:1.21.4-DEV-cd49d65]
    at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:775) ~[folia-1.21.4.jar:1.21.4-DEV-cd49d65]
    at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1833) ~[folia-1.21.4.jar:1.21.4-DEV-cd49d65]
    ... 5 more```
#

any idea

umbral vault
#

funny.

#

leaf pwt is not same with folia.

#

parallel world ticking.

finite hinge
#

Well that comment came out of nowhere

umbral vault
#

😭

finite hinge
#

parallel world ticking is much less useful but has almost all the same plugin breakage

#

Dinnerbone and Grum tried to add that to vanilla back in like 1.5, I think it was enabled for a couple snapshots even

umbral vault
#

i know everything can break plugins

#

sacrifices for performance

#

ugh.

#

thats why there is a pwt-plugin-buffer channel on leaf

#

for fixing plugin breakages

#

every jar serves a purpose

#

u should use folia-based thing if u want smp/skyblock

#

leaf cant help in this purpose

#

even paper

#
  • u need more thread.
little sable
#

This is my personal opinion. I find separating ticks by world unnecessary for almost all existing servers. Even if it were stable, I don't see how it would be useful for servers, other than mini-games if you create dozens of worlds. This could be solved by several small servers or, alternatively, servers for builders, but even that wouldn't be convincing enough to go for this kind of thing.

As I said, this remains my personal opinion. Perhaps there's a reason I don't know where simply separating ticks by world would be a good idea.

umbral vault
#

u can use pwt on minigames/pvp servers

#

it will help.

#

but in smp like servers is..

#

no need

finite hinge
#

Parallel world ticking is a useful way of putting several instances on a single server instead of making multiple servers, it can be more efficient (CPU and memory) that way

finite hinge
#

But since the plugin breakage it causes is basically identical to what Folia causes and Folia gets you parallel world ticking too I'm not sure why you wouldn't just use Folia

umbral vault
#

so ur saying

#

if u gonna use pwt

#

why u dont gonna use folia?

finite hinge
#

I mean, there is some less breakage since some of the removed API can work if you still only have one thread for the world but the thread safety issues with plugins are identical

#

Yes

umbral vault
#

nice

little sable
umbral vault
#

yep

#

im using phantomworlds plugin

#

for that

#

multiverse core is uh

#

not again

finite hinge
#

That would probably be the main benefit of PWT over Folia, I suspect getting world load/unload working there is much simpler since you can just do it at the start/end of tick when all the worlds synchronize

#

That goes back to the "some less breakage" I mentioned

umbral vault
#

pwt is not async

#

its snyc

finite hinge
#

No it isn't

#

A plugin can be handling events from different worlds at the same time

umbral vault
#

yeah

finite hinge
#

That's the main source of breakage in plugins, they aren't thread safe

#

That is going to be the same between Folia and PWT

umbral vault
#

so i want to ask u something

#

doing that system on worlds, meanwhile keep plugins on main thread?

#

what about that?

finite hinge
#

That would make PWT a slower and less useful version of Paper

umbral vault
#

uh oh

finite hinge
#

Events happen often enough all the worlds would just be blocked on the lock for firing an event

umbral vault
#

thats true