#folia-help
1 messages ยท Page 14 of 1
โ ๏ธ 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.

I was sent this in WorldGuard chat
It's a fork of folia intended to disable a bunch of the safety mechanisms folia adds to prevent plugins from breaking the server
We do not recommend it, we do not support it, etc, etc
Ok, I won't use it)
how to have an unstable server
It walks the stack to find privileged callers, then disables ensureTickThread methods
https://github.com/killerprojecte/Folia/blob/ver/1.20/patches/server/0046-Fix-TickThread-bypass.patch
I wonder how many times does it have to walk the stack before it voids the performance gains of multithreading
i love how they call them "fixes" when it actively makes it more unstable
not even a proper paperweight fork smh
yeah disabling thread checks is garbage
reminds me of when HD was becoming a thing
like, you'd be watching a show in SD, and think, oh, that looks nice
and then a week later, when everything switched over to HD, as you got closer, everything you once found nice was ruined
Yatopifolia
What is 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.
Take a read @ember perch
why would folia be bad for powerful but low core count
because it takes advantege from multi core not single core I think
we have an i9-9900k 8 cores
why can't a region tick and then another one ticks in the same core right after
Folia is designed for a niche use-case where recommending high core count mid single core performance is fine
Because that literally defeats the point
in all the additional scheduling and safety that folia has to do to prevent data corruption, incurs a sizable cost
that's just given there are more than 8 regions
Not having the cores to actually spread that work out defeats the point
Folia performs worse on a regional basis vs paper
if you don't have the core count to support sufficently ticking stuff in parallel, you lose
Folia will work outside of the high core count specified
it's just harder to argue its worth/justification in those cases
especially with the overheads, etc
There is a higher overhead to do the same task as Paper and to actually see performance increase overall, you need additional cores to actually win out in the end
Make ForgeFolia interesting to look at ๐
or FoliaFabric
yes but now instead of using 1 core I am using 8, even with the overhead wouldt it give at least 6x the performance
No
That does not sound like a remotely good idea
Because you're completely dismissing the sizable performance hit over the regioniser itself
and the costs on individual regions
well making folia with plugins is already a hard thing
Based on my testing, the "players per thread" is basically 50% or 40% in some cases compared to Paper with the same settings, even lower
having more regions tick at once means you're flooding the heap with more memory crap
every plugin needs to make their own "folia" version I think
which means that you genereally need more GC threads
I was thinking of making my own Folia Forge, I was thinking of making a network of BungeeCord/Velocity servers, and when a player reaches the map coordinates x:500, z:500, he will be teleported to the second server, if it reaches x:1000, z:1000, then he will be teleported to the third server and all servers have the same seed))
I mean, that's literally been done for years
That doesn't have anything to do with Folia at all?
I would run as many servers as I have cores on the processor and put 50-60 slots on each, total 8 cores = 8 servers = ~ 400-450 slots
Thatโs not how folia determine region at all
well there is a server software which creates server per core and manages to multithread them
but I forget its name
hard regional splits is how stuff like that huge mmo server works
and, it works
just you have to be smart over your region splits unless you wanna deal with much more cross server sync bs
well I'm waiting for folia to create something sandbox mmo
is there any documentation about how the region manager works? or am I just limited to compiling Folia and looking for my own?
ะก2ME mod = Folia yes?
not how regions are created/merged
c2me is just changing the chunk system itself
it is for chunk generation performance
i.e. the thing that loads chunks, etc
not per region threating
like in folia you can create a lag machine
but that lag machine will only lag that "region"
not the whole server
this very nice
yeah right?
By the way, itโs also interesting if you create a lag machine on a folia - will the entire server lag or just the region where there is a lag machine?
vanilla/paper does all tick work on a single thread. you are limited to how fast a single core on the cpu can process that tick. you cant "just" split a single threaded task between multiple cpu cores. the performance gain of folia literally comes from splitting the tick up across multiple cores. although like cat is saying there is overhead from folia needing a thread to manage those regions, and that doesnt include how vanilla already uses multiple threads for things like networking and paper uses threads to generate chunks. those extra threads still exist on folia so you cant just assume 1 cpu thread = 1 folia region
It will be a very popular software when folia plugins increase
just the region. thats literally the point of folia
only the region
because every region threathening itself
think about every region has their own server
and all the servers just became 1 and comunicating with the main server for events
yeah, every region threatens itself
Why can't you make Folia Forge, for example, or Folia Fabric, what's stopping you?
that's why mob ai is difficult
I mean
first of all there is not much time for people to make it
second of all
nothing is stopping you from doing it
If compatibility with mods, then in regular Folia you have already broken compatibility with plugins, the same logic with mods, if the developers want, then I will make support for FoliaForge
but, nobody in this space is generally doing large scale stuff in a modded environment
it is already difficult to manage entitiy or mob ai to comminucate with other regions I think
hmm
these techniques are applicable to literally any vanilla server software assuming you don't care about compat with the existing ecosystem
yeah you can create your own version but, good luck on that
That is, your code can be transferred to Forge?
I didn't say that for humiliation but
there is only so many hours in the day and nobody is paid to work on this stuff
that is really hard
I mean, you can't just copy the code 1:1
Could you help port your code to Forge if I point you to someone who can already do it?
theres many dozen other considerations between the platforms
No
afaik, folia builds on a lot of work thats in paper already. its possible to port this work to forge/fabric (and then the multithreading itself), but youd run into the same issue folia has with plugins, most mods wont work with a multi threaded server
nah can just copy the "way of working"
Leaf has literally put years into foundational work for folia
it's not something you port overnight
and he's already said he has 0 interest in porting it
Leaf is the developer of Tuinity?
Paper has all Tuinity patch now
I remember it was mego productive
i know yes
So technically paper is currently best core
Paper ???
Folia is now better than paper?
nah
except for the one that changes the server brand to Tuinity 
Folia is better than paper if you have a niche use-case
when folia finishs it is good for servers who has multicore
for 99% of servers, folia would just be a performance hit
but if we are talking about single core
like 4core servers
paper is better I think
Folia will probably never be suitable for mass adoption
I need a core that can withstand on 1 server about 500 online at 20 tps
As I understand it, Paper will not do this.
The hardware requirements to "win" vs just paper already makes it pretty unviable and pointless to most servers
Folia already does this. 2b2t is a good example
Didn't the migration drop the patch where you had to agree that tacos are the best in the eula agreement file?
maybe if the current hardware folia suggests become "low end" (which i doubt will happen)
I think that was dropped in the middle of an upstream
I canโt go there, I donโt have minecraft licenses since 2012, I still havenโt bought it ๐

