#folia-help
1 messages · Page 20 of 1
nope
@half wolf instead of following some random youtube source
Hi
just go through the FAQ
there's an entire section on what changes to plugin development (the new rules)
i cannot imagine there's anything that would make making folia plugins easier in the long term, there's just some basic rules to follow for dealing with multithreading
Last commit was 3 months ago, but its still in development?
dev/1.20.4 branch
Niiiice
(65c4aa0b2d5bd6481a064824) // @sharp parcel (@pineburger / 611469656569675787) has been banned by @hexed ice (331822092477792256)
Reason: spam/hacked account
Hey guys i have project for folia and i m stuck
I have a server using ryzen 7950x3d with debian 12 OS, I compiled folia and everything is fine. I can easily run the folia in Java 21 with Aikar's flags, but since the project is large, I want to use the Shenandoah GC method. I installed the Shenandoah GC Java21 version of this method, created specifically for Java21, on my debian, but no matter what I did, I cannot run the server with Shenandoah flags. I tried several Shenandoah GC Java21 versions, but I either get the VM virtual machine not found error or the Folia does not support this java version error.
provide the exact error
and your exact java version
ensure you're using java from a distribution like amazon corretto, openjdk might not have shenandoah last time i tried
Shenandoah is still non-generational in Java 21, I'd recommend using GenZGC instead
I was going to say Minecraft doesn't follow the generational hypothesis anyway but then I remembered BlockPos and Bukkit's Block class
(65c52ee72d5bd6481a064826) // @lapis pivot (@galxline / 987598946354466866) has been banned by @hexed ice (331822092477792256)
Reason: Quick-banned for sending a message in #folia-help
I want to use shenandoah, which java version should I download for paper folia 1.20.4? Can you send me a download link? I don't want to use normal airkards flag.
I'm reinstalling Debian, I can't send the exact error now. I will rebuild everything.
21
literally just enable zgc & use generational
it's just adding a flag like any other java flag
if you're not comfortable doing that i'd refrain from touching garbage collection
-XX:+UseZGC -XX:+ZGenerational, other than that you should just specify Xmx and Xms. ZGC is meant to require only little configuration/tuning. See https://wiki.openjdk.org/display/zgc/Main for more info.
what do you think should i add something ?
--add-modules=jdk.incubator.vector has literally no usecase on folia
-Xms100000M -Xmx100000M
-Xms100G -Xmx100G
i am going to update it now
now like this
java -Xms100G -Xmx100G -XX:+UseZGC -XX:+ZGenerational -jar folia.jar --nogui
Isn't this code too short? It seems too short after the other flags I'm used to. Do you think anything needs to be added?
the other flags tune garbage collection
as said by ywell before, zgc does not really have anything to configure
yeah I want to experiment with a project on a server with 128GB RAM.
I am grateful for your help. Thank you very much for helping me set up the testing system.
**** WARNING! INCORRECT SYSTEM CONFIGURATION DETECTED! *****
[0.002s][warning][gc] The system limit on number of memory mappings per process might be too low for the given
[0.002s][warning][gc] max Java heap size (102400M). Please adjust /proc/sys/vm/max_map_count to allow for at
[0.002s][warning][gc] least 184320 mappings (current limit is 65530). Continuing execution with the current
[0.002s][warning][gc] limit could lead to a premature OutOfMemoryError being thrown, due to failure to map memory.
should i ignore this?
I mean
Jaba is warming you that your system isn’t configured to let it map the amount of memory you said that it should use
you probably also want to use large pages
do what it says
Does this cause any problems? Should I take any action?
What exactly can I do about this? can you guide me?
How can I do this mapping?
Read it
Done. Thank you so much
Do you know why I cannot use fawe with folia ?
it says it support but
Error loading plugin: Could not load plugin 'FastAsyncWorldEdit v2.9.0' as it is not marked as supporting Folia!
java.lang.RuntimeException: Could not load plugin 'FastAsyncWorldEdit v2.9.0' as it is not marked as supporting Folia!
You'd have to ask them.
Might be the wrong version
A lot of plugins that support Folia have dev builds or marked plugins specifically for it.
Be aware that there's not a ton of plugins that support Folia yet, and Folia itself is still in development.
So you may encounter some issues you'd have to diagnose/troubleshoot/etc
Or manage expectations.
Or both!
I had a really hard time finding plugins. But as you said, I was able to activate many versions thanks to special snapshot versions shared on discord. I was able to run approximately 15 plugins, which are enough to run the server.
However, I faced a small and very important problem. I was able to compile the folia version of many plugins, but I could not compile the special folia version for EssentialX, which is very important and for the server to work properly. I can't do many things without EssentialX. I need this issue. Can anyone compile the EssentialX custom folia version? I have been working on EssentialsX for hours since yesterday and I could not compile the file on both my own computer and the server computer.
Can any knowledgeable person help me with this?
I don't provide 1:1 support
Probably want to ask EssentialsX support.
Though no idea how much support they'd provide for Folia
I just can't compile the file, I need to compile it. Can you help me compile it?
I tried to compile this on both my computers but was unsuccessful.
Like I said, for help compiling plugins or debugging stuff you should talk to the folks who make the plugin.
II'm getting some java errors.
We just make Folia here.
For plugin support you should reach out to the plugin authors.
Maybe if you try your luck for me once, maybe it will work for you? because I see a lot of people compile it and use it for folia.
Try asking EssX and see what they say
I can't compile a plugin for you, sorry.
And you really shouldn't get random people from the internet to compile plugins for you :)
If you show the error somebody might know a solution
I tried but they have a bit of ego and they just tell me that if you don't know how to compile, I should walk away with folia. I asked 5 times.
but we're not going to compile random jars for random people and generally do not want people sharing random compiled jars either
I mean, it's experimental pre-release software
there is some expectations that you either are, or pay, for people who know what they're doing
Since I can't compile, they tell me not to help and not to use folia. but I want to learn.
As cat said, Folia is experimental and pre-release. If you're having issues compiling a plugin you're definitely going to run into some other issues.
But best I can suggest is do some searching for plugin compilation issues and see what you can come up with.
I'm assuming you know Java already?
If not then you'd want to start there for learning.
I will check again and post here
Well, firstly, have you checked with them whether that branch is functional? Have you verified which, if any, features are broken?
Yes, I actually don't want this either, but since no one helped me, I asked for this as a last resort because I really need that compilation.
I can make a small payment.
We do not allow that here.
(65c6a9712d5bd6481a06482c) // @keen carbon (@.potenza / 429307673453002762) has been warned by @fair merlin (188417437295706113)
Reason: We cannot compile plugins for you - paid or otherwise.
Sorry, but we've been pretty clear about this several times now.
I also looked at your messages in MOSS and you started by asking someone to send you the jar, not for help with compiling it.
I am knowledgeable about many things, I have compiled more than one plug-in, but for some reason I am having some problems with Essentials. I have been trying for hours since yesterday, but I could not get any results.
I understand that. But we don't make EssX. This is not the place to ask for support for it, or to get someone to compile it for you.
Currently, many people compile it for folia and use it without any problems.
I was actually there to get help.
We can't keep going around and around on this. Your have your answer here, sorry.
Still thank you for the help
Good luck
Is there a plugin like MultiVerse that currently supports folia? How can I transfer between worlds in folia?
World stuff is a little funky still. Not sure if multiverse has a Folia build.
There is still no folia support yet and I couldn't find any alternative.
Well there you go then.
I tried this but this plugin definitely doesn't work. I am getting a crash error.
¯_(ツ)_/¯
World loading/unloading is not yet supported in Folia, except if you make a datapack
The plugin is just a workaround so wouldn't be too surprised if it doesn't work
I think this plugin works in previous folia versions.
Could be.
You'd have to check.
That's what we'd recommend, too.
But like I said earlier, not all plugins/use cases are going to support Folia.
I think all developers should prepare plugins for folia. While there is a technology such as using dual cores, it does not make sense to proceed with single core when this is possible with folia. Seeing dual core after years significantly expands your server capacity for minecraft.
it does not make sense to proceed with single core when this is possible with folia.
but it does
the average minecraft server is not going to benefit from folia & it's increased resource usage
Yes, I hope folia plugin support increases rapidly.
probably wont
I finally managed to compile EssentialsX successfully, but this time when I installed EssentialsX, the economyshopgui plugin stopped working completely and does not want to work.

