#folia-help
1 messages · Page 42 of 1
it really is, after using folia I am confident that I can scale upto 1000 players without noticeable lag
also 32 threads with this processor is best for 200 players
Would it still be good if i scaled it too 600+ players?
right now I am using a shared game server of 16 threads r9 9950x
and it works great with 250+ players
only issu I am facing currently is bandwidth
my bandwidth is a round 2tb a day
i will switch to dedicated in few days
ahh i see
Thanks a lot for ur advice!
I will keep working i guess to make sure i can get folia on my server
Its just that some plugins i use dont support it
Which makes it a headache
it is a pain in starting
you need to be prepared to either make your own plugins or pay someone to do it.
a lot of simple mainstream plugins dont exist for folia.
hey everyone, this might not be a folia specific question and rather a general minecraft server question so feel free to point me somewhere else if this doesnt fit here.
I am selfhosting a (folia) server and have noticed that the ping on my server is very inconsistent and seems to be influenced by the amount of mobs around me.
Like when I am at a place with not many other players and no animal farm i have a ping of 20 but when im at a base with some animal pens my ping goes to 50.
its not an actual issue right now as the ping always stays low enough to not interfere with gameplay but i was just wondering if that is a common symptom of a bad network configuration.
I have never seen the ping being influenced by mobs like that on other servers.
It has to be networking related as my server is always at a stable 20TPS and not even close to being overloaded.
I already set the view distance to 4, reduced the entity broadcast range to 80%, set the network compression threshold to a lower value (96 iirc) and reduced the entity-collisions-per-tick to 2 as animal pens seem to be the biggest cause for the ping rising (I think it did help as the average ping was higher before i changed all of that).
I am very sure my server itself is not the issue but rather something networking related.
Is there some common cause that has a symptom like that?
number of mobs influcences the number of packets, could be a bottleneck somewhere, that would cause stuff like the keepalive packets to get stuck behind
ive been told that the fiber modem i use is known for having buffer bloat issues, could that be a symptom of that?
actual upload rates are well below my internet speed though (but i know, the shown rates are just averaged out so it might look misleading).
yes
i had the same issue but on a much larger scale earlier too, but it was the router i used causing buffer bloat (it had no smart queue stuff) and the problem went down to the current scale when i got a new OPNsense router
The entire nature of buffer bloat is that packet delivery becomes delayed and inconsistent
alright, i guess i need to figure out how to test if the modem is actually the problem.
it operates as a simple bridge so i cant ping it directly or anything.
but at this point this is more of a generic networking issue and not related to minecraft anymore, thank you for your help
Hey there! I'm working on a server with a lot of custom features. I was trying to use Folia but folia just seems to break and most features / plugins just don't fully support it yet.
My question is: Should I stick with folia and sacrifice the features for performance or would paper and or a fork with just fine which means I get to keep all my features?
It's gonna be a big SMP with a huge map. Can be pre-rendered tho.
Machine specs:
-Ryzen 9 7950X 16 cores 32 threads
-128GB DDR5
-2x 2TB nvme SSd's (gen4)
Folia is in a state where the expectation is that you have the resources to throw dev time at it, rather than relying on public plugins, etc
only you can answer if folia is suitable for you, for most people, they'd be better off just using paper
thats fair. I guess I will stick to paper then
the image above shows it pretty well. if your players are spread out a lot (>1000 blocks from eachother ~) or in different dimensions, folia can help.
is theyre any solution to folia, because i have an smp on folia, and i want peace for my gens tycoon, folia is so many problem.
I hear about luminol is it good ?
people here will not help you with folia forks
Someone has an idea how this can happens?
:/
message.txt by @analog vine: https://pastes.dev/aoLGaTyWv1
that's just a generic "the thing took too long to tick"
But how could this happen? :/
many reasons, it's hard to say
you would generally need to be looking into tools like spark and potentially other monitoring stuff
could vines spawning made this problem? I checked what was build their and their only got placed vines
if you set the random tick stupidly high maybe
i didnt it was 100 as standart
random tick speed gamerule defaults to 3
isnt that this here?
cavevines-modifier: 0
That's a modifier, not the random tick speed
you know where the modifier is?
it is a gamerule
ah i never touch it
Hey did repsawn behaviour change on folia? The point you set with /setworldspawn is being ignored?
No plugins on the server at all to interfere with this
Can you show us your example code?
Ah k
Folia 1.21.11 build 11
Seems like you got the spawn radius set to a value larger than 1
is that a thing?
Its a gamerule that adds a random offset to the spawn, yes
What gamerule?
something like "respawn_radius"
I found it /gamerule respawn_radius 0
Not really im still spawning weirdly

