#folia-help

1 messages ¡ Page 28 of 1

young burrow
#

nvm

#

lol

#

i thought it was out now

fair merlin
#

We don't really do that kind of thing here.

young burrow
#

is there a place where i can support the work you do ?

tawdry gullBOT
#

If you want to support the PaperMC project financially check out https://papermc.io/sponsors

fair merlin
#

Offering services to trying to solicit services isn't really in line with our rules/community.

If you want to support the project directly you could sponsor Paper itself or Leaf directly.

#

But donating to Open Collective for Paper would work also.

young burrow
#

understandable

fair merlin
#

Folia 1.21 will likely be released after Paper drops the experimental flag. How long after that, hard to say.

primal oyster
#

donate one million dolla!

young burrow
#

yes

#

microsoft should give money to the people who keep their game worth playing

#

but tbh im more happy to see a community project then have microsoft come in and dictate

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.

shut sinew
#

now folia 1.21

tawdry gullBOT
#
__There Is No ETA__

Updates to Paper do not have any sort of estimate for when they release, ever. Any and all updates will arrive when they are ready, and the only thing to do is wait for them patiently along with everyone else.

shut sinew
#

it's been less than an hour and its not here and i am LIVID!!

#

jokes

arctic tapir
#

jokes are supposed to be funny

shut sinew
#

L

frigid sleet
#

just praying that the developers make folia 1.21 soon

livid crag
#

@shut sinew @frigid sleet please stop asking for eta and keep this channel for those who need help with Folia

#

It gets annoying

left light
#

When Folia gets stable and officially supported, would it make sense to be backported to older verisons <1.19.4 or do i miss something ?

arctic tapir
#

No

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.

left light
#

yeah i've read that but isnt that for the development progress ? So when its stable and supported wouldn't it theoretically be a nice thing to be backported ?

viral stone
#

No

#

You don't write a whole bunch of new code to then go backwards

#

sure, I'm sure that some people would love folia for older versions, but, there is little interest from leaf in backporting his years of work in various subsystems back to older versions which aren't really used

left light
#

yeah, okay i get that point

#

ty

desert sleet
#

Folia 1.21!!!

tawdry gullBOT
#
__There Is No ETA__

Updates to Paper do not have any sort of estimate for when they release, ever. Any and all updates will arrive when they are ready, and the only thing to do is wait for them patiently along with everyone else.

solar relic
#

When will folia get full spark support?

arctic tapir
#

ask spark that

solar relic
#

okay

arctic tapir
#

there's a pr somewhere

marsh mapleBOT
#

(669c58dc6ed5010734cf17d6) // @desert sleet (@xlouecifer / 777977589339389972) has been warned by @livid crag (177150983258767360)
Reason: stop asking for ETA

wooden wraith
#

Not asking for an eta, but I am correct that since paper is now stable, folia will be next correct?

primal oyster
#

Not necessarily

tepid bronze
#

Well, it is gonna be in the works now, that's for sure. After all, Folia is a fork of Paper

twin spindle
desert sleet
wooden wraith
#

I will once I get my next paycheck

#

my project is a big undertaking

#

and folia is an integral part of it

livid crag
#

It is reasonable to assume it will be worked on next

#

but as always there is no ETA

wooden wraith
#

Hence, not asking for an ETA 😉

arctic bear
#

🤔

tepid bronze
#

I can give an ETA

#

First builds by next week

#

Release in 2 weeks

#

-# (This message does not actually represent the official ETA of Folia. Please take this as a joke)

arctic tapir
#

no

azure vine
#

Hello,
Someone got a 1.20.4 Folia build to share plz ?
Can only build the 1.20.6.. ! Would be lovely, thks

livid crag
azure vine
stark rain
#

Hi, I have a project to organize a 5-day event with a maximum of 300 players in the same world. The goal of the event is to farm resources and bring them back to the spawn (a very brief summary, but the players will be spread out). I would like to know if people run Folia servers in the context of a vanilla SMP to see if Folia is ready for this type of server. The event is still in the stage of researching how to host a large number of people on a server, and Folia seems like the top solution. The event will not be ready soon, so any information about what's next or missing in Folia interests me (I have seen the regiontodo.txt, but it hasn't been updated since last year).

daring nimbus
#

You will get pretty much the same performance as 300 players on Paper, likely a bit worse. So pretty terrible
Folia is great if players are spread out, but there is zero performance benefit to using Folia when everyone is in the same region

stark rain
#

oh oops, i wanted to say world in the first phrase, mybad.... (its 2am where i am)

#

so players will be most of the time spreaded out

fair merlin
#

If you have powerful enough hardware you can support 300 people in close proximity for a little bit if they aren't doing much. But there haven't been many tests seeing what happens when they get spread out again without a restart. And you'd need a very expensive server.

granite reef
#

The official version of Paper 1.21 has been released. When will Folia be updated to support it?

#

🤔

fair merlin
#

It'll get updated when it's updated, basically. You'll have to be patient.

granite reef
#

okay, thank you😢

raven abyss
#

Random question for anyone who knows the answer. If you have one low tps region does it slow down the rest of the server or are all other players completly unaffected

fair merlin
#

Generally it won't.

#

That's kind of the point.

#

But it also kinda depends. If that region crashes it might take the server down eventually.

raven abyss
#

thanks i just won an internet argument

tender zenith
#

Is there a way for this plugin to support folia ?

daring nimbus
#

the developer needs to update it to support Folia

#

You can only use plugins specifically adopted for Folia on Folia

wide shale
#

Hey

fair merlin
#

The JVM is always going to use more than you allocate. Just like on Paper.

wide shale
fair merlin
#

Either lower the Xmx or increase available RAM on on the server.

wide shale
#

I remember doing this before but each time my server hit its ram limit and killed it so I freed it up

wide shale
fair merlin
#

If you have 128GB available on the server then you're probably fine. Either lower the Xmx to keep max RAM down or just accept that it'll go higher.

wide shale
#

I think my pterodactly is not clearing the ram. Evening player count is around 60 online, morning is 7 or 8 but pterodactly is still using 82 GB. This doesn't get fixed without resetting it.

wide shale
fair merlin
#

It doesn't sound abnormal. RAM usage will stay high until you restart to free it up.

wide shale
#

Do you mean xmx in startup?
-Xms60G -Xmx60G

#

should be like -Xms60G -Xmx40G ?

fair merlin
#

No, you can't have xmx smaller than xms

wide shale
#

But I don't understand this. The Pterodactly User guide
said to leave 2 or 3 GB of extra RAM. Why does this thing use 20 GB? and it increases day by day

#

If you do not reset your server, like at the end of the 5th day, too much RAM will be used and the server will kill itself because it uses ram from other servers and then out of memory.

#

If ram usage will increase forever. How will I use my second and third server, I allocated RAM for them. But when the ram usage in main folia survival continues to increase like this, there is not enough ram left because i have others servers and main server kills itself.

desert sleet
#

How many cores and ram needed for folia?

#

I honestly thought I would only need 20 gb ram for players less than 50

fair merlin
fair merlin
#

I probably wouldn't run Folia in ptero, personally.

