#folia-help

1 messages ยท Page 14 of 1

fallow stone
#

LMAO

tawdry gullBOT
#

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

tribal finch
void elbow
#

I was sent this in WorldGuard chat

viral stone
#

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

void elbow
#

Ok, I won't use it)

vast dust
#

They just commented out the thread check in a lot of places

#

Nicely done

timid grotto
#

how to have an unstable server

vast dust
#

I wonder how many times does it have to walk the stack before it voids the performance gains of multithreading

timid grotto
#

i love how they call them "fixes" when it actively makes it more unstable

hexed ice
#

not even a proper paperweight fork smh

tranquil epoch
#

yeah disabling thread checks is garbage

viral stone
#

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

livid crag
#

Yatopifolia

ember perch
#

What is folia

tawdry gullBOT
#
Folia

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

For more information:

Folia will:

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

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

livid crag
#

Take a read @ember perch

vocal shuttle
#

why would folia be bad for powerful but low core count

prime juniper
#

because it takes advantege from multi core not single core I think

vocal shuttle
#

we have an i9-9900k 8 cores

#

why can't a region tick and then another one ticks in the same core right after

viral stone
#

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

vocal shuttle
viral stone
#

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

livid crag
#

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

void elbow
#

or FoliaFabric

vocal shuttle
viral stone
#

No

north hatch
viral stone
#

Because you're completely dismissing the sizable performance hit over the regioniser itself

#

and the costs on individual regions

prime juniper
#

well making folia with plugins is already a hard thing

north hatch
#

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

viral stone
#

having more regions tick at once means you're flooding the heap with more memory crap

prime juniper
#

every plugin needs to make their own "folia" version I think

viral stone
#

which means that you genereally need more GC threads

void elbow
#

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))

viral stone
#

I mean, that's literally been done for years

north hatch
#

That doesn't have anything to do with Folia at all?

void elbow
#

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

livid crag
prime juniper
#

well there is a server software which creates server per core and manages to multithread them

#

but I forget its name

viral stone
#

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

prime juniper
#

well I'm waiting for folia to create something sandbox mmo

vocal shuttle
#

is there any documentation about how the region manager works? or am I just limited to compiling Folia and looking for my own?

void elbow
vocal shuttle
#

not how regions are created/merged

viral stone
#

c2me is just changing the chunk system itself

prime juniper
viral stone
#

i.e. the thing that loads chunks, etc

prime juniper
#

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

void elbow
prime juniper
#

yeah right?

void elbow
#

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?

timid grotto
# vocal shuttle why can't a region tick and then another one ticks in the same core right after

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

prime juniper
#

It will be a very popular software when folia plugins increase

timid grotto
prime juniper
#

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

timid grotto
#

yeah, every region threatens itself

void elbow
#

Why can't you make Folia Forge, for example, or Folia Fabric, what's stopping you?

prime juniper
#

that's why mob ai is difficult

viral stone
#

I mean

prime juniper
#

second of all

viral stone
#

nothing is stopping you from doing it

void elbow
#

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

viral stone
#

but, nobody in this space is generally doing large scale stuff in a modded environment

prime juniper
#

it is already difficult to manage entitiy or mob ai to comminucate with other regions I think

viral stone
#

There is a level of

#

This is the paper community

#

We work on paper

void elbow
#

hmm

viral stone
#

these techniques are applicable to literally any vanilla server software assuming you don't care about compat with the existing ecosystem

prime juniper
#

yeah you can create your own version but, good luck on that

void elbow
#

That is, your code can be transferred to Forge?

prime juniper
#

I didn't say that for humiliation but

viral stone
#

there is only so many hours in the day and nobody is paid to work on this stuff

prime juniper
#

that is really hard

viral stone
#

I mean, you can't just copy the code 1:1

void elbow
#

Could you help port your code to Forge if I point you to someone who can already do it?

viral stone
#

theres many dozen other considerations between the platforms

timid grotto
prime juniper
viral stone
#

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

void elbow
#

Leaf is the developer of Tuinity?

livid crag
#

Yes

#

Now paper

void elbow
#

best core in the world

#

Tuinity

livid crag
#

Paper has all Tuinity patch now

void elbow
#

I remember it was mego productive

void elbow
livid crag
#

So technically paper is currently best core

void elbow
#

Folia is now better than paper?

prime juniper
#

nah

timid grotto
viral stone
#

Folia is better than paper if you have a niche use-case

prime juniper
#

when folia finishs it is good for servers who has multicore

viral stone
#

for 99% of servers, folia would just be a performance hit

prime juniper
#

but if we are talking about single core

#

like 4core servers

#

paper is better I think

viral stone
#

Folia will probably never be suitable for mass adoption

void elbow
#