How does region splitting work?
All my players (60-120 players) live within a radius of about 50,000 blocks. Most of them are near spawn, within about 5,000 blocks from spawn. As I understand it, this area around spawn is treated as a single region, and it often runs at around 16–17 TPS.
Is there a way to split it into more regions? Or would it be better not to do that?
Sorry if these are basic questions. I don’t fully understand how Folia works yet
you can reduce the grid-exponent setting to make the minimum distance between players lower for splitting.
the absolute minimum is ~1k blocks between players though, even if you reduce it.
I personally found that setting it to 3 works good for me
But basically you can't force it to do anything - if players get too close the regions will combine. No way around that.
hi. I was wondering, about folia, how many players can I possibly run on an 8-core CPU? I am pressuming it will be some PVP server where each 1v1 duel would run in a seperate world as to use the threading hacks you guys have
You want players spread out on Folia, and it really prefers to have more cores. If you're on only 8 cores and folks are close together then it doesn't make sense to use Folia. You should use Paper instead.
question: 8 cores + 16 threads, but since it is not a normal server but a special PVP server I want to create, since different dimensions run on different threads, can I abuse it?
That doesn't change my answer.
If the players are too close together then it won't really matter.
I see what you are saying, but I was reffering to different dinemsions in differnet worlds, not distance since no two duels will be situated in the same dimension
If you only have under spec CPUs, stick with Paper.
https://www.reddit.com/r/admincraft/comments/1lgrlh6/does_folia_actually_need_to_run_on_16_cores_or/
is this the reason?
b/c I would not be generating any terrain
Not sure what's the purpose of a random post you are linking. If you already make up your mind on what you want to do, why even bother asking for our advice? @pastel musk
True
Extra worlds with Folia can also be tricky
But really whether Folia works for you or not is something you have to figure out yourself, once you know the mechanics of how region threads work you then look at your situation and hardware and decide if it can help
In theory Folia could perform better than Paper with 2 cores but the fewer you have the less likely that is to be true
The problem is migrating to Folia is a large task, there aren't many plugins that support it so you have to write all your own and that's a lot of work to end up with something that ends up not working well
Whoever you have writing your plugins should be able to figure out if Folia makes sense for you or not
how can i turn of player knokback
like he in stand in spawn and he forward backward forward backward and player get knokback how to turn of this system
Bungee placeholder not working in folia
No idea if that's in Folia. We'd recommend Velocity, though.
Also please don't post the same message to multiple channels.
he has spammed helpchat too lol
Sorry
Not really relevant - not a message that needs to be in this channel.
I think I have an issue with PortalCreateEvent where entity is not being passed and instead being nulled. How can I prove it's Folia and how would I submit a bug for this?
[19:18:29 INFO]: [PortalDebugPlugin] ========== PortalCreateEvent ==========
[19:18:29 INFO]: [PortalDebugPlugin] Cancelled: false
[19:18:29 INFO]: [PortalDebugPlugin] Reason: NETHER_PAIR
[19:18:29 INFO]: [PortalDebugPlugin] World: world
[19:18:29 INFO]: [PortalDebugPlugin] Entity: null
[19:18:29 INFO]: [PortalDebugPlugin] Block count: 20
[19:18:29 INFO]: [PortalDebugPlugin] First Block: OBSIDIAN @ world x=-41605 y=61 z=-12431
[19:18:29 INFO]: [PortalDebugPlugin] Last Block: NETHER_PORTAL @ world x=-41605 y=64 z=-12429
[19:18:29 INFO]: [PortalDebugPlugin] Materials In Event: NETHER_PORTAL, OBSIDIAN
[19:18:29 INFO]: [PortalDebugPlugin] Block[0]: OBSIDIAN @ world x=-41605 y=61 z=-12431
[19:18:29 INFO]: [PortalDebugPlugin] Block[1]: OBSIDIAN @ world x=-41605 y=62 z=-12431
[19:18:29 INFO]: [PortalDebugPlugin] Block[2]: OBSIDIAN @ world x=-41605 y=63 z=-12431
[19:18:29 INFO]: [PortalDebugPlugin] Block[3]: OBSIDIAN @ world x=-41605 y=64 z=-12431
[19:18:29 INFO]: [PortalDebugPlugin] Block[4]: OBSIDIAN @ world x=-41605 y=65 z=-12431
[19:18:29 INFO]: [PortalDebugPlugin] Block[5]: OBSIDIAN @ world x=-41605 y=61 z=-12430
[19:18:29 INFO]: [PortalDebugPlugin] Block[6]: OBSIDIAN @ world x=-41605 y=65 z=-12430
[19:18:29 INFO]: [PortalDebugPlugin] Block[7]: OBSIDIAN @ world x=-41605 y=61 z=-12429
[19:18:29 INFO]: [PortalDebugPlugin] Block[8]: OBSIDIAN @ world x=-41605 y=65 z=-12429
[19:18:29 INFO]: [PortalDebugPlugin] Block[9]: OBSIDIAN @ world x=-41605 y=61 z=-12428
[19:18:29 INFO]: [PortalDebugPlugin] Block[10]: OBSIDIAN @ world x=-41605 y=62 z=-12428
[19:18:29 INFO]: [PortalDebugPlugin] Block[11]: OBSIDIAN @ world x=-41605 y=63 z=-12428
[19:18:29 INFO]: [PortalDebugPlugin] Block[12]: OBSIDIAN @ world x=-41605 y=64 z=-12428
[19:18:29 INFO]: [PortalDebugPlugin] Block[13]: OBSIDIAN @ world x=-41605 y=65 z=-12428
[19:18:29 INFO]: [PortalDebugPlugin] Block[14]: NETHER_PORTAL @ world x=-41605 y=62 z=-12430
[19:18:29 INFO]: [PortalDebugPlugin] Block[15]: NETHER_PORTAL @ world x=-41605 y=63 z=-12430
[19:18:29 INFO]: [PortalDebugPlugin] Block[16]: NETHER_PORTAL @ world x=-41605 y=64 z=-12430
[19:18:29 INFO]: [PortalDebugPlugin] Block[17]: NETHER_PORTAL @ world x=-41605 y=62 z=-12429
[19:18:29 INFO]: [PortalDebugPlugin] Block[18]: NETHER_PORTAL @ world x=-41605 y=63 z=-12429
[19:18:29 INFO]: [PortalDebugPlugin] Block[19]: NETHER_PORTAL @ world x=-41605 y=64 z=-12429
[19:18:29 INFO]: [PortalDebugPlugin] =======================================
Here is the code I am having problems with due to this entity null thing
Isn't that just because it's NETHER_PAIR? I suspect you'd only get the entity for FIRE
It would pass entity in the past. I think paper it does just fine but let me verify that claim
I suppose since you can't do anything with the player, since they're in a different region, Folia might be removing it
Or it's just a bug
Or it doesn't work in Paper either 😛
<@&748618676189528155>
- How to allocate more cores.(I got 12)
- How to fix pearls on Folia
- Buy a better CPU.
- Not supported, but there is forks that fix it.
I believe the recommendations is 16 core cpu for folia otherwise you're better off with Paper in the long run
- But how to allocate more?
- Tell me some
i think the option you need is in paper-global.yml under the name "threaded-regions"
also you cant really ask about forks here as we do not support them
What should I change it to if I have 12 cores
there is no "one-fits-all" solution for that but you can use this as an initial guide.
https://docs.papermc.io/folia/faq/#how-to-best-configure-folia
Suggest
if you cant follow the guide on your own then you shouldnt even try with folia.
you need to do a lot of "DIY" stuff on Folia as there is a lot less support online for it (compared to regular paper).
I agree with what Moos said, if you are incapable of figuring it out yourself, don't even bother.
master in paper and it's forks, bad at folia
how can i enable nether roof top building for Bedrock players
This is entirely up to the plugin you're using for this
Is playerrespawnevent broken on folia and if so does anyone know any work arounds? I'm using the worlds plugin and have my /setspawn set in my lobby world. When I type /spawn players spawn there. However when I die and respawn i respawn in my overworld instead of where i /setspawn. I also want to note when players first join the server they do spawn in the lobby. It's just the respawn behavior that doesnt spawn them in the lobby world on death.
yup, that event does not work on Folia.
there is a workaround by abusing the InventoryCloseEvent and checking if the player is dead there
ty
How many cores should I have on folia, if 12 is too less
16 cores, 32 threads at least
@magic orchid do you know any good folia fork for 1.21.11
no i dont
Okay
Do you know why my server stops so slow? @magic orchid
sometimes crashes and rolls back
If the server is slow, post a Spark report please.
Not slow
just
stops slow
sometimes crashes randomly
I would still post a spark report.
best to post both the log and spark report
When
When it stops
Or when it crashed
whenever an issue occured
2026-03-11-1.log by @late ruin: https://pastes.dev/BsvobqhZOK
Nothing atm since I didn't stop it
This seems like a shared host?
?
Pretty sure just bandwidth is shared and 4 cores, but I requested an upgrade to the cores
The server is just very optimized under cpu load
you have 12 CPU threads, folia should be used on at least 32 threads
It's not recommended to use a shared host for Folia
I asked because I saw the amount of threads you have don't match the CPU and also because your GC stats are suspiciously high, could be just memory pressure but also could indicate not great hardware
what should I use for GC stats
You need better hardware if you want to run Folia.
It's not designed for shared hosts, low end CPUs, etc. It's designed to take advantage of higher end CPUs more than Paper would.
Isn't a 9950x good?
it is good when you got it 100% for yourself.
but you are sharing it with others so you cant get 100% of it's performance
32 threads and 16 cores?
yes, that is the recommended minimum for Folia
@late ruin I don't accept friend requests from people I don't know.
If you're going to run Folia you need better hosting.
That's fine
Does 32 threads 16 cores 9950x , 24 GB ram work?
you usually only need a maximum of 20GB (process memory) + 2GB for the server OS.
but even that is only under very heavy load with a super high player count
If it is a dedicated server and you have the entire 9950X, yes.
If you're using a shared host, no.
I run the server os and panel on a different server
This server was part of a partnership
Actually 2 servers
you can not run the server without an OS though.
the machine running your server also has to run an OS.
otherwise it would just be a paperweight
The lobby server is fine, I don't know why I picked bungee cord
I paid someone to install everything since it was just a VM
He asked if he should install panel and everything on the lobby server
I said yes
even if it is a VM, there is an OS running inside that VM
Yeah, I understand now
you physicaly can not run the server without
And don't run Folia in a VM.
Where should I run it?
That is not a dedicated server.
you do not want KVM
Isn't a dedicated something on which you installed everything yourself
just search for "dedicated servers"
You are going to need to do a lot of work to keep Folia running.
This was a partnership
doesnt matter.
Folia does not like VMs, the reason on why you use a VM doesnt change that
Please read up on the documentation, FAQs, and developer limitations of Folia for any future questions.
One more question
Pretty sure it's not included in the docs
What fork changes only the pearl mechanic so it works as intended?
no idea since we don't support forks
We don't know anything about forks.
If you run a fork of Folia you'll get help from someone else.
Do you know a fix then?
I do not.
Nothing. Your hardware is underpowered for Folia.
Please switch to Paper or upgrade your hardware.
Okay
anyone here own an 9950x dedicated running folia? can i get some spec about mainboard? which one should i use for 9950x?
Would probably recommend not purchasing hardware for a server, but rather renting a dedicated server so you can upgrade as needs increase/specs improve.
ive already prepared and confusing which mainboard best
There’s no “best motherboard” for Folia. You want a fast system. If you’re trying to compare server parts you should try some online resources.
But I’d really advise against spending thousand(s) on a server.
I can give some context on that.
I decided to selfhost my server fully aware that it is not even close to being the smartest idea.
I spend thousands of euros on hardware, and hundreds of hours on troubleshooting my networking.
If i would have gone with renting a server from Hetzner (as an example), i would have saved more than 1.5k by now and wouldnt have to worry about networking at all.
Renting a dedicated server is 100% the better way of hosting a folia server.
oop
i guess its bad i already spent 700$ on a 9950x and 1k on a motherboard
oopsies
oh well
i nice homelab for me
just because the other option is a lot better, does not mean that selfhosting has no upsides.
i selfhost my folia server just for the fun of hosting.
its crazy that people spending a lot of money for a folia server that probably end it up overkill
well tbh im not using folia atm
i got these specs as im running multiple services off the same physical machine
the fuck kinda motherboard are you buying for 1k
for real
Should I use folia for a 100 member server?
will they be spread out/in different worlds?
if yes, and if you have minimum 16 cores (a bit less can also be good enough) then sure
also make sure your plugins and datapacks are compatible with folia or find some alternatives
worst case hire a developer or write plugins yourself
Yep It's an SMP
8 cores so what?
well, folia might not be too helpful in this case
The maximum number of cores is 8 on the hosting service I'm using
the docs recommend minimum 16 cores, but you’re free to test if folia is more performant than paper for your setup
if it is then go ahead and use it
I understand what you mean
Do you have any file optimization settings or anything that can improve folia performance?
Or should we leave it as default?
configuring folia is just a matter of thread allocation in paper-global.yml
that’s all the optimisations folia “exposes”
there’s also the grid-exponent which can help create more regions if you set it lower but i wouldn’t recommend that with 8 cores
I understand now and will try it today
I need your help if any problems arise, is that okay?
just ask in this channel
you can free to use it in 8 cores, but dont expect good things from folia.
Why is that? I heard that folia helps improve servers for smp games with its multi-threading mechanism
unless ur not obey folia rules
The way folia works makes it very very context dependant.
If all of your players are very close to each other at all times, then folia might even give worse performance than paper
Folia I believe
They use a custom fork of folia.
But keep in mind that they also do sharding
I know they use multiple interconnected folia servers
I'm working on an SMP server do you think they could get together?
Yes, thats what sharding means.
But to be clear: they use a fork of folia thats been heavily optimized for that.
You wont get the same result with regular folia
They have many developers to do this
I understand that
It depends.
If players build their bases more than 1k blocks apart from each other folia might help.
Otherwise paper would be better
Most of them I saw were separated by more than 10,000 blocks
Then folia might be a good idea for your server.
Keep in mind the high hardware requirements though
What do you think if I create 3 overworld maps, split them into smaller parts, and then link them using commands like tpa?
This fulfills the requirement that all players are always kept at a distance from each other
Thats kinda what folia already does on the fly.
Basicaly splits up the world into multiple independant regions.
Only that folia splits and merges the regiond dynamicaly depending on how far away players are
I think it would be suitable for an smp server
But I only have 8 cores to run
It might not be possible
I think if ur bases are 10k blocks apart, then folia should be very good
They are definitely more than 10,000 blocks apart
It is recommended to have at least 16 cores/32 threads.
But it is still possible to get a benefit from folia compared to paper with 8 cores/16 threads.
Just not the full potential
I'll give it a try
Start with giving 8-12 threads to regional-threading
8-10 is okay, then seperate threads to other loads
netty, io, workers...
I have provided the maximum possible number of threading is 8 cores
oh no
Are you sure you are talking about cores and not threads?
Most cpus have 2 threads per core.
Unless you have a virtual machine, you shouldnt use folia in that case anyways
^^^
I have 8 cores
Sorry I made a slight mistake
So you have 16 threads?
You can still try it, but performance may vary. I've found that folia works fine on lower core count cpus, up to a point, but results may vary.
I'll give it a try
What do you guys expect, how much player you can handle without mspt spikes for pvp on an smp with an
CPU
AMD EPYC GENOA 9654
96 c / 192 t
2,4 GHz / 3,55 GHz
128GB DDR5 Ram
with obv an infra node for velocity
folia
what is the network and io?
https://www.ovhcloud.com/de/bare-metal/scale/scale-a6/ this server right here
hmm
rn we are on amd ryzen 9 9950X3D and we can handle 500 players without any lag but we want to handle more
500 is limit, all over 500 starts to get mspt spikes
Make sure Folia will actually work for you
I see your name and assume this is a PvP server?
No it's an SMP but very PVP based
If your players are actively pvping, it will nlikely to work
Like Donut
What is your option to handle more players? Is there a way without multi-server
Folia + sharding is the way but you will need some developers to make it work. That’s how donutSMP did theirs
wdym with "sharding" ?
They have mutiple dedicated machine and stitch the server together to make it feels like one big server.
oh i see like cloud net?
do you know people that can develope that? we got an big budget for this and we need it so bad
We don't, no. And it's not using software we make, so not really sure where to direct you.
The best you can do without custom solution is probably an unaffiliated project called multipaper
Would 16 cores and 32 threads on a 9950x be good for folia?
it's a kvm not a dedicated
Shared implies the performance you get is unpredictable
It could work well one hour and then completely tank the next hour
As we've said many times - don't use a KVM for Folia.
How to correctly allocate 16 cores and 32 threads for folia
look at the documentation on the website
any way to increase the time the watchdog triggers that a region is blocked ticking?
I can't seem to get it to trigger at 60 or so seconds
I would assume it's just using the setting inside of spigot.yml?
otherwise, there is the earlier warnings that paper produces to give info before the server gets stuck
not talking about the server restart on crash feature
just the early warnings
tried increased them in paper-global.yml with a few zeros
still warns after 5 seconds
I wanna test how my plugin would work with a thread being blocked for a few, maybe more than a few, seconds, and track stacktraces, without the watchdog spamming the console
tried
still gives the watchdog errors
folia ones
What kind of server are you using, and how many cores does it have, to support 500 players simultaneously?
it depends on your setup.
netty threads can be set as an argument on the java command.
(Also no need to ping a specific person in a context like this)
Do not ping people. Ask a question and wait for an answer.
16 cores 32 threads
20 minutes
20 minutes of what?
no response
People here are helping out of the kindness of their hearts.
This is not paid software. You need to adjust your expectations.