desert sleet
wide shale
#

Using an extra 20 GB RAM is literally unacceptable. That's too much. Ptero does not clean the ram and it is increasing gradually.

paper siren
#

If the memory usage exceeds the Java heap size that much, you might want to look into NMT or similar tools to figure out what’s going on there

desert sleet
paper siren
#

Depends on how many players you want to play simultaneously

desert sleet
paper siren
#

You‘ll probably be fine using Paper then

desert sleet
#

It's not using all the cores which is very annoying for me

livid crag
#

RAM is usually never the bottleneck. Id say you even gave too much.

#

#paper-help and send a spark report there on your lag issue

paper siren
desert sleet
#

I see, guess I will have to find that out for myself then

desert sleet
fair merlin
fair merlin
#

I'm not as experiencd with ptero but like I said I'd ask them. Seems like maybe a config you could change.

desert sleet
#

The lag isn't that significant since it's just 19tps but it's definitely alarming

fair merlin
#

Folia wants a lot of cores and fast cores.

Paper wants fast cores but will make use of more cores in some cases.

desert sleet
# fair merlin Folia wants a lot of cores and fast cores. Paper wants fast cores but will make...

Ohh this I get, thank you very much. I would actually gladly claim that all my cores are fast but rather insufficient to run it all on one meanwhile others aren't doing any work 2% -> 3% and the main core is 100%. although they alternate, I want them all to work equally either all goes 100% or none(I'm a server dev of 2 months so correct me if my beliefs are wrong) I will put folia to the test with this statement thank you

loud crescent
#

You’re probably better off running paper, trying to optimise it and then switching to folia as a last resort

#

50 players should be more than manageable on paper

fair merlin
#

Yep

loud crescent
#

@desert sleet

desert sleet
pseudo meadow
#

players are taking fall damage on long distance tps (portals, homes, etc)

#

only things i can think to blame are either folia itself or zessentials

loud crescent
#

try it on paper

pseudo meadow
#

but i’m not sure why it would effect portals as it shouldn’t listen to those events

fair merlin
#

Anything like that would need to be tested without plugins / on Paper.

dry scaffold
fair merlin
#

Seems like a plugin but hard to tell from so short of a log

dry scaffold
#

can be hard to find without plugins classes in stack trace :c

lucid thistle
#

but you can't switch quickly so it's not a great last resort

#

you more need to come up with good player projections and if it's above 90~ then consider multiple servers or folia

stark rain
lucid thistle
#

What size SMP worlds are people running to get advantages out of Folia?

paper stone
lucid thistle
livid crag
#

most SMP with world border will never benefit from Folia.

#

If you want a SMP example that uses Folia, see 2b2t and DonutSMP

primal oyster
#

we have a load view distance on 7 on donutsmp

#

and we spread ~60-70 players on a map that's
50000 x 50000
(replicated across dozens)

pseudo meadow
tulip swift
#

does Geyser support folia?

fair merlin
#

You’d have to ask geyser

paper stone
cerulean ember
#

Is Folia only on Windows or can I setup Folia on an ubuntu server?

viral stone
#

it's java

cerulean ember
#

I know but how do I setup it up?

viral stone
#

supporting only windows while making a perf oriented piece of software would be moronically comical

#

exactly like you setup a normal minecraft server using java

viral stone
#

when the base software we're modifying is multi-platformed, boiling down support to the worse performing platform we 'support' would be stupid

tepid bronze
#

Yeah that is true

cerulean ember
#

I only find tutorial to compile Folia on windows

#

So i tought it was only for windows

tepid bronze
#

You can probably just compile on the terminal

#

Using gradle

viral stone
#

exact same instructions to build folia as to build spigot

tepid bronze
#

I never build spigot before lmao

cerulean ember
viral stone
#

I'd imagine the people are targeting tutorials on windows because it's the platform they have access to vs having to setup and learn how to use linux to get that adsense money

tepid bronze
#

Well, if you are using the cmd, the commands are the same

loud crescent
#

please do not run folia on windows

#

leaf will cry

#

and we dont want that

tepid bronze
viral stone
#

speak for yourself

tepid bronze
#

Building is fine

loud crescent
#

its like buying a sports car and then taking the wheels off

tepid bronze
loud crescent
#

NO 🗣️

#

joking

cerulean ember
#

I have this error when i try to run the gradlew.bat

tepid bronze
#

try without the bat

cerulean ember
#

working

cerulean ember
loud crescent
#

yeah ur not compiling it on actual windows

#

.bat only for w*ndows

tepid bronze
#

Windows is great

loud crescent
#

no ^_^

tepid bronze
#

Yes, perf not good. Yes, linux is better for nerds. But Windows mostly works well without needing too deep of knowledge what is going on

cerulean ember
#

idk how

loud crescent
#

wellll

#

the file extension doesn't technically matter

tepid bronze
#

I like my windows computer

cerulean ember
#

after I run the gradlew what do i have to do?

loud crescent
#

it could be a linux script thats just named .bat

viral stone
#

because when your start script is literally just java ... -jar, you're not using any of batches command features

tepid bronze
viral stone
#

so long as the file encoding doesn't screw you over, it will just work

tepid bronze
#

the gradlew cmd does not do anything on its own

loud crescent
#

i use windows to game

tepid bronze
#

I use IntelliJ for Java, Visual Studio for C/++/#

#

IntelliJ is cross platform

#

VS Windows only

#

So the choice is clear for me xD

cerulean ember
#