Why wouldn't they do this when there is better performance and dual core usage?
That's not what Folia is
did you see what michael just said
Paper can already make pretty good use of like 4 cores
More players, higher view distances, and better GCs increase the core usage more
I didn't know Paper allowed using 4 cores. I stopped giving Minecraft presentations years ago, we were only talking about single core performance back then.
Single core performance matters on Folia too 😛
Paper uses the extra cores for networking, chunk loading, and GC
The ticking is 1 core
I understand better now
Folia has pretty specific uses. You only really get the benefit of threaded regions if players are spread very far apart, like 1500 blocks or more. It's not suited for like a minigame server or something where everyone is in the same area. In those situations Paper would probably be faster.
But can folia use all the cores differently for each tick?
So Folia definitely isn't for everyone.
If you aren't exactly sure of the differences between Folia and Paper you most likely should be using Paper.
Folia can break a world up in to regions that all use their own core but only if players are far enough apart from each other
This is a project for a large survival server, so I think using folia core is important. The important point about this server is that it is very close to vanilla. i.e. mob spawns, villager exchange etc.
That's why I decided to move forward from folia. I want an experience close to pure vanilla.
Folia has the same deviations from vanilla that Paper has.
It's a fork of Paper.
It actually has a few more deviations than Paper because of the nature of how it's built.
Like no command blocks or scoreboards
anything global doesnt work
But still, when it comes to a situation close to survival and vanilla, folia will do a good job in this regard, right? because most of the big servers restrict things like mob spawns. and it kills the pure vanilla experience.
Depends on your hardware and player spread
Folia can be good if your players stay far enough away from each other
And the hardware can support it, yeah.
If you're running on like a 4 core VM you're gonna have a bad time.
Folia wants to run on high core count/high clock speed CPUs.
If you aren't running anything else on that server and it's a dedicated server then that'd work.
yes it is a dedicated server
only for mc server
I mean only running one instance.
Not like three instances of Folia or something on one server.
I'd probably still recommend someone build something on Paper first and see where their weak spots are rather than jump right to Folia. But if you have the hardware and don't mind any potential crashes/unpredictability then give it a go.
its only one instance
Yes, it would be nice to start with Paper, but since I like to try testing new technologies, I decided to do it with folia. I hope everything will be fine.
By the way, thank you for enlightening me.
We want people to use Folia, we just want to make sure their expectations are realistic. There are a bunch of misconceptions about Minecraft, Paper, and Folia.
There's also no magic answer. You still need to know how to run the server and configure things properly.
Yes, I definitely agree with you. I learned a lot of things here that I was wrong and didn't know about folia. Thank you very much for this. If all goes well, I'll be happy to share the server stats and how the server performance status is going.
would folia be worth it on my server if i have a 2 core intel core i3-1115g4 and 8GB of RAM?
no
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.
pretty sure readme has minimum recommended specs
paper already uses multiple threads, so there isnt room for folia to get more performance out of a low core count cpu
ok lol
Please don't spam help channels
im having an issue where i cant seem to drop items while running on folia?
player.getWorld().dropItem(player.getLocation(), new ItemStack(Material.DIAMOND));
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
you can't modify the world from the global thread
I mean you know the location you want to drop the item at, just schedule a task there to do that
the global scheduler is something you don't want to use most of the time
is it safe to run folia with java21? or is it recommended to use 17?
both works
Hey do you know any plugins with which I can protect my world? For 1.20.4 folia, none of the dev versions of worldguard or the versions edited for folia work.
ty!
could i ask why?
the global scheduler is meant for stuff that needs to be modified/accessed globally, but that does not apply to most features
i see, thank you!
Which servers using folian are currently popular? Or is there a place where I can learn about servers that use folia?
2b2t
If you know any servers other than 2b2t, I would appreciate it if you could share them with me. I want to check the servers in general.
I'd love to hop on your server and take a look.
What exactly does this private fork do? How can it contribute to us?
This is a default warning brought over from Paper
figured
But there should be a spark build for Folia
Spark has some special PR/branch for Folia support
but it says it cannot be enabled on folia
https://ci.lucko.me/job/spark-folia/ use the build from here
so i thought it will work
You need the Folia specific one.
oh ok
Just like you’ll likely need the folia specific version of most plugins.
it shows spark in the plugins command but it still shows the warning
The warning to use Spark is gonna be there until we remove the warning.
oh ok one more question is there any roadmap or anything for folia?
or is it just getting developed
Hey no worldguard folia version on the market works for the 1.20.4 folia jar. Is there anything you guys can suggest? World Guard protection will be needed to activate the server.
Not really, Folia is an unreleased expermential software, if you dont have your own dev team that can make custom plugins, Paper is a better choice for you.
Yes my friend, it is shared on github.
You are not using an updated version. Try that
There may still be some rcon bugs too. Please report
Hey apart from the Lands plugin, do you know of any anti-grief plugins that support folia?
Why is it that whenever I put a plugin in the folder supported by folia it simply isn't recognized?
If it's not throwing an error at all then there may be something wrong with your setup or whatever plugin you're trying. If it's throwing an error you may have not downloaded the Folia version of that plugin.
Same as with Paper, basically.
oh, right.. so the error is already on my side, ty for help 
Is there a list of compatible plugins for Folia yet? Or like a place where I can look for plugins that are confirmed to work with folia?
Not everything's on there, but yep.
Well damn the plugin support has really picked up. Nice stuff
And not a single crates plugin is compatible lmao
Is there any claims plugin that works with folia?
lands
towny works but I see a lot of crash warnings in the console.
So it doesn’t really work
Using Google, Hangar, or searching messages this channel is going to be your best bet. It's not really practical to ask in here for every plugin you're looking for.
I send a message here after doing what you said. I already did these.
I'm asking for help in case there is someone out there or someone who can suggest me another alternative.
Have
Pardon?
var dostum
No idea how good this list is, I think I remember one of these lists having unofficial/broken ports or calling something ported when there was only a WIP pull request but if you've exhausted all your other options check out https://github.com/BlockhostOfficial/folia-plugins
I do not know what you are talking about
is there any way to modify the entity view distance on the server?
Same as Paper which is same as vanilla
Make sure your client side config is set to max
Then in spigot.yml, increase tracking range
thanks so much! i had users on the server complaining that items get stuck on nether icefilters and i figured out its when the entity leaves the range
ice blocks
no horizontal
you know those ice piston pushers people use on the nether roof for sorting items?
You will likely need to increase both tracking range and activation range then.
(65ca65942d5bd6481a064838) // @median flame (@_dariune / 281560612117413891) has been banned by @hexed ice (331822092477792256)
Reason: Quick-banned for sending a message in #folia-help
quick question, it seems like a lot of tnt dupers are showing strange behavior in folia, is there anyway to fix that? it has to do with the primed tnt moving in not normal ways
Surprised it wasn’t disabled in folia outright
if it was disabled that would hardly be vanilla, especially now that the devs said they arent fixing it
Having problems with TNT Duping, Bedrock Breaking or Sand Duping Vanilla Exploits? See: https://docs.papermc.io/paper/misc/paper-bug-fixes for information.
I checked everywhere on github. There are currently only 3 claim plugins working for Folia. Lands - Towny - Xclaim . I think I'll stick with Lands. Again, thanks for your help.
Question :
Can folia run MythicMobs and ModelEngine ?
That's a question to the plugin developer
I know but certainly some people tried it
Unless they explicitly advertise it then no
Plugins don't work with Folia by accident
No, it's still in a beta state. That being said I would not characterize it as a "hack job", as considering the amount of massive changes Leaf has made, it still works incredibly well for beta software
What makes Folia unstable? And what criteria need to be met for Folia to stop being categorised as "Beta software"
Folia is stable. Only issue is missing api and plugin support
Yeah perhaps that was poor phrasing from me. What's present in Folia should be stable, but it's not feature complete yet
if you're not using plugins it's already pretty stable
So it's basically working completely fine. Just that there's a lack of plugin support?
but it's not as good with plugins as paper
- it's easier to crash folia, since every time something goes unexpected, folia doesn't want to risk and shuts down while the data isn't corrupted (mostly that happens because of a plugin)
- plugins more likely will end up having errors since it's harder to make everything thread safe (especially if it wasn't designed for that since the beginning)
- lack of api that is present in paper
but generally, most of the issues right now comes from plugins, not folia itself
i had a few hundreds of players on EPYC processor, almost without plugins, non optimized configs, and had 20 tps average
without any issues
and it was an anarchy server
I mean 2b2t has been using it since last year and they constantly have 300 players on it 24/7
But they are huge with enough of dev resource to get any plugin working.
It's still in active development, so we don't even have builds for it yet let alone a tag to declare it experimental.
Not sure who called it a "hackjob", but it's still in progress. Improving all the time. I don't think it's fair to call it a hackjob.
But if you aren't sure what would make it stable vs unstable, it's probably not for you yet.
Hey guys! how are y'all doing?. im back around here to check on the progress folia has made so far and i'm happy to see as long as vanilla minecraft goes seems pretty much complete right?
I have a few questions:
- would restone, nether, the_end and other vanilla features work just fine?
- Is there any official documentation on how to compile the source?
- is there any documentation on how to develop plugins for folia?
Thanks a lot c: i kinda ask these same questions every 3 months bear with me please hahaha
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.
Most of that info is answered in the above ^^
Hi ocelotpotpie, I am not on black or special list for ignore people who's own offline-mode server?
I want say, I migrate from offline-mode into online-mode
We don't really have a "special list" for that.
We tell you we won't support you and if people keep pushing then they might get banned eventually.
Some people might make a note to not support someone but that's something they handle themselves.
so you don't wanna ban me anymore if I migrated server into online-mode?
I'm not sure who you are so I don't want to ban you
We don't support offline mode servers. If your server isn't in offline mode then you're fine.
As long as you aren't running a fork of something.
Or generally a jerk to people/etc.
I don't want this
I don't want that either.
I know what you mean.
so my server is now fine? https://spark.lucko.me/aQLB2IE85B
||one questionable plugin||
which one?
how I can change branch from 1.20.4 into master?
https://www.freecodecamp.org/news/git-switch-branch/
Apr 19, 2021 ... Switching branches is something you'll need to do often in Git. To do this, you can use the git checkout command. How to create a new branch ...
so, well I got now error
> Task :paper:patchSpigotApi FAILED
Committer identity unknown
*** Please tell me who you are.
Run
Rear the error. It tells you how to fix it.
Committer identity unknown
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got 'RitaSister@Mirai.(none)')
*** Please review above details and finish the apply then
*** save the changes with `./gradlew rebuildPatches`
> Task :paper:patchSpigotApi FAILED
> Task :getPaperUpstreamData FAILED
FAILURE: Build failed with an exception.
.-.
It tells you what to do
My server has been attacked last night, anyone has some ways to prevent attack?
A lot of fake players joined my server in 1 minute
Please help me thank you
Make sure you aren’t in offline mode.
Setting online mode= true will prevent all attacks like that
If you are already in online mode, make sure your proxy is configured correctly.
😂ok Thank you.
Otherwise we don’t support offline mode here.
OK
不用客气 (you are welcome)
English, sir.
wow,原来您会讲中文,非常感谢😂