bro
why did I get warned
1 hour after
moos helped me before
that's why I pinged him
It says right there why you got warned.
with 8 threads you really should use normal paper instead of folia
I will have better performance?
Some guy told me that folia is better cus it is multithreaded
folia wants at least 32 threads.
if you have less than that and do not know exactly what you are doing paper will be better for you in 95% of cases
Paper also uses more than one thread.
Having things "multi-threaded" is not a magic solution. And people tend to oversimplify things being "better" because of it
What the hell
Okay
Tysm both
Best hosting for price to performance?
ovh or hetzner are probably your best price. Being a server owner means you need to do a lot of online research yourself. If you can’t do that, you probably shouldn’t be hosting a server. For future general question not related to Folia, use Google first or ask #general @late ruin
Used both OVH and Hetzner.
OVH
Pros:
- Really good ddos protection
Cons:
- bit more pricey then Hetzner
- slow support
Hetzner
Pros:
- Fast support
- You get greater specs for the money
Cons:
- Really bad ddos protection
Right now, I use a dedicated machine at Hetzner and tunnel the traffic through a cheap OVH vps. Works good so far.
okay
can an inefficient memory usage ("ballooning") cause a massive amount of lag despite having stable 20 TPS in all regions?
My memory isnt full but when i constantly refresh the spark report while the server is running i see that the memory usage is very very "jumpy".
like it jumps between 4GB and 12GB.
I have set a -Xmx of 28GB.
how to get a perfect jvm command for folia?
No such thing exists
"perfect jvm command" 
Please keep editorial commentary out of help channels.
So folia is useless?
so paper is better in every case
no??
Paper is better in any case except when your players are very spread out from each other.
Folia is very usecase specific and for 90% of servers maybe even worse than paper.
So Folia is better on huge worlds?
uh... It depends on the game mode and objective.
If you only seperate players good
And...
Yes, but only if your players are far a apart from each other.
If your players all build their base right next to each other then no
Okay
Know what I'll be using for skyblock now
now?
good luck on converting plugins with folia supported.
also you should not use kvm/lxc for folia
I run a proxy, I was debating what was best for skyblock as we haven't added that world yet
is folia stable?
😐
It is stable as in it does not crash constantly.
It does have lots of stuff not implemented tho.
Mainly the scoreboard, datapack functions, dynamic world loading, some ingame commands, and some API events
i understand it's maintained by one person? so i suppose it could take a long time before those things are implemented
Some things will probably never be implemented due to technical limitations
Hi, I’m wondering if you can adjust the size of a region in Folia?
you can change the grid exponent, but if your players are too close together (~1000 blocks or less), you are probably out of luck
What should I change grid exponent to?
If it's just an anarchy server should I use folia, big world border.
Players are usually spread out
if players are spread out to be at least 1k blocks apart from each other most of the time, then Folia is a good choice.
else: use paper instead
I can not get the Locator Bar to work.....have typed /gamerule locatorBar true
But it dont work
the locator bar is disabled on folia
I mean, it kinda is given how it's structured(it's also stupidly slow). The waypoint manager needs a full rewrite to work with region threading
And if u tried to make it work with the new structure and got it working, it would still be slow af which isn't any good at all
Some of the ways to optimize it are very simple tho
no i mean as a plugin
AHHHH mb
as a plugin
My apologies lmao
uh
I'm using Folia, and EnderPearl Stasis isn't working on the server. How can I fix this?
Which kind?
Are you familiar with EnderPearl teleportation systems that use soul sand and water? When a player throws a pearl into this system and then moves far away—either by using /rtp or by traveling normally—the EnderPearl disappears. I need to fix this issue.
That will not work with Folia and probably would never work due to how regions is defined.
Doesn’t DonutSMP use Folia? This system works there
Or another smp servers
It can probably be patched to work (with a delay for scheduling across regions) but I suspect since it's a bit of a niche exploit and sounds like a pain to wire up leaf just patched it out to get things working
This is a shot in the dark, but you could use https://jd.papermc.io/folia/1.21.11/org/bukkit/World.html#addPluginChunkTicket(int,int,org.bukkit.plugin.Plugin), just be very careful about cleaning it up when the enderpearl disappears, also keep in mind that you would have to carefully track the enderpearl across chunks. Could be messy
declaration: package: org.bukkit, interface: World
hallo, how can i run 2+ instances in my ddedicated? i got 9950x, should i use docker? or taskset core?
You want the whole cpu for a folia instance so running multiple on that cpu is not a good idea
ohh
as i know its has 16*2
so i think its would be okay to split into 2 iinstance?
And folia wants a minimum of 32 threads per instance