I need a core that can withstand on 1 server about 500 online at 20 tps

prime juniper
#

well

#

It is so hard

void elbow
#

As I understand it, Paper will not do this.

viral stone
#

The hardware requirements to "win" vs just paper already makes it pretty unviable and pointless to most servers

livid crag
prime juniper
#

yeah

#

but I think he wants modded

runic kayak
#

Didn't the migration drop the patch where you had to agree that tacos are the best in the eula agreement file?

timid grotto
viral stone
#

I think that was dropped in the middle of an upstream

void elbow
livid crag
prime juniper
#

oh god

runic kayak
#

So paper is clearly not the best server software anymore. ๐ŸŒฎ || just joking, I don't even like tacos ||

prime juniper
#

well he is using cracked software

foggy blaze
#

CrackedLix makes sense as a username lol

viral stone
#

We can all just agree that tacos are the best food in spirit

prime juniper
#

yeah

foggy blaze
#

Donโ€™t tell anyone but I sell crack ๐Ÿ˜†

prime juniper
#

Don't tell anyone but I use crack

void elbow
#

FoliaForge it's real

livid crag
#

Not our software but you can ask them for help

vast dust
#

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.

viral stone
#

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

subtle oriole
tranquil epoch
#

per world threading imposes most of the issues folia has with only a small portion of the gains it has

vast dust
#

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.

vast dust
viral stone
#

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

tribal finch
covert pumice
#

where from download compiled Folia for windows?

#

i'm using Paper, but want to try Folia

paper siren
#

Compile it yourself

covert pumice
#

but why there is no compiled version?

#

i'm not good in compile

novel lodge
#

then don't use it

#

what do you want to try it for anyway, it is not yet ready for production usage

covert pumice
#

Paper we can download compiled, but Folia not... Why?

tawdry gullBOT
#

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

bleak python
#

it's extremely experimental software paperOhhh

tawdry gullBOT
#

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

covert pumice
#

/folia-accept

tawdry gullBOT
#

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

novel lodge
#

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

covert pumice
#

i have my own server with 16 cores and 24 threads, with 32gb ram

#

i7 13-th

novel lodge
#

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

covert pumice
#

oh, very sorry then

#

waiting GOD folia

#

or C++ Minecraft server ๐Ÿ™‚

novel lodge
#

there is one, it is called bedrock edition

covert pumice
#

bedrock dont have plugins

#

i live only with them ๐Ÿ™‚

novel lodge
#

Folia doesn't as well lol

covert pumice
#

Folia have a lot of plugins too

novel lodge
#

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

covert pumice
#

but all going to make work theyr plugins on Folia now

novel lodge
#

when it is ready, for sure

covert pumice
#

one year, three?

#

to wait

#

bad news

#

Minecraft future is Folia i think...

viral stone
#

I mean, it's a niche piece of software for a niche usecase

novel lodge
#

I mean, this isn't the first attempt to make a multithreaded minecraft server either

viral stone
#

it's not going to "take over", most servers don't have the hardware, the need, or the dev team for it

bleak python
#

like you

viral stone
#

the niche use-case for it it is pretty much going to domiate in

bleak python
#

like me

#

oh this is folia-help

novel lodge
#

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

covert pumice
#

we will be like corporations ๐Ÿ™‚ after Folia start

#

if you have your own server - you god with Folia ๐Ÿ™‚

fair belfry
#

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

pale igloo
#

Hey is there a download link somewhere to test Folia ?

inner swift
#

There is not

pale igloo
inner swift
#

Yes

past rapids
#

hey, any idea idea why i get this?

arctic tapir
#

close intellij and rename Folia to folia in settings.gradle.kts

#

err

#

rename the folder I mean

past rapids
arctic tapir
#

rename the Folia folder to folia

past rapids
arctic tapir
#

the directory that you cloned

past rapids
arctic tapir
#

did you close intellij first

past rapids
#

yes

arctic tapir
#

show the new error

past rapids
arctic tapir
#

read paper's readme on which command to do

prime juniper
#

Is folia still being worked on? The last commit was 16 days ago

jagged ether
#

Yes

void elbow
summer fern
#

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.

lofty magnet
#

it's just a normal minecraft server, you run the jar

inner swift
#

The build instructions are in Paper's repo, same steps but you just swap out the repo

summer fern
#

epic thanks

hollow peak
#

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

livid crag
hollow peak
#

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

viral stone
#

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

exotic stirrup
#

<@&748618676189528155>

marsh mapleBOT
#

(64ebc36acdf07f25f6aca028) // @valid quiver (@.kim._ / 527421404874801193) has been banned by @wise epoch (1098722699116810331)
Reason: spam bot

arctic fulcrum
#