oh god
So paper is clearly not the best server software anymore. ๐ฎ || just joking, I don't even like tacos ||
well he is using cracked software
CrackedLix makes sense as a username lol
We can all just agree that tacos are the best food in spirit
yeah
Don't tell anyone but I use crack
FoliaForge it's real
Not our software but you can ask them for help
A valuable application of the Folia API, which might be more readily deployed, would be a per-world threaded implementation. The existing scheduler APIs would suit it, it would perform better than a single main thread, and may be more easily adopted into the superstructure of established plugin software. Plugins would still require adaptation, but the migration costs would be fewer.
I mean, you'd lose the effort requirements of the regioniser and such
but, to be fair, unless you're piling on a dozen worlds, it never really looked to be worth it
Forge ๐
per world threading imposes most of the issues folia has with only a small portion of the gains it has
The only server that I ever made was created with Skript with a handful of minigames. It ran multiple worlds on the same server rather than a network. For sure multiple worlds are less scalable than multiple server instances, but it serves a purpose.
You'd gain, for instance, than an intra-world teleport event is a possibility.
The thing is that most side worlds take a few ms
like, majority of servers whose timings Ive een, the main world is eating up like 120ms, and nether/end collectively are eating like 5ms
Yes, sure, they'd be a gain if you can avoid piling up overheads to prevent plugins/the server mudering itself
but, you're talking that for the majority of servers, the gains are basically negligable
it's really only the servers which actually fully utilise extra worlds, and those are generally minigame type servers in which just folia anyways
As i clearly wrote, this was an experiment. Mods compatibility is a nightmare.
where from download compiled Folia for windows?
i'm using Paper, but want to try Folia
Compile it yourself
then don't use it
what do you want to try it for anyway, it is not yet ready for production usage
Paper we can download compiled, but Folia not... Why?
โ ๏ธ 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.
it's extremely experimental software 
โ ๏ธ 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.
/folia-accept
โ ๏ธ 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.
that aside, it requires more resources than a normal minecraft server to run smoothly as well
there is no dl away, that command just sends a warning
if you do not know how to build it yourself, then you'll have a hard time trying to cope with the issues that may arise from running Folia as of now
there is one, it is called bedrock edition
Folia doesn't as well lol
Folia have a lot of plugins too
Paper/Spigot plugins aren't exactly compatible with Folia and considering that there's no promise on compatibility, you can expect a lot of the plugins you use on Paper to straight out not run on Folia
but all going to make work theyr plugins on Folia now
when it is ready, for sure
I mean, it's a niche piece of software for a niche usecase
I mean, this isn't the first attempt to make a multithreaded minecraft server either
it's not going to "take over", most servers don't have the hardware, the need, or the dev team for it
like you
the niche use-case for it it is pretty much going to domiate in
I trust that this will be better than the other attempts since it's being made by people who know the minecraft server source code in and out and not someone who took a try for the fun of it, that said electroniccat is right on the fact that it is rather niche use-case either way
we will be like corporations ๐ after Folia start
if you have your own server - you god with Folia ๐
you god with Folia
unless you wanna use scoreboards, command blocks, load/unload worlds, interact with portals or player spawns/logins, or a bunch of vanilla commands
Hey is there a download link somewhere to test Folia ?
There is not
Only available to be compiled ?
Yes
hey, any idea idea why i get this?
close intellij and rename Folia to folia in settings.gradle.kts
err
rename the folder I mean
can you be a bit more specific please?
rename the Folia folder to folia
where?
the directory that you cloned
still have the same issue
did you close intellij first
yes
show the new error
no error anymore but don't get the output
read paper's readme on which command to do
Is folia still being worked on? The last commit was 16 days ago
Yes
yes, but it's still very cool. you were able to make Forge Folia
How does one set up a Folia server? I've looked on the website for instructions on hopw to do it but I can't seem to find them if they are there.
it's just a normal minecraft server, you run the jar
The build instructions are in Paper's repo, same steps but you just swap out the repo
epic thanks
What is the current state of affairs for Folia + Plugins
Like how far away is it from more plugins being compatible or from being the right ease of adoption or is it time now and just a matter of plugin devs doing it
Because I have an interest in testing the deployment and operations of Folia, it's a very cool concept
It is entirely up to plugin developers to support Folia.
Ok so if a plugin dev wanted to do it today they could
I guess the other part is, are they actually doing it but that's a question that's better for the specific plugin devs ๐
thank you
I mean, read the docs
theres a few things missing, but for the most part right now it's on plugins
bearing in mind that folia fits a niche requirement and so the majority of devs are not going to bother spending the days or weeks that would otherwise be required to invest onto supporting folia when it doesn't meet the requirements of 99% of users
<@&748618676189528155>
(64ebc36acdf07f25f6aca028) // @valid quiver (@.kim._ / 527421404874801193) has been banned by @wise epoch (1098722699116810331)
Reason: spam bot
<@&748618676189528155>
(64ebe18fcdf07f25f6aca02a) // @analog lark (@game0395 / 594380272363896842) has been banned by @livid crag (177150983258767360)
What are some of the commands that are added by folia?
is this the correct command to compile folia? I got it from jar.bat, but it fails if i run it
./gradlew createMojmapPaperclipJar
i just want a jar i can run to test my plugin. would reobf be the correct task for that?
you likely missed a step
what are the steps?
ah ok, didnt realize it was the same process as paper
thank you, that appears to have worked
can I use datapacks with folia?
a lot of commands used in datapacks do not exist on folia
datapacks work fine for e.g. world generation though
so it's better to only use datapacks that only affect world generation?
realistically anything else you would want to do should be a plugin
also use createReobfPaperclipJar instead
I did. Michael sent me the link to the building instructions
ok nice
When a command fails to load a class when being run from the console, it kills that console input handler thread indefinitely. Running commands in-game still works though.
Huh, I thought if/when Folia actually gets jars distributed it was going to be using mojmap
It's a whole new ecosystem so screw Spigot compatibility, go for the one that doesn't suck
wouldn't be a great idea
you're not going to find plugins that are specifically built for folia, just plugins that have support for both schedulers
@mods
ok, that doesn't work anymore xD
apparently one can't ping moderators anymore, sad ;_;
(64ede409cdf07f25f6aca02d) // @shut gull (@jojorwu / 800421807571337226) has been banned by @sullen sand (202850073812402177)
Reason: Spamming server invites.
you just canโt
<@&748618676189528155> free ban
Bonk
(64ee3bf8cdf07f25f6aca031) // @quaint coral (@carl5662 / 348749855126061068) has been banned by @rare hare (276788573666017280)
Reason: Spam ad (nudes)

