#folia-help

1 messages · Page 12 of 1

viral coral
#

do you have any errors?

lofty magnet
#

probably because something is wrong

dapper aspen
#

logs are like super long, hold on

#

its like 100+ warnings

#

heres the gradle scan

viral stone
#
C:\Users\Clxud\Folia\Folia-Server\src\main\java\org\bukkit\craftbukkit\util\CraftMagicNumbers.java:377: error: cannot find symbol    
        if (!pdf.isFoliaSupported()) {
#

I mean, that would suggest that you didn't have the patche appied properly or something

dapper aspen
#

i ran the gradle script for the patches tho?

#

unless something changed

arctic tapir
#

what commands did you do

viral stone
#

rerun applyPatches?

dapper aspen
viral stone
#

like, some folia specific method is missing, so all one can assume is that they failed for some reason

dapper aspen
#

hold on im gonna reclone the repo and try a fresh build

marble escarp
#

when i build it there is a bunch of errors. is there a guide anywhere on how to do so?

arctic tapir
#

what commands did you do

spring patio
#

Is there an auto restart plugin for folia?

#

I searched and couldn't find

pseudo ibex
spring patio
pseudo ibex
#

Plugman X supports folia in its beta builds

#

Just restart the server

#

Off and on

spring patio
#

I just need to turn the server on and off on a schedule

arctic tapir
#

I think you misunderstood what they meant lol

spring patio
#

In general, is there any point in restarting the server or can I run it once and forget?

pseudo ibex
viral stone
#

auto restarting was pretty much only ever a thing due to older versions of java using garbage collectors which had some big issues

#

leaking plugins

#

and a few small leaks in the server

#

for the most part, auto restarts are a waste of everybodies time

daring nimbus
#

just make your start script start the server again once stopped, and then use /stop

steady zephyr
spring patio
#

Thank you for the explanation

fair merlin
marble escarp
# arctic tapir what commands did you do

.\gradlew.bat applypatches and then .\gradlew.bat createMojmapPaperclipJar

This is the error:
`

Task paperpatchCraftBukkit FAILED
Task :getPaperUpstreamData FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':paper:patchCraftBukkit'.

io.papermc.paperweight.PaperweightException: Command finished with 128 exit code: git -c commit.gpgsign=false -c core.safecrlf=false apply --ignore-whitespace --directory=src/main/java
--BUILD_DIRECTORY--\Folia.gradle\caches\paperweight\upstreams\paper.gradle\caches\paperweight\taskCache\patchCraftBukkitPatches.zip-1791796128\net\minecraft\world\level\storage\loot\predicates\LootItemConditionRandomChanceWithLooting.patch`

I am going to try installing the latest version of Java

modest mist
#

can i get old version build?

hexed ice
#

you can checkout a specific commit and then build that

#

but, why would you even do that?

hexed ice
marble escarp
hexed ice
#

clone folia directly into C: and try again

marble escarp
marble escarp
#

It worked!

marble escarp
#

./gradlew.bat applypatches has NOT given any errors but is currently 82% done at 41 minutes in

#

is that normal?

jagged ether
#

also 41 minutes is way too much

marble escarp
jagged ether
#

Welcome to Windows

#

Building using Linux or Windows' WSL will generally be way faster

#

or well, excluding the directory from Windows Defender should help too

marble escarp
#

ohh ye

#

kk

austere tartan
#

for me folia doesnt even build on windows

#

linux works fine

jagged ether
#

always does.

marble escarp
#

I have built it and is this the server? : folia-server-1.20.1-R0.1-SNAPSHOT-mojang-mapped.jar

jagged ether
#

createReobfBundlerJar

marble escarp
#

ohh kk

#

ty

#

l do that

#

then what do I run

jagged ether
#

whatever that spit out

marble escarp
#

folia-server-1.20.1-R0.1-SNAPSHOT-reobf.jar?

jagged ether
#

yes

marble escarp
#

Oh i fixed it

#

Dont worry

#

THanks for your help!

manic basin
marble escarp
#

wow

#

thats nice

marble escarp
#

I just started the folia server and this terrain generated:

livid crag
#

Looks like your seed was changed

timid grotto
manic basin
#

I don't know how to use asyncschedle

#

Can anyone give an example?

arctic tapir
#

..?

proper moon
#

asyncschedule?

arctic tapir
#

what about it

proper moon
#

It was a assumption for the person above

sand rapids
#

Hello, I did not find the necessary information about per-player-mob-spawns in the Paper config, it is not there by default when creating the Folia server, does this mean that it is not supported?

viral stone
#

Spawrbs are already handled per region

#

Per player is not as big if a deal

sand rapids
#

ok, I got it, because when playing, it was noticed that the spawn rate of mobs began to seem noticeably smaller compared to paper

#

thanks for the answer

finite hinge
#

If you can tell the difference you probably either have other problems or too many people in a region

pseudo ibex
#

Someone told me “ Don't try to make it safe for stupid, just make it fail for stupid” and that “It's the current philosophy of Folia. Catch stupidity but don't try to fix it” is this all true and does folia even have a philosophy?

#

It is 3:12 so maybe I should sleep

#

But I’m curious

jagged ether
#

Knowledge of what you're doing is expected

#

Catching calls from invalid threads is just a fail-fast precaution, everyone makes mistakes

#

even Spigot does that

vast dust
#

That it should fail sooner, rather than later, is a natural application of the principle; that preconditions be applied explicitly without dependence on circumstance, another.

marble escarp
flint gulch
#

whic plugins currently supports folia is there a any list?

flint gulch
#

ty

flint gulch
#

does skript supports folia?

desert shale
#

nvm thats was on matrix, skript doesnt support foila as it seems but you can try it

flint gulch
#

yea skript doesnt support yet

#

itemsadder also

#

skript is okey but I want itemsadderrrr

desert shale
#

items adder is op

flint gulch
#

dirtyfolia doesnt accept it also

#

looks like my folia run is finished

paper granite
#

Hi all. I found a duplicate issue on the Folia GitHub https://github.com/PaperMC/Folia/issues/19 that wasn't resolved there. Someone who goes by the username 'lynxplay' on GitHub claimed that the person of who submitted the issue, was hitting the path limit on Windows. However, I am having the same problem but my machine isn't hitting the windows path limit.

GitHub

Expected behavior When building the project I expect to build the executable files in build/libs dir Observed/Actual behavior Steps/models to reproduce Cloning the latest repository running ./gradl...

arctic tapir
#

try building it in wsl or directly on the C: drive

paper granite
#

Okay I will relocate the folder and try again

#

I relocated to the root directory of the C drive on Windows and it appears to have been resolved.

#

"D:\GrindMC\PracticeArena\Folia" was the original location of the clone

arctic tapir
#

then you were hitting the limit

paper granite
#

That is outrageous honestly.

arctic tapir
#

it's a windows thing

#

there's a registry flag

paper granite
#

I had previously tried it in just "D:\GrindMC\Folia"

#

And also failed there too

#

Thank you for the assistance.

#

Trillion dollar company can't get anything right lol

fossil vigil
paper granite
#

Unfortunately

fossil vigil
#

then dual boot

#

i do

arctic tapir
#

use WSL

paper granite
#

I prefer to not dual boot to be honest.

fossil vigil
#

okay well thats your choice

paper granite
#

Yeah :/

fossil vigil
#

but its a possibility that would fix your dev environment

#

you're just not considering it

bleak python
#

wsl works fine

paper granite
#

If it gets on my nerve enough, I'll switch.

fossil vigil
#

eh

#

i prefer not to let windows touch anything of mine

bleak python
#

well that's your choice

fossil vigil
#

yep

paper granite
#

WSL was good

#

But had to cut it as I was getting low on storage space.

#

I have a second drive now so I could reinstall a WSL distribution again

edgy obsidian
#

What would happen if a website offered a download link to a folia jar which is from the paper api?

#

is that allowed or-

arctic tapir
#

nothing can be done, but you really shouldn't advertise it

edgy obsidian
#

okay thank you

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.

arctic tapir
#

this biacally

full egret
#

Why the TPS vary a lot and fall down to 16-17 while the MSPT say very low??

#

Except the chunk gen what would be the reason

daring nimbus
#

Folia doesn't have tps catchup so the numbers will look a bit different. This looks very much fine

full egret
#

(and there are not a lot of mob)

full egret
daring nimbus
#

Have a look at the readme.md for how you can configure the threads it uses for different things

fair merlin
full egret
daring nimbus
#

yeah thats below the minimum recommended for Folia by a large margin

fair merlin
full egret
bleak python
#

We're gonna recommend Paper :^)

regal atlas
#

hi guys, im getting the following errors when im trying to build folia

Task paperapplyServerPatches FAILED
Task :getPaperUpstreamData FAILED

can anyone help me?

arctic tapir
#

show full log

regal atlas
arctic tapir
#

scroll up

#

reclone

regal atlas
#

i did that many times

arctic tapir
#

scroll up

regal atlas
#

that's all i have on cmd

arctic tapir
#

there's more

#

are you maing any changes

#

what command are you doing

regal atlas
#

after cloning and applying patches thats what i get

arctic tapir
#

do it directly on your C drive

regal atlas
#

like?

#

wdym

arctic tapir
#

C:

#

in that directory

regal atlas
#

ok ill try now

arctic tapir
#

or use WSL

regal atlas
#

or a VPS

#

should work the same right?

arctic tapir
#

yes

regal atlas
#

what's actually needed on the os of the VPS?

arctic tapir
#

git

regal atlas
#

gradlew, git and java?

arctic tapir
#

bascially

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.

regal atlas
#

Starting a Gradle Daemon (subsequent builds will be faster)

Task :getPaperUpstreamData
Invalid Java installation found at '/usr/lib/jvm/openjdk-17' (Common Linux Locations). It will be re-checked in the next build. This might have performance impact if it keeps failing. Run the 'javaToolchains' task for more details.
Invalid Java installation found at '/usr/lib/jvm/openjdk-11' (Common Linux Locations). It will be re-checked in the next build. This might have performance impact if it keeps failing. Run the 'javaToolchains' task for more details.

Task paperdecompileJar FAILED
Task :getPaperUpstreamData FAILED

FAILURE: Build failed with an exception.

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

io.papermc.paperweight.PaperweightException: Execution of 'org.jetbrains.java.decompiler.main.decompiler.ConsoleDecompiler' failed with exit code 137. Log file: /root/Folia/.gradle/caches/paperweight/upstreams/paper/.gradle/caches/paperweight/taskCache/decompileJar.log Classpath: /root/.gradle/caches/modules-2/files-2.1/net.minecraftforge/forgeflower/2.0.627.2/e7434db4306e8dd6cc81c2a72a5d700caefca09/forgeflower-2.0.627.2.jar:/root/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/20.1.0/2fcd1f3225bca0c4a7bc931142076f8c1e80993f/annotations-20.1.0.jar

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

BUILD FAILED in 11m 22s
2 actionable tasks: 2 executed

#

i don't understand what im doing wrong...

austere tartan
#

It is litterly telling u what the problem is

#

Invalid Java installation found at '/usr/lib/jvm/openjdk-17'

regal atlas
#

ive seen that but java is installed

#

openjdk version "17.0.7" 2023-04-18
OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu122.04.2)
OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu122.04.2, mixed mode, sharing)