<@&748618676189528155>

marsh mapleBOT
#

(64ebe18fcdf07f25f6aca02a) // @analog lark (@game0395 / 594380272363896842) has been banned by @livid crag (177150983258767360)

summer fern
#

What are some of the commands that are added by folia?

livid crag
#

/tps is one

#

that's pretty much it actually.

summer fern
#

ah

#

I see

bleak scroll
#

is this the correct command to compile folia? I got it from jar.bat, but it fails if i run it

./gradlew createMojmapPaperclipJar
tall marsh
#

If you don't show the exception we can't say

#

But you probably want reobf

bleak scroll
#

i just want a jar i can run to test my plugin. would reobf be the correct task for that?

viral coral
#

you likely missed a step

bleak scroll
#

what are the steps?

viral coral
bleak scroll
#

ah ok, didnt realize it was the same process as paper

#

thank you, that appears to have worked

serene rapids
#

can I use datapacks with folia?

viral coral
#

a lot of commands used in datapacks do not exist on folia

#

datapacks work fine for e.g. world generation though

serene rapids
#

so it's better to only use datapacks that only affect world generation?

scenic sky
#

realistically anything else you would want to do should be a plugin

shell loom
bleak scroll
shell loom
#

ok nice

limpid fable
#

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.

finite hinge
#

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

viral coral
#

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

lofty magnet
#

@mods

#

ok, that doesn't work anymore xD

#

apparently one can't ping moderators anymore, sad ;_;

marsh mapleBOT
#

(64ede409cdf07f25f6aca02d) // @shut gull (@jojorwu / 800421807571337226) has been banned by @sullen sand (202850073812402177)
Reason: Spamming server invites.

arctic tapir
zealous sage
#

<@&748618676189528155> free ban

sudden tusk
#

Bonk

marsh mapleBOT
#

(64ee3bf8cdf07f25f6aca031) // @quaint coral (@carl5662 / 348749855126061068) has been banned by @rare hare (276788573666017280)
Reason: Spam ad (nudes)

zealous sage
sudden tusk
#

Oops I did it with built in not our bot. And apparently the delete one hour thing didn't delete them...

lyric cipher
#

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

arctic tapir
#

folia doesnโ€™t have its own config

lyric cipher
#

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

viral coral
#

if you don't have the recommended 16 cores, running stock paper is probably the better option in terms of performance

rocky lotus
#

Oh?
So my server with i7 8700 (6C/12T) won't do any good for folia ๐Ÿค”๐Ÿ™€
Didn't see the recommended cores

timid grotto
#

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

viral stone
#

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

worldly moat
#

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

fair merlin
real tendon
#

Sorry! Will send the message there and delete the one here

outer loom
#

hello, does folia make mods and plugins in 1.19.2? with a Velocity proxy.

inner swift
#

Folia is only compatible with Folia-specific plugins

outer loom
#

okay

lyric cipher
#

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?

daring nimbus
#

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

brazen island
#

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?

north hatch
#

You could try attaching a debugger if that's possible?

viral stone
#

if a region gets stuck it gets stuck, basically

#

grab a jstack, etc

regal meteor
#

This is prob a stupid question my apolgies but how big is a folia region?

tall marsh
#

Dynamic, based on where players are iirc

regal meteor
brazen island
# viral stone grab a jstack, etc

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?

viral stone
#

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

viral coral
brazen island
#

set threads of threaded-regions in paper-global.yml can get a max utilization of any size

viral coral
#

ah you're just unnecessarily overallocating

#

which doesn't help your situation here since you now have to comb through 256 threads

brazen island
#

i'm using 2x AMD 7t83, it has 128 cores 256 threads. works well (so far)

viral coral
#

okay you're not overallocating then

lofty magnet
#

does folia run on Intel's new 528 trheads RISC CPU? ๐Ÿ‘€

tall marsh
#

8 core 528 threads lol?

#

wtf

timid grotto
#

8 cores is clearly below the recommended specs wesmart9000

jagged ether
#

528 seems random

timid grotto
#

its like 66 threads/core i think

lofty magnet
#

math would dictate that, yes

naive fable
#

64 multithread threads and 2 single tread threads

lofty magnet
#

why 66 threads per core is the more interesting question

knotty egret
#

Why is the class not loading?

lofty magnet
#

provide the full error

knotty egret
fierce knotBOT
lofty magnet
#

I feel like this is a case of the class really just not existing

knotty egret
#

compile problem?

lofty magnet
#

more like a "creating the jar" problem

knotty egret
#

I use gradle

arctic tapir
#

do you have the shadow plugin

knotty egret
#

yes

#

But i didn't try

tawdry gullBOT
#

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

zealous belfry
#