Oops I did it with built in not our bot. And apparently the delete one hour thing didn't delete them...
excuse me, where do i find a config file for folia? I just see the regular paperfiles
I run: git-Folia-"f6e91e9" (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: f6e91e9), if thats important
folia doesnโt have its own config
that means everything should just work out of the box?
i wanted to test my 8 core machine and afaik someone said i should config smth because i dont have those recommended 16 cores :x
but as far as i can say folia runs like a charm :S
like a dream which become true
if you don't have the recommended 16 cores, running stock paper is probably the better option in terms of performance
Oh?
So my server with i7 8700 (6C/12T) won't do any good for folia ๐ค๐
Didn't see the recommended cores
paper already uses multiple threads, just not for ticking
so just because you have 12 cpu threads wont mean the tick will be split into 12 tick threads
I mean, folia is intended for large servers with hundreds upon hundreds of players
The general expectation is that if you have a need for folia, you pretty much are going to have the donation stream for top end hardware suited for the task, and a dev team as the community isn't going to back you here too much.
You can ofc run folia on less cores, it's just we have no way to define with the beneficial line is, the extra worker threads that folia needs is why the minimum hardware bar ruses from like 3 cores to like 16
Im gonna be honest I dont know how but folia quite literally made a old xeon proccer with a SAS hard drive & ddr3 ram load extremely fast. And that is with locked cores and not unlimited amount
You want #folia-dev for plugin/dev related stuff.
Sorry! Will send the message there and delete the one here
hello, does folia make mods and plugins in 1.19.2? with a Velocity proxy.
Folia is only compatible with Folia-specific plugins
okay
The paper website has some plugins listed as folia compatible. Like for example FAWE worldedit. But if i place it under plugins, it says deactivated. I didnt found the answer if that plugin really supports folia. Is there a chance that the website informations are inaccurate?
There's a PR with work-in-progress Folia support for FAWE. The normal release builds don't work yet as far as I know
When a player tp/reached the region, they will be kicked and temporarily unable to login until the next server restart. It looks like that thread is dead. This situation often occurs, so I really want to know where it's stuck. Is there anything like a Paper watch dog with folia?
You could try attaching a debugger if that's possible?
This is prob a stupid question my apolgies but how big is a folia region?
Dynamic, based on where players are iirc
is there a way to figure out where a region is?
jstack seems to be able to identify the problem. but it print thounds of threads. how can I find which thread stack corresponds to the region?
literally all you can do is see if any of the region ticking threads are stuck
you may need to take a few jstacks to compare
or use a profiler
what fuckin cpu do you have to get a max utilisation of 25600%