Its not working again : (

viral stone
#

read it

cerulean ember
viral stone
#

yes

cerulean ember
viral stone
#

no

fair merlin
#

Same as Paper.

#

Make sure to read the Folia documentation if you’re asking a question like that.

lapis finch
#

does PlayerTeleportEvent not work with Folia?

primal oyster
#

yes

fair merlin
#

Correct.

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.

fair merlin
#

Make sure you’re reading the documentation we have.

tulip swift
#

so folia only supports 1.19.4+?

fair merlin
tulip swift
#

why?

fair merlin
#

Because there are lots of fixes and improvements in it. Folia is still in active development. Lots of changes since 1.19

#

Eventually there will be more changes in 1.21. Sticking on older versions on something so new and experimental means you'll have a ton of issues and leave a lot of performance on the table and be missing fixes and features.

#

Pretty much the same reason you should be on the current version of Paper also, but multiplied by 50 because of the experimental active development still happening on Folia.

tulip swift
#

can i use my old 1.17 world on folia?

fair merlin
#

Folia is a fork of Paper so it'll upgrade a 1.17 world to the current version just like Paper does.

tulip swift
#

is there a guide on how to update my plugin to work on folia? or do i have to remove functions thats not supported by folia at all?

fair merlin
#

There's no guide, but there is documentation on what's missing. There's information in this channel and #folia-dev on which schedulers to use instead.

viral stone
#

that is a non-trivial thing which depends on the plugin

#

not really inclined to write a guide on concepts like concurrency, outside of that, see all the documentation scattered around

tulip swift
#

wheres the compiled jar or source code? i cant find it on the github page

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

viral stone
#

see the channel description

#

the raw source is not published, because mojang code, eetc

#

see the paper repos readme for instructions on producing a jar

loud crescent
#

feel like I should clarify that folia is not for the average user, and you should be sure that you need it before moving from paper to it

fair merlin
#

A very good point, yes.

tulip swift
fair merlin
#

If that's true then you almost certainly don't have the hardware to support Folia.

tulip swift
#

im using E5 2690

fair merlin
#

Yeah I would say that's probably not a great CPU choice for Folia.

viral stone
#

well, that is not magically going to deal with all your issues

tulip swift
#

at least there will be improvements

viral stone
#

well, it will make it so that people going crazy with stuff like TNT, the "harm" will be contained to just their region, which, is probably not too bad if you have the player spread

fair merlin
#

It could be slower than Paper.

viral stone
#

but, using decade old hardware for mc is generally just asking for issues

tulip swift
loud crescent
#

ehhh

#

sounds like you should explore why tnt is so laggy for you first

#

you said you’re on 1.17, which is very old and there’s been countless performance improvements in paper since then

tulip swift
#

but i want to give a try on folia

fair merlin
#

If you have the hardware and your players are all spread out ~1500 blocks apart from each other and your plugins all support it and you can compile Folia yourself - then sure, try it out.

fair merlin
#

And there's info in this channel

tulip swift
fair merlin
#

If you can't figure out how to compile Folia then it is not for you.

#

At all.

fair merlin
#

@tulip swift Please do not ghost ping people.

tulip swift
#

why there is no world.yml?

tawdry gullBOT
#

Where did paper.yml go?

In 1.19, paper.yml has been split into two files, both in the config directory. In paper-global.yml you will find configuration that changes behavior of the whole server, and in paper-world-defaults you will find configuration that can be overridden on a per world basis. See https://docs.papermc.io/paper/per-world-configuration for more information on overrides. The function of server.properties, bukkit.yml, and spigot.yml remains unchanged for this time.

tulip swift
#

is registering a command in paper-plugin.yml same as the bukkit plugin.yml?

viral stone
#

no

#

paper-plugin.yml does not support command registration

#

you should look towards a command framework or using the brigadier API

tulip swift
#

i cannot teleport to other worlds
player.teleport(Bukkit.getWorld("world_nether").getSpawnLocation());

viral coral
tulip swift
#

without world.yml how do i load a world?

viral coral
#

you don't

fair merlin
#

This is covered in the documentation.

#

Which you still appear to have not read.

viral coral
#

yeah practically everything you've asked is already mentioned in either documentation or literally being told to you in plain english in the error itself

primal oyster
fair merlin
#

Have you read the documentation, pins in this channel, FAQ, and so forth?

woeful finch
#

Okok

#

Just use purpur

fair merlin
# woeful finch Just use purpur

Those are two vastly different projects, but feel free to use whatever you'd like. We don't support software that isn't ours, though.

woeful finch
#

Rude

fair merlin
#

Not sure where you're getting that. I'm just letting you know that if you want support for software that isn't ours, you have to reach out to the folks that support it.

twin garden
#

Hello ! I am looking to self host my servers at home and I am thinking about buying mini pcs to host my Minecraft network.

What do you think about the i9-13900H processor ? For Folia server of course, I have an average actually of 10 players but I plan to have an average of 70-80 that year, will it be sufficient to host it ? It's a smp server

#

Currently I am hosted in a data center with a I9-13900k

fair merlin
#

CPUs with ecores are probably not going to be ideal for Folia.

twin garden
#

That was I was thinking about yeah

fair merlin
#

But only way to know is to test. You're a bit below the total threads recommendation.

#

Folia can run on slower hardware but generally you're going to want high end CPUs to get the benefit.

twin garden
#

ahaha yeah yeah I saw that last week x) I will maybe stay a bit longer in datacenter and get a better processor so !

#

Thanks !

prime juniper
#

Hey, i am thinking of makeing a minecraft server again and therefor i found Folia and i was wondering about a few things...

wich minecraft versions is folia?
can folia handle async block break events?

my intention is i would like to make a Minecraft Prison server (the servers where u have enchantments that may break like hundrets of blocks with one click sometimes...)

viral stone
#

1.20.6

#

no, because touching the world async is generally unsupported, you'd generally want to use plugins able to do that kinda thing

prime juniper
#

i will code my plugins by hand

#

and i have always had the problem that when i used multiple threads to break blocks it was a problem with paper like 5 years ago so i just wondered if this is able to do async block breaks. but thanks for the answer.

cerulean ember
#

how do i compile another version (i dont want 1.20.6)?

loud crescent
#

checkout an old commit or tag

#

assuming folia has tags it’d be the best way

#

just know old versions are likely to have issues and we won’t be able to give you support for them

#

@cerulean ember

cerulean ember
#

Ill try

fervent yarrow
#

I am planning to build a new towny server, is it now suitable to use folia? Are there any sample servers using folia?

loud crescent
#

personally i would suggest running paper, and then if you have lag issues then investigating folia

fervent yarrow
loud crescent
#

it's hard to say, as a score really probably around a 6

#

most of the bigger plugins are working on folia support or already have it

tepid bronze
loud crescent
#

I think the bigger question is, do you have a lot of custom plugins or are you planning to?

#

issues is the wrong word i guess, more things like world border feature not existing

#

@fervent yarrow

fervent yarrow
loud crescent
#

then you'll need to talk to your developers and make sure they understand how folia works and how to write plugins with it

marsh mapleBOT
#

(66a2b8576ed5010734cf1809) // @quiet sand (@flukzaza1996 / 237795342802878465) has been banned by @viral stone (126975485493248000)
Reason: Discord scam

primal oyster
#

Ooooooos

#

Someone got banned

fervent yarrow
#

oh nice Thenk You guys heart

fair merlin
#

@prime juniper We don't really allow that kind of thing here.

small mauve
#

Does Folia just had map data?

livid crag
#

Wdym by that?

fierce knotBOT
livid crag
#

Looks like your map data is invalid. Do you have any plugin modifying them?

small mauve
#

That's what I thought too. I have zero plugins that touch map data. I have incremental backups of map data just to ensure but it randomly occurs after I stop the server and then start it again.

#

They randomly get set to 0

livid crag
#

Look in server log during that time to see if there were any error or indication of why map data was failed to save or something.

small mauve
#

The logs I attached above come from startup

#

I am going to clear all the 0 byte map data, document what I have now with data written to it and back it up. See if it occurs again on my next restart and compare the before and after.

finite hinge
#

I wonder if there is some logic in there to eventually give up on waiting for things to wrap up nicely assuming they're frozen/broken and just tries to do what it can and you have a region that is running really slowly or was in the middle of doing some IO (from a plugin)

ocean geyser
knotty egret
#

When will version 1.21 be released?

tawdry gullBOT
#
__There Is No ETA__

Updates to Paper do not have any sort of estimate for when they release, ever. Any and all updates will arrive when they are ready, and the only thing to do is wait for them patiently along with everyone else.

wide shale
#

Hey

#

My Folia Server starts up and then shuts down suddenly. What is the reason for this?

tepid bronze
#