jagged ether
#

check the log at the path that's mentioned

#

/root/Folia/.gradle/...

austere tartan
#

also that. prob still good to fix the invalid java installations as well

regal atlas
#

no logs in .gradle/

jagged ether
#

read again

regal atlas
#

so its the decompilerJar.log

#

lots of logs here, can't paste it here

viral stone
#

137 means you ram out of memory

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.

#

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

regal atlas
#

Some help?

viral stone
#

make srure that you don't have something else messing with the files

#

try running applyPatches again

#

maybe try a clean repo clone

regal atlas
#

it should download everything right?

viral stone
#

yes

regal atlas
#

ill run it again

#

same error

#

or not

#

yeah its same thing

viral stone
#

No idea

regal atlas
#

any other suggestions at least?

viral stone
#

maybe run gradlew cleanCaches

#

or manually yeet them from the gradle folder

regal atlas
#

you mean cleanCatche?

#

or cleanCatches

viral stone
#

The one that it says is a canidate

regal atlas
#

it got BUILD SUCCESSFUL with cleanCache

viral stone
#

well, yea, it just yeeted some stuff

#

try rerunning applyPatches

regal atlas
#

its running now

#

im waiting for it to finish

viral stone
#

failing that, might need to go purge the gradle folder manually, otherwise, idk

regal atlas
#

its done with same errors

#

where's that folder youre talking about?

#