Hello, I'm getting back into minecraft and I'd like to know what Folia is?

tawdry gullBOT
#
Folia

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

For more information:

Folia will:

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

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

zealous belfry
#

In other words, it replaces paper.jar?

tall marsh
#

Yes, it's a different server software

zealous belfry
#

okay, do you need to compile it? if so, with what?

arctic tapir
#

check papers readme for instructions

zealous belfry
#

๐Ÿ‘

prime juniper
#

Dumb question could a dual cpu setup work well with folia?

#

*function

viral stone
#

dual CPU setups have a performance hitch in some areas

livid crag
#

@still plover We do not encourage people sharing jar privately. If you need help, post the actual issue.

viral stone
#

that screams that you missed the 2nd step

#

(See the paper readme)

still plover
#

ty, ill try it out โค๏ธ

still plover
#

Sorry, last q from me. Which would be the proper jar?

viral stone
#

the reobf one

still plover
#

tyty

fallow stone
#

No commits for a while

timid grotto
#

and? its a project maintained by mostly 1 person in their free time

drifting mantle
#

Might be deploying Folia to a server soon, any live servers currently using it?

inner swift
#

2b2t

drifting mantle
hexed ice
#

yes but no

inner swift
#

They're still running Folia, they just reverted the map

drifting mantle
#

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?

inner swift
inner swift
drifting mantle
inner swift
#

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

drifting mantle
#

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?

inner swift
#

Yeah, you'd use the region and entity schedulers when needed for Folia, those will fall back to the scheduler in Paper

drifting mantle
#

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

inner swift
#

Oh fair enough ๐Ÿ‘€

drifting mantle
#

I managed to acquire play.mc so it was the perfect domain for it, haha

arctic tapir
#

doesn't that require you to have a address there?

drifting mantle
#

Itโ€™s been 5 years in the making to get it, needed some family there to help with it

fossil vigil
#

i just had to think of vin diesel when i read that ๐Ÿ˜‚

wanton ferry
#

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

inner swift
#

Does this happen often?

wanton ferry
#

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

proper moon
#

i wonder what monstor of hardware 2b2t is running with

arctic tapir
#

probably a intel pentium

proper moon
#

yea maybe

#

idk

#

maybe a i3

#

idk

devout scroll
#

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?

viral stone
#

You'll note that there are still no published builds

#

regionized multithreading is the advantages/disadvantages that folia offers

devout scroll
#

Is a eta?

viral stone
#

no

naive fable
#

Its ready if you know what you are doing

viral stone
#

I mean, it's still missing chunks of API, etc

#

so, isn't exaclty what we'd deem as ready

drifting mantle
#

Any folia compatible RTP plugin?

hexed ice
hoary raptor
#

So what kinds of changes do Paper plugins need to make to support Folia?

hexed ice
#

read the readme

pseudo ibex
drifting mantle
prime juniper
#

How to make a Folia Build without being a computer expert

arctic tapir
#

read papers readme

zealous belfry
#

How do I compile folia?

tacit tartan
#

read the message prior to yours

zealous belfry
#

?

#

sorrie I am french no speak english

arctic tapir
#

Lire le fichier README de Paper

prime juniper
arctic tapir
prime juniper
#

Ok, after that?

arctic tapir
#

you read it and follow the steps

prime juniper
#

Where should I read?

arctic tapir
#

"How To (Compiling Jar From Source)"

prime juniper
#

But can it be done through Replit?

tacit tartan
#

...why?

prime juniper
#

I don't have a computer

arctic tapir
#

how do you plan on running folia

prime juniper
tacit tartan
#

yeah no, Folia is useless on a free host. Just use paper

arctic tapir
#

just use paper

subtle oriole
prime juniper
#

Ok, thanks

#

A question

#

But you can remove the folder called "?"

frank fox
#

How good would Folia run on my 12C/24T server ?

viral stone
#

We can't tell you

frank fox
#

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

viral stone
#

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

peak elm
#

Anyone know how to compile the folia version of UnifiedMetrics?

chrome reef
#

anyone know how to compile folia ? I just want to host a server using folia

exotic stirrup
#

Have you readed the readme ?

timid grotto
#

paper readme

wanton ferry
chrome reef
chrome reef
exotic stirrup
#

Read the channel description

prime juniper
#

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"

drifting mantle
prime juniper
#

trollge excellent answer

inner swift
#

Just a sanity check, you're running /help from inside the game and not from the console, right?

prime juniper
#

both do the same

#

i just compiled the jar aswell so i thought i messed up something

jade wasp
#

Why :D

paper siren
#

why what

scenic sky
#

are we looking at that ship or your chat or the chunk borders

#

or the black sheep

arctic tapir
#

or the fish