Can you send the complete log?

wide shale
#

I deleted all the worlds and let it recreate but I still get this error

tepid bronze
#

With startup and all?

wide shale
#

Here

wide shale
fair merlin
#

Need to see the whole thing.

If that's all that's in there, start the server again and grab the full log and post that.

wide shale
#

Oh i see

#

Sure give a minute

#

Here

fair merlin
#

Well you really shouldn't be running it as root/administrator, as the warning at the top says. I'd probably start there. But we also don't support offline mode servers.

wide shale
fair merlin
#

Like I said, we don't support offline mode servers. Sorry.

wide shale
#

I see thanks.

viral stone
#

you need to make sure that you run the task to get a mojang mapped jar

grim ether
loud crescent
#

it being a large part of your timings isn't an issue, just suggests the server isn't under any load

hollow gust
#

I have a problem with folia, despite 90 players spread around the world, regions do not want to be created. there are some options in the config that I could have missed?

viral coral
#

you only have 1 region thread

#

what are you hosting this on

hollow gust
#

but its hosted in pterodactyl cointainter

inner swift
#

CPU model, your core count is low

#

You'd need to override the thread amount in the config, but note that you're most likely running in hardware that is below the recommended minimums so it's hard to comment on performance

hollow gust
#

you mean this in paper config?
if so, io or worker?

inner swift
#

Folia config

hollow gust
#

I don't see any folia config file, I should mention that it is version 1.20.6

#

prob meant this

inner swift
#

Yeah, the threads setting

hollow gust
#

so why i cant set anythink to -1? Its basically just survival without any specific mechanics

viral coral
normal plume
#

hi, im struggling to compile folia
i'm doing ./gradlew applyPatches but i get this error:

> Task :paper:patchCraftBukkit FAILED
Execution failed for task ':paper:patchCraftBukkit'.
> io.papermc.paperweight.PaperweightException: Command finished with 128 exit code: git -c commit.gpgsign=false -c core.safecrlf=false add src
#

is there smth im doing wrong?
i cloned the folia repo which i think is what i should dom then js doing standard papermc compilation stuff

loud crescent
#

do you have git installed?

normal plume
#

yes

inner swift
#

It selected 1 thread for you because you're below the recommended minimums

tulip swift
#

which is better for folia?

tepid bronze
#

The one with more cores

#

No clue which one of those it is atm, just look it up

tulip swift
#

they both have 16c

#

32t

tepid bronze
#

In that case I suppose it does not matter

#

Just choose the less expensive version

tulip swift
#

can a single chunk use multi thread if its load is too heavy?

timid grotto
#

no

paper stone
viral coral
#

the 4564p is just a rebranded 7950x

tulip swift
viral coral
#

one is for consumers

#

there is practically no difference in what they are, pick the cheapest / most available one

tranquil epoch
#

no pcie lanes? same socket?

viral coral
#

just like the xeon e-2x00 series are basically rebranded high-end desktop cpus

sonic loom
#

Hi everyone! I wanna ask that if there a way to build Folia 1.17.1? Please reply for me if your guys have the solution!

loud crescent
#

no sorry

sonic loom
#

so what is the lowest version of folia bro?

solar relic
#

1.19.4 but not supported and has crash exploits

#

and you need to build it yourself

sonic loom
#

I build it and it just kept loaded on 1.20.6

solar relic
#

i don't recommend using any versions other than 1.20.6

sonic loom
#

but for some reason

solar relic
#

they have crash and potentially dupe exploits(specially on folia)

sonic loom
#

i need 1.17 😄

#

oke leme see

#

tks for help @solar relic

solar relic
#

folia doesn't have 1.17 version

solar relic
sonic loom
limpid ice
#

how to build plugins support folia XD

loud crescent
#

don’t use the regular paper scheduler mostly

#

you’ll need some knowledge of how asynchronous code works

solar relic
limpid ice
#

I know

sonic loom
#

okay

limpid ice
sonic loom
#

yeah

#

maybe change the version in gradlew.propreties file right?

finite hinge
#

No, you have to checkout an old commit where Folia was on 1.19

#

You can't just edit the latest version to make it spit out a 1.19 version

solar relic
fair merlin
# limpid ice folia have a 1.19 ?

You should not be running anything but the most recent commit of Folia. There's a TON of improvements and bug fixes from the 1.19 builds.

Not to mention exploits and crashes. Folia is still a work in progress, in active development. You should be on the most recent version.

#

@sonic loom you too.

limpid ice
finite hinge
#

I doubt any of your plugins support Folia 1.19 but not 1.20.4/1.20.6

finite hinge
#

More likely they just don't support Folia at all

fair merlin
limpid ice
#

oh

fair merlin
#

You can't just use Paper plugins on Folia.

#

So.

#

Yeah.

finite hinge
#

can't*

fair merlin
#

(Corrected)

limpid ice
solar relic
#

just fork them if they has source code

fair merlin
#

Plugins have to be built specifically with Folia in mind so they don't cause problems and crash.

So since you need to update stuff anyway you should update to 1.20

fair merlin
solar relic
sonic loom
#

so instend of Folia, I should use Paper for arnachy server?

fair merlin
#

If you aren't sure of the pros and cons of Folia, then yes.

solar relic
sonic loom
#

thanks for the help!

#

also another question

#

Is there any solution to run an outdated plugin?

#

instend of changing it NMS

fair merlin
#

Update it.

#

It depends on the plugin, but generally not really, no.

fair merlin
solar relic
fair merlin
#

Probably makes more sense to just not mention it then.

sonic loom
fair merlin
#

That's the benefit of Open Source Software.

sonic loom
#

but it not Open Source 😭

solar relic
#

fun fact: LPC works on folia but you need to add "folia-supported: true" to the plugin.yml and compile it idk why the dev just doesn't add it

sonic loom
#

i really hate this bro

fair merlin
#

If you don't have the source you can't really update it.

#

Not really much you can do there.

fair merlin
sonic loom
#

hate that 😭

solar relic
fair merlin
#

It works just fine right now, that doesn't mean you won't run into some sort of edge case.

fossil vigil
fair merlin
#

Again, we'd rather not recommend people do something like that without going through all of the code and making sure it'll actually support Folia.

fossil vigil
#

it's all a game of probabilities if you haven't properly synchronized your code

sonic loom
#

bruh @solar relic

#

maybe wrong branch bro

fair merlin
#

This will be the least of your issues.

sonic loom
#

okay

#

I'm just trying to build folia for the survival shard

solar relic
limpid ice
#

nc

#

its work

solar relic
#

but it is not a good idea to use outdated software for an anarcy server

solar relic
#

Players will crash it within seconds not even minutes.

limpid ice
#

my server in developing

#

have a 80 thread

#

128gb ram

solar relic
#

it doesn't matter if someone uses a crash exploit

limpid ice
#

xeon gold 6133

fair merlin
#

Threads and RAM aren't going to do much when people use one of the many well known exploits.

#

Also I would not use a Xeon Gold 6133 for Folia.

#

First off, it has 32 threads, not 80. Secondly, it has poor single core performance.

limpid ice
#

I know

#

