#folia-help
1 messages Β· Page 19 of 1
Is folia on 1.20.4 right now?
ye
The dev guide is missing?
No one has written anything there yet. The region logic and overview pages in the "Administration" section of the folia docs should give you a good overview of what changed compared to Paper though
You're not gonna find that there like that
Folia still lacks lots of important events calls that help plugins like player teleport, spawn location and others
Its not gonna have a full dev API guide like that
Does Folia have built-in config to limit number of cpu/threads?
If you're talking about regions yes
it's on one of the paper config and section conrains the word region
But that is already limited by default
thanks
given that save-all is not available - how to people currently make backups without completely putting the server offline?
though I suppose I could just sleep until gc kicked in
i've always just done it while it's running without using save all/off
at least, the server i used to do stuff for
I mean good point, need to check rclone, my only worry is that I upload a corrupted chunk because a write just happened.
shutdown -> backup -> start back up is always the safest
even on paper save-all off is no guarantee that nothing gets written π
err wait, save off and save-all flish I mean
or whatever that syntax is, vanilla commands always have been weird there xD
other way:
save-all -> save-off -> backups -> save-on
no
you have to turn it off first, otherwise it might start an auto-save again after running the save-all
yah, I use inotify to wait until no more changes happen
so technically:
save-all -> save-off -> waitsilence -> backups -> save-on
well, but just because no change happens at one time it doesn't mean that no change is still queued?
of course this is a really rare edge case but still Β―_(γ)_/Β―
literally no reason to not turn off automatic saving first
its waitsilence, I wait for a set time - not just once-off check
but agreed, I will switch it around then, did not know save-all is queue
use save-all flush if you want to save everything as instantly as possible (basically all on the main thread)
(well on Paper, no idea how that part works on folia actually
)
also pretty sure that doesn't even affect non-chunk-data π
it doesn't but that is fine
obvs best is to take offline or use zfs snapshots π
honestly I don't think I even need it for folia.. save-off/on is enough.. with waitsilence I just need to increase timeout, its not like chunks are kept long in memory
something to note about folia is that level data (i.e level.dat) is not saved until shutdown, as I didn't find a way to make that thread-safe
better shut done server to backup... even on regular Paper despite it seemly safe 
I am curious about regions: is there some type of limit on how small they can be? So could a region be 2x2 chunks even though bordering chunks are "connected" via redstone?
I suppose I am curious how "slow" can the cpu really be vs number of cores, or if single-thread performance is still important to avoid regions having a low tps
Right now the smallest regions can be is ~900 blocks.
Single thread performance is still important.
But you also need mor cores.
We still recommend 16 cores/32 threads, but you might be able to get away with less. It really depends on the setup.
The kind of cores you have matters as well as how many cores.
Same with Paper. Moreso with Folia.
If you only have like 2 cores you should just use Paper.
yup yup.. what I expected.. so even with server cpu you will have to look at single-core performance..
I will test it out on an i9-13900 - only the performance cores. not ideal for sure, but for our number of players good enough.
its not really about how small they can be, its more about how close they can be
regions will merge before they get close to bordering eachother to avoid issues with redstone and such
how do you prioritize what cores folia uses?
You can't.
systemd CPUAffinity
or if you use docker you can do cpuset.
A 7950x would benefit you moee
You also do not want the regions to be that small either
You can end up having a bunch of other edge cases otherwise
cooling is an issue, especially if youβd run on all cores. Also had bad experience with AMD chips crashing. Like Desktop CPUs are already bad as servers, but Intel are in my experience very stable still.
Not sure if I understood what you said correctly. You're trying to say desktop CPU's are worse for minecraft servers than server CPU's? If so, then I'm afraid you're wrong. Especially Intel server CPU's have lower single-core performance than Intel desktop CPU's. That's literally why people use the desktop CPU's for minecraft servers. Can't say about AMD, since I've yet to build my new server rig, but it is going to be AMD.
Nah, not what I meant, not sure how you read it that way, because even within that sentence I am pretty clear.
I am saying: there is a reason why server CPUs have lower performance per core - and always will have - compared to desktop cpus. Thats because they can guarantee cooling under 100% CPU across all cores without thermal throttling - as that is their main use-case.
But also because they are built for low chance of "crashing". And yet, we are in the unfortunate situation to have to rely on desktop CPU - as I do with my rack server as well.
YMMV, go with AMD if you have good experience. I got burnt and heard other DCs with Ryzen Desktop getting burnt when it comes to reliability / thermal - but I am sure there are also plenty of stories around Intel crashing - which comes to my main point: Server CPUs are just much more stable as hell π
Ah, I see. You said "Like desktop cpus are already bad as servers, but Intel in my experience are stable still". That's what threw me off, them being bad as servers. Well, I guess its just my adhd brain understanding that sentence differently and getting stuck on it. π
hahaha.. yah.. like in general bad, but unfortunate necessity for MC..
or just rent a server so you dont have to worry about cooling
can't really, with my storage requirements I'd be paying a lot - but also where would the fun be?
right
there's still a lot of benifits from renting a server than self-hosting
like you can choose the location
routing is probably better
if you have the budget, for sure.. I use AWS for edge - which is quite premium network.
I like OVH eco
as edge? or for compute?
For compute
yes but if you have experience for example
from what I see that guy does have experience
always a thing of what ya need.. for smaller servers definitely makes sense to go rented.. at some point everyone outgrows a certain market/solution
fair
Does folia support paperweight-userdev? I'd like to alter world gen with new structures. Since datapacks are broken by folia I was hoping for a direct change of world gen code
OVH uses water cooling so an AMD system from them probably does fine on thermals π But yeah you can't really do whole rack water when you are doing colo so...
anyone though about using a 7995WX
192 threads and a boost clock of 5.1ghz, big boy server
are you gonna colo that?
who's selling that as bare metal lmao
that's a $10k cpu
gimme enough time ill get it
also newegg does but you gotta catch it right when its in stock
Only way to find out is to use it if your not worried about that kind of money.
Hi, I have a small SMP server with 30 - 50 players, which core is better paper or folia. I was told that "folia gives better performance only on large servers where players (150+) are dispersed. Otherwise, it will perform worse than paper"
Folia has overheads, the nature of that varies
if your players aren't spread out enough, you won't have any of folias advantages
we have an average distance of 700 blocks between each player on a 10000x10000 map, players are constantly moving around and building different auto-farms.
If all players are less than ~900 blocks from each other (realistically, a fair bit higher to avoid region merging which will then have higher thresholds for unmerging), then that'd mean everyone is on 1 region
If everyone is on 1 region, Folia will perform worse than Paper (sure, there's nether and end regions too but that usually has too little load to be advantageous)
I would make a script to check how many regions you would get with folia, and then see if it would be beneficial
are there any known land claim plugins that are working with folia?
Towny is probably the biggest one
https://pastebin.com/F4s5RFyy
In my opinion there is no problem with dependency anymore..?
you need the shadow plugin, or change oacketevents to compileOnly and add the plugin to your server
β
Hi guys, I can use Folia now for production server replaced than paper?
It's not a drop in replacement, very few plugins work
many plugins can't work now?
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.
1.20.4
how I can try use folia on production server?
clone it, build it, run it pretty much just like you would a paper server
this is don't break my exist world?
This is prerelease quality software
It has been tested by many dozens of people
but, it is still prerelease software
I know
date release soon possibly for test public?
Updates to Paper do not have any sort of estimate for when they release, ever. Any and all updates will arrive when they are ready, and the only thing to do is wait for them patiently along with everyone else.
π
git checkout dev/1.20.4
Version 1.20.4 is in a separate branch, just switch branches
I got error
Falling back to patching base and 3-way merge...
error: The following untracked working tree files would be overwritten by merge:
src/main/java/io/papermc/paper/event/block/BlockPreDispenseEvent.java
Please move or remove them before you merge.
Aborting
error: Failed to merge in the changes.
I am cloned git from originaly from paper
what is scratch?
.-.
dude, I am cloned: git clone -b dev/1.20.4 git@github.com:PaperMC/Folia.git
hm, I am don't modify any files, so ok
in progress
:c
what I can do else?
The instructions on how to compile Folia are quite clear, if you don't know how to do it, Folia is probably not for you
probably a problem with windows file path limit again
maybe I can run with administrative right?
no
so lol
either you use linux or wsl or you disable the limit in the registry and enable long paths in git
this is powershell
and? powershell isn't the problem
try a shorter path
folia readme last updated 7 months ago. are these still true?
Current broken API
Most API that interacts with portals / respawning players / some player login API is broken.
ALL scoreboard API is considered broken (this is global state that I've not figured out how to properly implement yet)
World loading/unloading
Yes
folia jvm arg any?
The 1.20.4 branch had commits 2 days ago. Make sure youβre looking at the correct branch.
Does anyone have any recommended startup flags besides Aiker Flags?
Thanks! It sounds like you use this on your Folia Server?
Oh god lol
Opinions on this?
Do you think the ZGC is likely be better than these?
But not on README
Yeah the README isn't likely to get updated unless anything changes on it.
I mean do you prefer 1ms pause time or 300ms pause time...
pause time isnt everything either. Just becasue it reports a smaller amount doenst mean it is better 
Note that you should use generational ZGC from Java 21 if you want to use ZGC
I trust you when you mean to change the flags means you fully understand how the stuff works... We do not need those everything flags from back to yatopia days to come back 
mb i forgot that every github repo has up to date readme
sounds like a free PR to me. Get to work
Folia's still in active development. No need to be snarky.
The README is accurate for the moment. It isn't likely to get updated unless any of those things change. But there's still commits happening, just not to the README because there aren't any relevant changes to the README.
so when i look at the gradle stuff it looks like, we go from mojang's obfuscated release and then applying bukkit/spigot/paper/folia patches is that correct?
yeah
there's a big risk that ZGC will just destroy your cpu cache, resulting in less performance, and will give more load on the cpu, often resulting in less performance for individual threads
All those benchmarks can't be similar to real usage, and in comparisons between real servers with real usage using different well configured gc, the difference wasn't noticeable, but you always have the risk of messing something up with not properly configured gc which will end up crazy
G1GC is really well tested, so if you just copy and paste aikar flags you most probably will be safe and the maximum performance gain of using other flags is like 0.1%-0.5% (if you're lucky)
ZGC and Shenandoah give lower pause times but also lower throughput
They take more CPU time from the actual code you're running for barriers to allow the GC to run fully parallel
That might actually make sense for Folia since the whole point is having a lot of slower region threads
For Paper? I'd stick with G1GC I think
Also that github linked above is for the client
For the client you probably also care about having lower and predictable pause times more than you care about losing a couple percent of performance, gives smoother frame times
yeah slightly lower throughput isn't a problem with Folia, while G1 pauses might cause global lag spikes
To be fair unless your max heap is over like 100GB G1GC is usually champ
As of like Java 14 anyway and improving more every version
the only downside of ZGC in below 32GB heap settings is that you always have uncompressed oops
still i would just use g1 until a proper test appears, i don't think zgc will have at least some noticeable impact even on folia
how much memory were you allocating?
I can get jvm flags for Folia?
just use aikar's flags, unless you run into problems with it, in which case you can provide spark profiles etc
spark will be installed on folia?
there is a version of spark for folia
where can I download?
Bukkit.getAsyncScheduler().runNow(adminInfo.getAdminInfoBukkit()
Can I use like BukkitScheduler with lamda?
but AsyncScheduler requires Consumer
and Consumer is a functional interface, so lambdas are allowed there
Yes
The anonymous class can implement consumer
and lambdas can ave paramaters
Implicitly
This keyboard is about as tragic as my paternal love
so what I can need change for new API?
Yes, read it
it's telling you that it's upset about the params
(task) -> or whatever
thanks
Good morning, my paper servers were starting with:
Starting process: /usr/bin/java -Xms7500M -Xmx7500M -Dterminal.jline=false -Dterminal.ansi=true -Dpaper.playerconnection.keepalive=60 -Djline.terminal=jline.UnsupportedTerminal -Dlog4j2.formatMsgNoLookups=true -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=40 -XX:G1MaxNewSizePercent=50 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=15 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=20 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar paper.jar
no main manifest attribute, in paper.jar
and now I am trying to run the same to run a 1.20.4 folia server. Is there any line that needs to be change for it to work please?
Should also work
you don't have to change anything, you have to use the right jar though
I have this in my pufferpannel:
${java} -Xms${memory}M -Xmx${memory}M -Dterminal.jline=false -Dterminal.ansi=true -Dpaper.playerconnection.keepalive=60 -Djline.terminal=jline.UnsupportedTerminal -Dlog4j2.formatMsgNoLookups=true -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=40 -XX:G1MaxNewSizePercent=50 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=15 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=20 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar paper.jar
you don't have to send it all again
okok if it's not loading do you have any idea?
I have this jar built
folia-server-1.20.4-R0.1-SNAPSHOT
you have to use the one in build/libs, not -Server/build/libs
ok thank you
imma go look have a good day! Thank you for Paper velocity and folia <3!
why schedule is ended?
what schedule?
Bukkit.getAsyncScheduler().runDelayed(adminInfo.getAdminInfoBukkit(), (scheduledTask) -> {
}, adminInfo.getUtilConfig().getConfig().getIntervalReloadPlayers(), TimeUnit.SECONDS);
runnig one time and ended
use runAtFixedRate if you want a repeating task, what you have now is just a delayed task
okey, thanks
and how I can configure my cfg folia for stable work?
like here, about 'Utilisation', 'Rate' and etc
I mean, those are both metics of how much the system is being used
Theyre usage metrics
not limits
If you mean the 100%, that's down to the number of region threads you allocate
the rates are literally just tracking the rate at which something is occuring
how can I allocate more threads?
Read the docs
where? I don't found
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.
it was noted in one of those somewhere
it's here?
I guess so?
if I has 8c16t, how much can allocate?
There's not a definitive answer for this
There is some general advice on how to allocate your cores on the docs, we can't tell you what you specifically need
Why not listening playerjoinevent
I noticed a new option in 'paper-global.yml' called 'threaded-regions.grid-exponent' when building the latest Folia.
What does this option do?
ok thx!
Hi friends, I met a problem.
I have two players (including me) in my server, I am here at (256,64,-256) and my friend is at (768,64,-256)
Here, I adjusted the server's simulation distance to 8 and the maximum visible distance to 10, but using the /tps command on the folia server side, we get the result that we are still in one area (the first picture shows a total of two areas, one of which is the main world and one of which is the empty island world)
I was very surprised so I downloaded the spark plugin to analyze it.
But in this plugin, I found that both of us players were again in area #21 and #22.(second and third picture)
Here is the spark analytics link for my server.
https://spark.lucko.me/2HB2bUWfP9
Problem.
1.Are my friend and I divided in one region or two regions?
2. will this utilize the power of folia's multi-threaded computing?
Thank you so much!
Yes
folia needs to seperate the world up into managable blocks of chunks, called regions; if chunks are too closed together, there is a chance they could merge
and, so, folia will treat them as one to avoid that issue
if you want more regions, people need to spread out as appropriate, current default config is like 900 blocks of seperation
if you have 2 players online, and there is an region with 2 players, it would generally be safe to assume that you're both in a singular region
Thank you so much!
(do note that spark is looking at chunk regions, folias "regions" are the "ticking regions" that it itself defines)
got it
if players are far enough apart (~1k blocks) it will split the region into 2
or more
Oh ok
This will have a positive impact even if I am not a network right? Oh yea and should it be applied to the front or backend?
doesn't really do much for minecraft
fast api or liar api what ya think
What do you mean by liar api?
Oh have a better recommendation instead?
just a joke
dunno about that chief i've rented shady virtual servers from chinese hosts that only accept monero just for their networking
seen it all 
if you're calling OVH a server with shady networking you have not touched many servers
Is there a plugin for adding custom named commands or a empty plugin that I can add commands by coding onto it?
don't know that much java
a new computer science student
how do you expect to add commands without java into a java plugin
like https://www.spigotmc.org/resources/mycommand.22272/ thought
Sure here is a plugin.yml
plugin.yml by @junior osprey: https://pastes.dev/LLfhMeqrtv
know that much

can I ask something
by screesharing though
and sorry for ping in reply
screensharing is a waste of everyone's time
Then my question is can I change a commands usage by decompiling and changing the name on plugin.yml then compiling back?
editing a file in a zip isn't really decompiling and recompiling but sure
On a serious note here are the 4 libraries I have seen going around that may help you. There is not one I recommend more than another. If you plan on creating a folia supported plugin one of the first things you must do is have all processes that will use runnables and schedulers be replaced with Folia compatible ones. That is where these libraries will help. The second this is to have " folia-supported: true " in the plugin.yml.
**FoliaLib
https://github.com/TechnicallyCoded/FoliaLibHSCore
https://github.com/HSGamer/HSCoreMorePaperLib
https://github.com/A248/MorePaperLibUniversal Schedular
https://github.com/Anon8281/UniversalScheduler**
kinda I thought :(
Did I get anything wrong here lol?
Bdw on my thoughts now Universal Scheduler sucks because I tried both folialib and universalscheduler and folialib is better
What about the others?
didn't even heard about them
using a library for library for schedulers seems silly when they're already built into the paper api
Bdw sould I change red or white part
From what I have seen HSGamer did a big part in creating PR's or ideas for FoliaLib. Especially when porting mcMMO.
didn't mcMMO use folialib
Yea it does.
When porting mcMMO I decided to use FoliaLib with HSGamer, TechnicallyCoded and Rockyers. Some of the changes to that library, came in part due to trying to make it easier to port mcMMO. I didn't think you'd know that, but yea some of the changes came from HSGamer.
Hi love your plugin forks
can I ask something about one of your forks if you are available?
Aww thanks lol. Most of the plugins that have been ported are posted here https://github.com/orgs/Folia-Inquisitors/repositories. The most recent one was SuperVanish.
I actually downloaded your fastworldasync from folia-inquisitors then compiled it but it gave some errors is it unfinished yet or do I have any mistakes, and secondly same as for worldguard
Right now I would use ( https://github.com/Folia-Inquisitors/WorldEdit-Folia ) and ( https://github.com/Folia-Inquisitors/WorldGuard-Folia ). I was trying to work on porting it with them along with small team, but the project didn't get off the ground on my side. Although FastAsynWorldEdit as always is a great option, but it doesn't fully support all versions of Folia yet from what I know.
I haven't had any issues compiling the WorldGuard fork. I would just say try it again.
I was able to compile it fine. I was using Ubuntu.
Bdw as I mainly am a javascript developer can I make a auto building for your forks on Folia-Inquisitors by you guys permission. Like when you make a fork on a status working from a site or discord bot I give you guys it will compile it and make it publicable downloadable on a site maybe on just github pages? I tought it would be a nice thing for people to use your folia forks
Version of OS?
Ubuntu 22.04.3 LTS I just downloaded it from the Microsoft store lol.
Can you elaborate more?
It will be a github page like paper hangar and I will give you guys the admin panel for you to mark a repo of yours as working or not, then if it is working it will compile the plugin from the repo on every new commit and put on the website I made for this for people to download the compiled versions
Alright from what I am understanding you want to go ahead and have a link int bio of the forks, where it will link to builds of the current forks? I think even if I don't accept this offer you can always go ahead and make a fork of our forks. As always you can always do a PR to them and we'll look at them.
If I knew you better I think I would be more inclined to accept this offer, but it could present a security risk for all who download the forks off your site.
Please note that we do not allow solicitation here even if you are offering something out of goodness, @thin anvil pleases refrain from using a help channel for this.
Actually I really respect every developers work because of that I would actually respoect you guys decisions can we go on talking on another channel or dm?
i mean you need to know how to compile folia to use them anyway, its not that much convinence iirc
Ok sorry
Sure.
Sent you more info in the dm for your concerns
Any crates plugins that support folia?
does the Anti-Xray work with folia? I've just tried to enable it and it's decided to stop the server from booting
Post the log with an error.
i'm a dumbass, pretty sure it was a silly little formatting error
Chunk loader not work in folia?
I build chunk loader like this
After not finding any good compact Chunkloader for paper I designed this, Inspired by @darkvictor 's video : https://youtu.be/d3nde-2H-rQ?si=DtVk1MOoEMaBppbm
works on paper and vanilla 1.20+
I AFK in slime chunk & i build chunk loader in sugar cane farm
After waking up from bed, I didn't receive any sugar cane.
folia generally prevents chunk loaders from working because their inherient nature would literally crash the server if it worked as intended
Ohh
need chunk loader by plugins?
<@&748618676189528155>
(65b2632f42b7936e54a5a00b) // @real wharf (@theoverlord1090 / 319183538576687107) has been banned by @jagged ether (451779815415218177)
Reason: nsfw spam
Cops need players nearby in order to grow, chunk loaders won't work for this in MC
if anyone is keen for folia + tebex, please give this an upvote π -> https://suggestions.tebex.io/93
is there a way to disable the wither death sound on folia? someone built a wither farm and they are cranking withers every few seconds and its quite annoying
E-2288G vs 2388G what best for paper,folia
the newer the better
you could probably run a low playercount folia server on a 2388g
2388g Better?
the newer the better
Ok
i used to run donutsmp on 2288g on ovh
i do not recommend it
π
2288G is a decent CPU. But as with anything, it depends on what you're doing with it. There is no catch all "what's the best XYZ". It all depends on setup, administration, server use, etc etc etc etc
calling a 7950x cheaper than a 2388g is a stretch
no idea where you're buying servers then
a 2388g is not more expensive than a 7950x in 99% of the cases
The 2388g system probably has more "enterprise" SSDs and such in it
That's buying the actual CPU.
the vast majority are not selfhosting
That is not the same as renting a server.
Oh that's literally just the CPU
and buying a 2388g from a consumer shop is shooting yourself in the foot
Yes a server Xeon is going to be more expensive at retail than a desktop CPU.
ARK says 2388g should be $600, AMD says 7950X should be $700
7950X is not that much in actual stores but I imagine the 2388g isn't either
Vultr not have amd ryzen 9 7950k
are you here to abuse cloud provider free trials again
No No
No less, it's not a violation.
so yes
Don't banned me I'm just a person without money.
Look into free hosting. If you don't have money don't abuse cloud providers. And if you can't afford any hosting then Folia isn't for you, so maybe stick to #paper-help for these kinds of questions.
I paid for 16gb ram
Free hosting js bad
Folia good for me i have 134 region now
We aren't going to support people abusing free tiers of cloud providers.
So enjoy your setup, but please don't ask for support.
Why?
I still want to be supported.
What specs?
Ram 16gb for me good
Amd epyc 7371
Cool
134 region files doesn't mean you can use 134 cores, can you even have 134 regions in Folia?
I mean, I guess if you were doing skyblock that might actually happen but otherwise I don't think that's possible unless you're a several hundred player anarchy server or something
sure, I remember there were 140 something regions in the first folia test
is it possible to set a cap on regions?
Nope
interesting, but I suppose you still implicitly cap it with max-player count
maybe it makes sense to have separate donation just for folia project
does anyone know a plugin that works like spark but is for folia?
Yeah it's called spark π
spark works for folia
<@&748618676189528155>
(65b459e942b7936e54a5a017) // @strong tundra (@thebjoredcraft / 955165814011600896) has been banned by @wise epoch (1098722699116810331)
Reason: nsfw ad spam
Yikes autocorrect
I was slow because the discord app froze when I pressed send π¦
Hello I'm wondering : excluding missing API and the limited amount of plugins currently working on Folia is the actual server stable & crash free without major breakage in game mechanics?
Yes, seems to be fine gameplay wise and regarding crashes
Pretty much fine. 2b2t had been using it for months
They are using the 1.19.4 version if I'm not mistaken? I imagine a lot of improvements have been done since. Is the 1.20.4 version not being the main branch related to a lack of stability or it's just because it's the current version?
~~Leaf is just lazy
~~
Is anyone running Folia in production? How are you finding it?
it works
Ahh awesome, thank you! I've been looking at options, so this helps :)
I hope this you seeking feasibility for tebex plugin to get folia supported? π
thats one of the few plugins missing on our list
Hehe good spot, itβs on our radar π
amazing news..
No guarantee but I know personally itβs something Iβd love to add, Iβve been able to get it working for Analyse. So it would be nice to get Tebex supported
Also PRs appreciated if anyone wants to help add Folia support to the Tebex Minecraft plugin
Is there a plugin that works with folia Viaversion? I tried fancy npcs and znpcplus, but I couldn't get any results.
Or is there an add-on I can use like armorstand?
yah, except I already pay monthly fee (+ revshare) π - unless tebex is tanking in profits- but that would make me equally worried
Hahaha boom
Haha, thatβs fair enough! Tebex is continuing to grow substantially, but my message regarding PRs was personal with no involvement from them.
I only mentioned that because the codebase is public, so anyone can contribute if they wanted to βΊοΈ
?
This is not google. You can try askin in viaversion discord
Okay, it's you, I just asked a question to the people who actively use folia, even in this you are trying to make jokes, I wrote to google.com and couldn't find any results, why are you making nonsense if you are not going to help?
huh? That wasn't a joke. If you have a question regarding ViaVersion, you need to ask ViaVersion
Translate issue
According to your logic, if I ask the question on the viaversion server, they should direct it to you.
Dude, can you read what I wrote properly? Is there a proper NPC plugin that supports viaversion? I don't have any problems with folia. How logical is it for me to go to the support channel about viaversion?
If you need something that supports ViaVersion, you need to ask ViaVersion.
Again. This is for Folia support. You are asking a question about a plugin running on Folia
Whatever you want, I wrote it there, it really doesn't help, it's just your show of superiority, it's extremely disgusting.
Though it is very likely that there just is no NPC plugin that supports Folia and ViaVersion.
What do you recommend me to use?
not Folia
Or writing your own NPC plugin that supports Folia/paying someone to do that
π€£
Just because I asked a simple question on the folia help channel, I was bullied and warned that this was not the place. It's funny, I only got the opinions of experienced people who use it. Also, do you tell everyone who wants folia support not to use it? I don't understand.
This is a reading comprehension issue. You are being told this is the support place for help with Folia itself, not about plugins running on it. As nobody appears aware of an option for Folia, it was recommended to not use Folia if you want NPCs and viaversion. That's pretty reasonable. Chill out π
Okey
huh, why i got 1.20.2 jar
you probably didn't check out the 1.20.4 branch
ooh
is it possible to run folia in a termux enviroment?
in theory it's possible to run Folia on everything that also runs Paper
well a raspberry pi has the same architecture than a phone, in my case is 32 bit arm afaik,
but knowing that i have a phone kinda decent to run random stuff which i never use and it's just getting dust, i alredy tried before with some apps to run vanila and works kinda decent and i tought that using the full processor would be nice
We don't support such environments
is it possible? probably
are you going to get support in doing so? no
Is it going to be faster than paper? Probably not
isn't folia only worth it to go for if you have the playercount for it since i would think having like 100-200+ players daily is fine with paper or pufferfish but if you get like 500+ then go for folia π€
It could be worth it with 2 players
You and a friend, basically running single player worlds with your own bases, farms, etc, but you can walk/teleport to each other
You probably aren't going to need more than what a single core of block/entity ticking can provide with 2 players but then again a single player can overload it so... depends on how crazy your farms get
Good explanation as I had the same question as @arctic mulch
ye but i don't really see the point in running folia with only 2 players
can I disable join leave messages
player number is such a useless metric tbh. Player entities require very little cpu cycles/io. What matters is how many non-player entities you need to calculate.
What is the 600% based off of?
Taken from cubxity's blog, here it's 600%:
But after changing the threads, it's 1200%?
Oh, it's the threaded-regions setting. I see
sure, player entities themselves may not be very intensive, but the entities and blocks that need to tick in chunks loaded by those players still exists
Entity threw exception at world:-3694.5,71.0,5296.5
java.lang.OutOfMemoryError: Java heap space
[11:28:33] [ofc-task-worker-22/WARN]: Exception in thread "ofc-task-worker-22" java.lang.OutOfMemoryError: Java heap space
[11:28:35] [Region Scheduler Thread #7/ERROR]: [io.papermc.paper.threadedregions.TickRegionScheduler] Region #3137808 centered at chunk [-862, -1126] in world 'world' failed to tick:
java.lang.OutOfMemoryError: Java heap space
[11:28:35] [Region shutdown thread/INFO]: [RegionShutdownThread] Awaiting scheduler termination for 60s
[11:28:35] [Region shutdown thread/INFO]: [RegionShutdownThread] Scheduler halted
It seems like there might be a memory leak issue with the latest version of Folia. I've been using it since 1.19.4, and when I updated to 1.20.4, the server often automatically shuts down with a "Java heap space" error.
start.bat by @narrow bough: https://pastes.dev/WR7ajNq9PJ
This is my start.bat startup flag https://pastes.dev/mTyQAwOvzw
Sounds like an issue with your setup or you don't have enough RAM.
Would need to see the actual server log.
The detailed server logs from the 20 minutes leading up to the crash.
Yep, out of memory.
Memleak
If you're running it in a container or something you're probably not giving the container enough RAM.
Or if the server only has 32GB
The server is running on a whopping 128GB of RAM, with more than 90GB of free memory available.
In this specific instance, it's not really a container misconfig or similar
You'll either need more than 32GB of heap to run your server, or analyze a heap dump to verify if something superfluous is taking memory, that you can get rid of
There's a JVM flag to create a heap dump on OOM
The "/forceload list" command isn't working. Since I updated to Folia 1.20.4, the server crashes every 1-3 days, consistently with a "Java heap space" error. Regarding the "/paper heap" you mentioned, I'll give it a try after the server has been running for a day and see how it goes.
My server still has 68GB of available RAM. How much more should I add?
Well, tbh I'd do the flag I mentioned here, to take the heap dump on out of memory
XX:+HeapDumpOnOutOfMemoryError
If nothing is abnormal in the heap dump, then maybe your server just needs a lot of RAM, could happen especially in a niche case like Folia depending on what you're doing
Can't really tell an amount that works for your server's use case
Alright, thank you! Did I do it right? I added "XX:+HeapDumpOnOutOfMemoryError" to the end. Here's the link: https://pastes.dev/2NnETUZELb
Thank you. I'm restarting the server now with this flag. Anyway, thanks a lot for your help!
Nice pfp
Sorry, what I mean is not standard
What I mean is, on average, the server automatically shuts down within 2 days due to throwing a "Java heap space" error. It just happened again a moment ago.
as said, you'd need to take heapdumps and see what's eating up the memory
now
I've added the "XX:+HeapDumpOnOutOfMemoryError" flag as mentioned by Kyle. I'll wait for the next crash due to the "Java heap space" error before reaching out again. Thanks to all of you!
how can i get folia 1.20.2 ?
Do you know how to download and build folia?
Unfortunately, I can't do that since there are players online from different time zones almost 24/7. It would negatively impact some players.
Pull the Folia code from GitHub and build it using Git.
Do you know of an api that works with Folia?
if players are leaving for a restart, that's a community issue. Figure out how to build a stronger community
Didnβt ask you. Asked the guy who asked about 1.20.2
You have a memory leak
How many players do you have
Can you provide spark profilers
You need to clone folia from the GitHub repository then use what branch is holding the 1.20.2
I'm not fully sure if the main one is still on 1.20.2
If it's not, you just roll back to the commit that is last 1.20.2
Just to advise, we made the same mistake of allocating a whopping amount of RAM for XMS and XMX and kept getting lagged out - it turns out that what was happening is that the Garbage was building up to such a large amount that when the cleanup happens (which essentially does a 'world stop' while it completes) it freezes the server for so long that everything crashes out.
We since set XMS and XMX to be 15G and it has seen a huge improvement in performance as it cleans up more frequently but a much smaller amount of garbage and so the 'world stop' GC moment is much much smaller process and isn't noticed by players
how can I disable any mob or non-dangerous mob spawning
Aikar doesn't think the tradeoff is worth it (https://www.spigotmc.org/threads/anyone-trying-the-zgc-garbage-collector.477238/)
that is a post from 2020
practically any garbage collector has seen improvements over the last few years
e.g. generational ZGC
ZGC has advanced since then, especially generational ^
That post was also made on paper, where the majority of allocation is limited to like 2/3 threads, primarily the main thread
from personal experience i've had generational ZGC be the only garbage collector that kept up with my allocation rate for minecraft with good cpu usage
but that is on a niche scenario
ZGC already looks more attractive since the work over the past few years, especially with the generational improvements, and with something like folia, a lot of the dynamics change
but, at the end of the day, there is no magical bullet that works for all usecases, that's why you have gc logs and profilers, etc
Don't get me wrong, I'd love to be able to use every part of the top-end hardware we're running on, but this GC issue utterly hamstrung us for ages without us realising that the 'world stop' process for it was the issue
that's basically useless info without knowing the version you ran
ZGC basically minimises STW over G1 GC
but, it just generally has some more interesting "oh shit" behavior, like allocation stalls pausing threads
but allocation stalls where basically solved in 17 already afaik
Yea, I mean, I've not really tracked it much, tbqh
I'm still tryna catch up with everything ;-;
Ok that's interesting to note as we're on 17. We might give it a shot then. So we can basically set XMX and XMS to a larger amount using ZGC and we won't suffer the same fate we did with G1GC?
depends on the actual issue
yeah there isn't exactly any information to go off of
would also suggest just updating to 21
Would be nice to have a updated flags guide so people stop asking what is best to use.
I mean, the guide is updated
very little has changed in the terms of G1GC that it implicates the advice there in any large manner
the only big thing is that maybe you can drop some of the flags in terms of letting the adoptive algorithms take over as they're a bit smarter
but, the guide is for paper, not folia, folia is an entirely different ballgame and so toying with different GC alsos kinda makes more sense; generational ZGC looks more attractive too in many respects but, it's hard to blindly recommend any of the modern GCs to people who don't understand this stuff
If possible to move on from G1GC and there is proof of a better type of GC and allowing paper to take more advantage of newer GC type would be nice, Not sure if thats possible though,
And if you're running Folia you should be thinking about things like what flags work for you, not blindly following defaults.
Most people asking for βflag guideβ will do just fine using aikars.
If you really want to fine tune it, acquire the knowledge first instead of seeking out what people claims to be the most βoptimizedβ
ZGC is more finacy and you generally need to be more aware of how to diagnose it
G1 is generally more predicable and forward in terms of when it craps the bed
isn't Aikars flags old by now even if the guide is updated.
But cat the number is smaller! It must be better!
MC is MC
There's also a difference between guidance and law.
the flags may be old but stuff has generally not changed in a manner that causes any real big issues outside of MC wasting more memory so the 12G+ flags are probably more harmful than good
i could personally probably live without aikar flags in 2024
aslong as a modern java version is used
Wait so there isn't a way to improve say paper or folia to fully take advantage of a newer gc, even though mc uses G1 by default?
We have a guide
that fits 99% of peoples usecases
noting that 99% of people do not understand how java works
do not understand or care to get invested into how garbage collection works
and do not have the skill or care ro access to figure out how to diagnise GC issues
aikars flags while old, are generally still fine and as close to a 'works for the majority' as we're going to get
Yes, some newer garbage collectors exist, generational ZGC looks really interesting and if I wasn't half dead and had a server still, might be fun to toy with and see how it performs, but, the nature of ZGC also means that it can act a bit funky in some cases
some cases which people running servers fall into, and while G1 GC will often not perform amazingly in such cases, we can generally see and understand why it's crapping the bed vs many of the newer collectors which will generally hide that by killing throughput
Hello is there plugin for lifesteal to work on folia
interesting. Thoughts on Shen over ZGC?
Guys please help
iirc shen and ZGC are fairly alike in how they work in a broader sense
no idea you would have to look around or get someone to make it for you, as Folia is still too new for plugins.
Yaa
This is only discord channel where people discuss folia others be like what that π€
Nothing stops you from making your own life steal plugin for folia
But if you do not have a dev team, you probably should just use paper
π
I'm kind of surprised generational ZGC ended up being a thing and being so good because I remember at the start of Shenandoah and ZGC they were arguing the generational hypothesis was a failure for modern programs
Although I suppose they were talking about HTTP servers...
Yea, I mean, I get it
The application pattern for which the generational hypothesis is most true is stateless servers.
If you're storing any kind of long term state (for example, caches) you break the generational hypothesis and a generational GC does extra useless work and hits modes where it doesn't perform well
like, their entire thing was that they wanted to cater towards stateless stuff in which memory is allocated for something and then tossed out at the other end
and, I get it, that's probably like, a good chunk of web apps in their ideal state
but, caches are hard to avoid in many cases
Then again... https://openjdk.org/jeps/404 (JEP 404: Generational Shenandoah (Experimental))
pretty sure generations were planned for ZGC from the beginning, but they wanted to focus on minimizing work during pauses first
iirc a big thing for G1GC was to make it better able to adapt to things that break the generational hypothesis too, via dynamically designed regions or whatever
I guess I might just be remembering shenandoah, zgc kind of appeared out of nowhere for me
I was watching talks about shenandoah and following development of it though
afaik ZGC can dynamically size the generations pretty well
G1 does the dynamical thing, though many years ago it sucked, hence aikars flags
Also I swear shenandoah is reminding of what Mike Pall wanted to do with luajit's GC
any document about how to set up folia?
Folia is a fork of Paper that adds multi-threaded region support. Many plugins will require updating to support Folia. There is no ETA for publicly available builds.
For more information:
Folia will:
- NOT be backported to older versions <1.19.4
- NOT be merged into Paper
- NOT be ported to Fabric nor Forge
Stay tuned to #announcements for any further info about releases.
Documentation is there ^
No setup guide lmao
How to build Folia is in the Paper repo
What sort of setup?
io.papermc.paperweight.PaperweightException: Failed to apply patches
Build it in WSL or in C:\Folia (or D:\Folia, etc)
Make sure you have git configured
Post build log
Please send large files/logs to a pastebin
A sensible, modern pastebin. Share text and source code snippets with no hassle.
Read your log.
The error is right there and it tells you how to fix it.
*** Please tell me who you are.
Doing what?
Path for java installation '/usr/lib/jvm/openjdk-17' (Common Linux Locations) does not contain a java executable
how to fix this
or it don't have to
Keep reading.
Apparently that was just a warning/debug message because it kept going and failed because you don't have git setup
oh
thanks
thanks for explaining
BUILD SUCCESSFUL
but none of the plugins work
lmao
Oh yeah, 0 plugin compatibility
Plugins have to be explicitly built for Folia
It's mostly the same API but the semantics are different (threads) and the scheduler is different so trying to let Spigot/Paper plugins just run and hope for the best is guaranteed to run in to a bunch of hard/impossible to diagnose issues
unfortunately, thats pretty unlikely
marjority of Minecraft server has less than 1 player online so yeah very unlikely to see everyone using Folia. Only a handful of big networks or you know... one already existing example... 2b2t.
Unless they do it 1500 blocks or more away from each other it really doesn't
Folia won't make anything faster for a single player either, if anything it'll be slower
There is a GitHub repo containing plugins which support Folia. Itβs an non paper repo, but you might find some useful plugins there.
Or go to Hanger, and select βSupports Foliaβ
Or modrinth
I need DiscordSRV to work tbh
Hi, the datapacks still don't work?
they use global state
any LoginSecurity like plugins?
No. And we donβt support offline mode here.
where I can get 1.20.2?
Build the 1.20.4 branch
sr i mean 1.20.2
you'd need to find which commit is the update to 1.20.3 and revert to the commit before that
I thought master was .2, otherwise, ^
Aren't there archive downloads?
No
Oh I just now saw that you have to build it yourself, sorry
Thank you, I'll give this method a try later.
Hi, I want to know when the 1.20.4 bundle will be available on the repo?
Now this "Java heap space" issue has occurred again, but adding "XX:+HeapDumpOnOutOfMemoryError" prevented it from crashing and automatically shutting down. Instead, it froze the server for two minutes. Here's the log from that time: [https://pastes.dev/IIobKs0eoq]. It also generated two files, one named "java_pid9180.hprof" with a size of 25GB, and another in "\dumps" named "heap-dump-2024-01-31_12.14.41.hprof" with a size of 3GB. Which one do I need to provide?
My apologies for the confusion. I misread it. The second file "\dumps\heap-dump-2024-01-31_12.14.41.hprof" was generated yesterday, and the one with a whopping 25GB, "java_pid9180.hprof," is the one just created. How should I provide this file?
I mean, we don't want it
you'd wanna load it up in a heap analyser and see what's going on with the memory
eclipse MAT, jvisualvm, yourkit, jprofiler, etc
Alright, then I'll follow MODN METL's suggestion and try reducing the XMS and XMX to see if it has any effect. When I set the values to 32GB of RAM in version 1.20.1, everything worked perfectly. I'm not sure why this issue started occurring when I upgraded to version 1.20.4.
Thank you. I'll go ahead and give it a try now.
which java version are you running?
whenever you see G1 OLD running
you can already know that there~s memory leaks
G1 Old only usually 99.99999999% of the time runs when theres memory leaks in your system
Accept my friend requestb ecause i'll nee more information
That doesn't garauntee a leak
well he has enough memory allocated to run 10 elefants
Yea, but generic statements like that get oddly quoted 10 years down the line and just confuse people
from the theory is simple
you never want G1 old to run
and if its running you got a problem
i have never seen a case in which its not a memory leak yet or being stupid with software mem allocation
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.
it uses multiple threads
my question
your OS schedules that work over multiple CPU cores
it splits the world up into regions
those regions are run in parallal if you have the correct hardware
anything multi threaded is multi core
so, your regions are still effectively bound by the nature of a single thread, but, the entire point is that you can split the world up to use multiple OS threads for ticking
no
that live far away
if you're struggling with 10 players on paper you're going to have bigger issues on folia
they live seperately
Im not struggling
im just wanna try out new things
are you a developer
no
folia isn't really in a state where you'd want to use it not as a developer
every plugin is essentially broken unless it specifically builds support for folia
not to mention we don't distribute builds
yes I know
I compiled it
and tested it with my plugins
works fine
I just want to know if it does any changes
Unless you're actually having performance issues which can be solved by more cores, it will over 0 benefits for a lot of caveats
tbh most server hosting service online already inclued folia
like exaroton and shockbyte
and most server hosting companies are purely there to bait people into handing them cash
it's hardly a metric for anything
does it help with the fact people building like 1000000 exp farm in my server
.
yes
true
if your tick is within 50mspt, it will offer pretty much 0 benefits
my tick is 55
at 10 players you can definitely get that down
okay, and now you're telling an inconsistent story
?????????????????
you said that you're not having performance issues
yes if it isn't the 100000 exp farms
So, you are having performance issues
kinda
then, who knows, if you have enough CPU cores folia might be able to help
16 cores
my old pc
16 cores
i forgor
maybe it isn't
but I remember it is
6 core maybe
my fault
6 cores/12 threads unlocked
no
so whats the lowest
1.19.4
ty
(of course you should always run latest)
also i've seen some info on the main page of folia project about chat issues? does it still happen?
it mentioned that chat was enabled 4fun and it casued everyone to be kicked
Might have been proxy related, iirc that test used a proxy and chat signing and proxies is still not a great combination
via proxy you meant bungee/velocity? I was planning to try and use Folia as my lobby system as a test
as i already have like 3-4 separate lobby servers to fit all the players
so merging them into 1 server but spreading them across few lobbies at the same world just in different places
was hoping that'll make it
If it's just separate lobbies I would stick with Paper
yeah i was hoping to merge it to make it 1 big lobby
it'd be more efficient and cheaper way to do
cuz i have 2 dedicated machines just for lobby
so i could handle am all at one machine
If they are separated anyways running four servers will be more efficient than Folia.
And you won't be able to have everyone in the same location with Folia either. It only works if people are spread out a lot
Yeah i was thinking about pasting few lobbies around the world and spreading them across
but my goal was to have 1 server instead of 4
for that purpose
I mean that would work in theory, but in my experience the main bottle neck with lobbies is when something goes down and you get 200 players joining the lobby at once. And Folia isn't really gonna make that better
idk how many players you have in lobbies though that you need that much
just slow down the switch on the proxy by keeping clients in the configuration phase ;D
Let's not dole out snarky/unhelpful advice.
?
that was meant as an actual solution to too many clients joining a server at once
keeping them in the configuration phase for a bit on the proxy should slow them down (traditionally one would use a void server for that)
By slowing down the network switch?
by not having 200 players log into one Minecraft server at once
I already have logic in paper which does kinda similar just to delay shoving them into the world
but I assume that is limited to the client timeout duration or is that during the configuration phase now?
I have no idea, it was designed for short term, so there was no real care to implement stuff like keepalives in there
Question, on this server we have an issue where sometimes we can have 50 players on without much in the way of game-impacting lag, but other times with half that many players on (like in this image) and there's clearly some players up to things that are causing lag.
Is it worth us spending time fine-tuning our settings as a Paper/Pufferfish installation, or as an SMP server would we be better off looking at Folia to solve this issues because we're clearly not utilising the hardware fully enough?
screenshots of sparks are useless
https://spark.lucko.me/tnlk2g9fLs This help?
Pufferfish?
I think you are in the wrong discord 
with the amount of plugins you'd have, probably a rough time moving to folia
and you should definitely be able to hold like 100 players with paper/pufferfish/whatever
Yeah we're thinking more in terms of reducing the number of plugins if we did
CPUs with ecores are generally a bad idea
more than half of your plugin dont current support it yeah 
good shout cat
yeah you should disable your e-cores
probably fixes your performance issues
You'd be reducing your plugins to about 3
Unless you write your own replacements
And your players would have to be building bases 1000+ blocks away from each other
Ok so we'd be better waiting for Folia to garner more plugin support further along its development path then. Where would be the best place for us to hook up with somebody to do a paid gig getting our performance better tuned for the hardware we're one, any ideas?
no idea
definitely not helpchat though, probably not going to find someone competent for server optimization there

bukkit.yml > ambinet: 0
Here. Free 1.55% optimization.
Unless you are using bat for modelengine or some custom entity replacing bats.
So what hardware should we be running on? NGL we kind of thought the best option was literally to grab what was top of the line at Hetzner
disable your e-cores
even better would be switching to the 7950x3d and avoiding anything intel
Ok cool, thanks for the heads-up we'll try and get to learning more about that side of things then. Appreciated
Oh damn, you the one behind Paper-Chan's guide? Nice! We're huge fans of it and have been steadily working through it to understand more of what we're doing. Awesome work though!
sorry for the o/t - as you all were.

completely new to folia, but how do i download folia?
ive researched this, and found that i had to compile it
but when i did, i kept getting errors
β οΈ 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.
ah ok.
If you're having compilation errors, send them here and we can point you in the right direction, but generally if you find debugging compilation errors difficult, that's a sign that folia in it's current state is probably not right for you
@left gust As the link above says, we specifically are asking people to not provide builds or link to builds. If you can't build Folia yourself you shouldn't be using it.
Fuck translate
Of course, I can compile it myself, it's a very simple process, but maybe my friend's computer might be bad and I thought he would test it, so I talked about the project. Also, why are you so strict about the spread of builds?
@fair merlin
Because it's a project still in development. And we as a general rule strongly discourage people from downloading jars from unknown sources. Especially a server jar.
As I said, if someone can't build it themselves then they shouldn't be using it. If they encounter issues building it then this channel is here for them to get help with that.
Building it is going to be the least of the issues they encounter.
I don't think the issue is unknown sources. The source I mentioned is a github project and it compiles using action. Are you worried that it will spread more and demand support?
Folia is absolutely amazing. You guys have done an amazing job on it so far! Can't wait to keep up with the new changes to it over this year!
More or less, building it is meant to be a road bump to keep away the people who aren't writing their own plugins and willing to experiment
Because if you're using Folia you almost certainly have to be writing your own plugins at this point
It seems to be a "Java heap space" error caused by Spark?
You need to check why the retained size is that large (i.e. whatβs retained)
I think spark has some a newer folia version that has released. Perhaps that will help. Donβt quote me on that
Iβm thinking this is an older version or something because it wonβt let me open it. Either that or this is an invalid link.
any recommended plugin to disable minimaps
You canβt disable minimaps. Theyβre client side mods.
For mods that support it and behave nicely and for non-Folia servers, sure.
But a modified client or a modified mod that wonβt obey that flag will still have a minimap
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.
Will Xeon E5 2683v4 (16 cores/32 threads, 2.6 GHz) be better than Xeon E5 2678v3 (14 cores/28 threads, 2.8 GHz) for Folia if there are 8-10 people playing on the server? How much RAM do I need?
There's no hard and fast rule for this. Depends on what the players are doing, plugins, etc. You generally want fast cores as well as high core count.
But the base frequency on the 2683v4 is 2.1GHz, with a boost of 3.0GHz. Not 2.6
The 2678v3 is 2.5GHz base and 3.1GHz boost.
I wouldn't say wasting everyone's time, but yes, most likely for only 10 players Paper is going to be better suited for your uses.
This depends on the server, the players, what they're doing, etc etc.
I don't think a blanket statement like this is helpful.
Our players like farms and high performance stuff.
Folia has a pretty specific use case. Players need to generally be 1000+ blocks apart
Or you aren't going to get the benefit of Folia.
So large maps, some plugins aren't ported at all, some just won't work, and some features are disabled.
So it's worth exploring whether it's truly a good use for you.
If you just want to try it, go for it. But be aware that it may be a bit of fiddling to get things setup.
And/or you might have to sacrifice some features.
And might be worse every time a new version gets out, for normal Paper sometimes plugin owners take ages to update, imagine in here
Yeah Folia is very likely on a slower update cycle.
Also wanted to ask: does Folia change the behavior of a vanilla minecraft server like PaperMC? Redstone, block upgrades, etc.
One question, is there a Folia channel more dedicated to betatesting plugins?
No, because plugins are developed by third parties and not Paper.
So that would be more like whatever Discord those plugins have.
I have something to try out, that requisers some users at same time
Same with Paper.
it does not want to do that
I mean the plugins we are porting to Paper
but in some small features it slightly changes (none of them are really vanilla vanilla mechanics) just visuakl things maybe
Not sure I understand what you mean
I kinda finished preparing a minigame plugin for folia, ans this server seems to me be thest place to try out
but there is no chan to anounce or request for help testing stuff
Correct, we don't really do that here.
so how to potentiate the pluging support to folia?
Have friends test with you, basically.
you already know it is harden then for other server to make decent support for it
Or throw it up on your server.
friends do help, but the experts are all here
We don't want to be the server that people flock to for "please help me test my plugins"
and possibly someone willing to help, that my idea
Yeah, like cat said, we just aren't the place for that.
why not have a chan just for it? A chan can be mutted if we don't want to see the activity
Because then we have to moderate it
Yeah we just avoid advertising in general.
We've generally been okay for reputable people to try to organise stuff, but it becomes a huge headache when you start having 20 people a day show up pestering for people to join their servers to just "please help test"
it just creates a lot of drama because all of a sudden we're supposed to care about the randomer who joins and griefs the place, as well as the headaches around people who basically try to use it as a means to advertise, etc, etc
understandable, yep
so if i anount a server for testing this, would be considerd spam?
we are kinda between the wall and the sword, if i explain my self right
testing is a part of the development cycle π
but i understand
true true
part of the reason we don't want people "advertising" for testers is because most people can't be arsed to join randomers servers to test
and so it literally just ends up in hours of spam as they try to coax people into joining their server
which then ends up with somebody seeing it, joining the server and griefing or something stupid, and then all of a sudden we're expected to moderate them for something they did on a block game server that has nothing to do with us, etc
yep, yep but becomes hard to test this under heavy conditions. Not owning server makes it hard to test it decently. Will continue to "play with my self" π
I don't plan to make marketing, just have proper testing on this challenge but yes, having a hard time with the testing part
I am pretty sure it will not work as nice with 20 players on it
the Schedulers might get mad with me π
Sorry @idle furnace that's part of the advertising we don't allow.
it is ok
Any Votifier forks that support Folia?
I googled it
And this
Says "Folia support"
Please refer to the dev for extra help
This is a Votifier listener.
pretty sure the bukkit schedulers throws
Does chunkloading require high-level computation?
I would like to know why chunkloading does not use the gpu
Oh, of course, I'm speaking from the server's perspective
you likely mean chunk generation, and the reason it's not using the GPU is because most servers don't have GPUs and writing code designed for GPUs typically differs from what you'd write for CPUs
β thanks for explaining
When I deleted Spark now the server has been running stably for two days, which would have been impossible before I deleted Spark, maybe the version of Spark I'm using is too outdated? I was using spark-1.10.52-bukkit-folia-patch-3.jar. The above is limited to 1.20.4 only, as I was using 1.20.1 along with Spark and they both worked fine.
But I don't know where to start investigating this.
But I've deleted Spark now, and folia works great now. I'll give it a try when I get another chance to test it later.
spark's background profiler realistically shouldn't cause any issues aslong as you're on a platform supported by async-profiler
so anything that isn't windows
it profiles it for a long duration but at a very high interval
The background profiler should only keep 1 hour in memory afaik, so that would be a bug then
spark for folia is still unstable, so it really may be the problem that it can't delete old data for background profiler
let's uhhh get verifiable evidence first before treating it like the truth...
well, patch 2 of spark had a problem that it couldn't stop any kind of profilers to give a link, and they started spamming a lot in the console if we tried that, so it's not that far from the previous problem
I was watching this tutorial online: https://www.youtube.com/watch?v=oTh9DjFgmTM, and after I built Folia I did not get a build folder.
Folia is a Paper fork adding regionalized multithreading to the server to support large amounts of players playing on the same server without the need for BungeeCord.
It works by grouping nearby chunks to form an "independent region."
Each independent region has its own tick loop, which is ticked at the regular Minecraft tick rate (20 TPS). T...
follow the build steps in paper's readme
there arent any?
paper's readme
oh paper
right
ahh i forgot a command
cheers mate
is there a template like start.sh i can use
to start the server?
Why does someone need 96gb of ram lol
my server is 128gb so might as well use 96gb
cool
The chest attached to the donkey disappears when donkey enter the portal
Is this a bug? Or was that intentional?
Test without plugin on the latest version?
I want to open a server in 1.20.2
Is that problem fixed in 1.20.4?
π’
I would think that Minecraft runs better on less ram but it might be different for folia
It's different for Folia.
Could you assist with ZGC flags for folia then?
I would just use G1 if you aren't sure what other flags to use.
Using Aikar's flags is still a decent starting point.
But with more RAM.
How can I resize regions in Folia in the latest commit 1.20.1.
I'll try to move this to 1.20.1 then.
does folia even have the 1.20.1 exploit fixes? lol (not sure if it even was applicable to it though)
well Paper doesn't have it so...
anyways: don't run 1.20.1
not always
@upbeat siren
Is this a friend of yours? Generally poor form to randomly ping someone.
@jaunty helm
Okay, I've also pinged him. : )
you can also write 96G instead of writing it out in M
why tf
if you choose version at least choose last minor version
like dont use 1.16.4 use 1.16.5 if you have to use 1.16.5
I don't think 1.16.1 is even log4j patched
If that's your only concern might as well make a datapack or something
that's how they get the extra piglin drops kyle
<@&748618676189528155>
(65c3dc222d5bd6481a064820) // @low delta (@derp7_yt / 728269446044713011) has been banned by @jagged ether (451779815415218177)
Reason: Quick-banned for sending a message in #folia-help
damn quick ban

careful, people using that ping disappear sometimes /s
shut
don't off topic in help channels powergas
nice nsfw server
ok
too slow