.gradle or gradle

viral stone
#

eeer

#

generally it's a .gradle folder in the home folder

#

if you recloned the project and got the same error, it's pretty much unlikely to matter about the one in your own folder

#

like, all I can guess is that the thing pulled a bad copy of some mojang thingy

regal atlas
#

so you suggest i should delete it

#

and try again

viral stone
#

basically, yes

#

if you're a dev you might wanna save the gradle proeprties file in there if you have one

#

otherwise, should be safe to just delete and rerun it

#

might also want to ensure that git is updated, ik windows loves to break git

regal atlas
#

i tried this thing on a VPS and i think you said i got the error code 137 and i ran out of memory

#

im trying it on windows now

viral stone
#

well, yea, the decompiler and stuff blows through a good bunch of memory

regal atlas
#

how much would be enough?

viral stone
#

I mean, a vm with 4G is generally pushing it

regal atlas
#

it has 8gb

#

anyway should i try it on a WSL?

viral stone
#

depends what else is all running on there, all I could see is that you got the kill code

regal atlas
#

my pc is quite faster than any vps i have

viral stone
#

linux is generally more friendly with this stuff

regal atlas
#

i agree on this too

viral stone
#

I mean, everybody on the team bar like 1 person uses *nix based environments

#

that 1 person is probs the only reason paperweight even works on windows

regal atlas
#

:))

#

yeah just finished and got same error now after manually deleting gradle

#

imma try it on wsl and ill come back if any errors occur

#

but anyway what versions are needed of java and gradle?

#

i mean the suggested one

viral stone
#

just need java 11+ or something

#

we use the gradle wrapper, so it will fetch gradle and the needed jre itself

#

ofc, if you use java 17, it will just use that

#

gradle, woo

regal atlas
#

so the only thing ill have to install on wsl would be java

#

on vps i installed gradle too but was a old version like 4.5 or something

regal atlas
#

hooray it finally got builded on WSL

viral stone
#

Mini

void elbow
#

Emm

#

WorldBorder command no?? in Folia

#

i use /worldborder and command no found

pseudo ibex
void elbow
#

Um, that's not convenient. Where is the normal visual boundary of the world?

#

Please return the /worldborder command

scenic sky
#

it will return some day

#

it does not exist now

#

use chunkyborder or whatever

void elbow
#