that i need multithearding performance

fair merlin
#

For Folia you want fast single core performance AND a lot of cores.

#

Generally that means one of the modern high end CPUs, which ends up being cost prohibitive for some.

solar relic
#

you need something like AMD EPYC™ 9554P

solar relic
limpid ice
fair merlin
#

I wouldn't really recommend something with e-cores.

limpid ice
#

i don't have money to buy AMD 😭

fair merlin
#

But we also don't support 1.19 anymore

fair merlin
#

So I can't offer you any more help.

#

Anything further you'd need to figure out on your own.

limpid ice
#

okey

#

thanks for help

keen carbon
#

Best processors for Folia I recommend AMD threadripper

solar relic
keen carbon
# solar relic AMD EPYC™ 9754S

I think threadrippers are best suited for folia as they offer both higher cores and higher frequencies. It is also important to have high frequencies in folia. EPYC processors cannot offer as high frequency as high threadripper. So threadripper seems to be the best option for folia.

carmine brook
#

Single core performamce is what matters, not clock speed

viral stone
#

if you have the player spread garaunteed, having the extra cores can be better

#

it's all going to boil down to your players and the server type

solar relic
#

if you are 2b2t dual AMD EPYC™ 9754S is better

viral stone
#

people used to love the old Xeons for minigame type stuff, because the chips had more than enough cores to just run 20 dozen servers to help spread the load over

keen carbon
keen carbon
solar relic
viral stone
#

Question is generally more on finding what you're willing to throw your cash towards hardware wise

keen carbon
viral stone
#

well, yea, but once again, it's all down to how much you wanna throw at it

#

part of the reality here is that folias target audience is not the audience which is flocking of folia in a sense

quaint zenith
quaint zenith
fair merlin
quaint zenith
keen carbon
solar relic
#

Ampere Altra MAX M128-30 is also insane

fair merlin
#

Wouldn't recommend ARM chips for Folia at this point.

#

Also this is not really help related conversation anymore. Random CPU conversation should go in #general

solar relic
#

oh, sorry.

strong nimbus
#

When 1.21?

tawdry gullBOT
#
__There Is No ETA__

Updates to Paper do not have any sort of estimate for when they release, ever. Any and all updates will arrive when they are ready, and the only thing to do is wait for them patiently along with everyone else.

prime juniper
#

I wanna play around with Folia but can't justify buying a VPS/dedi. Has anyone ran Folia/velocity on Proxmox before?

primal oyster
#

nop

prime juniper
#

I have a Proxmox VE host w/ a 7900x that would be perfect as a testbed but I'm not sure what approach I would take in terms of LXCs and VMs and whatnot

tepid bronze
#

In general: Folia will run on low end hardware

#

But it will not run well

#

For develpement/testing purposes, go for it

#

But otherwise, just use paper!!

finite hinge
#

7900X is kind of on the edge

#

It has less than the recommended number of cores but if you pregen your world it's probably got enough

prime juniper
#

Oh yeah it'd be purely for development. My main concern is that I'd still want to treat it as if its a production environment for future-proofing if/when I migrate later on

#

i.e I want to try and structure everything w/ best practices. Even just for education purposes

fair merlin
#

Probably not viable as a production environment. Usable as a testing/dev one.

tepid bronze
finite hinge
#

Oh, that's going to be the same as any other server you deploy

#

Like, the difference between deploying Paper and Folia is zero as far as devops goes

prime juniper
#

Oh alright awesome

#

I've been out of the loop when it comes to server hosting for years and am still stuck in 2019 with most things. The idea of getting more than ~100 players at once is hard to fathom

tepid bronze
#

I mean, if you are only going to get 100 players, might as well stay on paper

#

Unless they are really spread out of course

fair merlin
#

100 players is indeed doable with the proper hardware and configuration.

#

Not so much if you're on slow hardware and slap a ton of unconfigured plugins together though.

#

Make sure you read the docs and pins on Folia so you're aware of the limitations.

prime juniper
#

The performance issues were completely unbearable

#

This is a super vague question but is there anywhere I could find a technical writeup or overview of how huge servers are structured these days? Mostly in terms of infrastructure and whatnot

fair merlin
#

Not aware of anything like that. But it's not overly complicated and really doesn't need to be. High end dedicated server, careful plugin selection and configuration, and Paper optimization.

prime juniper
#

Oh alright, nice. I'm probably overcomplicating things

fair merlin
#

Anything like fancy tooling/etc won't really improve server performance. It's just preference people have for setting stuff up.

#

A lightweight linux install and a bash script to run Paper still works great.

prime juniper
#

That makes life a lot easier then, thanks

#

Gonna look into Velocity too. Seems super promising

tepid bronze
#

So you could theoretically have 4 servers @ 25 players, and thus have insane performance

#

But ofc that means that the players can't interact with eachother directly, unless they are on the same server

viral coral
#

not really anything that has noticably changed infra wise, bungeecord/velocity is still a thing too

#

folia is a single server aswell

inner swift
#

Maybe put it in a Docker container before calling it a day (or, if you want to be fancy, Pterodactyl)

kindred hinge
#

hello, is i5 12600k good for folia server?

fair merlin
unborn kelp
#

anyone know how to fix?

unborn kelp
viral stone
#

you cut out the actual error

#

scroll up

unborn kelp
fair merlin
# unborn kelp

Read the message. It tells you how to fix the issue in the error.

unborn kelp
#

finallly fix it, but no 1.21 for my server

fair merlin
#

There is no Folia 1.21 yet.

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.

wooden wraith
#

Not asking for an ETA but is it true that Leaf is currently working on a new feature to enhance performance before updating Folia to 1.21 or is it because he hasn’t gotten to it yet. Either of which like I said not pestering for any sort of ETA just a simple status update

finite hinge
#

No idea

wooden wraith
inner swift
#

There were the new Moonrise patches but all or enough of them have been ported to Paper already

primal oyster
#

Ah

livid crag
#

I am going to start muting people asking for eta in alternative ways chatting

tall marsh
#

"ate"[::-1]

opaque rose
#

sugar

#

Normally updating to 1.21 wouldn't take that long at all, I think devs should make the coding process public.

#

Instead of letting us wait around aimlessly.

fair merlin
#

Waiting is unfortunately all you can do.

#

If not being on 1.21 is a problem for you then Folia probably isn't a good choice for you.

loud crescent
#

you’re more than welcome to fork folia and update it yourself if it is so easy 🫶

fair merlin
#

That, too.

#

But do be aware that we don't support any forks.

arctic fulcrum
#

Thanks!

jagged ether
#

I had no idea who and why pinged me

arctic fulcrum
#

Will do, sorry

jagged ether
#

It's fine

swift gale
#

Heya, I’m soon going to be building a server machine, but need some advice. With folia & an estimated peak player count of 300 players, what do you think I should go with specs wise? Specifically, what CPU & ram?

twin garden
#

Big support for all people maintaining Folia, this is a huge innovation for Minecraft servers ❤️
Anyone complaining about 1.21 not realeased yet and also complaining about lack of content, I think that's not a Minecraft version issue but a lack of content on theirs servers. That's said x)