buoyant vapor
#

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")

}`

daring nimbus
#

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

buoyant vapor
#

thanks so much, does this look correct now?

#

it went from red to purple

#

gradle was just working

#

thanks so much for your help

plush needle
#

anyone have a CPU recommendation for this specific server type?

#

do I buy a CPU with mostly Performance cores?

daring nimbus
#

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

plush needle
inner swift
#

At the consumer level your only options that meet the min reqs and are reasonably priced are 7950X or maybe 5950X

plush needle
daring nimbus
#

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

plush needle
daring nimbus
#

Not sure about that, but the 7950x only supports DDR5

plush needle
#

oh?

daring nimbus
#

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

plush needle
daring nimbus
#

I have no idea, I like renting servers

#

Buying is really not worth it. The hardware will be outdated before your investment pays back

plush needle
#

huh

daring nimbus
#

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

plush needle
#

wtf

#

wait wait what???

inner swift
#

Also additional headache with ISP networking

plush needle
#

what kinda hosting is that

#

at this point what even is the best hosting service?

daring nimbus
#

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

plush needle
#

bisect hosting charges like $120 a month for only 24 gigs of ram...? or is bisect just a scam xD

daring nimbus
#

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 kek wouldn't call it a scam, but I'm sure they are making a decent profit

plush needle
#

bruh there's so many of these damn hosting companies idfk what is the best deal ๐Ÿ’€

daring nimbus
#

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

subtle plinth
jade wasp
#

my server randomly stops, help .-.

torn tendon
fierce knotBOT
frank fox
slim delta
#

Is Folia pointless if I have a worldborder with Chunky to pregenerate all chunks on all worlds

timid grotto
#

depends on how big those worlds are

#

folia is only creates multiple regions in a world if there is enough space between players

slim delta
#

Are regions 512x512 areas like normal minecraft?

timid grotto
#

no

#

they are dynamically sized

#

regions will merge if they get too close

slim delta
#

So, Folia will run significantly better at a high thread low GHz CPU

timid grotto
#

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

slim delta
#

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

viral coral
#

you should still use a high end cpu for folia

#

not some dinosaur CPU with bad single threaded performance

dense acorn
#

What the minimum requirements for Folia?

fallow stone
inner swift
#

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

dense acorn
#

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?

inner swift
#

Depends on the CPU and how separated they are

#

I'm kind of concerned about that amount of RAM for 32 render distance

dense acorn
#

Oh yeah, + Aikar Flag

dense acorn
inner swift
#

Sounds reasonable

dense acorn
#

Good enough

plush needle
#

did anyone experiment with a lower end CPU? like one with maybe 4 or 8 cores?

scenic sky
#

you'd be shooting yourself in the foot doing that

dense acorn
dense acorn
dense acorn
paper siren
#

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

blazing bough
#

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!

fossil vigil
#

looks like you edited some files

fossil vigil
#

then do a git reset HEAD --hard

#

and git submodule update --init

#

should reset everything

tawdry gullBOT
#
Folia

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

For more information:

Folia will:

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

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

#

โš ๏ธ 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.

tropic otter
#

What is the cmd to build folia? I don't remembee

arctic tapir
#

read paper's readme

tropic otter
#

Ok

vernal wyvern
#

is this right

arctic tapir
#

no

#

need to add the paper repo

vernal wyvern
arctic tapir
vernal wyvern
#

thanks

pale igloo
#

Hey I was wondering how close was folia for a public release if there is a %

hexed ice
#

there's never an ETA

pale igloo
#

Ok ๐Ÿ‘Œ

keen fable
#

Hey! someone else got that strange bug where maps get reset ?

plush needle
#

whats going on

daring nimbus
#

"lower end CPU" as they said

fallow stone
#

Fast async world edit supports 1.19.4 folia but what about 1.20

rugged current
#

try it?

viral stone
#

pretty sure they have a branch or something you can compile

fallow stone
#

Ok

dense acorn
#

I'll wait till the host migrate me to better server in the future xD

plush needle
quartz tapir
#

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

inner swift
#

Yes, Folia replaces the scheduler

tawdry gullBOT
#
Folia

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

For more information:

Folia will:

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

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

quartz tapir
inner swift
#

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

quartz tapir
#

got it ty

potent flame
#

Is it possible to update from Paper to Folia?, or everything would be lost?,

Would that be recommended with 16 cores?

sly elm
potent flame
arctic tapir
#

their not

#

not without modifications

quaint ingot
tacit tartan
#

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)

devout zephyr
#

does redstone work on folia? What if different components are on different ticking regions?

devout zephyr
#

gotcha

tall marsh
#

I mean if the chunks are loaded so they connect, they would be in the same region anyway, right?

jagged ether
#

If you'd go close enough for someone loading the redstone hundreds of thousands blocks away it'd merge

sleek sigil
#

how could I compile folia?

hexed ice
#

see the paper readme for compile instructions

sleek sigil
hexed ice
#

yes

sleek sigil
# hexed ice yes

in which subsection are the compile instructions? I can't see them

hexed ice
#

oh wait, did not read the actual repo name

#

it's in the paper repo

weary escarp
#

Does anyone know how to find folia regions and identify them in game without op?

tall marsh
#

In console do op <your name> /s

coarse prawn
#

Hello, is there something wrong with running the server on the engine "Folia" on dual xeons E5-2699 V3?

inner swift
#

Well, their single threaded performance is really weak

#

That means you would need to keep things in an individual region to a minimum

coarse prawn
#

Epyc from folia test also have weaker single core

livid crag
#

They are definitely not on the same tier lol

coarse prawn
#

Yeah but single core bearly same lol

coarse prawn
#

Edit. Not bearly, significantly

past dagger
#

How would one go about finding out if a server is running on folia?

#

Idk if this is the right place to ask

hexed ice
#

press f3 and see if it says folia

past dagger
hexed ice
#

it will say folia (velocity) then

past dagger
#

Ok, so it's just running paper then?

livid crag
#

Who knows... you can just ask server owners
The branding can be changed anyway if one really wish.

past dagger
#

I guess if it's just velocity that means paper

past dagger
#

that would differiate it from paper?

livid crag
#

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...

west lily
#

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?

tawdry gullBOT
#

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

half sorrel
#

Well, thanks โค๏ธ

uneven hound
#

Hello, does anyone have any idea how many players can handle a dual xeon with 36 cores and 72 threads? (E5-2695 v4) ojo

viral stone
#

Nobody here can tell you

#

theres far too many factors involved

plush needle
#

does folia inherit all the patches that comes from paper? (i.e. item dupe patches, exploits, etc)

viral coral
#

yes

plush needle
#

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...

viral coral
#

probably not

void quiver
plush needle
inner swift
#

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

viral coral
#

alternatively just run fabric

plush needle
viral coral
#

no

#

if you're not expecting many players

#

just run fabric if you value your vanilla mechanics & dupes

plush needle
#

were there tests to see if paper performs better than fabric with the mainstream performance mods

late shale
#

Is there any plugin for scripting like Denizen, Skript, or Actions with Folia support available?

void quiver
#

|| god save us from the funky scripting tools made for minecraft ||

timid grotto
lavish fjord
#

Skript has an experimental build in works from limeglass but dont expect anything anytime soon

late shale
inner swift
#

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

digital ruin
#

i wan't compile folia, but got error when use ./gradlew applyPatches

viral stone
#

see the log file

digital ruin
viral coral
#

there's your issue ^

digital ruin
#

my issue is '^'?

viral coral
#

have you tried reading said error

#

specifically line 5194

digital ruin
#

oh..

#

thank you

late shale
#

20.01 TPS B)

arctic tapir
#

1 player

late shale
#

still more than 20tps

arctic tapir
#

catch up

thin snow
viral stone
#

I mean, doesn't even need to be catch up, computers just kinda suck at maths

formal shuttle
#

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

arctic tapir
#

what kind of hardware do you have

formal shuttle
#

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

arctic tapir
#

which ryzen

#

a i7 is not enough for folia youโ€™re better of using paper with that

formal shuttle
finite hinge
#

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

tawdry gullBOT
#

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

#
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.

eternal juniper
#

i have this problem when i open jar.bat, how can i fix it?

arctic tapir
#

you need to apply patches

noble flower
#

I know this isn't super relevant here, but does anyone know where id find dirtyfolia support?

arctic tapir
#

not here

noble flower
#

ik#

#

im asking if you have an idea if they have a support channel

jagged ether
#

We have no idea who that even is or who makes it

noble flower
#

alright, thanks

jagged ether
#

Open an issue on GitHub if you can't find their support place

#

ofc on theirs

noble flower
#

ofc ofc

noble flower
#

Ir is it all startup arg based?

arctic tapir
#

paper configs

#

java args

noble flower
#

in paper-global.yml

#

?

arctic tapir
#

think so

#

not sure

mossy roost
#

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

hexed ice
#

follow the compile instructions in the paper readme

arctic tapir
#

wrong jar

mossy roost
#

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`