why are you still wearing a christmas hat?
Please keep general conversation out of help channels.
ah sorry
how I can fix?
error: could not lock config file ^%UserProfile^%/.gitconfig: No such file or directory
These are general git questions that you should Google and/or learn git to figure out how to solve.
A working knowledge of git is gonna be important for cloning and building repos.
oh wow congrats, 1.20.4 is now on master 🙂 - good timing, we were planning to switch-over tonight 😉 - 1month intensive testing and coding in the making, but more like 3month prep (including hardware upgrades etc).
Assuming there are no other bottlenecks, can running Folia on dual channel DDR4 2666mhz memory take approximately 300 people online and cause server lag , simulation distance 5 VD=8
What CPU
EPYC 7B13
Assuming there are no other bottlenecks, how many people can Folia carry online with a dual channel DDR4 2666mhz memory? Will it cause server lag if 300 people are online?simulation distance 5 VD=8
memory 128G
Use ShenandoahGC
I mean as long as the players are not too close together and you assign enough cores it should be fine
One of the best suggestions we could give is “try”
I was just testing around and exploded some TNT, and the server for some reason shit itself and crashed?
What the hell, after restarting the server it teleported me to the world border???????
Nope
I am able to reproduce this consistently
Huh........
This seems to only happen when my game crashes due to Lithium
If my game crashes the server crashes too
If my client does not crash the server does not crash either
The weirdest thing is that when i restart the server and reconnect it teleports me to weird locations like Y level 20M or the world border
lmao
@primal oyster Noticed you closed issue #193. Did this turn out to not be an issue? Did you find a solution? Any info?
That seemed to be an overload system, after switching to low latency kernel and doings some tweakings it started to do well
it would be nice to add some sort of alert in there
Can you maybe comment on the issue stating that it was an overloaded system then?
Would be good to have some kind of update in there
Just for future reference and stuff
oh yeah
ill add a comment there
Thanks
done
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.
Wow.. after many years of struggling with "single-thread" servers, Folia is almost a surreal experience, from a server owner perspective. Server switch went well (some hiccups ofc)
Amazing stuff folia-team/spottedleaf.
However: PvP players are complaining about pearling being bugged and knockback being random since switch. Anyone else experiencing similar?
E.g. pearls thrown short distance are not seen, and the player makes 360 degrees. Will open issue.
You'd want to reproduce this with no plugins installed.
We tested pearls working before and it worked. It's entirely possible they're broken now from some other thing, but step 1 is test without plugins.
I can't replicate unfortunately in isolation - with plugins or without. But also double checking if player is maybe just having latency/client issues
It's only happening to one player?
We'd need to be able to replicate it to actually test/fix it.
If you can't reliably replicate it then that's tricky
happening to more than one.. we will observe for now. Maybe good to keep issue open in case someone else is experiencing.
In the future it'd be good to verify, replicate, and reproduce without plugins before you open a Github issue.
ofc - those are the perfect bugs 🙂 - reproducable. Unfortunately not all bugs are like that. Especially once we go into RC territory 😉
If the bug isn't reproducible at all, and you can't reproduce it at all without plugins, you should probably ask about it here before posting a Github issue.
But yeah we can't fix a bug if we can't reproduce it at all :)
Has anyone noticed anything like this?
Does it happen without plugins?
Yes, this wasn't even on a prod server
Just ran a test server to run around & see the performance
Then I noticed this after exploding some TNT
I have a question... is there a plugin similar to Luckperms that works on Folia?
So that you can set the permissions for / commands
LP has beta folia builds, https://ci.lucko.me/job/LuckPerms-Folia/
it works thanks
Does anyone know if Spark works on folia? I couldn't launch it
There is a test branch for it
The server is prone to getting stuck every time it reaches region splitting. What performance does region splitting typically occupy? CPU? memory?
What does getting stuck mean?
Server lagging
I mean, it's likely a bunch of lookups and maths
so, both?
You'd generally be better off looking at a profiler
I am getting occassionally following error:
[16:47:40] [Netty Epoll Server IO #3/ERROR]: Received class net.minecraft.network.protocol.status.PacketStatusInPing that couldn't be processed
Has anyone seen this? Seems also authserver is timing out more often than usual?
no
Also with 1.20.4 we see after a couple of hours nobody is able to join:
[Region Scheduler Thread #0/INFO]: xxx (/xxx:3318) lost connection: Disconnected
nevr had it
maybe do a thread dump to see where its stuck
i'm curious if it has to do with my non-default -Dpaper.playerconnection.keepalive=60 so will remove that for now and also create thread dump.
what is this doing
I had some issues in the past with players and bad connections getting kicked out - but also did not have any issues with papermc with that setting
are you behind a velocity proxy
no, haproxy
reports from pvp players crystal knockback on netherite is the same like diamond gear?
I don't really see how that has anything to do with folia tbh
Neither do I - strange that its observed in any case.
I've seen some buzz around this in Paper, after a recent 1.20.4 upstream
But hard to say, are there any reports about this in either's trackers? <#paper-help message>
most likely just some Paper patch that needs to be adjusted (or Spigot implementation being broken 👀 )
thanks so much - thats exactly that what my players have been describing as well.
yeah, looks like that case wasn't considered
actually I don't even see where the vanilla code does that 
https://gist.github.com/Netherwhal/94609e6a1bf7627e63761c18be28ae84 - not sure this helps
For Folia, it doesn't matter what speed the processor has?
Can I take 8 2.3GHz cores and Folia will work well?
Probably not.
Slow cores and not enough.
You could test it but might be slower than Paper.
Also depends on what you're doing/etc.
Okay, thanks
I remembered that I also wanted to ask if Folia would be effective for 1-100 players at most?
Not sure I understand what you're asking.
How many players you can support depends on your hardware, configuration, plugins, and what the players are doing.
I want to put Folia on my server with 50 players, does it make sense? Our map is not very big.
Every region in Folia is basically a separate Paper server. You can take however many players that CPU could handle with Paper, reduce it a bit due to overhead, and that's how many players each region can support with Folia. After that you have to figure out how many regions you're likely to have with your server type. If players are too close together you get 1 giant region, if they're spread out you get a lot of regions. Then the players you can handle are based on how many a region can handle, how many regions you actually get with your server type, and how many CPU cores you have
So if your CPU could do 20 players with Paper then a single region on Folia can probably only do like 15
You'd only really want to run Folia if the map is larger enough where players are about 1000+ blocks apart.
If you can keep your players spread out enough to never have more than 15 in each region and have the cores to have 7 regions running concurrently then you can handle 100 players
Folia will use more non-region threads, too, though.
I suppose that with this core count you'd get starved for resources if you get many regions
So it's probably a bit lower than that.
Sure, it's super complicated, to the point where the only way to know for sure is to just try it
Just giving the 10,000' view
Yeah some kind of "X% less than Paper in a single given region on Folia" is correct.
But if they're not all in the one region then that number would be lower.
Definitely a funky concept
If your hardware can only handle like 20 people on Paper, and you setup Folia and they're spread out pretty far then you've got a bunch of regions, which means you'd choke the box a lot faster.
Plus in this scenario if your hardware can only run 20 people on Paper then you don't have strong enough hardware for Folia anyway.
Nah, I'm thinking of like a Xeon or EPYC with a ton of slow cores. If when you run Paper on it you can only handle 20 players there is a chance that could handle a lot more players on Folia if you can spread them out enough because you have a lot of cores to use for the increased GC, networking, etc load as well as running regions concurrently
Ah yeah that's true.
That was basically the original thing we told people when explaining where Folia might be useful, something like a 64 core server CPU running a skyblock server
I didn't understand a bit, the number of regions can be configured? Or 1 core = 1 region?
1 region == 1 core.
Non-configurable.
If you make too many regions and run out of cores you're gonna have a bad time.
The number of region threads is determined automatically based on CPU core count but can be configured if you want to oversubscribe or reduce it to avoid swamping the entire machine
The number of regions you get is based on how far players are from each other, you can't force Folia to have more or less regions
If you have 100 regions but 10 region threads they aren't all going to tick at once, if you have 1 region but 10 region threads 9 of them will just sit idle
You can adjust the region threads but you don't really control the region count other than via game design
Like if you make a server where it's common for people to hang out near spawn, that's a lot of players in one region and you can't break it up
If you make an anarchy server people are going to spread out as much as they can and hide, you'll get lots of regions
Skyblock as well can have a lot of regions because you can control how far apart the islands are created
Yeah, Folia makes no sense for minigames
For that you want a bunch of Paper servers and a proxy or even something like minestrom
100% true. I personally use Purpur, but also purely for the /tpsbar function
I just like them too much, but I've never had any problems with either of them (Paper, or Purpur)
A more in between example would be something like a build server where people clump up to make "cities" or whatever, if you can ensure those clusters are far enough from each other you can still get a decent amount of regions but you might end up with 20 players in a region
Such as a project where they try to recreate the earth in creative
Those worlds are often very large
A towny/plot server probably doesn't make sense on Folia, afaik people are all too close together with that setup
In my opinion, Folia is simply the best for mega survival/anarchy
(my bad, didn't want to tag)
We have such a world: https://earth.motfe.net/overviews/earth_1-3000_overview/unmined.index.html
Most of the people are in Europe
How many regions will I get, for example, for 5 cores.
that world is pretty small
Doesn't even have to be mega, I once ran a server that would have like 100 people on a time spread through like 6 groups. I think those worlds were usually like 3000x3000 so not spread out enough but if you spread them more that would get you 6 regions most of the time
iirc right now on Folia if players are within ~900 blocks of each other they're in the same region
And it chains, if A is 800 blocks from B and B is 800 blocks from C they're all in the same region even if A is 1600 blocks from C
It's hard for me to understand. 💀
You need at least 900 blocks of no players otherwise you don't get another region
There is a dead zone around players required to make regions work
If your players are too close you don't get any regions and Paper would be faster
If you had more than like 6 players on the world you linked they'd have to live in really small groups (as in, they build next to each other and don't wander much) otherwise you wouldn't get any regions
Worlds for Folia have to be massive
Well, more than 6 players you would probably still get some regions, you'd just have multiple players in each one
But I doubt you'd get more than 2 or 3 regions
<@&748618676189528155> pls 🥺 help
(65cf009e2d5bd6481a06483f) // @limber scaffold (@ajayrx / 838664849122263051) has been warned by @rare steppe (105923848263753728)
Reason: do not ping mods for support.
No one.
If you do not have the ability to read and understand a plugin support Folia or not, you should be using Paper instead.
I am here to understand things
Can u tell which essentials jar is working
Please 🥺
None of it, Essentialsx has not officially support Folia yet
What 😂 was I using for months in name of essentials.jar
We're here to support the server software. Finding plugins is on you. Don't ping people just because you want help on Discord.
Send the spark report instead
also it looks like you're using a fork, which makes it hard to tell if those problems are probably caused by radom changes
And I'd recommend GenZGC over Shenandoah
We don’t support forks of Folia here, sorry.
From a quick look, it seems like the server is spending a lot of time trying to spawn entities. Afaik that can be caused by plugins canceling spawn events while the server is trying to reach the entity limit
Folia has not been released yet and there is already a fork 💀
Will folia be released by this year
What other forks are there?
where can i read about linear format
does it have conversion by default from the normal format to linear?
are there real big improvemenst you see with linear? (you said its a must)
alright thanks for hte answer
And which fork is better to use? Or is it better to use a regular Folia?
Well, we have performance problems, what do you recommend from the forks?
There are most likely better ways addressing performance problems than using shady forks
anyone running folia on latest master? We are still continuously having issue with players unable to join after a while. All players already on the server are fine.
We can not reproduce on a test environment. So its most likely only happening randomly or due to higher number of joins/disconnects.
how do i compile folia?
the same way you compile paper
gradle?
you can find the instructions on paper's github repo
thanks
that has nothing to do with folia
i didnt
still has nothing to do with folia
how do i fix it
¯_(ツ)_/¯
wait does
auth servers might be down
Yes
interesting
do u think i compiled it wrong
wait
should i compile it on my vps
or can i do it locally
I mean, a DNS request failed
lmfao
you were right
lmao
Hi, I am making a server with folia and when I compile and the entire jar weighs one kb and it does not work when I run it from the console with java -jar folia.jar (also try with normal code to open a server in the console)
please help
use the one in the root build dir
Wouldn't it be folia? but if there is I do it
same steps
what
ahhh sorry
Is there any possibility for me to make a plugin that supports paper using the main of a ready made project that supports paper versions?
i mean yeah? of course you would have to modify it to your needs
Will a high number of server regions lead to thread locking problem?
about 150region?
anyone running folia with proxy-protocol or using current HEAD? Still having issues with people not able to join after a couple of hours of the server running :/
Already removed all plugins except one single one.
https://github.com/PaperMC/Folia/commit/32ff12e4dc360df395d093d8b72dda150d64bc34 - this seems sus at least..
(willing to pay for support)
its not exactly locking problems
but of course lots of mecchanisms like region files etc rely on locks
a lot of it depends on the amount of threads that you have
I'm just curious, the server is huge and I want to know how they handle it.
So, if this server can handle 2500 players with folia, why is 2b2t limited to an average of 300 people?
by not hosting everything on one folia server
even if it was feasible to do so it'd be stupid to have everything on one server
So there are 3 servers there. Europe and America servers.
When you divide 2500 by 3, it makes an average of 800 players.
why are you so curious about it
So do they run worlds like nether end on a separate server?
Why not, I want to know such miracles.
pay michael and he will tell you the miracle
I don't think I should pay for this. I just wanted to know the logic.
the logic is the same as any other large scale survival server
you don't have 1 large map
you split the large map up and have individual servers with those maps
the stitching it together part is the magic part, there's no public solution for it
Ah, so there are world borders on maps, is that true?
only sane way of doing it is having some form of border before you get transferred onto another server
How does this happen without changing the server for the reunion part?
it does
This is literally magic.
right so it does
its not magic
you cant make it much more seamless because of latency and how minecraft handles all teh shitty screens it has
More than one split server works on a map, but can you join and play on the split map with all the players, even the builds being built?
just think of it as 10 servers running different parts of 1 large map
with playerdata / inventories shared across all of them
it's just a normal folia server once you've split up the map lol
So it must be very difficult to do this. I still don't understand how this is possible
it's not
.
you're thinking too much about it if you think it'd be super difficult to achieve
its a lot of code and takes a lot of time to make it safe and good
but its not impossible
its just logic
Do players not feel the transition on these maps?
they do
.
there is always a transition of some sort, a short one at best
even if there wasn't a loading terrain screen or whatever, you would notice a transition one way or another
but in the end, at it's core and simply put, it's nothing more than just multiple servers with a player's inventory shared in a database
it getting more complicated once you start thinking about plugins and having to make sure it all supports cross-server
Frankly, I wonder what they do to share the entire inventory in a single database.
there are public plugins that can achieve that for years now
not saying that they're good (wouldn't rely on any of them at 2000 players) but look at husksync for an example
^^
Cross server transfers with inventories is generally something servers at large solve themselves because the public plugins are buggy af
like what donutsmp has done has been done plenty of times before, they're just a large public example of it currently
That's exactly the question. to do it without errors and without losses. Could a server crash at the slightest error cause some problems?
(but, there is honestly little proper ways around that within the public space which aren't just a headache)
yes
if you've written your stuff properly
no
server crashes will cause issues no matter what lol
well yes but in terms of data loss
The biggest issue is that most plugins rely on race conditions to do the transfer
it depends on what you're talking about as well
are you talking about just a normal server crash due to what? an exception? or
if you're talking about out of memory...
or the OS killing the container
"crash" is kinda vague
the logic of connections switching are not "very" documented
i think thats why husk doesnt load instantly
i think they have like a loading after the player join or smth
the connection switching process is fairly well understood
but, that isn't the issue
it's one of them because that's where you get dupes
there issue is that theres no sane mechanism for coordinating stuff within that, you just join the new server and at some point DC from the old one, and pray that the old one stores data in time
you need a full control
dupes would be a bigger issue than losing some player's data
I did want a quasi limbo type system for velocity, but, eeer
lol ahahaa literally this
Yeah I was thinking about that now.
that gives me some stupid ideas, actually
urgh, if only I had the time and the eyes (and the brain)
The cleanest possible way requires you to get a full control on velocity and the packets
If you can modify the protocol between the two you can get the data within without any issues <.
but ofc, like Michael said
I mean, rewriting velocity to take advantage of better state tracking is on my todo list
all this stuff is private solutions
Mojang literally added a perfect solution for this, however
No, configuration state
ah no
fuck configuration state
trash feature
just adds more screens to the game
configuration state is what will allow velocity to support mods
i remember at origin realms we used to run a pretty modified version of bungee with protocol modifications probably for that reason
in 2030 we will have 50 fucking screens for changing a server
probably
probably more stuff too
there's a lot of improvement you can get done if you have control over every part of the server like chunk loading - batching sending to proxy instead of sending 1 by one and it goes on and on
Do you know what I think? Since minecraft 1.2.3 minecraft servers have improved very slowly in terms of performance
I mean, it's a typical case of software complexity over the timeframe of 15 years
there has been lots and lots of improvements but ^
the software has gotten more complex and so eats more resources
I've always wondered why Mojang didn't bring automatic mod download support for the servers. So when you enter a GTA server(fivem), it automatically installs game modes for you. But this feature is not available for Minecraft. Maybe if they could do that, things would be different. Maybe we wouldn't be limited to some things like plugins.
please no
god forbid we give server owners the ability to do remote code execution on clients
as if they're not incompetent enough already

That is what data driving hopes to solve
hopefully over time the capabilities will get nicer
I want to ask one more question because it's stuck in my mind. You mentioned splitting a large map into something like 5 servers. So how do you determine the division of this map? So, should the map be a map that is already known and whose chunks have been loaded? Or dividing the map limited by a large border into 5? So there is literally no limitless world? because in normal minecraft the world is almost unlimited.
worlds have limited bounds
if you're trying to get a "unlimited" world you'll have to overthink a little bit more
an unlimited world wouldn't be something that most servers at that scale would care about eitherway
just introduces more storage issues and world generation performance issues
those worlds tend to not last very long eitherway, there's usually "seasons" where the world will get reset after a few months
so the world's growth is limited.
limited by how many servers you're throwing at it
nothing prevents you from just adding more servers / parts of the world
other than well, money and an incentive to do so
I understand. Thank you very much.
why?????*
message.txt by @left gust: https://pastes.dev/IUPLdzbqod
Reloading is disabled
as it should be on paper too
just restart the server instead.
A warning message could have been given that Reload was disabled
thanks
its listed here https://docs.papermc.io/folia/faq#what-commands-does-folia-disable, but yeah maybe the command could be just removed entirely instead of throwing an exception
Anyone running Folia on current HEAD and not having any issues?
What sort of issues? Many are running on the main branch and not having issues.
After a while new players can not join and are stuck in "Encrypting.." client side
that usually happens when a region dies. Have you tried without plugins?
yes, I have been slowly disabling all plugins - now also the last plugin has been removed and I switched from Coretto 17 to 21 while also disabling jolokia (just in case).
Only general real guesses are going to be to see if stuff like jstack show anything interesting
Otherwise it’s generally a case of tryna figure out what could potentially be going wrong and either mitigating them or tryna log when it happens, etc
jstack was unfortunately not very obvious. Lets see maybe its jolokia. There are no crashes before the event starts (generally logs are clean except some map-entity exceptions).
Happens very randomly, sometimes server can run for 12hrs, sometimes just for an hour. Server is nearly idling. Have not overallocated threads.
In any case my continue searches: anyone running Folia with current HEAD and not having issues?
Yes, many are current the current branch without issues.
Asking if people are not having issues isn’t going to help you though, I think.
Do you know what would help me? 🙂
Pretty much what cat said
Thanks 👍
Hello, do you know how to install folia because when creating it it gives this error: Execution failed for task '
patchCraftBukkit'. I have jdk 17 and git but it doesn't work, use the command: ./gradlew applyPatches
show log
`* What went wrong:
Execution failed for task ':paper:patchCraftBukkit'.
io.papermc.paperweight.PaperweightException: Command finished with 128 exit code: git -c commit.gpgsign=false -c core.safecrlf=false clone --no-hardlinks 'C:\Users\merca\OneDrive\Escritorio\Test server folia\Folia.gradle\caches\paperweight\upstreams\paper\work\CraftBukkit' 'C:\Users\merca\OneDrive\Escritorio\Test server folia\Folia.gradle\caches\paperweight\upstreams\paper.gradle\caches\paperweight\taskCache\patchCraftBukkit.repo'
- 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.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.`
Do I have to uninstall OneDrive on the PC? I opened gitbash from the root
The file is on the desktop, that's why I said uninstall
then don't put it on your desktop
ok I'll try from another side
yes it worked for me thanks :)
Anyways most likely just realiziation that Folia is not stable enough to run long period of time. Our world is huge (~10TB) - so there might be issues with that? Not sure.
We will move on with 6hr restarts for now. Some other server admins I spoke to have stability issues as well. Others seem not, but also not always clear what the differences in setup are.
Reducing number of plugins has helped increase run times. Also we are now switching to Java 21, zgc + removing jolokia.
how often does 2b restart? I dont really play on that server but their world is probably bigger than yours by 10 folds...
Hello, Idk if I should ask this in paper folia or velocity help.
I know folia is still early in development and should not be used for any proper server, but out of curisoity but would velocity work with folia, using velocity to connecet to a folia server
yes there will be no difference than paper in that case
thanks @pseudo ibex
Thank HSGamer 😜
last time I checked it was not 10x but rather 3x - they are at 30tb. Regular restarts are common with Anarchy servers - even with non-Folia. MSPT just goes up even though entities goes down over time.
Also cant compare 2b2t - they run on 1.19 - which I mentioned above: right now too few datapoints. YMMV. But I am not the only one with issues is what I can say 😛
Maybe I need to force-upgrade all my mca.
No, that's informational. How many cores do you have?
KVMs are generally bad for Minecraft in general. But especially Folia.
You aren't going to have good performance with a VM.
Hello. Help please. How do I compile the kernel to version 1.20.1? I know that its support has stopped, but I'm just wondering if this is possible.
You'd have to find the commit for it and compile from there. Knowledge of git should work for that.
But there are a lot of bugs and exploits in 1.20.1, so it's strong recommended to not run that version.
Not to mention lots of stuff fixed in Folia specifically.
But if you insist, it's gonna be up to you to figure out how to compile it.
hmm should I use
createReobfPaperclipJar or the bigger jar?
Hey 🙂
It's a great idea, I did it all right! Thank you very much for your advice ❤
anyone know if its save to trust "spark" mspt on folia?
idk if its working well with folia or not, i know it has a support but you guys probably know more
did you try looking for plugin-causes?
since you're running folia you can probably add debugs to see why it's taking longer and longer
specially events
yah still happened with all plugins disabled
every single plugin?
yes - it was running "naked"
not disabled, removed
yup - deleted
last difference between others: I am using haproxy directly, will now put velocity in between.
FWIW: the run time before issue occurred increased with plugins being removed - but in the end after ~12 hrs it still happened. Almost like threads are not being cleaned-up (and nothing via jmx obvious, heap, threads all very low)
Hey you're supposed to be fixing these things 😛
you mean on upstream?
Yeah
Folia is very much "if you want something done you're going to have to do it yourself" 😛
Leaf might not like your fix but still, if you don't try to fix it odds are it won't get fixed
yah I don't disagree. Was asking here if someone was interested but got a "warning" that its not marketplace.
No no, I mean you
Why are you running a Folia server if you aren't a developer or already have a developer hired? 😛
Sure.
Why being server operator keep inventory don't work on me ?
"don't work"?
it's a gamerule. or a luckperm permission. Depend on how you go about it.
ill try to help you
Nothing of that thing cares about your OP status
do note that gamerules are per world
outside of that, you'd probs need to check your plugins
Essentials
I can't diagnose if ess is causing issues for you, that would be on you
do you use LuckPerm to manage that?
Yaa
Luck would keep inventory on for me
Earlier before essential when being operator I died I lose items
After Essential I die keep inventory doesn't work for me
check the permission again then. Otherwise, no clue.
Oh this is Folia you are using? iirc, Essential does not have any stable build for it yet.
essentials has a keepinv permission
hello all you amazing folia devs whom are beloved. has there been any work on the rcon deelio?
it works? what are u missing
when was it fixed? cuz right now i just get junk in the console
[19:18:03] [Region Scheduler Thread #0/WARN]: Unexpected exception while parsing console command "tps"
java.lang.UnsupportedOperationException: Dispatching command for org.bukkit.craftbukkit.v1_20_R3.command.CraftRemoteConsoleCommandSender@2f1f4280
at org.bukkit.craftbukkit.v1_20_R3.CraftServer.dispatchCommand(CraftServer.java:1024) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
at org.bukkit.craftbukkit.v1_20_R3.CraftServer.dispatchServerCommand(CraftServer.java:981) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
at net.minecraft.server.dedicated.DedicatedServer.lambda$runCommand$4(DedicatedServer.java:791) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?]
at io.papermc.paper.threadedregions.RegionizedServer$GlobalTickTickHandle.runOneTask(RegionizedServer.java:162) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
at io.papermc.paper.threadedregions.RegionizedServer$GlobalTickTickHandle.drainTasks(RegionizedServer.java:152) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
at io.papermc.paper.threadedregions.RegionizedServer$GlobalTickTickHandle.tickRegion(RegionizedServer.java:147) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:404) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:525) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
at java.lang.Thread.run(Thread.java:840) ~[?:?]
[19:18:03] [RCON Client /127.0.0.1 #4/INFO]: Thread RCON Client /127.0.0.1 shutting down
update
perhaps 2b2t has some custom fork of folia for that version. but papermc doesn't develop for that version anymore
oh ok, just wondering why that branch was still there when other branched get merged to master so quickly
thank you 😄
well folia and paper always keep a branches for older versions, incase a important fix or something needs to be backported
How to get a player's world type
hm, I think I got bug with whitelist. If player try connect when enabled whitelist and when I added player into whitelist player can't connect and just stuck while 'loading/joining world' and got 30s timeout when time is out.
Is the player spawn event still unavailable in Folia?
the spawn location event? probably
at net.minecraft.nbt.TagParser.readListTag(TagParser.java:196) ~[?:?]
at net.minecraft.nbt.TagParser.readList(TagParser.java:154) ~[?:?]
at net.minecraft.nbt.TagParser.readValue(TagParser.java:148) ~[?:?]
at net.minecraft.nbt.TagParser.readListTag(TagParser.java:196) ~[?:?]
at net.minecraft.nbt.TagParser.readList(TagParser.java:154) ~[?:?]
at net.minecraft.nbt.TagParser.readValue(TagParser.java:148) ~[?:?]
at net.minecraft.nbt.TagParser.readListTag(TagParser.java:196) ~[?:?]
at net.minecraft.nbt.TagParser.readList(TagParser.java:154) ~[?:?]
some guy keeps joining the server
and crashes it
i check the logs and thats the output i get
Update, known & patched exploit
(If Folia hasn't upstreamed that yet, look into porting the recent commits to your fork)
oh good point, but I assume Folia has upstreamed that
just updated my folia, hopefully the guy cant do it anymore
idk last time i updated my folia was 2 weeks ago
You'll want to stay current on Folia.
yeah ill try to now 😄
also does folia prefer large amounts of memory such as like 100gb or does it not matter that much?
This is a really stupid question that probably has some super obvious answer I'm missing, and I feel really stupid for needing to ask this, but since I've been stuck on this for a while now, I guess I may as well ask.
Does anyone know what I did wrong and/or what my next troubleshooting steps should be?
I really don't understand gradle (I'm still a maven hold out).
What's more annoying is that this was working perfectly fine earlier.
Caused by: org.gradle.internal.operations.BuildOperationInvocationException: You must have git installed and available on your PATH in order to use paperweight.
debian@vps-name:~/target/build/Folia$ whereis git
git: /usr/bin/git /usr/share/man/man1/git.1.gz
debian@vps-name:~/target/build/Folia$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
= ???
what's the output of git --version
maybe try restarting/logging out and back in? might be a stupid idea, but worth a try I guess
restarting the vps
folia doesnt prefer anything specifically
the better hardware you have the betteri t'll beform (obviously)
if you wanna have 100gb worth of region files and etc to reduce IO sure go ahead
Memory usage will vary based on player counts, game style, plugins, etc just like Paper
the best thing you can ever do when using folia is to know what youre doing and your necessities
you'll know exactly what you need to do/change after that
same problem after total restart of everything
You must have git installed and available on your PATH in order to use paperweight.
also, git has to be installed since the previous command before ./gradlew applyPatches in this case is git clone https://github.com/PaperMC/Folia.git
except he has git installed and it's in his path
i meant ram
not quite sure why it's broken tbh
is it wsl or
nope
linux or windows
i just wanna make folia use the full extent of my server hardware
debian
try this
git config --global --add safe.directory '*'
i sent u a friend request
did that, same result
_,met$$$$$gg. debian@vps-name
,g$$$$$$$$$$$$$$$P. -------------------
,g$$P" """Y$$.". OS: Debian GNU/Linux 12 (bookworm) x86_64
,$$P' `$$$. Host: OpenStack Nova 19.3.2
',$$P ,ggs. `$$b: Kernel: 6.1.0-17-cloud-amd64
`d$$' ,$P"' . $$$ Uptime: 6 hours, 54 mins
$$P d$' , $$P Packages: 622 (dpkg)
$$: $$. - ,d$$' Shell: bash 5.2.15
$$; Y$b._ _,d$P' Terminal: /dev/pts/1
Y$$. `.`"Y$$$$P"' CPU: Intel (Haswell, no TSX) (4) @ 2.399GHz
`$$b "-.__ GPU: 00:02.0 Cirrus Logic GD 5446
`Y$$ Memory: 1757MiB / 7767MiB
`Y$$.
`$$b.
`Y$$b.
`"Y$b._
`"""
hey, does anyone have a DeluxeMenus version for Folia ?
You'd want to ask the plugin developers
Folia support hasn't been merged but there's a pull request you can compile yourself if you need it. https://github.com/HelpChat/DeluxeMenus/pull/56
is there a guide to set folia up? These pages are empty
They are under contruction. However it is not much different from the Paper version.
do you guys know about multi paper and world ql, if so is it better to use folia or those?
https://github.com/PaperMC/Folia/releases
do you know where i can download
⚠️ 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.
If you wish to use Folia, currently you'll need to build it yourself
container@pterodactyl~ java -Xms128M -XX:MaxRAMPercentage=95.0 -Dterminal.jline=false -Dterminal.ansi=true -jar folia-server-1.20.4-R0.1-SNAPSHOT.jar
no main manifest attribute, in folia-server-1.20.4-R0.1-SNAPSHOT.jar
fixed
this helped
nvm its still bugging
i applied patches then build
but its still showing no mainfest
nvm i was bugging got it working
I have it working, now what thp
Im assuming I need to run the jar file multiple times depending on how many instances i want grouped together, but how do I group them?
That's not how folia works. It's multithreading regions in a single process, not sharding players across multiple processes
oh i see
really simple question: i want to setup a new server that will have maybe up to 5-10 players max, is folia stable enough to be used?
For only 5-10 players it would make more sense to use Paper.
okay
No reason to use Folia in that case. Paper has much better plugin support.
does folia not use the same API?
Plugins have to be built specifically to run on Folia. Some of the API isn't available becuase of the nature of how it's built.
i see
Will folia ever have a public build or will it forever be kept at this small niche thing for specific big servers only, is the future of servers going to folia based as widespread as paper?
I’m just curious
There will be a downloadable build when the time is right, and no, it's unlikely to be widespread, as the average player count of a Minecraft server is somewhere close to 0.33 per server.
whaaaaaaaaat
yk this isnt just a normal thing
If you look at bstats.
even if folia itself was very stable there's still the necessity of every single plugin to adapt to it
(folia already is stable)
It's kinda skewing statistics, really. Most servers are servers that people run and have no players.
Lots of servers with very few/no players makes the "average player count" super low.
does bstats have any technique for inactive servers
Folia still has some bugs and stuff. It's in ongoing development.
I don't know, you'd have to ask bstats.
hey, does anyone know any world management plugin like multiverse core that supports Folia ?
there is no API for un/loading worlds
only supports loading
for a lot of people that's the only used feature of multiverse core anyways
Loading is a hack, unloading is impossible
Just what I needed, thanks!
Why do I feel like that kinda defeats the purpose of folia, is for having one giant world for many players at once.
worlds have their own region sets
it doesn't break the entire point of folia, but, extra worlds do generally come with some overheads
Is it not more suitable to implement Horizontal scalabity instead of vertical like Folia is trying to?
Or this is not the use case
Horizontal scalability would only be feasible with a completely different game
I mean, you could probably mostly muddle something together with a completely custom server but to do it right you'd need protocol changes too so client mods or a different client too
Otherwise the attempts at doing horizontal scalability on top of Mojang's server are wildly inefficient (like 3x the CPU power for the same number of players) and afaik all have bugs, and then you still have to write all custom plugins anyway
Following Hypixel Slime World system?
I'm running this kind of implementation for one of my projects, it's running perfectly
Vertical is good for up to 1 000 players but not more?
Of course for a Faction server or anything else Vertical is the only available path
I wasn't aware anything hypixel was doing was public
But afaik their stuff is based on an ancient version of Spigot so heavily modified it may as well be a custom server implementation
But scaling horizontally based on worlds is relatively simple though, that's just velocity, a server per world, and maybe some logic to sync player data if you want that to be shared
The problem is having a single world
it really depends on what you're actually scaling, minigames servers won't benefit from Folia
minigames have been using horizontal scaling for decades
Hypixel skyblock is using a world for each player
In fact a previous Hypixel Engineer left it's job
And explained all the algorithm on a blog
So you can just throw velocity at it
Then, a lot of people's implemented it
well, not decades, games not been around that long, but, most minigames servers do horizontal and maybe some level of vertical
In a paper fork following versions
People implemented the world format they did
I'm assuming you're just talking about their region format then
nothing else
Yes
Their region file format doesn't do anything to make it possible to have multiple servers manage a single world
Implementing horizontal on a single world as a Faction server would required a complete rewrite of the proto
the world format they did just gives them a more efficent manner of storing players worlds in a database
it does not magically fix anything else
For that you need something like MultiPaper but then you run in to the issues I mentioned before with overhead and bugs
horizntal scaling is not a protocol issue, it's an architecture issue
the server software is not designed in a manner which allows it to scale easily, hence why folia exists
Folia can probably still help you scale a skyblock setup better than just velocity+paper though
eveything else is generally a "as transparent as can be" hack in which people generally have private dev work to fin their own tradeoff balances
You can spread the islands out or just put them in different worlds (although with world management being an issue...) so you get regions for each and that should be lower overhead than running separate Paper instances
Then when you need more than a single machine can handle you just have another Folia instance and send people around via velocity like normal
Although that would require having single large instances so it's less fault tolerant and if you're using a cloud provider it might be cheaper to have a bunch of small instances
Anyway, Folia isn't really meant to replace things you can use velocity+paper for, it's meant to let you have single giant servers, like anarchy or pve survival or factions or whatever
Something where it's normal for people to be spread out, you want high player counts, and you want people to be able to just walk to each other instead of being isolated to their own worlds
It can also make sense even for smaller servers. Like if you and a friend want to play together but mostly go off and do your own thing so long as your bases are far enough apart your farms and machines and such won't slow things down for them
It can be also depending of how is it architectured
are there any backup plugins which support folia?
if you're using folia i'd hope that you've gone past the stage of using backup plugins
use tooling like borgbackup
looks quite complicated
and idk if u can backup to onedrive using it
also from what im seeing it doesnt seem to be automatic
'why are you backing up to onedrive
i happened to have an office 365 subscription so ive got plenty of free space on onedrive
and where else am i gonna back it up
i mean i do have a server at home but i dont feel like using that storage up
I believe it is possible to connect to one drive share links via FTP. If you want to use OneDrive, just write a script to do that and Cron it.
where can i download folia 1.19.4
u don’t!
what
i dont think you can get folia below 1.20