twin garden
swift gale
#

Sweet

viral coral
#

a more realistic answer

swift gale
#

And I’ve been hearing that it’s a good rule to have 256mb ram per player

viral coral
#

just get a high-end desktop cpu e.g. 7950x

#

widely available at hosts

swift gale
#

Okay

viral coral
swift gale
#

What would be more suitable

viral coral
#

just get 64gb system memory and it'd suffice with 32 - 48gb ram probably

swift gale
#

Alright

#

I wanna run it on proxmox, with pterodactyl. Does that make a difference?

#

The MC server isn’t the only thing that will be running

#

But will be by far the most costly

viral coral
#

folia is heavy

#

especially if you actually get 300 players

swift gale
#

Would it be best to not go with folia?

viral coral
#

if you think you can actually get 300 players, folia is probably your only choice

swift gale
#

Mmm

viral coral
#

eitherway aslong as you use LXC and don't give stupid CPU limits

#

should be fine

swift gale
#

So no proxmox?

viral coral
#

you can use proxmox if you feel like it, just use LXC within proxmox

#

and not actual KVM virtual machines

swift gale
#

Ahh

viral coral
#

but if you can actually get 300 players i wouldn't recommend sharing the dedicated server with other services

swift gale
#

Good 2 know

#

So a 7950x & 64GB 3200 MHz?

#

Should I go faster

#

Or is 3200 already good enough

#

I don’t have the largest budget in the world

viral coral
#

3200mhz doesn't exist on ddr5

swift gale
#

Oh shoot the CPU is strictly DDR5?

#

Ok

viral coral
#

if budget is a massive issue i'd consider aiming for a lower player count and just using paper

swift gale
#

Mmm

viral coral
#

since you can get a lot more suitable hardware at a lower price & sharing resources with e.g. proxmox is less of an issue

#
  • folia is not plug and play, plugins have to be adapted for it
swift gale
#

On that topic

#

How different is plugin dev with folia? We’re working on our own

primal oyster
#

thread safe

viral coral
#

read that entire bit

swift gale
#

Mk mk

wide shale
# wide shale Hey

By the way, I solved the problem. I learned that the problem is entirely related to java flags. I changed the flags and it no longer goes above a certain level.

granite reef
#

dev/1.21 is updated!!!!

#

ohhhhhhhh

fair merlin
#

If people see a message here they'll think "Oh someone needs help" and then if it's not a help message they're gonna be sad.

granite reef
#

okay, sorry

#

😢 my mistake

fair merlin
#

@twin spindle Please don't open more Github issues for stack traces. If you have issues, come here.

And 1.21 isn't done, it's still in progress.

twin spindle
fair merlin
twin spindle
fair merlin
#

Crashes aren't bugs. Crashes don't get Github issues.

#

Bugs get Github issues.

twin spindle
fair merlin
#

Right here.

twin spindle
#

I reported one crash with cat's on github and leaf will be fixed this crash

twin spindle
fair merlin
#

But the crash you reported is because the brand is brand new and not done.

regal anvil
#

that makes no sense? GH issue definitely should be the way to go, not posting it in a help chat and hoping leaf sees it?

finite hinge
#

Depends, help chat could be a bit of triage

#

Lots of errors aren't paper/folia bugs, they're plugins or bad configuration or something so posting here would avoid wasting triage time on github and get people an answer faster

loud crescent
#

it’s also because it’s just a branch that no one said to use

finite hinge
#

And then if it is actually a bug they can be directed to github to file an issue

loud crescent
#

I’m sure leaf is aware of many issues with it currently

finite hinge
#

Oh yeah if it isn't the default branch things are tricky there, it could be not done enough to even be worth trying, it could be something he knows about already, or you could be helping find issues before the branch is merged. Without a request for testing I wouldn't assume that last one though

regal anvil
#

He's never done a call for testing for a version update though. The vibe I get is that he pushes, lets devs who are "smart" enough to build it to try it out and report bugs, and then merges it. but alas, i'll drop the topic

twin spindle
#

just use new commit

arctic tapir
#

send your full latest.log

#

no

tawdry gullBOT
#

In the server folder, locate logs/latest.log, copy its entire contents to https://mclo.gs/, and then present the URL here to be reviewed.

idle furnace
#

No problems on your side with this one?

#

can't reduce the path more, it is already on the root

viral stone
#

lolwindows

idle furnace
#

yep

wooden wraith
#

Yeah I ended up using wsl to build all paper repo’s

twin spindle
#

so ./spark command doesn't work before patched, but I will installed plugin spark and I still can't use spark
[13:35:49 INFO]: The spark profiler is currently disabled.

loud crescent
#

@twin spindle have you tried adding the flag

twin spindle
loud crescent
#

I think it’s -Dpaper.preferSparkPlugin=true

twin spindle
loud crescent
#

try it

twin spindle
loud crescent
#

np, leaf should probably disable spark or fix it another way later

arctic tapir
#

it’s disabled

loud crescent
#

yes

#

but it’s disabled in a way where you need the property

arctic tapir
#

well I mean, folia is supposed to be used by technical people lol

fair merlin
#

Sure, but if it’s going to be disabled all the time the patch should be corrected.

viral stone
#

thing just needs to enable the sys prop by default until that's figured out on the spark side

twin spindle
twin spindle
#

hm, name tags doesn't work on pets, what do you think?

kind grail
twin spindle
finite hinge
#

You should fix it

kind grail
#

It is visible on my dog

twin spindle
#

i will try without plugin for test this

livid crag
#

It’s likely a plugin issue or client

kind grail
#

Most likely plugin? or it's some specific pet?

twin spindle
kind grail
twin spindle
kind grail
#

Yes, folia

loud crescent
#

see if it happens on vanilla mc client and without plugins

strong nimbus
#

help please

keen carbon
twin spindle
keen carbon
twin spindle
terse valley
#

will there be folia 1.21 this summer?

tawdry gullBOT
#
__There Is No ETA__

Updates to Paper do not have any sort of estimate for when they release, ever. Any and all updates will arrive when they are ready, and the only thing to do is wait for them patiently along with everyone else.

twin spindle
hot breach
#

is i7 14700F good on folia?

inner swift
#

It's below the recommended minimum requirements. It only has 8 performance cores, the docs recommend at least 16

#

The other 12 cores on that CPU are E-cores, which have low performance

hot breach
#

or completely useless

inner swift
#

They are used, but if you eventually need to get a heavy region there your TPS there will tank compared to a P-core
The scheduler seems to be smarter nowadays to avoid this, but if you need to saturate the 8 P cores (which is not that much depending on the server scale), there's no escape

#

Well, of course there is nuance and if your regions are lightweight, your mileage may vary

hybrid shore
#

And 13/14gn intel has stability issues

#

So just stick with amd

finite hinge
#

I don't think that's real 14th gen, aren't most of them just rebadged 12th gen with higher clocks?

#

If it is real 14th gen it might eat itself after running a server for a few months though, yeah

stark canopy
viral coral
#

it is definitely not resolved yet

loud crescent
idle furnace
brisk patrol
#