arctic tapir
#

scroll up

#

and send the full log

mossy roost
#

F:\Downloads\Folia-master\Folia-master\Folia>gradlew applyPatches

Task paperpatchSpigotApi FAILED
Task :getPaperUpstreamData FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task 'paperpatchSpigotApi'.

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>

arctic tapir
#

should be more above

#

oh

#

you need to clone it

mossy roost
#

i cloned it in a second ago tho?

hexed ice
#

downloading the zip isn't the same as cloning, as it doesn't include the git repo

mossy roost
#

clone folia again or paper?

viral stone
#

Try a shorter path

hexed ice
#

you'll also want to do it in F: itself

mossy roost
#

ok ill try clone just in F

#

damn

`F:\Folia>gradlew applyPatches

Task paperpatchSpigotApi 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>`

arctic tapir
#

try enabling long paths

#

or use wsl

mossy roost
#

ok ill try wsl rq

hexed ice
#

or use one of the suggested flags to get more info

mossy roost
#

Thank you guys very much wsl did work ๐Ÿ’“

fallow stone
#

What's more stable 1.19.4 or 1.20.1?

arctic tapir
#

.1

#

is updated

#

and supported

eternal juniper
#

does the folia server decrease spawn number of mob and animals?

finite hinge
#

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

kind narwhal
viral stone
#