btw how can i fix when thread locked by folia process?
like the thread locked by the java process so ssh got delay
i cannot stop my server when this occurred 
what
Are you saying that folia is overloading your cpu to the point that other processes (SSH) are having issues?
yes yes
ehh ive seen that folia incompatible with lots of plugins, and sometimes cause thread lock when plugins does not worked properly on folia
so i think this one cause delay on my ssh
Nonono, DO NOT run plugins that dont explicitly support folia
just wondering if there's any problems in future in folia cause same issues so i cannot shutdown properly

No, the issue you are having is not a common thing with folia.
If you use plugins that dont support folia, then you are pretty much asking for trouble
k got it 
im having unstable ping on my server (same issue i already asked about a few weeks ago).
just as a sanity check, this is not healthy, right?
specificaly that the 95%ile is the same as the max
Send a spark report, please, not a screenshot.
i cant really do that as i got the issue where it always just says "There is no data in this report".
also couldnt update spark today as their download website was broken.
for now i just need a yes or no answer if my theory is correct or at least worth looking into
95% being the same as max just means it's consistently busy, no?
hey, I have a Crystal PvP practice/sandbox server that leverages arenas (960x960 arena dimensions) with 961 arenas in one world. For my server specifications we currently use an I9-14900K, 192GB DDR5 RAM dedicated server.
Would I benefit from Folia?
I mean it depends on if your arenas are far enough apart ig, although at that point why not just put them in different worlds, as those are guaranteed to be on different threads
more worlds is worse
even with PWT
I am using Leaf right now
They aren’t, do you think I should spread them out?
If you want to use folia. See this
PWT (parallel world ticking) seperates worlds into another threads which is not a good thingy for plugins. (some plugins may not work)
folia is already have this feature by regionizer
but whole system is based on regional multithreading
what host configuration is suitable for using Folia?
I don’t understand the question. Can you try to elaborate?
I mean, what kind of computer configuration is needed to run Folia efficiently?
Do you mean what hardware?
Yes
A popular option is a higher-tier ryzen. Do note you don't want to be sharing this box with others. Rented dedi.
Is a shared CPU hosting using Ryzen 5900x/5800x powerful enough? I plan to run a SMP server with many player.
shared cpu? Like, on a shared host? Or a VPS? If you're just able to get that, you should stick to just paper.
Ok thanks
speaking of CPUs, is Folia worth trying on dedicated Ryzen 5 7600X?
I mean, it might be worth trying on a Core 2 Duo, there are situations where it's going to have an advantage over Paper no matter what hardware you have
It's unlikely to have an advantage over Paper unless you have 12+ cores though
is the multithreading overhead that high on Folia?
No but Paper uses more than one core already
not for the main loop though
The others are used for networking (including compression), chunk IO, and chunk generation
If you have a lot of players those threads are going to use a lot of CPU time so trying to share those CPUs with region threads might just make things slower
Really to answer this question you have to know how Paper works, how Folia works, and how your server is going to work
It's something your development team should be figuring out
Along with planning how they're going to rewrite all your plugins
I am the development team though 
and I do know how Paper works compared to vanilla quite well
I meant as far as CPU utilization
Like if you know for your expected player count and gameplay your netty threads will use up 4 cores on their own then you know using something with only 6 cores isn't the best idea with Folia since there isn't any to spare
what I don't know is how big is the multithreading overhead on Folia and whether trying it is worth it given our current hardware
absolutely, though even in peak player counts I only see ~40% CPU utilization
Oh yeah, and remember the JVM wants some CPU time for JITs and GC
40% on each core? If you mean total system that's a useless number, you're measuring the wrong thing
40% overall, right
afaik if you assume each Folia region can handle about 80% of what a Paper server can you won't be too far off
(~500%/1200% to be precise but you get that point)
I mean, I think the overhead is usually less than 20% but yeah
But of course that's going to depend on what your gameplay is like and what your plugins are trying to do as well
the world border is vanilla and players are spread out quite far, so that's one of the advantages of Folia here
The only way to know definitively if your particular server design and CPU are a good fit for Folia is to try it. Getting a confident guess would probably involve the kind of thinking and planning I only do for work 😛
Beyond that I can only give you the generalities and you have to figure it out
side question, can Folia do thread per world through some configuration changes (and would it make sense)?
The more cores you have the more likely Folia is to help, unless your server design doesn't allow for enough regions to be created
Thread per world is just what happens if you don't spread players out enough
Each world has at minimum 1 region
well, fair enough 
There is no configuration option to force it to only have 1 region and simplify your programming model, you always have to program assuming there are many
would it make sense to do that intentionally to eliminate the overhead for low core counts though?
No, there generally aren't many people in the nether or end
Mojang tried doing thread per world once in snapshots, they ran in to a bunch of problems since they didn't do it right but they backed it out instead of trying to fix it since it wasn't worth the effort
absolutely, I already default to using Folia friendly apis on Paper to make it less painful to move in the future
makes sense
oh when was that?
Between 1.5 and 1.6 iirc
Not sure if it even made it to a snapshot or if they just talked about trying to get it in for a snapshot but it was too broken
I hope it wasn't the latter because they might have said it somewhere non-public and then whoops 😄
interesting
Hello I am going to start a folia minecraft server and I would like to get suggestions about where to get a dedicated server host for this endeavor.
OVH, Hetzner
I hope, Folia gets it's update to 26.1 soon, after the Paper Release ❤️
Prob same as paper
It adds multithread support
i know
Not anything else so anything that changed to get multithread support has changed if I'm not wrong
oh so its fully functional now>?
And I would not really recommend folia rn as most plugins just don't have the folia flag on while they won't have many issues
but i gotta port my own plugins to folia right
yea most my plugins custom anyways
i dont need it yet
How many cores does ur server have
like 24
i think imma make my own system instead of folia since its skyblock based it should be easy to multi shard
plenty of people have already been running folia in production for many years now, folia still disables some commands that the majority of servers won't really care about https://docs.papermc.io/folia/faq/#what-commands-does-folia-disable
where can i see how the system works?
like how does it assign users to a shard
Wdym
let's not recommend random forks here
You probably more care about how the regionizer works
Ok
And if you know how patches work look here https://github.com/PaperMC/Folia
what is that
An unrelated fork
is there benchmarks? like curious how many players one 24 core with good coded plugins can handle
that is not a benchmark
Some useful stats
nor is there any way to predict what your specs will handle
just curious for the typical machine
At least 1 player
It depends on so many different factors there is no prediction
yes but the avg
You could have all the players in a single region and it'll perform worse than a paper server
for a machine
Try running benchmarks yourself
okay
I don't know or have tools for that
so your telling me no ones done benchmarks
It depends on so many different factors there is no prediction
average
No one has done a benchmark on 24 cores and x players and x and x etc
There is no average
i think i could handle like 350 players on a standard pufferfish server already
maybe i should be the first
That's the most accurate it gets
are you AI
Do any of you guys know how to run an fake bot text on a server to determine user limits?
yes
rust mc bot on github
its very good and fast
Thank you 🙏
Bots won't ever show the actual limits
You'll never be able to replicate actual player behavior
Ik but I want a rough controlled idea that is true tho
..
that depends heavily on the type of server
the rust mc bots move, send packets, crouch, roam etc
Rn I’m running it as a paper but I’ve been looking into switching over to folia cuz it’s been growing and I wanna make sure I could keep up with the demand
well what gamemode is ur server
A lot of plugins may and will break
yea every plugin will break
Idk if you guys are having this but all my bedrock players are soo pissed at me and I’m like just wait till it’s updated please lol
I run little to no
It’s an anarchy server
hm
Basically only grim
a lot of plugins?
Nah maybe 5-6
If your players aren't really spread out then you'll get no benefit from Folia
Yes
Should be easy to port
They are decently spread
What is the list?
you will benefit
Spawn gets hectic but everyone pics there spot
Also if bedrock players are having issues there is an geyser extension to fix lag in high cords
Wait a sec
This convo doesn't really seem folia focused anymore
Geyser floatingpoints
Yeah
This is a good way to see if folia is good for you
my server is skyblock server but
i think it'd be easier in my case to make my own mutli instance system like skyblock
what do you think
i think its more scalable right?
That's a convo not for the folia channel
nothing can scale infinitely
horizonality
Folia can be put behind velocity if you're asking that
Thank you alot 🙏💯
yes but like
if the main server reaches its limits
what can i do after that
to keep people on the same server
You don't
Nothing
You use velocity and have different servers
Ok np
It's all described in the docs
Overall, custom distributed systems needs custom solutions.
You are on your own atp lol
Folia is pretty okay if you want to handle a lot players, you have to spread them tho.
yea
Otherwise there is nothing exist like handing infinity players in a single server
cpu/packet fanout
explodes
scaling can be happen if you have money
There is any plans tu make folia « Clustering » ? Like having multiple servers for horizontal scaling ?
probably not
I think it was the project of Multi Paper or something like that, but it wasn’t stable
I only say probably because at the end of the day it's whatever leaf wants to do with folia really
I know Paper already has dev workings but is Folia receiving similar attention or is that more or less a after paper is finished type flow?
Folia is a fork of Paper, so Paper needs to be ready first
And Folia tends to be slower than Paper, FWIW.
as a general rule of thumb a lot less people are working on folia and you should be expected to either do a lot yourself or wait a long time
Gotcha thanks guys
Can you run Folia on more than one CPU now?
I am looking into a quad cpu system
4x xeons
No