Folia works on a bungecoord server ? i've trying to find this information but I don't find it

loud crescent
#

yes but use velocity

viral coral
#

it's just like a normal minecraft server

#

it'll work

void elbow
#

I found the problem in the Folia kernel.

I'm using an IntelCore i9-12900K and 64 RAM and NVME 1TB.

I created a map that is not loaded 10,000x10,000. (/worldborder set 20 000)

Then I set the game rule /gamerule spawnRadius 10 000 and launched the bots with a 20-second delay each connection so that they could load the map without lags and gave them the /gamemode creative mode so that they wouldn't die and respawn.

I allocated 8-12 RAM to the server, but when I have 100-120 bots, my server starts to lag a lot and the TPS in the regions becomes 10-12.

viral coral
#

provide a spark

void elbow
#

give me spark folia

viral coral
brisk patrol
#

Alright thanks for the help 😄

hybrid shore
brisk patrol
#

Is there a recommend quantity of ram I should use ?

inner swift
#

Not really

#

Hard to say since the scale of Folia servers can be quite different from Paper

brisk patrol
#

Sorry if I ask too many questions—I'm kind of new here. Would it be a problem to initiate a Folia server on my network if I have 50 players online on another server ?

void elbow
inner swift
#

Nah, asking a lot is alright

#

I don't understand that question, though

void elbow
#

Can I change the size of the region on Folia? For example, I want 1 region to be 400x400 blocks. And so that they can touch. I do not want a very large map on the server.

For example, how it is done in ShreddedPaper: https://github.com/MultiPaper/ShreddedPaper

wicked mantle
#

You can't

#

Regions aren't set sizes

void elbow
#

How did they implement this in ShreddedPaper?

wicked mantle
#

ask them

viral coral
#

shreddedpaper is literally not folia

wicked mantle
#

Yeah was gonna say, it works fundamentally different to Folia

tall marsh
#

I do not want a very large map on the server.
folia is very likely not suitable for you then

brisk patrol
#