without basically restoring per-player, not really

#

spawning on servers really just needs replacing, but shrug_animated

kind narwhal
#

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

livid crag
#

The issue is the moment it isnโ€™t exactly vanilla, people will whine and complain lol

finite hinge
kind narwhal
#

ฤฐs there a stacker, spawner, crate plugin that supports folia?

true ether
#

So I have a 16 Core 32 thread 5950x cpu is it good enough?

#

because on the website it says 16 cores recommended

arctic tapir
#

the cpu will probably work yes, but there are also other factors

true ether
#

Like the clock?

arctic tapir
#

i meant how far your players are from each other

#

and whether youโ€™ll only run folia on it etc

true ether
#

about 5k blocks from another player

#

there is no border

#

yeah and only folia

tawdry gullBOT
#
Folia

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

For more information:

Folia will:

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

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

novel gorge
#

๐Ÿ‘‹ 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 ?

arctic tapir
#

send logs

novel gorge
#

sometimes it launches without having the error, but you can connect only once onto the server before having the issues

fierce knotBOT
novel gorge
#

can get more logs if needed, tried this morning (1am french time), and got the same issues

viral stone
#

I mean, it's just a typical network issue; folia has pretty much 0 bearing on that

novel gorge
viral stone
#

Folia has 0 bearing on that

novel gorge
novel gorge
viral stone
#

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

novel gorge
#

i'm using 1.1.1.1 as the dns x)

#

so dont think it would be a stale dns

novel gorge
viral stone
#

All I can tell you is what the JVM itself is telling you

#

a connection to mojangs services timed out

novel gorge
viral stone
#

No idea, depends on the hosting environment

novel gorge
#

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

viral stone
#

People elsewhere are suggesting that the auth servers in general are having issues

novel gorge
#

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

viral stone
#

No idea, but it's generally 100% our of our remit

novel gorge
#

remit?

viral stone
#

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

novel gorge
#

iguess i'll use paper then ๐Ÿคท cause it works perfectly x)

#

thanks for trying to help me

paper scroll
#

What is currently the max number of players on folia?

livid crag
#

What do you mean by this

viral stone
#

probs the player record

#

Given that we have no way to verify anything, best we could say is "whatever 2b2t did"

azure badge
#

Do we now if there will be a new public test before the end of the year ?

livid crag
#

There is nothing planned

#

Make sure to like and subscribe to #announcements if you donโ€™t want to miss anything

neat rampart
#

Would Folia help we with large Player amount

Like 200 players civilization Events

foggy blaze
neat rampart
#

Yea I'm using Ryzen 7950x3d

#

And for the civilization event it would be spread out per island

neat rampart
#

Like at event start it was rough on paper

#

But later when players started to die it was more stable

jagged ether
#

So one region lagging won't lag another

#

It's all basically try and see

neat rampart
#

kekwhyper time so summon players and destroy it

inner swift
neat rampart
#

Hmm 2000 blocks would be quite farhmm2

inner swift
#

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

neat rampart
#

Well like ne and sw would not be in the same region

inner swift
#

I suppose if you have 4/8 groups separated far from each other, could be worth the try

finite hinge
#

And then cascade through any players within 1500 blocks of any of the players in that region and so on

daring nimbus
#

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

raven hare
#

What procesor i need for map size 2mlnX2mln bล‚ocks? (Normal_World + x2Nether + x2The End) + 130Plugins + 200players?

unique quail
#

I can't build folia for shit I'm stupid or something

#

If someone could tell me how it would be nice

prime juniper
#

what is min folia region size?

unique quail
#

I get this output when doing the command on the last line

viral stone
#

the compile failed for some reason

#

make sure that you're running the operations on a sane filesystem, etc

unique quail
#

In this pic

#