Didnt this add support?
https://github.com/PaperMC/Folia/commit/eee7128bc810195ad758ea5ace1b72c600896d3b
Are you familiar with these companies customer support. Also, do you know if it is easy to scale with these companies. Thanks for your help.
Have you found a good company to host your server?
I buy old unused servers from hosting companies, then run on my home
Oh yikes... I would never do that. You are brave.
The one I've used for beffy machines previously was ReliableSites. They have awesome hardware, good pricing, decent support (if related to hardware issues), but terrible networking. You'll need a dedicated protection service
I have then hosted on another small house in my land, on their own network, only exposed to the internet via a cheap vps I buy from a friend
That commit adds some improvements for locality but it's not perfect, stuff can still bounce around as regions move, merge, etc; But, NUMA is always going to be a sore point for this kinda thing
Nothing stops you using more than 1 CPU, however, it's not that it's "unsupported", it's just NUMA is a headache in codebases not designed for it
I currently use ovh for my server and the support is pretty decent but you don't really need them most of the time
If you have extra questions about them specifically feel free to DM me
How is folia different to paper?
Apparently player's items can despawn if they die and stay in the deathscreen for 5 minutes
Is there a "common wisdom" way to make it so that the items despawn counter doesn't go down when they're loaded but no alive players are nearby
That is just the normal 5 minute despawn timer that applies to all dropped items.
Either you modify that timer (which will affect all items and might cause performance issues), use the gamerule immediate respawn so its impossible for players to stay in the death screen or you find/make a simple plugin that resets the timer for every item close to a dead player on a regular schedule.
Given that this is a normal game mechanic, i would just tell the players that going afk is their own risk
Using a "gravestone" plugin is another solution ig
Don’t do this. They can google something themselves but sending a screenshot or a link to a google search isn’t really “helping”.
also frankly usually especially with nieche technologies like this it makes up stuff all of the time. like sometimes its coincidentally accurate because someone wrote something super detailed in a PR but often times its just going to say "mostly" "often" "usually" "especially" with absolutely no detail and depth or blatantly wrong things
I wouldn’t have posted it if I didn’t think the screenshot was helpful
If I had copy-pasted the response by text would you have a problem?
This apparently doesn’t happen in Paper
It’s only folia that has this happen
What i wanted to say is basically, that this is not an intentional thing.
Its a byproduct by the way folia works.
Right. I’m surprised no there isn’t a known workaround for it
“Make item despawn counter count down only when live players are loading chunks”
because items are in charge of their own counters
I'd imagine that it's just not worth the perf cost of trying to bodge around it, ideally you'd just have some state where stuff doesn't tick but I'd imagine that's the headache
You could implement it yourself.
Make a simple plugin that runs every X seconds that iterates over every player, then iterates over every item entity nearby and if the player is dead, reset the timer.
Its just something that most servers dont care about
This "problem" only occurs when players are afk anyways.
I personally dont consider players who dont play the game to be important but you do you.
I presented all the possible solutions that i could think of so either ignore it or do one of those
AFK-ing is a huge part of minecraft
For others maybe, i dont play a game just to....... Not be playing the game
Is it still just SpottedLeaf that’s the main dev?
Or do other devs work on Folia too
Need help on choosing a dedicated server for my Minecraft Folia server. 1. AMD EPYC 7443P 2.85 GHz 24Cores 48 threads. It is a rather expensive server to pay for on a monthly biases. 2. 2x Intel Xeon E5-2660 v2 2.20 GHz 20Cores 40Threads. Number 2 is the less expensive option. Hoping to get some feedback in regards to whether the second option will work and what I would expect if I go with that option rather than the AMD EPYC. Also, if anyone else has any suggestions about other dedicated servers that I could consider that are less expensive that would be very helpful. Thanks for your time.
The Xeon is a 13 year old CPU that wasn't very good for running MC servers even when it was new
I am trying to get the best server I can in order to be able to grow a Minecraft community that would allow me to grow for some time before having to scale up the hardware.
AMD Ryzen 9 7900
3.7 GHz 12Cores 24Threads is another option that I can choose. It is less expensive than AMD EPYC.
Another option is the AMD Ryzen 9 7950X3D
4.2 GHz 16Cores 32Threads
I have to be honest, this sounds like a big commitment for the possibility of growing a community
That 7443P has almost 3x the single core performance as the 2660v2 btw
And scalability also depends on your development direction, Folia is going to be harder than Paper to scale in this sense
7950X3D is probably even better for Folia than the 7443P
According to the readme the 7900 would be fine if you pregenerate your world
Whether you actually need to do that or not depends on your server setup and players
Where is this readme at? I guess I should look at that. 😉
Huh, the readme actually just says 16 cores, could have sworn it had a bit in there saying 12 if pregenerated
Hm... Development is something I was going to do once we got a server up and running. Have some ideas and I have been looking at all the Folia plugins and have made a list of which ones I want to install. Trying to keep it as vanilla as possible and add minimal plugins in order to make the server different than other server choices. But for the most part right now bottle necked on the server choice in order to get started.
The hardware requirements boil down to high single threaded performance (to handle demanding regions) and plenty threads to handle the regionizing overheads
Plugins and whether issues/limitations will arise are a concern, and also player spread is a must, just letting you know so that you don't base your expensive hardware choice on making a Folia server and it ends up not being for you
I would suggest having the full implementation details and development down before buying the hardware
That said, the 7950x3D is a fairly safe choice for both a Folia or a Paper server
Hm... so by implementation you are referring to plugins, whether to pre-generate the world or not, server borders etc. ?
You should have everything planned if not already fully made so that you don't find out midway that you can't use command blocks, datapacks with command functions, respawn event in plugins, etc
Is there any documentation regarding this that I could read in order to better plan this out.
does someone know why spark doesnt work for my Server?
You can ask in spark support Discord. This is not relate to this channel topic
what is their discord?
you can find it from the place where you download spark from
i cant find it
What requirements does Folia have in regards to RAM with a dedicated server?
If you are worried about RAM upgrade your hardware before using folia
How many players do you expect?
I am getting ready to purchase a new server. What would be the best RAM to start with? We are just starting out so traffic won't be that busy right now but I would like to get it set up with the right RAM so that I don't have to upgrade it later.
I would like to be able to handle at least 500 players to start.
https://cubxity.dev/blog/folia-test-july-2023 probably about this hardware. Though that was just 500 players - not 500 players actively building farms, plugins, etc etc
128gb of ram on the machine should be more than enough
The main bottleneck will be cpu and not ram.
Thanks... I am looking that this server. AMD Ryzen 9 7950X3D 4.2 GHz 16Cores 32Threads
It will probably struggle at 500 players especially if they build farms etc.
If they dont do anything then maybe
Hm... how about this one then? Nvidia L4 24GB Cores
32
Threads
64
Speed
3 GHz
RAM
128 GB
Storage
1.9 TB NVMe
Bandwidth
10 TB
CPU
Dual AMD EPYC 9124
I mean that GPU is gonna be completely useless
So this server would be a good place to start. AMD Ryzen 9 7950X3D 4.2 GHz 16Cores 32Threads
I would go for a 9950X3D if you can
If you don’t have any community yet, start a server on cheap hardware then upgrade it as the community grows.
You’re gonna demoralise yourself if you buy expensive hardware and have 3 players online to start with
It takes 1 sitting to transfer everything from one machine to another, so just start cheaply on a Paper server on cheap hardware
When the community grows, you get more revenue, and you need more power, then you upgrade
I created and ran a large chess playing site from 2004-2024 and I went through many growing pains with that approach. Based on what I learned from that 20 year experience I really don't want to go through all that again. What I am trying to do is find a middle ground that allows me to have enough time to determine if I will be able to grow it into a larger community without the hassle and the pains of having to move the community onto another server which, in my experience, always creates issues for the community and stress for me. So basically I do agree with what you are saying but I would rather have a better foundation set up before beginning this endeavor. I will give myself one year to see if I can make it work. If after that time it does not work I will be out. The approach you are recommending is correct but I want to start a little bit up the chain a bit so that if it works I have a little breathing room before I have to upgrade everything. Also, starting with cheaper hardware will not allow me to use Folia which, I think, will lead to a new generation of Minecraft communities in the near future. Right now the landscape is full of small Minecraft servers that continually have issues with lag because of the single threaded set up. They have to over optimize the server in order to prevent lag for the community. They get so wrapped up in it that in some cases they literally have optimized the world to the point that nothing moves in the world. I was on one server where the animals did not even move because they had it over optimized. Mobs are lobotomized as well. It really leads to the feeling of a dead world. I have also seen servers that stack mobs to prevent lag as well. This seems rather extreme to me and this is what I am also trying to avoid. Anyway that is my goal. Again I agree with you but I think being able to run a Folia server is important and a Folia sever requires a bigger machine with at least 16 cores in order to do this.
I have also been reading about Multipaper and Shredded Paper. Not sure if this could be an alternative approach to using Folia or not which might allow me to take your approach since Multipaper allows you to grow by adding new servers connected with BungeeCord, Velocity, or TCPShield.
Be aware that using more non-standard software will increase the problems you have to deal with
using Paper is easy, using Folia adds limitations and problems, using something like Multipaper means you are on your own, more or less
Own your own in terms of plugins? Or in general not enough people using those forks and very little development going on?
with everything
Most plugins dont support folia so for a lot of "basic" features you need to make your own
Or you make your own forks but that is also a lot of work to maintain
From what I see here it looks like Folia has plenty of plugins that are now compatible with it. https://hangar.papermc.io/?sort=-stars
Hangar allows you to find and download the best Minecraft plugins for your Minecraft server
Its been getting a lot better sure, there are still gaps though
Based on seeing this site with all of the plugins adapted to Folia I feel that the tide if starting to move and that is why I decided to start with Folia.
I have read through all of the plugins and to me there is more than enough there to do what I want to do with a Minecraft server.
multipaper and shreddedpaper is not stable
and you have to accept consquences
Hi guys, does anyone know why mace and spear swaps don't work on folia?
thanks
What is a good ping speed for a Minecraft server running Folia?
that is very different depending on who you ask.
some people say a ping of 100 is unplayable while others say that it is perfectly fine.
mainly depends on the physical distance between the player and the server too, so that isnt really anything you can "fix" by getting better hardware.
just figure out where the majority of your community is located and get a server there.
In the future, this kind of topic is more of a #general conversation, as it does not strictly relate to issues with a Folia server running.
quick question:
in a relatively normal SMP server with no noteworthy automatic farms and 34 players connected, is 2 million packages send from the server within 1 minute extremely high or normal?
trying to diagnose networking issues and ran PacketLogger during today's 4 hour play session and it states a peak of 2 Million outgoing packages within 1 minute.
80% of those packets are also entity related.
The server has a small view distance (4), reduced entity broadcast range (80%) and reduced entity collisions per tick (2)
As usual, send a spark report
my spark reports al just have the issue where they say "This report contains no data"
You should probably start with fixing that, then.
im trying but apparently the people at the spark discord dont really know how to go about this too
wait how
like i said, it will run fine but when i open the link it just says "This report contains no data"
hmmm
it shows the hardware stuff but not the relevant stuff
i can open it?
ah
oh
/spark profiler start --timeout 300 /spark profiler stop --save-to-file
I think that the name of the main thread was wrong?
lets try this
I read something about it probably in the spark discord?
You can probably try to use /spark profiler start --thread Folia Region Scheduler Thread.+ --regex or something along those lines, I havent tried the command
Does someone know how to fix rollback? When the server crashes location and inv gets rolled back
If your server crash and cause rollback, what you want to fix is figure out why server crashes and prevent it from happening again.
All unsaved data is lost when server crash, there is no way around that.
// Oops.
Time: 2026-02-11 11:33:54
Description: Exception ticking world
java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
at java.base/java.lang.Thread.start0(Native Method)
at java.base/java.lang.Thread.start(Thread.java:1444)
at java.base/java.lang.System$1.start(System.java:2230)
at java.base/jdk.internal.vm.SharedThreadContainer.start(SharedThreadContainer.java:147)
at java.base/java.util.concurrent.ForkJoinPool.createWorker(ForkJoinPool.java:1754)
at java.base/java.util.concurrent.ForkJoinPool.signalWork(ForkJoinPool.java:1895)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.push(ForkJoinPool.java:1302)
at java.base/java.util.concurrent.ForkJoinPool.poolSubmit(ForkJoinPool.java:2625)
at java.base/java.util.concurrent.ForkJoinPool.execute(ForkJoinPool.java:3179)
at java.base/java.lang.VirtualThread.submitRunContinuation(VirtualThread.java:340)
at java.base/java.lang.VirtualThread.externalSubmitRunContinuationOrThrow(VirtualThread.java:425)
at java.base/java.lang.VirtualThread.start(VirtualThread.java:702)
at java.base/java.lang.VirtualThread.start(VirtualThread.java:713)
at java.base/java.lang.ThreadBuilders$VirtualThreadBuilder.start(ThreadBuilders.java:262)
at net.minecraft.server.level.ChunkMap.tick(ChunkMap.java:1035)
at net.minecraft.server.level.ServerChunkCache.tick(ServerChunkCache.java:497)
at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:793)
at com.universeprojects.util.thread.world.ticker.impl.WorldTicker.tick(WorldTicker.java:50)
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1736)
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1596)
The error is right there. You’re running out of memory.
Send a spark report? It’ll show the config values you’re using.
The issue is if i use spark it says no data avaiable
Try it anyway
nvm it worked
Post a link - not a screenshot please
yeah mb
Spark?
yeah luminol
They probably have some sort of support server.
So you’ll want to ask them for support. We don’t support forks.
9950X3D is better than 9950x for folia right?
It's probably same-ish
in theory its a tiny bit better but that tiny difference is not worth paying extra for
If I have a 10+ terabyte world is there a big different between running NVME and Sata?
Yes. Faster is faster.
I got my Folia server up and running. Installed first plugin Orebfuscator and ProtocolLib and getting a warning: [ProtocolLib] [AsyncListenerHandler] Plugin Orebfuscator v5.5.7 did not start the asynchronous handler com.comphenix.protocol.async.AsyncListenerHandler@5eef4218 by calling start() or syncStart(). Has anyone else had this issue?
You know that paper has an in-built anti-x-ray?
I read that it is not that good. Has that changed?
Anti-xray has always been the best way to do what it proposes to do
The only thing Orebfuscator does differently is being able to hide tile entities and apply fancy heuristics like raytracing
The only possible better option is stonar's ray trace anti xray, where you pay with more cpu usage for even more coverage (but it's decently fast and supports folia)
Luckperms is not showing up on the hanger website as a folia plugin. Does anyone know if it will work with folia? If not is there alternative that can be used?
what is this why don't start my server?
message.txt by @wheat wigeon: https://pastes.dev/amX2ZrEM1i
The log tells you how to fix the issue, but either way
Im using Folia 1.21.8
Yeah, it's indeed unsupported
why?
That's an error we'll have to fix.
Only 1.21.11 is supported right now.
But post a full log - hopefully you don't have malware.
but then why does it say supported on the website?
Again, that's an error.
That doesn't look like the full startup log
delete the paper-remapped folder
outside of that, as said, that is an unsupported version
Is the build not supported or is it the minecraft version?
and when do they plan to update this on the website?
we have to wait for upstream first, and even then its prolly gonna take a bit
How do I build Folia now? What are the commands? ./gradlew build and all ?
You can download it now directly from our website
No bro
need this fix use in sources. I can't build the .jar file; it gives an error when I upload the file to the original repository and try to build it.
just clone that PR branch and build it like you would normally?
If you don't know how to do that, you might need to hire a dev. If your server is big enough to require Folia, its big enough to pay a dev
A reminder that we don't support offline mode servers.
hey, is a AMD Ryzen 9 7900 (12c) suitable for folia? I understand the recommended core count is 16 - however this would be for an SMP with around 80 players widely spread out.
You don't need that many cores, but the maths makes a lot less sense under that
Based on experience I can tell that more cores = better.
When you have heavy users and end up with like 30 regions or even more and some users even go like 10k blocks away from each other, then they still end up in the same region, which if your players build farms or ressource heavy things, ends up lagging out other regions as well, when the 1 region the farm is in is already at 80-100% util.
So the recommendation of 16 cores is kind of usefull. Also not to underestimate is the strength of a single core. If solo cores are not strong enough and also you dont have much cores then the util overloads all other regions as well. I have about 40-50 concurrent players on an pretty good cpu, and still have sometimes problems when too many regions or too heavy regions end up loading.
So in the end the core count isnt the main factor for folia, also the single-core-performance is as important as the core count
Running folia on 9950x is the premium exerience for your players
its time for folia to go brrrrr on the competition
if you dont make your own patches to some extent and run a survival server, folia experience can be very bad in pvp because higher latencies
unfortunately true
I have the plugin source code and want to edit it to include folia support, how can I do that?
You’d have to review and rewrite any code that’s relying on methods or APIs that don’t exist.
It’s not as simple as pushing a button or something. Depends a lot on what the plugin is doing / touching.
Also we don’t support offline mode, as you’ve been told.
What version of ProtocolLib should I install on my Folia server?
Latest version
I am having an issue getting Orbfuscator to run using the latest verion of ProtocolLib. Any idea why it would not be able to start the AsyncListenerHandler?
you need to ask the plugin developer
Make sure you're using the latest versions and look at the actual error?
[21:19:04 WARN]: [ProtocolLib] [AsyncListenerHandler] Plugin Orebfuscator v5.5.7 did not start the asynchronous handler com.comphenix.protocol.async.AsyncListenerHandler@6a1e1390 by calling start() or syncStart().
So, either that plugin did something wrong or is not built for that version of PL
I have opened a bug report here... https://github.com/Imprex-Development/Orebfuscator/issues/471
That's definitely not the latest version of PL
The PL download page tells you the version you're using is meant only for up to 1.21.8
https://github.com/dmulloy2/ProtocolLib Should I be looking somewhere else?
use the dev builds
I can't seem to find them. Is there a link somewhere on that page that I am missing?
I think they had a link on the bukkit release page or something
Think I found it here... https://github.com/dmulloy2/ProtocolLib/releases/tag/dev-build
it get's updated
Is this the page you are reffering to? https://dev.bukkit.org/projects/protocollib
Still not finding it
You may want to see if they have a support Discord.
Ultimately this is not really plugin support, but support for Folia itself.
isnt protocollib really old and packetevents better? just heard of it
They both work and have their own pros and cons. This channel is for help running folia, though.
Possibly, but not right away, Paper is coming first
Hello I am reading how to configure Folia here.. https://docs.papermc.io/folia/faq/ Where are these settings that are discussed on this page? Are they in the config/paper-global.yml file?
yes, they are in there
I am aking what config files are they in. I found Netty-threads in the spigot.yml config. Have not found any of the other settings yet.
Oh ok I found them. But am I correct the netty settings are in the spigot config?
yeah the netty setting was the only config option mentioned that's not in there
This is correct right? chunk-system:
io-threads: 3
worker-threads: 2
Also what about the GC Settings I am not finding that..
GC settings are configured in your startup script
looks correct enough, can always increase it as necessary if it doesn't work for you
Where do I find the startup script. I have never edited that before. At least I can't remember editing anything like that.
Is that the server.properties
It’s not built in to Paper. You make the script.
So if you have one then it’s wherever you put it.
Hm... ok need to research this. Never done that before.
A startup script is pretty basic Minecraft / Paper stuff. Definitely worth looking into. You’re going to run into far more advanced stuff than this customizing stuff for Folia.
The paper docs website has a tool for startup scripts
https://docs.papermc.io/misc/tools/start-script-gen/
I've always used this tbh, seemed to work on Folia as well
<@&748618676189528155>
Thank you for the information.
No worries, always happy to share info were I can
Actually this turned out to easier than I thought as the Pelican Panel has an option in its interface to place those variables into for the start up script. So I have made the changes and have allocated all 16 threads to the various variables and the server is up and running with no errors. Now I know where to go and how to do this so I can tweak the settings and adjust them as needed.
Is Folia really okay, everyone? I've been using it for a while and it keeps crashing
Everything else seems fine, maybe it's due to plugin incompatibility?
got crash logs?
if the error messages state that the errors are caused by plugins, then its a plugin issue (most likely).
The server suddenly stopped working, and I'm sure the configuration was sufficient for it to function properly
I will submit the log if this situation occurs again
But there's something strange the /spark suddenly started up on its own even though I hadn't done anything
spark should not suddenly being started up
spark has the background profiler enabled by default, if that's what you mean
Sorry you’re experiencing crashes, but we don’t support offline mode here. You’ve been told this before.
You’re saying all of your servers are in online mode now?
Hello Y have a probleme when y use a ominous bottle evokers and witch don't spawn
A spark report will show us all the relevant information.
You can make it shorter though, the 300 it suggests is mainly for performance issues
/sparkc is the configs only one, FYI
what level of raid omen were you using & what is the worlds difficulty
5 ans difficult normal
*And
will still need that spark link like the embed says
I didn't understand how it works
From when I type this order
you just copy the command from in there and it'll give you a link to send here 10 seconds later
But you need to install spark first.
I think you need to manually install spark on folia though