set threads of threaded-regions in paper-global.yml can get a max utilization of any size
ah you're just unnecessarily overallocating
which doesn't help your situation here since you now have to comb through 256 threads
i'm using 2x AMD 7t83, it has 128 cores 256 threads. works well (so far)
okay you're not overallocating then
does folia run on Intel's new 528 trheads RISC CPU? ๐
8 cores is clearly below the recommended specs 
528 seems random
its like 66 threads/core i think
math would dictate that, yes
64 multithread threads and 2 single tread threads
why 66 threads per core is the more interesting question
Why is the class not loading?
provide the full error
message.txt by @knotty egret: https://pastes.dev/NXMghDTHk5
I feel like this is a case of the class really just not existing
compile problem?
more like a "creating the jar" problem
I use gradle
do you have the shadow plugin
โ ๏ธ 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.
Hello, I'm getting back into minecraft and I'd like to know what Folia is?
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.
In other words, it replaces paper.jar?
Yes, it's a different server software
okay, do you need to compile it? if so, with what?
check papers readme for instructions
๐
dual CPU setups have a performance hitch in some areas
@still plover We do not encourage people sharing jar privately. If you need help, post the actual issue.
ty, ill try it out โค๏ธ
the reobf one
tyty
No commits for a while
and? its a project maintained by mostly 1 person in their free time
Might be deploying Folia to a server soon, any live servers currently using it?
2b2t
Didnโt they revert recently though?
yes but no
They're still running Folia, they just reverted the map
OH, thank you - I wasnโt sure
Thatโs really dope then that they run it
Iโve partially considered going with paper and then upgrading to Folia, but I fear will be a lot of faff. Though thankful because from what I hear thereโs now a universal scheduler?
It's pretty neat
Well, not really, I believe you're referring to the API being merged in Paper? Though, plugins will still need to be redesigned to comply with Folia's threading constraints (or, best case scenario if they don't use the scheduler at all, update the plugin.yml)
Ahh thank you, the reason I wanted to ask is that Iโm working on a server concept that would primarily have custom plug-ins.
I wasnโt sure if I could build the plug-ins with that new API thatโs merged in, which would mean I could launch with Paper, then change later to folia without changes
Ah, I see
You can do that, but the plugin's design will have to be Folia-first, with fallbacks to Paper which's possible through the new API
That makes sense, what designs would need to be put in place with which fallbacks? Iโm assuming itโs just to do with region stuff?
Yeah, you'd use the region and entity schedulers when needed for Folia, those will fall back to the scheduler in Paper
Ahh I see, thank you -so far Iโve planned out a chat and RTP plugin. Unsure with RTP where Iโd have to hit with folia ๐
The TL;DR is Iโm working on a Minecraft server concept that primarily runs from Vanilla mc. As in, <10 plug-ins. No kits, or anything that spoils the experiencd
Oh fair enough ๐
doesn't that require you to have a address there?
Yes
Itโs been 5 years in the making to get it, needed some family there to help with it
Got a bit of an issue that I can't seem to fix. Players go through a portal into newly generated chunks, then fall through the world and everyone is kicked and can't log in as they get stuck on the encrypting screen. Console also refuses any commands and the only way I can fix it is by restarting the machine.
I'm using ncp btw which used to cause issues with players getting fall damage through portals which I have fixed however this happens
Does this happen often?
Everytime apparently
Couldn't ever find the issue and thought it was just upon entering portals occasionally
But according to players it happens when going into loading a new chunk upon entering a portal
I'm thinking of adding velocity tonight and I'm hoping it should re organize the packets or something in some way that should prevent it
Don't really know where I'm going with that but I'ma hope it does something
i wonder what monstor of hardware 2b2t is running with
probably a intel pentium
Hello, folia is ready to use or still under "dev test"?
I notice he regionized multithreading, but what is other advantages and disadvantages compare to paper?
You'll note that there are still no published builds
regionized multithreading is the advantages/disadvantages that folia offers
Is a eta?
no
Its ready if you know what you are doing
I mean, it's still missing chunks of API, etc
so, isn't exaclty what we'd deem as ready
Any folia compatible RTP plugin?
https://github.com/RonanPlugins/BetterRTP seems to be from a quick look but don't know how good it is
So what kinds of changes do Paper plugins need to make to support Folia?
read the readme
Yea, BetterRTP
Thank you so much both you and @hexed ice
How to make a Folia Build without being a computer expert
read papers readme
How do I compile folia?
read the message prior to yours
Lire le fichier README de Paper
Where is he?
Ok, after that?
you read it and follow the steps
Where should I read?
"How To (Compiling Jar From Source)"
But can it be done through Replit?
...why?
I don't have a computer
how do you plan on running folia
yeah no, Folia is useless on a free host. Just use paper
just use paper
If you don't know how to compile Folia, you shouldn't want to use Folia. Just use Paper
How good would Folia run on my 12C/24T server ?
We can't tell you
Well, the pins state that ideally, i need at least 16 cores
Wonder what the impact is if i dont have that, but not far from it
you'll be able to have less regions ticking at once
we can't really say how much of a hit that will be as it really more boils down to your players
Anyone know how to compile the folia version of UnifiedMetrics?
anyone know how to compile folia ? I just want to host a server using folia
Have you readed the readme ?
paper readme
where
where can i find that
Read the channel description
why does folia server have no commands except for reload and icanhasbucket
not even stop or restart work
and there is no help command even though it says use /help if you need help when i use an "unknown command"
Once you start Folia, youโre not supposed to stop it 
excellent answer
Just a sanity check, you're running /help from inside the game and not from the console, right?
both do the same
i just compiled the jar aswell so i thought i messed up something
Why :D
why what
or the fish
How do I use the folia api with nms?
I used to have the paperdevbundle with the paperweight plugin which allowed me to use some nms classes.
To remove the paper api and use only the folia api do I use something other than the paper dev bundle?
Looking through message history someone said there was a pinned comment about this in dev announcements, but there doesnt seem to be anything pinned there.
build.gradle.kts
`plugins {
//id("io.papermc.paperweight.userdev") version "1.3.8"
id("com.github.johnrengelman.shadow") version "7.1.2"
id("xyz.jpenilla.run-paper") version "1.0.6"
}
dependencies {
//paperDevBundle("")
implementation("co.aikar:acf-bukkit:0.5.0-SNAPSHOT")
implementation("com.mojang:datafixerupper:1.0.20")
implementation("com.zaxxer:HikariCP:5.0.1")
implementation("co.aikar:taskchain-bukkit:3.7.2")
implementation("com.github.IPVP-MC:canvas:91ec97f076")
implementation("org.apache.commons:commons-lang3:3.12.0")
implementation("org.apache.commons:commons-collections4:4.4")
implementation("com.google.code.findbugs:jsr305:3.0.2")
//compileOnly("dev.folia:folia-api:1.20.1-R0.1-SNAPSHOT")
compileOnly("it.unimi.dsi:fastutil:8.5.8")
compileOnly("org.projectlombok:lombok:1.18.24")
annotationProcessor ("org.projectlombok:lombok:1.18.24")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.2")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.8.2")
}`
paperweight.foliaDevBundle("1.20.1-R0.1-SNAPSHOT")
and remove the folia API, as usual
And you should update your paperweight version. You are on 1.3.8, current is 1.5.5
thanks so much, does this look correct now?
it went from red to purple
gradle was just working
thanks so much for your help
anyone have a CPU recommendation for this specific server type?
do I buy a CPU with mostly Performance cores?
would avoid intel CPUs alltogether. You want as many high-performance cores at possible, and Intels E cores are not good. And with only P cores you have too few cores in general
Also hope you want to rent, because buying such a CPU will be very very expensive and not worth it
i still would like to buy my very own server which I will manage myself.
what CPU's do you recommend?
At the consumer level your only options that meet the min reqs and are reasonably priced are 7950X or maybe 5950X
i'm going to assume 7950X has a higher single core performance?
Yes. Though it will be more expensive, especially if you really want to buy and have to consider DDR5 ram and mainboard prices as well
wait i heard DDR5 doesn't make a lot of difference? or am i just stupid xD
Not sure about that, but the 7950x only supports DDR5
oh?
And generally Minecraft servers tend to benefit from faster RAM and lower latency, and DDR5 is faster. But how much is debatable and pretty much impossible to benchmark
if i want like a server PC, i should just get a CPU, RAM, Storage, Cooling, Power Supply and whatnot but skip the GPU right?
or does 7950X not come with integrated graphics that allows me to run a command line based graphics that is ubuntu server?
I have no idea, I like renting servers
Buying is really not worth it. The hardware will be outdated before your investment pays back
huh
dedicated server with a 7950X3D and 128 GB of RAM at Hetzner is 123โฌ per month. If you factor in power costs as well, it really does not look too good. And you don't want to run it at home, especially not Folia with the higher bandwidth usage of that many players. So you also need to consider colocation costs
Also additional headache with ISP networking
Hetzner is a pretty reputable EU hosting provider. NA prices tend to be more expensive, but even then owned hardware will not be worth it
bisect hosting charges like $120 a month for only 24 gigs of ram...? or is bisect just a scam xD
Those Minecraft/game server hosts will be more expensive than just bare dedicated hardware of course. And Bisect isn't exactly known to be cheap, and they also don't have great hardware
wouldn't call it a scam, but I'm sure they are making a decent profit
bruh there's so many of these damn hosting companies idfk what is the best deal ๐
Also consider if you really need Folia (e.g. 100% sure you have a lot more than 100 concurrent players). Because if you don't, you can also just go for a decent Minecraft host like Bloom and get a 5950X for less than $50 a month.
Those hosts tend to have low core counts though, which makes them unsuitable for Folia
ovh has good deals usually some of the hostings rents dedicated servers fro OVH and then subrent them to you ๐
my server randomly stops, help .-.
never saw someone talking about sparked host, you can get a 7950x (3 dedicated logical cores) 8gb ddr5 ram with 1btps ddos prot for 30โฌ month, isn't it good?
latest.log by @jade wasp: https://pastes.dev/w85T0Qy2YI
Im guessing the only way to acquire Folia right now is to compile it yourself, right ? If so, i got an error while compiling on mac
Is Folia pointless if I have a worldborder with Chunky to pregenerate all chunks on all worlds
depends on how big those worlds are
folia is only creates multiple regions in a world if there is enough space between players
Are regions 512x512 areas like normal minecraft?
So, Folia will run significantly better at a high thread low GHz CPU
single core performance still matters
you needs lots of powerful cores
more cores means more regions, but if the cores are just all slow, all regions will lag anyways
Does this mean Folia can utilize the allocated CPU (say 600%) of a high-end CPU properly, which otherwise wouldn't be utilized properly due to single threaded nature
you should still use a high end cpu for folia
not some dinosaur CPU with bad single threaded performance
What the minimum requirements for Folia?
None but there are recommended cpu requirements on the readme
This is relatively unexplored territory so there's more of a "recommended minimum" than a hard minimum, but 16 cores (not SMT cores or efficiency cores) of a not too bad single threaded perf CPU
What this dood said
If i use a CPU with 16 cores + 6 gb ram, will you think it's good enough for 32 render + simulation distance with 20 people?
Depends on the CPU and how separated they are
I'm kind of concerned about that amount of RAM for 32 render distance
Oh yeah, + Aikar Flag
Is 10gb sound promising?
Sounds reasonable
Good enough
did anyone experiment with a lower end CPU? like one with maybe 4 or 8 cores?
you'd be shooting yourself in the foot doing that
I tried that (I have 8 cores)
Lol
Hmm, just realise the Utilisation is 100%, I have like 8 core set
those other cores will still have enough to do, GC, compiler threads, file io, netty threads, etc
that's why the recommendation is to have at least 16 cores
If I'm right Paper already uses about 4 cores. So running Folia on 4 is just all the overhead with none of the gains.
Like they said!
error: Your local changes to the following files would be overwritten by merge:
src/main/java/org/bukkit/enchantments/Enchantment.java
src/main/java/org/bukkit/enchantments/EnchantmentWrapper.java
Please commit your changes or stash them before you merge.
looks like you edited some files
nope. Not manually at least
then do a git reset HEAD --hard
and git submodule update --init
should reset everything
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.
โ ๏ธ 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.
What is the cmd to build folia? I don't remembee
read paper's readme
Ok
Hey I was wondering how close was folia for a public release if there is a %
there's never an ETA
Ok ๐
Hey! someone else got that strange bug where maps get reset ?
"lower end CPU" as they said
Fast async world edit supports 1.19.4 folia but what about 1.20
try it?
pretty sure they have a branch or something you can compile
Ok
idk lmao
I'll wait till the host migrate me to better server in the future xD
Yea idfk whatโs wrong with ur server Iโm rocking a 7 year old gaming PC with only 4 cores and even that performs better ๐
there is some reason that causes java.lang.UnsupportedOperationException: null when I add Bukkit.getScheduler() in my code
it happens when my server running in folia latest version
is there any way to fix it lol
Yes, Folia replaces the scheduler
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.
What should I replace for "Bukkit.getScheduler()"?
This information is available in the first link of the embed I sent. It's recommended to read about Folia's changes to the API before trying to develop for it
got it ty
Is it possible to update from Paper to Folia?, or everything would be lost?,
Would that be recommended with 16 cores?
generally a few things to consider:
- are you looking at very high player counts on a single server (e.g. 100+)
- are you able to switch to using only plugins that support folia or make your own
if not, probably still fine using paper, otherwise folia might make sense
Ouh :'(
Don't tell me Paper plugins aren't compatible with Folia!!!, I fell in love with the idea of Folia when i saw a video on march
Some might, but most theyโll most likely break
That's not accurate. Folia is explicitly not compatible with Paper plugins by default, plugins must tell the server that they work with folia.
The entire reason folia is a separate project is it's impossible to do it's optimizations without changing some of the core API, breaking damn near every plugin. A very small handful of plugins might just need to add the "works on folia" flag to the plugin and do no code changes, but most plugins will need to do at least a bit of code changes in order to work on Folia.
(The good news is, as far as I know, the non-breaking API changes Folia makes have been pushed back upstream to Paper so it's possible for plugins to be compatible with both folia and paper in a single jar, but don't quote me on that)
does redstone work on folia? What if different components are on different ticking regions?
Redstone won't cross regions
gotcha
I mean if the chunks are loaded so they connect, they would be in the same region anyway, right?
Yup
If you'd go close enough for someone loading the redstone hundreds of thousands blocks away it'd merge
how could I compile folia?
see the paper readme for compile instructions
you mean this one?
https://github.com/PaperMC/Folia/blob/master/README.md
yes
in which subsection are the compile instructions? I can't see them
Does anyone know how to find folia regions and identify them in game without op?
In console do op <your name> /s
Hello, is there something wrong with running the server on the engine "Folia" on dual xeons E5-2699 V3?
Well, their single threaded performance is really weak
That means you would need to keep things in an individual region to a minimum
Epyc from folia test also have weaker single core
They are definitely not on the same tier lol
Yeah but single core bearly same lol
Edit. Not bearly, significantly
How would one go about finding out if a server is running on folia?
Idk if this is the right place to ask
press f3 and see if it says folia
What if the server owner is using velocity?
it will say folia (velocity) then
Ok, so it's just running paper then?
Who knows... you can just ask server owners
The branding can be changed anyway if one really wish.
I guess if it's just velocity that means paper
Is there anything specific about a folia server that you can see ingame?
that would differiate it from paper?
You can go to issue tab on GH and try to reproduce the bug that only exist in Folia on the say server.
You can also build a confirmed working lag machine and bring the tps down to 1 and see if it affact other regions
You can also just ask the server owner...
I'll give it a try
thx
Would folia be a good fit for a slower clock speed CPU so it can make full use of all the cores, instead of lag while using 2/3?
โ ๏ธ 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.
Well, thanks โค๏ธ
Hello, does anyone have any idea how many players can handle a dual xeon with 36 cores and 72 threads? (E5-2695 v4) 
does folia inherit all the patches that comes from paper? (i.e. item dupe patches, exploits, etc)
yes
hate to be that guy but is there a known fork that unpatches the dupe patches? I want my server to be more vanilla while still keeping the server crash exploits and performance boosts...
probably not
well you can certainly revert the commits containig the patches
i kinda expected that... so how should I unpatch whatever I need, and then also turn it into a folia server?
You'll need a good knowledge of Java, the patching system and the internals of a MC server and look through the patches to edit/remove the ones you don't want
alternatively just run fabric
actually, say what, does C2ME do the same thing that folia does but also keeps it vanilla?
no
if you're not expecting many players
just run fabric if you value your vanilla mechanics & dupes
were there tests to see if paper performs better than fabric with the mainstream performance mods
Is there any plugin for scripting like Denizen, Skript, or Actions with Folia support available?
|| god save us from the funky scripting tools made for minecraft ||
learn java and make a plugins. plugins like skript are slow on paper already, so you would be throwing away the performance folia gets you
Skript has an experimental build in works from limeglass but dont expect anything anytime soon
Alright, I'll try to learn Kotlin, and I'd like to write a plugin for Folia. Is there a significant difference between writing plugins for Folia and Bukkit? What's the easiest path to learn how to write Folia plugins? As for programming, I only have amateur experience with Go
The differences are mostly down to the schedulers and what goes on in which thread (In Bukkit, a lot of things happen in the main thread, in Folia there's not this assumption)
The Folia docs will give you a good start
i wan't compile folia, but got error when use ./gradlew applyPatches
see the log file
there's your issue ^
my issue is '^'?
1 player
still more than 20tps
catch up
I mean I could try to make an assembly inspired skripting language but idk how useful that'd bed
I mean, doesn't even need to be catch up, computers just kinda suck at maths
hi does anyone here know a list of plugins that run on folia? I've looked everywhere but haven't found anything. wanted to create a 1.20 SMP server on Pterodactyl with folia. Everything works so far, I just have a few plugin problems
I initially thought that the plugin list was on the folia website. it does more or less
what kind of hardware do you have
I7 32gb ram
I used purpur Mc before
I did a test yesterday folia is faster for me than purple Mc
A lot btw
The plan is to upgrade to a Ryzen 9 or Intel Xeon soon
Ryzen 9 7950X3D
K
Well, if you configure things so you get more than one region thread Folia might still be an improvement
If you have one annoying player off by themselves dragging the rest of the server down Folia can make them only kill their own experience at the cost of making the rest of the server slightly slower than it would be if you were on Paper and that person didn't exist
โ ๏ธ 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.
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.
i have this problem when i open jar.bat, how can i fix it?
you need to apply patches
I know this isn't super relevant here, but does anyone know where id find dirtyfolia support?
not here
We have no idea who that even is or who makes it
alright, thanks
ofc ofc
Where do I find this stuff in actual folia?
Ir is it all startup arg based?
hello im having issues with running my folia build
no main manifest attribute, in server.jar im very lost on where to fix it as this is a clean folia clone
follow the compile instructions in the paper readme
wrong jar
ok ill try it thanks
applying the patch has an error
`F:\Downloads\Folia-master\Folia-master\Folia>gradlew applyPatches
Task :paper:patchSpigotApi FAILED
Task :getPaperUpstreamData FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':paper:patchSpigotApi'.
io.papermc.paperweight.PaperweightException: Command finished with 128 exit code: git -c commit.gpgsign=false -c core.safecrlf=false fetch upstream --prune`
F:\Downloads\Folia-master\Folia-master\Folia>gradlew applyPatches
Task
patchSpigotApi FAILED
Task :getPaperUpstreamData FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task '
patchSpigotApi'.
io.papermc.paperweight.PaperweightException: Command finished with 128 exit code: git -c commit.gpgsign=false -c core.safecrlf=false fetch upstream --prune
- Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.
BUILD FAILED in 1m 8s
2 actionable tasks: 2 executed
F:\Downloads\Folia-master\Folia-master\Folia>
i cloned it in a second ago tho?
downloading the zip isn't the same as cloning, as it doesn't include the git repo
clone folia again or paper?
Try a shorter path
you'll also want to do it in F: itself
ok ill try clone just in F
damn
`F:\Folia>gradlew applyPatches
Task
patchSpigotApi FAILED
Task :getPaperUpstreamData FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':paper:patchSpigotApi'.
io.papermc.paperweight.PaperweightException: Command finished with 128 exit code: git -c commit.gpgsign=false -c core.safecrlf=false fetch upstream --prune
- Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.
BUILD FAILED in 58s
2 actionable tasks: 2 executed
F:\Folia>`
ok ill try wsl rq
or use one of the suggested flags to get more info
Thank you guys very much wsl did work ๐
What's more stable 1.19.4 or 1.20.1?
does the folia server decrease spawn number of mob and animals?
Folia removes the per-player spawn limit option as that was a bit of a hack and doesn't play well with multiple regions. Instead it has per-region spawn limits which, if you had every player in their own region, would get you more spawns
But if you have multiple players in the same region you get the old behavior of one player being able to suck up all the spawning slots
is there a way to prevent that
without basically restoring per-player, not really
spawning on servers really just needs replacing, but 
Yeah... I'm gonna pray for the spawning
I hope some genius comes and develops a good spawning system
I also hate the new natural spawning after 1.18
The issue is the moment it isnโt exactly vanilla, people will whine and complain lol
Spread out more ๐
ฤฐs there a stacker, spawner, crate plugin that supports folia?
So I have a 16 Core 32 thread 5950x cpu is it good enough?
because on the website it says 16 cores recommended
the cpu will probably work yes, but there are also other factors
Like the clock?
i meant how far your players are from each other
and whether youโll only run folia on it etc
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.
๐ Hey ! I seem to have issues with my build of folia, as it cant contact authentification servers when it launches, making it unplayable with online-mode activated. I say with folia, cause i tried to launch other server software (purpur & paper on the same machine and with the same ip) and they were working perfectly, so i dont know why folia is the only server software having this issues. Does someone knows why its happening ?
send logs
sometimes it launches without having the error, but you can connect only once onto the server before having the issues
latest.log by @novel gorge: https://pastes.dev/vNF9ME304w
can get more logs if needed, tried this morning (1am french time), and got the same issues
I mean, it's just a typical network issue; folia has pretty much 0 bearing on that
The problem with that is that it only happens with folia
Folia has 0 bearing on that
Tried with paper and it works
Then what would be causing the issue ?
Mojang opened a connection using the jdks built in APIs, which went through your OSes methods to open a connection and fetch a response
that connection timed out
Idk, idk your setup, but that is not and cannot be a folia issue
stuff like that is generally more being bitten by stale DNS with mojangs services domains
then if its not a folia issue, what is the problem here ? I'm posting here cause this problem only happens with folia. Launched a paper server right now and it worked perfectly fine, no error with the authentification servers, being able to disconnect and to reconnect more than one time
All I can tell you is what the JVM itself is telling you
a connection to mojangs services timed out
do you have any ideas on what could cause that then ?
No idea, depends on the hosting environment
Selfhosted proxmox VM, getting internet from a Router VM which has a network interface plugged into the vm to have it get out on another virtualized router with a different ip
People elsewhere are suggesting that the auth servers in general are having issues
why would it work perfectly with paper then ?
That's the thing i cant understand : on the same machine, at the same time, i launched a folia server, who cant connect to authentification servers, i then launched a paper onee and it works perfectly fine
No idea, but it's generally 100% our of our remit
remit?
folia just relies on mojangs code which makes a call through javas API, something we don't control, to mojangs services, something we don't control, over your hardware/network setup, which we don't control
Basically, we can't really support you with this; all we see is a general network failure
iguess i'll use paper then ๐คท cause it works perfectly x)
thanks for trying to help me
What is currently the max number of players on folia?
What do you mean by this
probs the player record
Given that we have no way to verify anything, best we could say is "whatever 2b2t did"
Do we now if there will be a new public test before the end of the year ?
There is nothing planned
Make sure to like and subscribe to #announcements if you donโt want to miss anything
How do you like a channel tho 
Would Folia help we with large Player amount
Like 200 players civilization Events
if those players are super spread out, then yeah it could possible be a good solution. Make sure you have a server/system powerful enough to host it tho
Yea I'm using Ryzen 7950x3d
And for the civilization event it would be spread out per island
How much of a boost would Folia give?
Like at event start it was rough on paper
But later when players started to die it was more stable

Regions will have their own main threads
So one region lagging won't lag another
It's all basically try and see
time so summon players and destroy it
Given your hardware and your use case (of course, assuming islands will be more than ~2000 blocks apart), what I can say is that it sounds adequate to use Folia
No promises, though
Hmm 2000 blocks would be quite far
If all your players are within 1500 blocks of each other, they're guaranteed to be in the same region, so Folia would perform worse than Paper
Well like ne and sw would not be in the same region
I suppose if you have 4/8 groups separated far from each other, could be worth the try
If the ne corner of the sw region and the sw corner of the ne region are within 1500 blocks of each other they'll merge
And then cascade through any players within 1500 blocks of any of the players in that region and so on
Might be easier to run each island on its own server and then simply switch servers at the borders. Creates a short dirt screen of course but if that's in the middle of nowhere in the ocean it's probably not a big deal
What procesor i need for map size 2mlnX2mln bลocks? (Normal_World + x2Nether + x2The End) + 130Plugins + 200players?
I can't build folia for shit I'm stupid or something
If someone could tell me how it would be nice
what is min folia region size?
I get this output when doing the command on the last line
the compile failed for some reason
make sure that you're running the operations on a sane filesystem, etc
I'm in a drive directory
In this pic
And sorry for the ping I didn't see your name
A lot of things were removed
Man this is really frustrating
what filesystem are you using
Nah that's another hard drive
If I were on windows I'd be in D:/Folia or something
Idk why it adds that to it
what exactly is your setup here because aslong as you're on a sane linux setup you should be able to just git clone, ./gradlew applypatches, ./gradlew createReobfBundlerJar
I was able to applypatches
That last one no
Lemme see rq
Basic data partition
Raid 0
I have 2 600 gig drives
This is one of em
@viral coral
can you not send screenshots with a resolution of 640x480 or whatever it is
My bad
that also screams NTFS filesystem considering the windows file structure on there
which is the one thing you'd want to avoid on linux
no idea what cursed setup you're running here but don't do that
reproduce on a sane ext4 drive and it'd probably be fine
"failed to create parent directory"
i once again question your server setup
this isn't a folia issue, this is just gradle breaking because you're presumably running it on some weird setup considering the 640x480 remote desktop screenshots & filesystem paths
either you have no permissions, bad file system or something else is going on
It was no permission
I add sudo at the start and it fixes everything ๐
couldโve just run everything as root to begin with (no donโt do this)
It worked yippee
Ive seen the 16c 32t requirement but i just figured id ask.
Im running a Ryzen 3700x which is 8c 16t, with 128GB memory.
My server peaks at around 20 players, spread out around the map, but very many of them heavily build farms, and big ones.
I really dont want to have to limit any vanilla features unless I have to, which is why I am asking if Folia might work my server.
Thanks in advance ๐
On Paper we frequently drop to ~15TPS.
I mean, folia will work
as for how well, nobody can say for your specific env, etc, etc
shitting itself on 20 players is not a good sign, however
folia splits stuff up into what are essentially invidiaul servers
but, those individual regions come with a chunk of overheads, etc
I see. I might just have to give it a go then. ๐
Thanks for your reply
Damn villagers taking up half the tick time sometimes. ๐
You can read this blog post if you like to get some insights on things to look out for.
https://cubxity.dev/blog/folia-test-june-2023
Yup, I read that before posting ๐. A way beefier CPU. I don't think Im investing in a 16 core CPU anytime soon with such low playercounts. Maybe Folia will be better optimized later down the line for less cores?
Either way I will consult the findings from that test while doing my own testing.
Ive been following MultiPaper with high hopes but it seems rather dead.
it's not a case of optimising for less cores
You can go as beefy as your wallet allows
No, its a dedicated server, owned hardware.
and that's the recommended hardware for the recommdended player counts in which you'd wanna use folia
the recommended specs aren't catering to little rob who wants to run his 2 player server on folia, that's not something anybody cares to test for
I see, well, the future holds cheaper used higher core count CPUs!
Yeah I get that. Just for some reason my playerbase they just all want to be making insane farms all over the map lol.
https://www.spigotmc.org/resources/farmcontrol.86923/
Would something like this help?
Folia is good but it load so much chunk ๐ญ
๐ญ
~ month my drive go over 1400gb on anarchy server with avenger 150-200 players
Are you sure it's Folia? I could imagine that it is more due to the fact that your players move around in the world 
yes is it
Completely unrelated to server software
oh yea
i give them perm fly

no anticheat
Okay, but then Folia can't do anything big expect design a new chunk storage method ๐
yep, but idk why how it can be like that
my anarchy server was run for 15 days
and it go over 800-1200gb
avenger per day 50gb-100gb
Almost 1.5 TB is a lot for a minecraft world, but you also have 200 players who are constantly loading new chunks every day. (With fly!)
not really, they use hack to fly
i set this allow-flight=true
The only solution I see is that you either install a Worldboarder (I think Folia itself disabled the Worldboarder, so you whould have to develop a plugin for it or something else) or that you create a Folia fork in which you design a new method like chunks or the world in general can be saved.
whyshould i install Worldboarder on anarchy 
I mean
To keep the world small xD
you're running a gamemode in which people are known to do stupid stuff like wizz around the world at stupid rates, etc
and you're surpsied that they generated a fuckton of data
i didn't , this is first time i open anarchy with folia
maybe see if there are any oversized chunk files around, but, mojangs storage mechanism is not exactly ideal for disk storage space
nothing to do with folia
this is mc in general
also does drive affect to tps
i switch from nvme to hdd drive
and my tps run out
The only thing I would really think of is to take it or create a fork in which you rebuild the entire world storage logic. Secondly, of course it would be a lot of work. HDD and mc aren't ecactly the best of friends either.
tps runs out
I mean
chunk loading generally doesn't happen on the main thread
and so it shouldn't impact TPS, unless you have stuff inducing IO somewhere it shouldn't be
Thatโs like switching from a sports car to a bicycleโฆ. Why would you lol
i guess because its cheaper if he assumes that the world size will continue to increase at a constant rate every month. But I still wouldn't make the switch
๐จ
out of drive ๐
ranout money
Mfw
You should close the server and rethink your minimization model then if you are running out of money
Make a fixed world size...?
i have money to run server but don't have money to buy new drive lol
Iโd rather have a 20 players server where everyone donate to support the server than a 300 player server where no one donates
A f2p player is just a resource hog. They donโt pay they donโt play
simple concept
play?
Just make the world size lower
The issue is they wanna be 2b clone so they are basically shooting them sleeve in the foot having no border
Become a clone after you get money and popularity
Gl man
Well
I once did something cursed where I'd track player or any possibly player-induced changes to a chunk and, if none, do setSaveChunk(false)
That'd save storage if people fly a lot, but you have to be really careful not to discard actual changes
You have to come up with something like that first. But interesting idea
I could imagine that this could work really well.
Its just more computing power that is required, since the chunk of course always has to be regenerated, but you save storage space. Yes
@vernal wyvern
yes
my specs server is
Ryzen 9 7950X, 128GB, 2TB.
I9-13900K, 192GB, 4TB
still not enough to handle it
last time i remmember it take over 2000% of cpu usage
and also
how i disable global event sound
That could be true, but wouldn't it be worth a try? You can try it out for a few hours while there are fewer players and see how it workds in percentage terms.
.
Yeah, that's another issue
Folia already wants a lot of threads, unnecessarily inducing more gen induces more usage
with like 200 players playing
50 players are near spawn
but spawn is like 7 tps
๐
not sure
Yeah, not ideal at all to have many players in one region
I don't know how much you can fix the issue with the spawn region (i. e. whether you could do multiple spawns or something), but if you can get the issue to have less going on in one region, then perhaps having a server CPU would be an option less single core power and deactivating the save of chunks (if nothing happens in there). You have to weigh up what is more important to you
As far as I know, the chunks are not immediately written to the hard drive but are first kept in memory. If your players are very spread out and don't come to the same place often, that would be an option. You could also build in a logic that if a chunk as been loaded over 80 times in the last 3 hours, it will still be written to the hard drive even if nothing happens in there.
You could delete these chunks that are stored on the hard drive without making any changes to the chunk every 3 days or something like that if the chunks have not been loaded in the last 24 hours.
Those were just ideas that were in my head. Maybe there is something there that could be expanded further
I mean you can make the spawn radius game rule a lot
Works like multiple spawns ๐
I am still trying to do heavy command scripting for an experimental datapack, and would love to see my function scripts get multithreaded.
So the last time I brought this up I got strong rejection and was told that I was being foolish for using function scripts instead of mods.
Can someone confirm again that Folia does not thread command execution?
This will most likely straight up not work in Folia
Some commands don't play nice with the threading model of Folia. Since they can be replaced by faster and more powerful plugins (which is in line with the performance oriented nature of the project), there's just not a lot of concern for making all of them work
Hmm.. Is there a list?
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.
In the FAQ
Ah, yes. Everything I would want to use.
My issue with depending on plugins is that the maintainers sometimes disappear and we get version locked by plugin dependency.
We've been running a Minecraft server since 2010 and we have been burned by this problem enough times to be wary of plugin dependency.
Scripts are designed for global state
like, the entire vanilla commands are designed to run globally
in order to facilate that, you'd basically need to break the entire datapack ecosystem in favour of it
you'd need to rewrite the vanilla commands to be isolationist
or, you'd need to get them to run between all regions can tick, which breaks a good chunk of the reasons to use folia as you bring back the old age problem of somebody going crazy in one region being able to kill the entire server
Like, the reason why the answer is no, is generally because there is no way to fix that without already breaking all of that stuff anyways, or inducing large chunky overheads and dozens of risks in order to permit them to work as-is
Not worth the effort for a system which is stupidly slow in the first place
With that level of experience, why not learn Java? You'd save a lot of effort and open so many avenues. Unlimited potential.
Hey, any insight on why its not building ?
Task
patchSpigotApi FAILED
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 'folia@aaaaaaaa.(none)')
*** Please review above details and finish the apply then
*** save the changes with ./gradlew rebuildPatches
Task :getPaperUpstreamData FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task '
patchSpigotApi'.
io.papermc.paperweight.PaperweightException: Failed to apply patches
- Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.
BUILD FAILED in 3s
2 actionable tasks: 2 executed
it tells@you why
Identity one ?
2 commands
ah ye mb