((

fair merlin
#

Chunky works great though.

finite hinge
void elbow
void elbow
#

Do with such Forge or Fabric optimization it will be something.

void elbow
#

player when killed bugged

fair merlin
#

Pretty sure that got fixed at some point. Make sure you’ve pulled the latest code from the repo?

unkempt aurora
void elbow
#

build

#

latest build no gradlew

#

error

fair merlin
void elbow
#

only heads player

#

or my fabric mods broken

unkempt aurora
#

Try join with vanilla Minecraft

north hatch
fierce knotBOT
finite hinge
#

How is a villager trigger chunk loads?

#

Are the the one teleporting?

proper moon
#

(satire but:)
Its quite obvious, the villagers trying to explore

prime juniper
#

it's folia

#

and this problem happens to many mobs

livid crag
#

can you provide the seed?

#

Seed and coords of the screenshot @prime juniper you can use /modmail referring to this message if you do not wish to share in public.

void elbow
#

Why doesn't LuckPerms work?

viral stone
#

"doesn't work" gives us literally nothing to go off

void elbow
north hatch
viral stone
#

Caused by: java.lang.RuntimeException: Could not load plugin 'TSetSpawn v1.3' as it is not marked as supporting Folia!

void elbow
#

emm

viral stone
#

I mean

#

We can literally only say what we can see

#

all one can guess is that the dev ticked all the boxes without actually caring what anything was

void elbow
#

Understood. Why doesn't LuckPerms work?

viral stone
#

I mean

#

I can't say, as you've provided no info on that

void elbow
#

sec

#

use bukkit?

arctic tapir
#

yes

void elbow
void elbow
#

96 ?

#

i use 97

#

o lol

#

worked

#

Strange it didn't run the first time or I used the wrong .jar

#

Well, I partially figured out the plugins, now we are waiting for the /worldborder command

scenic sky
#

you wont get that for a long time probably

void elbow
#

(

void elbow
#

WorldGuard support Folia?

arctic tapir
#

ask them

scenic sky
#

better yet, you as a folia user should be skilled enough to find out yourself!

pseudo ibex
livid crag
# prime juniper it's folia

Just a follow up for those following the channel. I’ve triaged the issue and cannot reproduce it. I suspect that the world was reset but without deleting entity folders. foliapray

bleak python
#

thanks

arctic tapir
#

no problem

tribal walrus
#

Hi there.

jagged ether
tribal walrus
#

I have a question 😦
It looks like CoreProtect plugin supports folia
btw I can not find where

jagged ether
#

You either need a development version or just ask them directly

tribal walrus
#

Ok. Thanks. I'll try.

void elbow
#

If I give myself items /give @p minecraft:stick 6400 - then the items that fall to the ground do not disappear and cannot be picked up.

fair merlin
#

Can you reproduce that without any plugins installed?

brazen island
#

CPU usage is not high, but some regions have high MSPT than usual. It seems that the synchronized random number generator is causing performance problems while getting random position for mob spawn?

https://spark.lucko.me/YZENHRQauy

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

paper siren
#

you should avoid using swap memory, but I'm not sure how much this is related to your issue

brazen island
#

I forgot to remove the swap that was automatically added when installing Ubuntu. But 2GB swap is unlikely to cause the impact, especially when there is sufficient memory.

fair merlin
brazen island
#

dedicated server and not vm

#

It has two CPUs, which may have some impact on this?

paper siren
#

oh yeah that too, atomic operations across multiple CPUs doesn't sound great

viral stone
#

That call shouldn’t be too expensive but it’s a hot area

#

If that logic is running it generally means that you’ve not hit the mob spawn cap

brazen island
#

That will also be continuously called in Mushroom/Void biome where never reach the spawn cap. But normally random.next() will not have such high CPU time terribly over 20% of total

#

Perhaps it is indeed due to the issue of multiple CPUs. I'll try using only one CPU later

viral stone
#

We've got a plan to at least make the mob spawning stuff a loooot less hurty in paper

subtle trail
#

How would Folia handle a region crashing? If that was to happen. I'm mostly looking for what would happen to the players in those specific regions & any other info that could be useful.

livid crag
#

They will no longer be able to perform anything; chat may likely still works as it is on its own thread.

subtle trail
livid crag
#

You will have to shut down the server completely and start again.

proper moon
#

so from what ive seen above. folia doesnt like 2 physical cpu's?

viral stone
#

nothing which doesn't cater towards multiple CPUs likes multiple CPUs

#

numa is a bitch

north hatch
#

Not sure how NUMA aware the JVM even is

#

Not all GCs are NUMA aware either iirc

viral stone
#

theres no access to the things relevant

novel pollen
#

How do i use the folia server?
Do i need to download papermc too?

vivid tinsel
#

Foila doesn’t need Paper to work

jagged ether
#

You need to build it yourself

vivid tinsel
#

Read the pinned message

novel pollen
#

I just ran the install.bat

jagged ether
#

Folia is still in development and not intended for wide use

novel pollen
#

ah thanks

proper moon
#

are there any dupes that i should look out for? currently messing around with folia,

pseudo ibex
#

No

sterile swan
#

how do you build folia?

#

just wanna test it

pseudo ibex
#

Paper has instructions on how to build it

sterile swan
#

i got Invalid Java installation found at "diectory"

pseudo ibex
#

I would provide more information, like the command, and video and such, but they probably wouldn’t want me doing that

#

So for now

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.

sterile swan
#

hmmm

#

maybe i have an idea

#

ill try it

sterile swan
#

okay i managed to build it

#

but

#

i get

#

no main manifest attribute, in "diectory"

#

when i try to run it

arctic tapir
#

wrong jar

white laurel
#

I was reading Folia Docs, but I have some things I have not understand about hardware requirements.

Right now I have a dedicated server ryzen 5 5600X (12 threads)

On this server I will run 1 Proxy, 1 Hub, 1 Folia, 1 Paper (I have 64GB Ram)

I have not understand the requirements and how it scales in terms of threads used.

Plus I was looking at development, but when clicking the page doesn't redirect to anything

inner swift
#

Minimum recommended is 16C/32T for just Folia alone

#

Could potentially be lower on a fully pregenned world

white laurel
#

Just for a single instance?

#

So basically to run 5 folia instances I would need 5 dedicated servers?

inner swift
#

Basically yeah

#

It will run with less, just potentially be slower than Paper

white laurel
#

Might be an extreme case, since basically I see that Folia has sense over 200/300 players on an instance

white laurel
inner swift
#

Uh, same here, actually

fair merlin
long canyon
#

Folia could be very useful on creative servers, with hundreds of players using worldedit, spreaded on a single world. Can be the threaded regions defined through the API or is the chunks allocation decided fully automatically?

long canyon
#

Ah ok, tanks. Are the regions based only on players/entities count or are other criterias used?

unkempt aurora
#

Were there any thoughts about "manually defining region", that would be there all the time?

arctic tapir
#

no

unkempt aurora
#

this was meant if it will be added in API (I guess I should switch to #folia-dev ?)

viral stone
#

No, regions are too transient to be even considered to exposed in the api

keen hare
#

is it possible to use the Spark plugin on Folia?

fair merlin
#

There's a build for it.

lusty panther
#

Can someone give me a quick explanation of what’s the difference between Paper and 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.

fair merlin
#

Thanks other me.

lusty panther
#

Alr thanks

runic spire
#

does folia have built-in xray prevention

sly elm
runic spire
sly elm
#

folia is built on top of paper so that should be relevant

runic spire
#

oh so it has the same config? Okay thanks im good with that :)

narrow bough
#

Is this because I'm running with low memory settings?

#

-Xms50G -Xmx50G

#

I gave it 50G

jagged ether
#

Please read the server requirements to run Folia

trail kernel
fierce knotBOT
trail kernel
#

This error happens only if the player is not in playerdata, I deleted myself and now I can't log in

fair merlin
#

Why did you delete yourself?

trail kernel
#

my .dat file from playerdata

fair merlin
#

Why did you delete it?

trail kernel
# fair merlin Why did you delete it?

To check, because if the player has already played in this world, then there is no problem for him to enter, but if he has never played in it, so there was not created .dat file, it displays this error and he can not log in

#

This error only by first joined players

#

¯_(ツ)_/¯

fair merlin
trail kernel
#

only this file

#

in datapacks

fair merlin
trail kernel
#

I really don't know why this is happening

fair merlin
#

Can you make a new world and see if that happens also?

fair merlin
#

To test.

#

Like locally or something.

#

Using the same Folia jar

trail kernel
#

Can I somehow save players' buildings and their inventory when creating another world?

fair merlin
#

Was the world created on an older version that you upgraded?

trail kernel
fair merlin
#

Created on 1.20.1 using Paper?

trail kernel
fair merlin
#

With vanilla worldgen or using some sort of plugin/datapack?

fair merlin
trail kernel
#

But if you create a new world on Kaiju and use Folia it works fine

fair merlin
#

I don't know anything about that fork. I guess it's possible it made a funky world. Probably gonna have to wait for Leaf to look at this, but it'll probably be a while.

Can you make a Github issue with the log you posted here, along with a bit of info?

trail kernel
harsh umbra
#

does protocollib work with folia?

#

i assume not by default, probably missing that compatibility option, but if i were to set it myself....

trail kernel
harsh umbra
#

cool and good

native igloo
#

Hello everyone

#

What authentication plugins would you guys recommend for Folia?

arctic tapir
#

offline mode is not supported

lofty magnet
#

none?

native igloo
#

Ah I see

native igloo
arctic tapir
fiery vessel
#

Yes, Hello, How shit would folia run with 16 threads (say 60ish players)? I'm pretty sure recommended is 32 although you state it in cores but its just a hypothetical for a debate I'm having with a friend.

daring nimbus
#

there is a difference between threads and cores. 16 threads sounds like 8 cores, which is not great

#

with 60 players just run paper

fiery vessel
#

We are,

#

Its a hypothetical cuz I don't think its a good idea to switch

daring nimbus
#

it likely is not. Folia will only perform better with the right hardware. The threading checks and scheduling add some significant overhead, so on suboptimal hardware like that it will very likely perform worse than Paper

fiery vessel
#

That about matches my understanding of it, I did some testing on my personal hardware which has the same specs (although not same enviroment), and the chunk generation was very slow

solar ledge
#

You can assign more threads for chunk generation with paper incase of rendering the map

#

You really don't want to run a map without pregeneration

prime juniper
#

When I try to run the .jar file, I get the error: no main manifest attribute, in folia-1.20.1-R0.1-SNAPSHOT.jar

fair merlin
#

How are you building it?

prime juniper
#

./gradlew build

arctic tapir
#

read the readme

#

paper's readme

fair merlin
#

^

prime juniper
#

Okay, I read it and from what I see I should use the command ./gradlew applyPatches, right?

arctic tapir
#

yes

#

then after that do the other command

prime juniper
#

this error pops up for me

inner swift
#

It tells you what to do on the first screenshot

wind aspen
#

I hope to once live in an alternate universe where people read what programs tell them

fair merlin
#

Not everyone know what they're doing.

#

We don't have to be jerks to people.

wind aspen
#

Whatever

fair merlin
#

Someone is trying to build the thing for the first time. Everyone learns once. Yes, they should be reading and interpreting the error. But scoffing that they don't know what they're doing isn't remotely helpful.

keen fable
#

no enemies

vivid kindle
#

Approximately, when did "folia" come out officially to the public?

jagged ether
#

It hasn't

#

First API build is 29th March 2023

fair merlin
prime juniper
#

How can I make a Folia Build

pseudo ibex
prime juniper
#

And how do you do it?

arctic tapir
#

read papers readme

topaz bobcat
#

Where i can download folia core?

arctic tapir
#

compile it yourself

#

follow papers readme on how to do that

wise epoch
#

Is the region merging based on view distance or a fixed distance?

viral stone
#

fixed iirc

#

bearing in mind that people can have different vds, it's dynamically changable, is an entire hell of a problem

wise epoch
#

ah right

#

forgot that can be dynamic

#

do you happen to know where I can find the distance?

#

I remember someone saying it was something large like 2k blocks during one of the large scale tests

foggy blaze
viral stone
#

it was something like that

#

Well, the "distance" is a derivative of how folia creates regions

#

players need to be far enough away that their regions don't end up """intersecting""" as far as the maths is concerned

wise epoch
#

intersection is probably based on players view distance + a margin, right?

#

I think cub's tests had the vd quite high

viral stone
#

it's fixed maths

#

it's based on what the ticket propagation incurrs plus some margin for safety and maths

muted stirrup
viral stone
#

No idea what the number was

#

somebody above quoted around 2k blocks of distance

#

which, is basically about 4 regions away

#

(chunk regions, not tick regions)

sharp thunder
#

just gonna use folia-dl for a screenshot sorry

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.

timid grotto
#

#bot-spam exists

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.

inner swift
#

You'll need to compile Folia, following the instructions in Paper's repo

vivid kindle
timid grotto
#

instructions in Paper's repo

#

if you cant manage to follow those, you probably shouldnt be using folia

vivid kindle
livid crag
#

yeah it's the instructions in paper's repo

timid grotto
#

again,

instructions in Paper's repo

vivid kindle
#

Am yes but I literally can't see the guide 😅

timid grotto
#

well if you are unable to find that, then you really shouldnt be using folia

fair merlin
frigid sleet
#

How can i restart server with folia?
i can't find command like /restart

jagged ether
#

Stop the server, start the server

#

Some stuff won't exist in Folia or hasn't been implemented, assuming /restart is one of those things

prime juniper
#

Can you confirm if I did the Build right?

arctic tapir
#

can we not share folia builds here

#

especially via mega

livid crag
chilly edge
#

does sb know why the anti xray does not work in nether?

inner swift
#

What y height are you at?

chilly edge
#

idk (got the screenshot from a player)

scenic sky
#

what's your config

chilly edge
#

_version: 30
anticheat:
anti-xray:
enabled: true
engine-mode: 3
hidden-blocks:
- copper_ore
- deepslate_copper_ore
- gold_ore
- deepslate_gold_ore
- iron_ore
- deepslate_iron_ore
- coal_ore
- deepslate_coal_ore
- lapis_ore
- deepslate_lapis_ore
- mossy_cobblestone
- obsidian
- chest
- diamond_ore
- deepslate_diamond_ore
- redstone_ore
- deepslate_redstone_ore
- clay
- emerald_ore
- deepslate_emerald_ore
- ender_chest
- air
lava-obscures: true
max-block-height: 128
replacement-blocks:
- stone
- oak_planks
- deepslate
update-radius: 2
use-permission: false
obfuscation:
items:
hide-durability: false
hide-itemmeta: false
hide-itemmeta-with-visual-effects: false

next bloom
#

you have to also enable it in the nether afaik. the docs cover this

tawdry gullBOT
visual falcon
#

what is Found no spawn in radius for player?

fair merlin
#

Sounds like a plugin thing

naive fable
#

Is faster chunk generation with more cores planned? Rn chunk generation is limited to ~15 threads, which is kinda low for Folia

viral stone
#

You can change the number of worker threads, but theres not too much you can really do with world gen in a sense

naive fable
#

I sat work threads at 128, and it used 15 on those, are there some impossible limits in the code?

viral stone
#

Well, yes

#

you can only generate a chunk up to the next level when X chunks around you are at a specific level

#

many phases rely on different regions, etc

#

the entire system is a highly dependent chain of operations in which require a bunch of stuff to work, and that's before you get into the hedaches of trying to manage and schedule that stuff

livid crag
#

400-500 cps is around the current hardware limit. Are you already hitting this number..?

naive fable
#

Just ages to pregen, and i can imagine it would be a problem

viral stone
#

See, I do wonder if chunky could maybe split up more

#

i..e start running 2 different gen streams

#

play ghostbusters and meet in the middle or something

#

idk if the system would get any benefits from that

livid crag
#

I think pop just tell you to spawn up more instances PepeLa

viral stone
#

Poooooooooppppp

#

ily or something

#

plz experiment

livid crag
#

Coz technically yup can just spawn up 4 servers and each pregen from 5000 blocks away from each other and then just put all world files back

#

CC: @sly elm rierunrunrun

naive fable
#

I suggested that Chunky should set up multible world and stich them together as the generating progresses (as a joke) he did not think it was smart

sly elm
#

whats up

viral stone
#

I mean

#

it would work in a sense

#

you'd need a boundry between the sections though

sly elm
#

I mean you can kind of do it, the problem is going to be random features and stuff not aligning and any blending / etc

#

theres things that aren't 1:1 with the seed

#

iirc

viral stone
#

yea, things like trees, etc

naive fable
#

Who needs trees anyway? we can disable those

viral stone
#

Like, theres probs some stuff you can do if you really cared to invest the tech effort into

#

certain phases are trivial to highly make parallel, like, bring the chunks up to a level where it doesn't matter about that stuff and then give them a finishing pass, etc

#

but 🤷‍♂️

sly elm
#

yeah pretty much

#

I mean nothing you can't do well enough by just spinning up a couple of servers

fair merlin
north hatch
#

Tweaking -Dchunky.maxWorkingCount should work though

bleak python
#

until you start flooding the system but yeah

runic spire
#

can i change paper world to folia one

keen fable
#

you don't need to convert anything

#

except plugins & datapacks

lament ravine
#

Not much effort, but some

runic spire
#

tysm all

pseudo ibex
#

Just out of curiosity how many players would you think a server like this be able to handle? https://spark.lucko.me/w9F8wAX9Aq

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

#

I know it’s not up to the specs, but I’m curious

#

I plan on testing this out

#

On a good day it could handle 20 players. Im curious how many players could play on it on Folia. Maybe 40 or 60?

fair merlin
#

If it has 32 threads that’s within recommendations for Folia.

#

If it’s a VM and/or thread limited then it probably won’t run very well.

pseudo ibex
slow cosmos
#

Is Folia stable and ready to be used on public servers yet?

viral stone
#

No

royal iris
#

Hello, does folia support 1.8 servers?

scenic sky
#

no. never has, never will

royal iris
jagged ether
#

because nobody cares about 1.8

scenic sky
#

people use 1.8 for the performance and pvp

#

why do you need additional performance now?

#

just use an up to date version

royal iris
jagged ether
#

as a matter of fact, yes

scenic sky
#

you would practically need a complete rewrite of the 1.8 server to do something similar

royal iris
scenic sky
#

folia is more for smp's and such anyways, dont see why you would ever want something similar on 1.8

#

1.8 survival is dead

royal iris
north hatch
inner swift
north hatch
#

That's also possible ^

#

Probably the most probable though since I don't know how else you would get 22k cps

naive fable
# north hatch What cpu?

64 core zen 4. The log was really wierd, it was either generating 0.5 to 5, 500-2000 or 100k to 200k cps, Think it was 20-50k average with 100GB of ram. I sat -Dchunky.maxWorkingCount at 1000, 100 worker chunk threads, 28 io, and 10 gc. The area was new. What does that option do?

#

And why doesnt the people at chunky know about the setting?

bleak python
#

i'm sure they do know about their own software

naive fable
#

Yes

naive fable
#

Just ran a 13 minute test and got a massive 70391 cps average. Seems impossible. Im not going to use the server for a while, so if you want to run tests on it DM me

#

The world was new, so they were actually generated

north hatch
#

🤨 70k does sound overly high

#

I got 1.5k cps max on 96 core EPYC Genoa, but the node was running many other things at that time

naive fable
#

That was what the log told me. The mod at chunky told me to go away when i shared the log : (

north hatch
#

If you want to, I can take a look at it, feel free to DM me

remote sedge
#

why folia keep using only one region when i set up 6 threaded-regions

#

why

viral stone
#

Because it's region based

#

Like, at the end of the day, you can't have overlapping regions

#

so, if your players are too close together, they'll be in 1 region

foggy blaze
#

And it’s ultimately up to Folia to decide if it wants to make a region

viral stone
#

Yea, that's too small

remote sedge
#

and there's no way to make them smaller regions right?

viral stone
#

No

remote sedge
#

...

viral stone
#

It's simply down to how the game works

#

and the complexity of the region logic

#

All of this info is public and much of it is in the readmes you where told to read

thick zenith
#

Sorry to intrude but I was considering using Folia and I read this issue. So I can have even 1k players in a world radius of 2500 blocks would they all end up in the same "region"? So in an SMP it's worth having Folia, right?

viral stone
#

as said, players need to be spread out

#

like, you have to contain the expected world interactions into one region, otherwise stuff would blow up; before you get into the horrors of making the math even more complex to deal with variable region sizes, etc, etc

#

so, if your server is too small, as per the docs, etc, folia will do little to help you

#

in fact, that overheads of folia will make it worse

thick zenith
#

Ok, so basically, if I use Paper is it better than Folia? (same world same people)

viral stone
#

if you're players aren't spread out enough to create regions, yes

thick zenith
#

Okay, thanks for the clarification

pure fjord
#

also if you dont have a crazy ass computer

steady zephyr
#

Folia is for overkill servers

#

eg 2b2t

vocal mist
#

Is Folia worth having on a 4000 radius world with 100 players spread across

#

Or should I stick to Paper

fair merlin
#

You should stick to Paper.

#

You need players spread out 1500+ blocks.

vocal mist
#

Alright

#

Will it be better if I make the world border smaller to 2500 on Paper

#

I will be having alot of players since it will be a civ event

north hatch
finite hinge
#

You need at least 1500 blocks between players to have multiple regions. With a 4000x4000 world even if your players are trying to keep away from each other it won't take many players before there is never that much room between them. If PlayerA is 2500 blocks from PlayerB but then PlayerC moves in in between them all 3 will be in the same region and so on across the whole world until any independent regions collapse into one massive one.

north hatch
#

The figure can increase depending on where the player is positioned in the region section

exotic stirrup
#

Can folia already nether and end support for vanilla Minecraft ?

arctic tapir
#

yes

exotic stirrup
#

Means i can play the hole minecraft survival stuff with folia

arctic tapir
#

yes

exotic stirrup
#

Portals also Working ?

arctic tapir
#

yes

exotic stirrup
#

Sounds nice. Some issues left for fully Survival stuff ?

#

Like Redstone etc ?

arctic tapir
#

¯_(ツ)_/¯

exotic stirrup
#

xD

keen fable
exotic stirrup
#

Thats cool. Thanks for that info

timid grotto
#

redstone shouldnt have any folia-specific issues as redstone cannot go between 2 regions. it should be equal to paper (which is not always the same as vanilla)

prime pivot
#

Does folia break with terrain generation datapacks too?

pseudo ibex
#

Test it

uneven barn
#

is there a worldedit on Folia?

plucky compass
uneven barn
exotic stirrup
scenic sky
#

that build is made by him

pseudo ibex
#

Hahahha welp.

exotic stirrup
#

I do the folia mainly stuff

severe veldt
#

also is ryzen 7900 with 64 GB DDR5, 500 gb ssd nvme, good for folia server to support 300 players?

lofty magnet
#

entirely depends on your setup and how players behave

severe veldt
#

just vanilla setup with 20k x 20k overworld

#

plugins: luckyperms, smputils (my own plugin), coreprotect

#

thats it for now

severe veldt
lofty magnet
#

20k*20k is probably still not big enough to properly spread 300 players

severe veldt
lofty magnet
#

well you need to make sure that the different regions don't merge into one large or very few big ones. hence you need to somehow ensure that player groups are small enough and far away enough from each other for that to not happen

#

of course if you are unlucky then players can still manage to chain together all regions into one big one if they are unfortunately spaced out 👀

inner swift
#

Players will be in the same region if they're less than about ~1500 blocks from each other, I guess a rule of thumb could be starting with them ~5000 blocks away from each other to give them some room to move, that'd be about 90k x 90k

lofty magnet
#

if your gamemode relies on groups of players interacting with other groups often then folia is most likely not for you

#

(or at least with the same caveats of paper in most regions. I guess the hermits 100k out would benefit from it xD)

#

especially in a pvp environment folia opens up some interesting tactics: like have a lag machine running in one region, then start a fight, connect the lag machine region to the region the fight is in with some well placed players and overwhelm the defener that way 👀

severe veldt
#

i mean its an SMP

#

not factions

#

but i won't be able to stop a group of player interacting with other players

#

or players coming together as groups

#

forming a town or something

inner swift
#

You'll be fine as long as you have enough regions

severe veldt
#

how to make sure regions don't merge?

lofty magnet
#

put players far away from each other

severe veldt
#

what happens if i teleport all players at a single place?

severe veldt
#

multipaper is not working for 1.20.1

hexed ice
#

multipaper will also not work for you there

lofty magnet
#

not have that many players on one point?

#

add incentives for players to not congrate on one poin?

#

spreakd them over multiple servers?

#

lots of ways tbh

severe veldt
#

we did that last season

#

like we split players into teams

lofty magnet
#

or go the EVE online router and add time dilation Kappa

severe veldt
lofty magnet
#

(hint: this is a joke, time dilation sucks)

severe veldt
#

we did that last season like we split players into teams in multipaper, put borders for teams and split chunks in workers, players mostly fight among each other died (the ones who die get banned) and the numbers fell, then we opened borders and reduced workers (did restarts), for people interactions

muted stirrup
#

multipaper can handle several hundred people in the same area

severe veldt
#

it crashed for us when we had 1000 players

#

when all players came into a region

muted stirrup
#

Yeah thats reasonable unless you have insane hardware

#

If your regularly dealing with 1000+ players you should probably just drop the money for your own solution

severe veldt
#

they are civilization events (SMP based)

#

but with folia we had selected only 300

#

i think even thats not possible after the discussion here

#

thanks

lofty magnet
#

I mean, there is no way to know without trying ¯_(ツ)_/¯

#

but you shouldn't expect magic, especially if players behave in (for the system) dumb ways

inner swift
north hatch
#

^

lusty panther
#

Guys for my server i'll need to ask each one of you to rate Folia from 1-10

arctic tapir
#

what

daring nimbus
#

I hate that I actually did the work for you and looked up your server, but you average 20 players. Folia makes zero sense for you.

arctic tapir
#

for your server

#

a 0

daring nimbus
#

Well 1 then. Will run worse than Paper

lusty panther
arctic tapir
#

define big

lusty panther
#

600 average

livid crag
#

@lusty panther please actually read the readme of Folia before making weird and question that does not make sense here

arctic tapir
#

for that amount folia would most likely work yes

#

depending on hardware & distance between players

pseudo ibex
#

One of the things I found when I finally switched to Folia, was that bedrock players always had extreme lag through Geyser. If anyone else can second this I would appreciate it.

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.

pseudo ibex
# exotic stirrup Still wip on m fork.

One thing I did find with it is that when you load a big structure, then when it is fully loaded and you do /undo. Sometimes it only partly unloads a structure. Then like half of it would be gone, or sometimes 1/4.

keen fable
pseudo ibex
keen fable
#

geyser standalone run as a separate program

viral stone
#

standalone is a raw proxy

#

or, well, not raw; but, it serves as a proxy, vs the built in solution which is probably not as ideal but doesn't rely on the server impl as much

pseudo ibex
keen fable
#

You'll have to run it as a service or something. I don't remember changing the config file

pseudo ibex
pseudo ibex
#

Hahahah spent like 3 hours figuring it out lol

wintry terrace
#

.distance

finite hinge
#

iirc the plan going forward is to replace that format with getting the server to split out mojangson and shoving that in a yaml string

sharp thunder
#

Just wondering if a Ryzen 9 7900 is good enough for folia.

fair merlin
sharp thunder
#

12c/24t, I’ll look to see if I can find them right now

fair merlin
#

Pins in this channel and the readme/FAQ are helpful.

finite hinge
#

16/32 is what the readme says, iirc leaf said 12/24 should be fine if you pregen your world though

red lintel
#

How's Folia guys? Has anyone use it for production yet?

arctic tapir
#

yes

indigo atlas
#

H

#

Hi everyone can you help me about folia build? I need it for my server i got error when try to build

jagged ether
#

What error

indigo atlas
#

this

jagged ether
#

Gradle ran out of memory

jagged ether
indigo atlas
#

Thank you so much

steady zephyr
shut gull
#

Folia I have a core region does not make one region for each world and that's it.

deep pond
#

what

#

i think you might need to rephrase that lol

shut gull
#

My regions are not created new 3 regions and that's it at most

#

Maybe I didn't set it up right

arctic tapir
#

send a screenshot of /tps

shut gull
scenic sky
#

you have a single player online

shut gull
#

I'm checking the kernel

#

I'll make a server later.

viral stone
#

Please actually read the readme, etc

#

sounds like you've not read what it actually does

shut gull
#

Can I have a link

viral stone
#

see the pins

shut gull
#

What's GC I don't see that setting on this app.

severe veldt
# shut gull

it has one player it won't create regions on start...

shut gull
scenic sky
#

i dont think your translator is working very well

severe veldt
#

he is going to make his father in law....

#

lmao

shut gull
#

It's a translator DeepL

random garnet
#

😅

jaunty jackal
jaunty jackal
livid crag
#

You can try chatGPT, I've found it really good with translation @jaunty jackal @shut gull

subtle oriole
#

DeepL is quite good if you are learning a language, because as you learn you can correct the result it gives with the correct context. But for translating from 0, no translator is perfect

wheat forge
#

How to make my plugin support folia

fair merlin
tawdry gullBOT
north hatch
#

Is there an explanation for the CPU usage consumption by chunk worker threads? Is this due to saving? (The world was pregenerated)

void elbow
#

hello.

#

A question. If I keep the server on Windows Server 2019, will there be anything wrong?

#

For example Folia for 500-600 online.

daring nimbus
#

Windows servers usually aren't recommended in general, Folia or Paper

void elbow
#

For example, I now keep Forge server at 120 online = 20 tps

viral stone
#

We cannot tell you how a piece of software will work in your mystical environment

void elbow
#

Ubuntu 20 ?

inner swift
#

Your CPU is way below the recommended minimum for folia

#

You have 8C/16T (performance cores), recommended minimum is 16/32

void elbow
#

ok

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.

deep pond
arctic tapir
deep pond
#

now it makes sense

#

i mean your windows doesn't reserve 10% of your disk for swap?

arctic tapir
#

well no I meant that it says indows and not windows

#

but yes, I belive it does

#

not sure about the exact percentage though

formal burrow
#

-XX:ConcGCThreads=n

#

how do i set that

timid grotto
#

by changing the number...?

#

its a jvm argument

formal burrow
#

---------- Detected server process in a crashed state! ----------
[Pterodactyl Daemon]: Exit code: 1
[Pterodactyl Daemon]: Out of memory: false
[Pterodactyl Daemon]: Aborting automatic restart, last crash occurred less than 60 seconds ago.

#

server wont start with the argument

#

java -Xms128M -XX:MaxRAMPercentage=95.0 -XX:ConcGCThreads=76 -Dterminal.jline=false -Dfolia.force-load-all-plugins=true -Dterminal.ansi=true -jar server.jar

timid grotto
#

well youd have to share more than the fact that ptero is killing it

formal burrow
#

only when i add XX:ConcGCThreads=76

#

it kills it

timid grotto
#

why are you setting it to 76

viral stone
#

I mean, you'd need to see the thing for what it says

#

the process died

formal burrow
#

because i have 96 threads

viral stone
#

Don't do that

#

there is pretty much little reason to do that

formal burrow
#

so what do i do

timid grotto
#

you dont need 3 quarters of your threads to be GC

viral stone
#
  1. don't set that many
#
  1. see what the JVM is saying
#

like, the process exited

#

i'd doubt that it said nothing

formal burrow
#

ConcGCThreads (76) must be less than or equal to ParallelGCThreads (63)

#

so im guessing max is 63

#

what should i set it to

#

it boots up when i set to 63

timid grotto
#

imo, if you dont understand what they do, you sholdnt change them

formal burrow
#

can u kinda summerize it

viral stone
#

not really

formal burrow
#

just dont set it then?

viral stone
#

i don't have any recs for that, it's generally going to boil down to several factors, no point pegging the CPU with GC threads

#

See the docs

#

any recommendations are there

#

we cannot provide magical figures for your environment we know nothing about

formal burrow
#

4x 12 core xeon processors, 1tb of ram

#

its a dell r820

viral stone
#

that tells me very little

#

well, multiple CPUs are not recommended, at the very least

formal burrow
#

for folia?

livid crag
#

that sounds like a nightmare lol

formal burrow
#

its running pretty good if you ask me

livid crag
#

uhhhh you can probably run Folia on a smart fridge if it's just 1 player...

formal burrow
#

ya atm

#

okay so can i set it to 63 or should i set it for less

#

it says that it should be 80% of max

pulsar talon
#

How will you utilize four CPUs for Folia?????

north hatch
#

If you have a large heap, try shen or zgc, but even so they don't need 76 gc threads

void elbow
#

You can ask, on VDS (Intel Core i9-12900K) 8/16 core, 64 gb ram, 1 tb nvme, 1gb network how much online can the Folia core withstand at 20 tps without a single lag?

#

Approximately at least, I want to know how much +-

arctic tapir
#

a fully dedicated server is recommended for folia

void elbow
#

./gradlew applyPatches

arctic tapir
#

clone folia directly to the root of your C drive

void elbow
#

ok

arctic tapir
#

now try it

void elbow
#

ok wait

#

thank bro

#

After applypatches, should I write ./gradlew build ?

arctic tapir
#

no

#

look at Paper's README

#

it tells you what command to do

#

can't remember on top of my head

void elbow
#

./gradlew createReobfBundlerJar

#

yes?

arctic tapir
#

yes

void elbow
#

thank!

viral stone
#

Outside of diagnosing the issue that's causing it and fixing it, all you can generally do is wait

#

I mean, there is a reason why we're not shipping it yet

#

And it's effectively maintained mostly by 1 man in his free time when he can

#

I mean, there's already been a commit or two trying to resolve it

proper moon
#

2b2t

#

weird

tranquil epoch
#

I can't produce it locally

#

so I don't know why it happens

fair merlin
#

Plugin conflict?

viral stone
#

I mean, could be

#

Also could just be some weird edge case relating to the angle your tongue dangles when you click respawn

keen fable
#

maybe because 2b2t was on 1.19.4

fair merlin
#

That would probably explain it. IIRC those patches didn’t make it to 1.19.

void elbow
#

Can I find out what java arguments were used on Folia in tests?

inner swift
north hatch
livid crag
north hatch
fair merlin
#

I don’t remember the JVM flags from our test. Lemme see if I can find them. Thought we had it pinned but I guess not.

void elbow
#

I wonder if the /worldborder command will be returned in Folia? without it, it is very inconvenient to track the boundaries of the world for players

inner swift
#

Oh pff lol

#

No idea where I got that from

fair merlin
main knot
#

where i can dowload folia?

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

main knot
#

wtf?

fair merlin
#

They will have built it from source.

#

Just like you can.

main knot
#

you can send me folia?

fair merlin
#

Jars are not currently available to download. It's still in active development.

main knot
fair merlin
#

There are things missing, broken, bugs still need to be reported, etc.

tacit tartan
#

Yes, those who have the technical expertise can build Folia from source - this is gating to ensure they well and truly understand it's in active development. There is intentionally no builds avaliable, if you don't know how to build folia, that's a sign it's not right for you to be using at this state