Folia on my localhost is running poorly compared to paper, is this a normal thing ? (I have laptop so It's not the best) . Im trying to implement to folia into my survival server and I wanted to know if this a good decision. (Sometimes I can reach 100 on a single survival and more soon I hope)

livid crag
#

What kinda hardware is your home machine? Foli by default requires more

livid crag
#

Folia only make sense if your SMP has huge huge huge huge maps with far or no worldborder and players have to be anti-social and don’t wanna play in large groups

livid crag
brisk patrol
inner swift
#

How are you determining it's slightly worse? Also, are you alone in the server?

brisk patrol
#

Maybe It's my computer. Tommorow Ill try on my server but I im kind of worriedd

inner swift
#

Oh, I misread some of that

brisk patrol
#

So It's a problem of my computer I guess right ?

fair merlin
#

I mean pretty much. On slow hardware Paper is going to perform faster.

chrome loom
#

So, my I am having some trouble with GC it seems, would anyone have any idea how to mitigate. Here's a spark profile from just before I brought the server down. The return to normal was after blocking all players from the proxy.

spark is a performance profiler for Minecraft clients, servers, and proxies.

viral coral
#

assuming you have the resources for it

#

try giving more memory and an alternative GC like generational ZGC

chrome loom
#

Alright I bumped it up to 64Gb, ill give it a shot

#

Would most of aikar's flags still be good to fly with zgc?

viral coral
#

no

#

just run alwayspretouch, disableexplicitgc, zgc & zgenerational

chrome loom
#

Sounds good

finite hinge
#

zgc burns a lot of CPU but none of it is on the main thread and it doesn't really need tuning

viral coral
#

it tends to do it's job well

finite hinge
#

It's good if you have cores to spare, especially now that its generational

viral coral
#

right

wicked mantle
#

oh damn that's a 10 core cpu

#

idk why I was expecting less

viral coral
#

are those actual players or bots? @chrome loom

wicked mantle
#

I got used to intel's dumb e-cores

chrome loom
viral coral
#

pretty good cpu usage then

wicked mantle
#

Someone using folia as intended mindblown kapp

viral coral
#

it's refreshing at best

chrome loom
#

With a large map, and (to the best of getting my players to) spreading out

#

We're working on doing another upgrade to a newer AMD cpu but for the most part this CPU has been holding out pretty well

wicked mantle
#

Which CPU you planning?

chrome loom
#

We're saving for a 3960X

#

And we are running on a dedi in a DC

#

so uh ThumbsUp

brisk patrol
#

Now that a powerful CPU, but for folia with 24 cores should work pretty well I figure.

viral coral
#

3960x would be more than fine

chrome loom
#

I'm pretty happy on how the i9 is working currently

brisk patrol
#

Me that want to change to folia. I have 80 players on a survival and my server is screaming to me xD.

viral coral
#

you can easily handle 80 players on paper with the right hardware

brisk patrol
loud crescent
#

silly michael has not seen how bad public plugins for survival servers are made

viral coral
#

i still run a minecraft server with public plugins

#

would you too like to run a sql query on every block place event and run out of memory because of it

loud crescent
#

i prefer when a db call is done every time a item moves in a hopper

brisk patrol
#

But with 80 players, can I manage to get at least 16 tps ? With paper.

viral coral
#

people do 150 players on paper

loud crescent
#

if you throw a long spark in #paper-help im sure someone will help

viral coral
#

aslong as you don't use a potato, not have shitty plugins taking up all of your server thread and have sane server settings

#

you'd be fine

brisk patrol
#

Alright I upload an spark

viral coral
#

if you want to use folia, be prepared to dedicate your entire server to it

keen carbon
#

Is anyone getting this error with Folia 1.21? This was not happening in 1.20.4. When I started using 1.21, it occasionally kicks you out of the game and you see this error again when you log in.

viral stone
#

something mangled something

#

client crash report stuff should have more info

keen carbon
#

I installed viaversion for trial purposes, I am entering the 1.21 folia with 1.20.4, could this be the reason? this happens very rarely

viral stone
#

well, that is not supported

#

and 1.21 made some changes that makes it easier to debug stuff

keen carbon
viral stone
#

you're using a client which doesn't have that

chrome loom
#

Does folia have different saving (playerdata and worlddata) logic from paper? I’m having issues with de-sync after a restart, which is causing loss of items/duplication of items.

primal oyster
#

Which version

chrome loom
#

1.20.6

#

also had similar issues on 1.20.4

kind grail
chrome loom
#

For example: player places down shulkers before reboot, world data doesn’t reflect that after reboot but player no longer has the skulker boxes.

#

or one player drops items on the ground and another player picks them up both had the items in their inventories.

#

I'm gonna work on replication steps tonight, but as I am about to sleep. Im not doing it right now.

inner swift
#

How are you rebooting the server?

chrome loom
#

with stop in the cli

fair merlin
#

@void elbow you're going to get faster responses if you post crash stuff here first to verify it's a bug rather than open a Github issue for a crash.

wicked mantle
#

offline mode anyways shrug

#

oh duh

#

they're using bots

fair merlin
#

Yeah but I'm guessing it's 300 bots joining a single region on hardware that can't support that.

#

Which would explain the crash.

wicked mantle
#

Yeah most likely

void elbow
#

./worldborder set 100000
./gamerule spawnRadius 50000

#

and bot joining

#

When I got 350+ bots and turned off the application, they all turned off abruptly and the server crashed.

fair merlin
#

So you had 350 players all quit at the same time?

wicked mantle
#

netty probably exploded

void elbow
#

and server crashed

naive fable
#

Looks like an issue in moonrise??

void elbow
fair merlin
#

This should be resolved on the latest commit.

#

You should always make sure you've pulled all changes when testing.

#

Espcially with Folia.

#

If you look at the commit message of the most recent commit it specifically has a ConcurrentUtil fix.

void elbow
#

Oh okay.

#

I closed issues

chrome loom
keen carbon
#

Has anyone experienced chunk freezing with Folia? This rarely happened in 1.20.4. When I upgraded to 1.21 it started happening very frequently. Is this caused by the plugin or Folia itself?

fair merlin
keen carbon
fair merlin
#

We don’t support offline mode servers.

golden mica
#

Has anyone encountered a memory leak in the latest version of Folia 1.21?

#

I tried some forks of folia and they all had the same problem

golden mica
twin spindle
golden mica
#

😭

#

😭

twin spindle
twin spindle
golden mica
#

i d k

loud crescent
#

folia
windows server

chrome loom
void elbow
#

What happened to the ender dragon? I can't hit it, it doesn't take damage. It is applied but in a very strange way, without taking into account the hit-box.

Folia 1.21 core

void elbow
#

No plugins

fierce knotBOT
void elbow
#

Steps to reproduce the bug:

  1. Create a new map and go to the world_the_end to the dragon.
  2. Restart server command /stop
  3. We launch the server and try to hit the dragon with a sword, almost no damage is done. Doesn't register hits
  4. When the dragon descends to the portal and is above it, it cannot be hit.
  5. Sometimes the damage goes correctly, but it needs to be done several server restarts. Every server restart the damage to the dragon works very strangely.
inner swift
#

Assuming latest, that feels bug report worthy

void elbow
#

The player said that he killed the dragon above the portal, but the dragon's death animation was in a different place

kind grail
keen carbon
void elbow
keen carbon
#

After recreate the end world, I didn't experience this problem again.

void elbow
#

I can't recreate the world 100 times. I need to fix the problem from the beginning.

twin garden
#

Hello !
Just a simple question, will spark will be included in 1.21 ? I have read that but I am not sure to understand

paper siren
#

probably at some point, but that requires some more work on lucko's side afaik

#

but the folia builds for spark should work fine

twin garden
#

okay thanks !

gloomy vault
#

It's folia already in 1.21!!??

ripe crest
#

I'm running it

#

but make sure to clone the dev/1.21 branch and not the master

gloomy vault
ripe crest
#

idk

#

compiled it today

gloomy vault
#

Uh

#

Ok ty

ripe crest
lucid flax
#

Has Folia modifications arround the errors of Minecraft such as sand duplication?

#

And Exploits of the vanilla Minecraft

lucid flax
#

I just want the exploits, ahahahahhaha, for technical Minecraft, but It's fine

#

I'm looking options, to run an "everything" server.

fierce knotBOT
obtuse basin
#

@lucid flax

lucid flax
swift gale
#

Hmmmmm so I’m building a machine for Folia servers, but am a little stumped on what I should do here. My CPU supports 5200mhz ram with 2 slots occupied OR 3600mhz with all 4 occupied. If I were to go with 2 sticks, it would be 96GB. If I went with 4, it would be 128GB. Is the added ram worth the speed hit?

#

Estimated player volume of 200-300 maximum

#

Maybe a bit more if they’re spread out across multiple servers. By that point I might have already upgraded to a new system tho.

chrome loom
#

Personally, the ability to have a larger heap with folia has helped. For example I’m running with a 64G heap (with overhead is about 87G). heap summary to show my setup

spark is a performance profiler for Minecraft clients, servers, and proxies.

primal oyster
#

You are using almost 16gb for 25 players

manic quarry
#

that's memory allocated, not used

#

memory used will fluctuate over time as objects build up and get cleaned up by gc

#

they have xmx set to 64gb, so the heap will take up to 64gb

#

because that's what they told the jvm it can take

chrome loom
#

For example if I took another heap summary 5s from that one it would probs be in the 30-50G range

#

luck of the draw and ZGC

primal oyster
#

Yeah ok I didnt notice it didn't guarantee a full GC before

#

Why do you think having a higher heap helped you?

#

Is it in terms of performance? What's your goal with that higher heap

chrome loom
#

With 32G heap and G1GC i was spending more compute on GC than on on the game, sometimes dropping to .1 or lower tps

inner swift
#

... Huh
I'm actually really curious to see a report of that

chrome loom
inner swift
#

Yeah

chrome loom
#

Lemme see if i have the profile saved

#

i get home from work in ~30min ill pull it if i still have it

chrome loom
#

correct as it was a background profile

arctic bear
#

🤔

spring jasper
#

Hello guys!
I'm not very used to Github, so I need some help if somebody here don't mind
I want to set 1.19.2 modpack to run with Folia, so here are some questions:

  1. How Folia works with mods? Github tells about unsupported plugins, and as I know, plugins work not that way how mods do, maybe someone here tested it before
  2. Folia Github provides version 1.19.4 - will it work with 1.19.2?

Thanks in advance!

swift gale
arctic tapir
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.

spring jasper
chrome loom
swift gale
#

oh shit

#

good 2 know

#

ty

true thicket
#

Guys, hi, is it normal that there are no /tick and /data commands on the server? Version 1.21

tardy blade
#

Does folia support regular spigot / paper plugins?

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.

arctic tapir
#

no

livid crag
#

Folia does not change anything to iron farm. Try default configs and try no plugins

dreamy elk
#

Does using the cross server system with Folia provide higher performance?

scenic raven
dreamy elk
#

I'm doing research for the future

arctic tapir
#

“cross server system”?

dreamy elk
finite hinge
#

That's... yeah no, you have to explain what you mean

#

Velocity? MultiPaper?

#

The answer to the first one is yes, the answer to the second one is you're speaking nonsense

dreamy elk
#

Maybe I didn't explain it properly :(

#

Could it be called merging servers?

finite hinge
#

So that'd be MultiPaper

#

That's an alternative (of sorts) to Folia, not something you can combine with it

#

I heard there was work on a MultiFolia but no idea what's going on there

#

Folia runs on a single server, it can just scale up to use a lot of cores on that server so you can get a 64 core EPYC thing and have it actually be useful. Running one world on multiple servers is a completely different thing that has never actually worked well. Really for it to work well the game would need to be designed for it so you'd need client/server protocol, world storage, gameplay, etc changes to make it fit that setup better

ripe crest
#

for me the world doesn't load on my folia server. What can I do?

#

1.21

fair merlin
#

Post a log? Any world that loads on Paper should load on Folia.

prime juniper
#

if many people were using performance-intensive farms across a folia server would the other regions be completely unaffected? or would there still be an impact

primal oyster
#

They may be affected