And sorry for the ping I didn't see your name

#

A lot of things were removed

unique quail
#

Man this is really frustrating

unique quail
#

Does anyone else have this problem?

#

I'm literally at my drive directory

viral coral
#

what filesystem are you using

unique quail
#

?

viral coral
#

right

#

because /media/server/<randomid>/ sounds like some external usb drive

unique quail
#

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

viral coral
#

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

unique quail
#

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

viral coral
#

can you not send screenshots with a resolution of 640x480 or whatever it is

unique quail
#

My bad

viral coral
#

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

unique quail
#

Do you think that's what's causing it?

#

Should I format the drive and start over?

viral coral
#

reproduce on a sane ext4 drive and it'd probably be fine

unique quail
#

Alright

#

Thanks

unique quail
#

@viral coral it got worse, I can't even apply patches now

#

This sucks so much man

viral coral
#

"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

unique quail
#

I add sudo at the start and it fixes everything ๐Ÿ’€

livid crag
#

couldโ€™ve just run everything as root to begin with (no donโ€™t do this)

unique quail
#

It worked yippee

opaque mortar
#

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.

viral stone
#

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

opaque mortar
#

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. ๐Ÿ˜–

livid crag
opaque mortar
#

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.

livid crag
#

If it's for event, Vulter has rental by hours

#

that would work

viral stone
#

it's not a case of optimising for less cores

livid crag
#

You can go as beefy as your wallet allows

viral stone
#

you can run on less cores

#

it's just there are overheads

opaque mortar
#

No, its a dedicated server, owned hardware.

viral stone
#

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

opaque mortar
opaque mortar
vernal wyvern
#

Folia is good but it load so much chunk ๐Ÿ˜ญ

#

๐Ÿ˜ญ

#

~ month my drive go over 1400gb on anarchy server with avenger 150-200 players

feral hazel
inner swift
#

Completely unrelated to server software

vernal wyvern
#

i give them perm fly

#

no anticheat

feral hazel
#

Okay, but then Folia can't do anything big expect design a new chunk storage method ๐Ÿ™ƒ

vernal wyvern
#

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

feral hazel
#

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!)

vernal wyvern
#

for real

vernal wyvern
feral hazel
#

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.

vernal wyvern
viral stone
#

I mean

feral hazel
viral stone
#

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

vernal wyvern
#

i didn't , this is first time i open anarchy with folia

viral stone
#

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

vernal wyvern
#

also does drive affect to tps

#

i switch from nvme to hdd drive

#

and my tps run out

feral hazel
#

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.

viral stone
#

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

livid crag
feral hazel
#

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

livid crag
#

Average anarchy server moment

#

I guess you can delete chunks like 2b2t tried to do Clue

unique quail
vernal wyvern
#

ranout money

unique quail
#

Mfw

livid crag
#

You should close the server and rethink your minimization model then if you are running out of money

unique quail
#

Make a fixed world size...?

vernal wyvern
#

i have money to run server but don't have money to buy new drive lol

livid crag
#

Iโ€™d rather have a 20 players server where everyone donate to support the server than a 300 player server where no one donates

livid crag
#

A f2p player is just a resource hog. They donโ€™t pay they donโ€™t play PMA simple concept

arctic tapir
#

play?

unique quail
#

Just make the world size lower

livid crag
#

The issue is they wanna be 2b clone so they are basically shooting them sleeve in the foot having no border

unique quail
#

Become a clone after you get money and popularity

vernal wyvern
#

im just fine ๐Ÿ™‚

#

doing tiktok with no paid

unique quail
#

Gl man

inner swift
#

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

feral hazel
#

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

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

feral hazel
#

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.

vernal wyvern
#

.

inner swift
#

Yeah, that's another issue
Folia already wants a lot of threads, unnecessarily inducing more gen induces more usage

vernal wyvern
#

with like 200 players playing
50 players are near spawn

#

but spawn is like 7 tps

#

๐Ÿ’€

#

not sure

inner swift
#

Yeah, not ideal at all to have many players in one region

feral hazel
#

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

jagged ether
#

I mean you can make the spawn radius game rule a lot

#

Works like multiple spawns ๐Ÿ’€

twilit bison
#

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?

inner swift
#

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

twilit bison
#

Hmm.. Is there a list?

tawdry gullBOT
#
Folia

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

For more information:

Folia will:

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

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

inner swift
#

In the FAQ

twilit bison
#

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.

viral stone
#

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

vast dust
weak moss
#

Hey, any insight on why its not building ?

Task paperpatchSpigotApi 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 'paperpatchSpigotApi'.

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

arctic tapir
#

it tells@you why

weak moss
#

Identity one ?

arctic tapir
#

2 commands

weak moss
#

ah ye mb