#folia-help

1 messages · Page 15 of 1

weak moss
#

i thought it was just for data stats

radiant siren
#

Hello, im looking for a simple plugin to protect the spawn on my survival server that folia supports. It sounds super simple but its taken me... Way too long... any ideas? Something like this but with folia support: https://dev.bukkit.org/projects/spawn-protect

unique quail
radiant siren
#

you can use coreprotect to make it unbreakable?

unique quail
#

Has anti-griefing in it so I'd guess it would

radiant siren
#

hmm ill look into it

#

ty

radiant siren
radiant siren
#

Im trying command blocks but those arent working either...

viral stone
#

yes, those don't work

#

as is covered by the docs

#

oh, i thought that was more doc'd

radiant siren
#

oh ty

radiant siren
#

My server launches in 3 hours and I still havent figured it out...

finite hinge
#

WorldGuard has a PR with Folia support I think

#

Otherwise just vanilla spawn protection

noble flower
#

Is anyone running a folia production server? Curious to see how it's performing with players.

radiant siren
#

Neither work. I think ill just get rid of the spawn build :(

pseudo ibex
# radiant siren Neither work. I think ill just get rid of the spawn build :(

Yea see here is the WG PR. You can build it here https://github.com/EngineHub/WorldGuard/pull/2012

It should work, although if it doesn't here is one - https://github.com/Folia-Inquisitors/WorldGuard-Fork

I see you also mentioned command blocks not working. There are plugins that try bridging the gap, and can act like command blocs, but more efficient. One that I use is called BloCommands. https://github.com/Folia-Inquisitors/BloCommands

radiant siren
#

Thanks so much, sorry to bother more but any one player sleep plugins? Suprisingly I havent been able to find any...

livid crag
#

It is a gamerule now for vanilla so it will also work for Folia.

radiant siren
#

tysm that took me too long lmao

weary whale
#

Hello guys. What do you think when folia will be officially released? So we can run our server on a Xeon cpu and 16 cores….

tacit tartan
#

There's no timeline, work happens on folia when Leaf can

weary whale
#

Okey. How far has it been developed yet? I got a folia jar from my dev and yet it seems to work fine. Despite of almost no plugins are working 😁

tacit tartan
#

Somewhere there's a list of known not working systems, I know scoreboards are on there, pretty sure multi-world support is too. Probaably a bunch of other minor things

trail heath
#

bug folia is bad /s

marsh mapleBOT
#

(650df638cdf07f25f6aca098) // @timid root (@vulcanbestac / 926473304502566962) has been banned by @viral stone (126975485493248000)
Reason: Steam scam

#

(650df99dcdf07f25f6aca099) // @gritty harbor (@minhdayneban / 1020553811158384640) has been banned by @jagged ether (451779815415218177)
Reason: steam scam

pallid axle
#

Does folia have any special configs that affect the number of mob spawns in the world/regions?
We have 2 projects, one on paper and one on folia. And the general configs are often the same, the folio is set to 400% (threads)
Mobs spawn very unevenly, sometimes there is spawn, sometimes not. Rebooting often helps (to the game, to the region), but this is not normal

viral stone
#

No

#

folia also gets rid of papers per player mob spawning and basically makes it per region

#

Welcome to mob spawning on servers pre that feature

pallid axle
#

I understand correctly that previously mobs spawned in a sphere of 128 blocks around the player, but now the mob cap is spread over the region, and spawning on a big count of chunks around

viral stone
#

No

#

previously mobs spawned anywhere a chunk was loaded and there was a player within 128 blocks

#

and then that same rule assuming the nearby player din't have more than X mobs around them in a range

#

folia removed that extra check, but limited the thing to "any loaded chunk within a region upto a limit decided by the maths"

#

rather than a limit for the world as a whole

#

mob spawning on servers has always been janky, I think mojang kinda adopted out per player stuff but that's also likely missing from folia due to how it all works, etc

random garnet
pallid axle
viral stone
#

per region cap

#

rather than a per world cap

pallid axle
#

but spheres exists

viral stone
#

only for determining if a mob can spawn at that specific spot in the world

#

It's not "try a space within 128 blocks of a player"

#

it's "try a space in the world and see if a player is nearby"

#

and, it runs off the chunk list, and so somebody generally just naturally gets a bias of the mob spawns

pallid axle
#

Thanks

livid crag
#

This is a good introductory video and just use this video as a base and, on Folia, each active region is completely separate from each other with its own spawning loop.
https://youtu.be/ShrG24eWC7g

prime juniper
#

Hello! Can you please explain. The server is using folia. The problem is that playing on the server - almost no appearance of hostile mobs. Namely, players build their farms, which on another server show high scores. But on the server that uses folia - players have noticed that on their farms do not appear hostile mobs, and if they appear, they are 5-10 pieces. All server settings are standard, as well as on a similar server that does not use folia. The question is how to increase the number of hostile mobs appearing on each player? At the moment it feels like all players share the maximum number of appearances of hostile mobs equally

livid crag
#

literally read above ^

#

we were just talking about it

pallid axle
#

hmmm
case 1. i spawn hoglins and go away for 200 blocks and go back -- they exists, but i think they should have despawned
case 2. friend looks at the hoglins in the spectator and I do the same -- they despawn
in case 1 I am alone in the region, in case 2 there are only two of us, but one in the spectator

hoglins in case 1 uses region cap? what about sphere? why in papper with same settings i see near >20 hoglins on platforms, but on folia 3-5

* hoglins are specific case. common mob farm doesn't work well too (or not work at all)

livid crag
#

Are you running the default Vanilla config? this is very important

#

as in simulation distance and view distance both at 10 etc

pallid axle
livid crag
#

You cap will always be region cap if you are alone

viral stone
#

You don't have a cap

#

your region has a cap

pallid axle
livid crag
#

that would explain why your piglin does not despawn because you run sim 5

viral stone
#

Because paper has a set of extra limits over the top of the world spawn limit to try to balance spawns out

livid crag
#

Paper works fine because of ^ and the fact mobspawn loop is done as a whole.

viral stone
#

Folia moves the mob spawning dynamics back to like 1.18 or so, or whatever version it was before paper (and then mojang) added the per-player limiting stuff

pallid axle
viral stone
#

There is no player cap

#

that was removed

livid crag
#

as Cat explained, it no longer exist.

viral stone
#

for the 200th time

pallid axle
#

oooow

#

sorry

viral stone
#

mob spawning on paper works by:

  1. checking if we've not met the world cap
  2. getting a random point in a loaded chunk in the world
  3. checking if a player is within 128 blocks of that position
  4. Checking that the player doesn't have their cap worth around them

folia doesn't have step 4, and so you enter the old state where a single player within a region, rather than a world, can eat all the mobs

pallid axle
#

ok, i understand
thank you ❤️

#

and different regions have own caps
cap in region are common to players

#

mobs spawn only in the sphere and only if the region is not completely cap

#

I'm right?

random garnet
viral stone
#

if you have multiple people in your region that is a potential, yes

#

and I've explained it all I can, I'm disappearing as my vision is starting to get oddly blurry

random garnet
#

uh okay is it possible to buff that / increase spawn rate

pallid axle
#

Do I understand correctly that mobs are counted in all chunks in the region if they are not despawned for some reason?
spawn only in sphere, but count all of them

inner swift
#

Yes, that's right

prime juniper
#

Пиздец

livid crag
#

watch the videos I linked above

#

it goes over the very basic idea of mobspawning AYAYARie

pallid axle
livid crag
#

it works on Paper because the loop is global, also what cat say about additional patch Paper has.

#

Also you are running sim 5 that's pretty bad because that's 80 blocks and hard despawn range is 128 and that's why you see the pigman dont despawn

pallid axle
#

I'm sorry for this whole discussion,
Thanks a lot

random garnet
livid crag
#

Nope.

#

As the video explained your spawn rate is just your TTK speed and that’s largely a farm design problem

#

The game is already checking monster spawn per tick

finite hinge
#

If you increase the cap the farm probably just fills up even more and doesn't really change things for everyone else

#

This is yet another reason to get people spread out

#

Or at the very least get them to hop into the nether, run 300 blocks, go back to overworld, and build their farm there

odd juniper
#

Ok, I feel pretty stupid atm, but I cannot find the download link for folia?
the downloads page leads to downloads of other paper software, i.e. https://papermc.io/downloads/paper or https://papermc.io/downloads/waterfall, but clicking on folia just leads to the software page https://papermc.io/software/folia

What am I missing here?

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.

tropic otter
#

what did i do wrong?

pallid axle
#

at what distance folia unites regions?

#

and what is the default radius of the region?

livid crag
#

There is no cutoff distance as that is determined by many factors but roughly within ~1500 ish blocks. The number is not something set in stone as your question is suggesting.

viral stone
spark ingot
#

Hey is ther a way of changing "Implementation variables" for the regioniser to split groups of chunks more aggresivly like 300 block away from a existing region?

viral stone
#

Basically, no

spark ingot
#

oh . . .

viral stone
#

the distances stuff is pretty tied into how the thing works due to the promises that the system has to have, and trying to minimise contention, etc

spark ingot
#

thx for explenation

pallid axle
#

do you plan to turn back per player cap in the region? region cap + personal as in papper whare world + personal

fair merlin
#

For mobs?

spark ingot
fair merlin
#

Otherwise you should use Paper.

#

Folia's not designed for small maps.

plush burrow
#

I can download the official compiled build?

jagged ether
#

You have to build it yourself

spark ingot
fair merlin
#

Too many players, in too small of an area, on too weak of a CPU

viral coral
#

way too small

viral stone
#

it's technically on the API but we don't publish links to it, the expectation is that you're capable of compiling or yourself as it's not really in a state you should be running it

plush burrow
viral stone
#

the cores is literally irrelevant at that point

pallid axle
livid crag
#

Ofcoz but it isn’t a priority rn

pallid axle
fair merlin
#

No public roadmap or priority list.

pallid axle
#

ok, thx

livid crag
#

Also it can be mitigated as we discussed last night.

#

The farm design just need to have faster TTK

jagged ether
#

/gamerule spawnRadius 1000000

#

💀

random garnet
#

xD

#

wasn't aware

#

*deleted

warped pine
#

how do u get folia jar? tried building myself but coudn't and even asked a dev friend [sorta] he coudn't either... want to test it how plugins would work and all

silver sierra
#

follow the instructions in the paper readme using the folia repo

tribal tusk
#

Cant patch folia HELP!! io.papermc.paperweight.PaperweightException: Failed to apply patches

feral hazel
#

are you appyling the patches via command line or via IntelliJ?

hexed ice
#

please provide logs or any other usable info

tribal tusk
#

Wait

tribal tusk
# hexed ice please provide logs or any other usable info

FAILURE: Build failed with an exception.

What went wrong:

Execution failed for task 'paperpatchSpigotApi'.

io.papermc.paperweight.PaperweightException: Failed to apply patches

Running on:

Java:

java version "17.0.8" 2023-07-18 LTS

Java(TM) SE Runtime Environment (build 17.0.8+9-LTS-211)

Java HotSpot(TM) 64-Bit Server VM (build 17.0.8+9-LTS-211, mixed mode, sharing)

Gradle:

Build time: 2023-08-17 07:06:47 UTC

Revision: 8afbf24b469158b714b36e84c6f4d4976c86fcd5

Kotlin: 1.9.0

Groovy: 3.0.17

Ant: Apache Ant(TM) version 1.10.13 compiled on January 4 2023

JVM: 13 (Oracle Corporation 13+33)

OS: Windows 10 10.0 amd64

hexed ice
#

that doesn't say anything

#

since it failed on patching the spigot api I'm assuming you don't have a git username/email set

tribal tusk
#

if im doing wrong please say it im new to this lmao

hexed ice
#

run it with --stacktrace and provide the full log via a paste site

tribal tusk
tribal tusk
hexed ice
#

nuke the caches and try again

tribal tusk
tribal tusk
tribal tusk
viral stone
#

I mean, you need to work out wtf is wrong with your environment that it keeps pulling corrupted jars

#

Maybe try dragging that jar into notepad or whatever

tribal tusk
#

i will reinstall the folia folder again

harsh yacht
#

@tribal tusk

  1. completely delete your foila folder
  2. git pull foila
  3. cd into it
  4. gradlew.bat applyPatches & gradlew.bat createReobfBundlerJar

it may help if you delete the .gradle folder in c:\users\user directory

fair cloud
#

Where can I download folia?

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.

grim ingot
harsh yacht
grim ingot
#

JDK or JRE?

grim ingot
pseudo ibex
tribal tusk
# harsh yacht <@675874221016088576> 1. completely delete your foila folder 2. git pull foila ...

used git bash for this time and this is the error > Task paperdownloadMcManifest FAILED

Task :getPaperUpstreamData FAILED

FAILURE: Build failed with an exception.

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

java.net.UnknownHostException: piston-meta.mojang.com

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

arctic tapir
#

something is blocking that url

#

works for me

#

try disabling firewall

grim ingot
arctic tapir
#

different error

#

send full log

grim ingot
#

Where or how do i get them? I'm that one was from the console

arctic tapir
#

should be more info above

grim ingot
#

Dang it, sorry for the stupidity, it was lacking git identification

tribal tusk
arctic tapir
#

can you ping that url

#

or does it work in the browser

tribal tusk
#

same even with a vpn

arctic tapir
#

try clearing gradle caches

tribal tusk
#

right?

arctic tapir
#

yes

tribal tusk
#

deleted it. ill run the command with --stacktrace

tribal tusk
harsh yacht
# grim ingot JDK or JRE?

JDK 17, if you cant change it just use
org.gradle.java.home=c:\\path\\to\\jdk (dont add \bin) in gradle.properties

#

ig you didnt try

it may help if you delete the .gradle folder in c:\users\user directory
as i recommended earlier lol

patent acorn
#

to compile folia i asume i must run gradle.bat?

naive junco
patent acorn
#

im not on linux...

naive junco
#

You don't need to be on linux

patent acorn
#

you litrely tell me to run a linux programm

daring nimbus
#

my recommendation would be to use WSL then, Windows is slow and has fun file-locking issues.

#

generally you can refer to the contributing.md document in the Paper repo, its the same process for Folia

naive junco
#

The video shows you how to compile folia, those exact steps worked on my Windows 11, only difference is I set my folia directory at C:/, not at the default dir, since that kept giving errors.

patent acorn
#

my wsl broke

#

why did you put a timestamp in the video link...

fair merlin
#

The Paper repo has the instructions you need.

#

You shouldn't need a whole youtube video.

digital relic
patent acorn
digital relic
#

?

patent acorn
viral coral
#

if you're going to ask for how to compile it on windows

#

cut the attitude

patent acorn
#

I JUST ASKED IF I WAS DOING THE RIGHT THING

viral coral
patent acorn
#

i mean i alredy found that out

#

anyways this topic is closed and just dont respond

foggy blaze
#

no

pseudo tendon
#

how much better does folia perform on a survival server with 100~ players is it worth it to switch and to recode all the plugins?

feral hazel
inner swift
#

Depends on this this and your hardware

pseudo tendon
#

spread with a border of 8k x 8k

inner swift
#

Will likely be worse than Paper

feral hazel
#

That's not far, but if you have the hardware there could be minimal improvements. Whether it's worth the effort - idk

inner swift
#

You should not be running Folia with players that close

lofty magnet
#

you should have at least 1k blocks between player (groups) iirc

feral hazel
inner swift
#

If players are less than about 1500 blocks apart from each other, they are guaranteed to be in the same region

lofty magnet
#

damn, it was even higher than what I remembered lol

inner swift
#

With an 8kx8k border and 100 players you will likely have one big region

pallid axle
#

does folia work with rcon?
we are trying to set up voting rewards (mineserv.top), but the response is null
connect successful, but...

is there a guide for connecting and setting up? on the paper is configured and working

hexed ice
#

rcon doesn't work

#

i would also not trust a voting site with full access to any command on my server

lofty magnet
#

I strongly doubt they really do that... but it's all russian so I can't read shit on their site xD

pseudo tendon
#

So when would it really be an improvement?

feral hazel
#

If your map is very large and your players are around 1500 - 2000 blocks apart or there are only a few players within a region

viral stone
#

When you actually have the ability to have multiple regions ticking

#

as per the entire point of the software

#

which relies on you having the correct amount of player spread

pallid axle
hexed ice
#

yes, a plugin like (nu)votifier

#

don't know if that supports folia yet but that shouldn't be much of an issue

pseudo ibex
#

I think there’s probably forks that do. I have a NuVotifier fork that does

pallid axle
#

rcon planned?

pseudo ibex
#

I don’t used rcon so I haven’t looked into it

#

I know voting plugin does

pallid axle
#

Not only voting is needed, there are many features that I want to include

viral stone
#

I mean, can't speak for leaf, but given that the mechanism is crap and its usage is generally limited to niche/weird setups, especially as it doesn't work with async commands, etc; I'd imagine that if there is literally a single ounce of care to fix it, that it's where other than ultra bottom of the list

tall marsh
#

When paperd /s

pallid axle
#

do you have a list of planned features?

viral stone
#

There is a todo list

#

outside of that, no

lusty mica
#

What the hell is tis'

feral hazel
#

do you mean folia?

lusty mica
#

Yes

#

Wassdis

feral hazel
#

regionized Multi-threaded server software

lusty mica
#

I'm reading

#

But what does regionized multi-threading mean?

zealous sage
#

Check the pins, read the docs

lusty mica
#

Okay okay I see

#

It's like a multi-threaded software

feral hazel
lusty mica
#

Is there a way I could make my plugin(s) folia-compatible?

feral hazel
#

yes

lusty mica
#

Aha

#

How so?

naive fable
#

Read the docs

lusty mica
#

I see the api

#

But I'm more of the

#

No main thread

#

What now

#

Guy

feral hazel
#

Of course the logic of your plugins also needs to be rebuilt so that they work thread-safely. But that has less to do with Folia and more to do with your plugin

lusty mica
#

Nuu

#

I'm confused

#

What is Velocity?

#

Like bungeecord with another name and api?

feral hazel
#

A modern proxy software in return for Waterfall. xD

feral hazel
#

But the performance cannot be compared

lusty mica
feral hazel
#

A lot a lot a lot!!

lusty mica
#

Does it have an antibot implemented in itself?

feral hazel
#

do you mean crashes or simply programs where 50000 players connect to your server?

lusty mica
#

Any sort

#

Cuz if no

#

I know what amma do tomorrow

feral hazel
#

Velocity can easily manage four-digit player numbers if your hardware cooperates.

lusty mica
#

Add Velocity support to AlixSystem

lusty mica
#

Buttt

#

I can still add an efficient antibot, right?

feral hazel
lusty mica
#

Or rather create, I should say

feral hazel
#

So as a plugin

#

The Velocity API is extensive

#

you can build whatever you want there

lusty mica
#

I made like a Paper/Spigot antibot

#

Cuz I've never seen anyone do a proper one for those

feral hazel
#

Have lots of fun with it. Post it on hangar (:

lusty mica
feral hazel
#

Interesting xD

calm fable
#

building the latest folia, on dev/1.20.2 getting this error. * What went wrong:
A problem was found with the configuration of task ':folia-server:compileLog4jPluginsJava' (type 'JavaCompile').

  • Gradle detected a problem with the following location: '/home/samos/Folia/.gradle/caches/paperweight/upstreams/paper/.gradle/caches/paperweight/taskCache/minecraft.jar'.
#

Reason: Task ':folia-server:compileLog4jPluginsJava' uses this output of task ':clonePaperRepo' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

Possible solutions:
  1. Declare task ':clonePaperRepo' as an input of ':folia-server:compileLog4jPluginsJava'.
  2. Declare an explicit dependency on ':clonePaperRepo' from ':folia-server:compileLog4jPluginsJava' using Task#dependsOn.
  3. Declare an explicit dependency on ':clonePaperRepo' from ':folia-server:compileLog4jPluginsJava' using Task#mustRunAfter.
viral stone
#

Yes

#

you need to use the paperweight snapshot

calm fable
#

how do you mean?

viral stone
#

there is a bug

#

that bug is fixed in the latest paperweight snapshot

#

I can't help much more

calm fable
#

where do i find this snapshot?

#

if you dont mind me asking

viral stone
#

you'd need to update the build.gradle thing, 1.5.7-SNAPSHOT

#

and maybe add the paper repo to the settings file, idk

calm fable
#

ok i will try that, thank you

restive crane
#

does folia use NMS or not?

#

or is it built from the ground up

viral stone
#

it uses mojang code

tacit tartan
#

Folia is just a fork of paper, so yes NMS is present, but I wouldn't expect leaf to be caring too much about paper <-> folia NMS compatibility

viral stone
#

and lots of heavy patches

restive crane
#

ok thanks for the information

#

Im just wondering why we use mojang's code.

spare tendon
#

cause we have to? to control the game...

viral stone
#

Because the alternative is basically writing an entire server from scratch?

spare tendon
#

We write our own code on top of it, but ultimately we have to interface with something

viral stone
#

See literally every other project which has done that and has basically gotten nowhere outside of being suitable for minigames?

restive crane
viral stone
#

I mean

tacit tartan
#

Probably, but the amount of effort required to create that is insane

viral stone
#

theres literally an entire wiki page of projects which have done then

#

none of them are even close to 2% mojang feature compat

spare tendon
#

is there any that haven't died?

tacit tartan
#

Does minestom count?

restive crane
viral stone
#

for a niche set of stuff

restive crane
viral stone
#

it's not something you use for survival servers

tacit tartan
#

AFAIK minestom is still puttering along but it's in no way a replacement for mojang code

restive crane
#

I just think that it would be worth it a some point to seperate from NMS completelly to remove complication and overhead

viral coral
#

it would be more complicated to move away from nms

restive crane
#

but I also understand why we don't do so at the time being

viral coral
#

not to mention minestom is still on 1.19.3 so wouldn't exactly call that doing great

calm fable
viral stone
#

it wouldn't ever be worth doing that

#

if you wanna do that, go use one of the many already threaded to heck impls like minestorm

restive crane
viral stone
#

as soon as you ditch NMS, you lose a lot of stuff

#

entities

#

blocks

#

all of the chunk gen stuff

#

datapacks, etc, etc, etc

#

there is a reason why none of the "no mojang code" pieces of software generally only get so far or gain traction in generally a "niche" area like minigames where missing all of that functionality is literally irrelevant

restive crane
#

I understand so for the standart user its better to keep nms

viral stone
#

not to mention the years of effort that would be required to basically implement all of that stuff from scratch, especially if you wanna maintain cleanroom

restive crane
#

indeed

formal shuttle
#

Is this cpu enough for Folia?

#

And 128gb ddr4 ?

modern plume
#

is there any direct link to download folia 1.20.1 without building?

jagged ether
#

No

daring nimbus
#

You still need at least decent single core performance, unless you have like 1 player per region. And that CPU doesn't have that

lyric cipher
spark ingot
#

Umm I have a question. Is that normal that comand blocks don't work or is it just me?
( and yes I have then anebled in properties ) No erros or notifications they just don't work.

livid crag
#

They do not work on Folia

spark ingot
fair merlin
#

No.

livid crag
spark ingot
hexed ice
#

we can't recommend anything if we don't know what you need

spark ingot
feral hazel
#

you have to solve this with commands that are executed and can't you do it directly via the api?

spark ingot
#

Well it'll be very hard to copy and paste 400 commands in span of seconds

#

+-

fair merlin
#

You probably want to make a plugin that does whatever you're trying to do.

#

There aren't any command blocks in Folia.

spark ingot
#

Oh dear

spark ingot
inner swift
#

Noting that scoreboards do not work in Folia, and the /team command is disabled

arctic tapir
#

relies on a global state etc etc etc

spark ingot
#

ohh

#

Heck

pseudo ibex
#

Hahah why did you thumbs down the pr 🗿

arctic tapir
#

bc it's a snapshot

pseudo ibex
viral stone
#

It’s a snapshot

#

Leaf did not want to update to a snapshot release once we asked

pseudo ibex
#

Oh alright so I should close it?

viral stone
pseudo ibex
silver sierra
prime juniper
#

hmm snapchat 💀

arctic tapir
#

what

random garnet
#

i have an old version of folia complied inn a folder

#

how do i update it

#

without recompiling a new 1 in a new folder

viral stone
#

git pull

random garnet
viral stone
#

in git bash or whatever

random garnet
#

no 1.20.2?

#

i did git pull so now i have to build again?

viral stone
#

Well, yes; you just sped up step 1, you need to do all the steps

opaque kite
#

Are there any store plugins for Folia such as tebex yet?

strange nymph
#

Does Folia help at all if all of the players are in like 1000x1000 or 1500x1500 area?

feral hazel
#

no

finite hinge
#

They need to be at least 1500 blocks from each other for Folia to help

#

So in a 1500x1500 you're probably getting one region and then just getting a slower Paper with less features

trim ridge
#

Folia doesn't support numa nodes?

viral stone
#

I mean, java doesn't really expose it

#

not to mention that would be a huge chunk of architecture to deal with

trim ridge
#

Alot of waste :/

#

What should I do for a many threads but slow speed processors

fair merlin
#

Not run Minecraft on it, generally.

#

Minecraft wants a high clock speed.

#

Even Folia would want high clock speed if NUMA were supported.

trim ridge
#

Cus my machine got alot of threads

#

I mean damn alot

fair merlin
#

Not great for Minecraft.

#

Web server, some other linux server, etc maybe?

trim ridge
#

160 threads

#

Or should I just disable multithreading and overclock it?

fair merlin
#

You should probably run just Paper and get a different CPU.

trim ridge
#

It got a overclocking feature inside it

#

Oh

#

But like what should I do with this one

#

Run dbs?

fair merlin
#

Dunno. Whatever you want I guess? Not really a Folia question.

viral stone
#

I mean, NUMA is all about data locality

trim ridge
#

To be honest I think I dont even need Folia when I got like 50 online

viral stone
#

the only real cost is that you've gotta deal with the caveats of accessing memory across NUMA regions which isn't the fastests but is generally not the end of the world so long as it's not cross CPUs entirely

trim ridge
#

It got 2 numa nodes per cpu

#

DCM

inner swift
#

Uh, did you buy this specifically for Minecraft?

trim ridge
#

No but

#

Just got curioused

inner swift
#

Fair

trim ridge
#

So threadripper would be decent?

#

Rn im using threadripper pro 3945wx

fair merlin
#

Pretty sure that's lower than the minimum core count we recommend for Folia.

#

Also depending on your use case you may just want to use Paper anyway. Players need to be >1500 blocks apart to take advantage of Folia. And you need a lot of RAM.

prime juniper
#

Can Folia also be used for 1.20.3?

subtle oriole
#

.3?

viral stone
#

I mean, given that there isn't even a .3, no

ancient monolith
#

what flags should i use to run folia

rustic imp
#

what is this

viral stone
#

advice atm is basically to just use aikars flags with a bunch of ram

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.

rustic imp
#

o

jaunty compass
#

Can someone help me?
My server kills itself when I leave it on for too long
no logs or anything just "Killed"

feral hazel
#

do you use folia?

jaunty compass
#

Yes

feral hazel
#

since folia does not have a stable release, what is the last git commit of your folia?

jaunty compass
#

"edafbce"

viral stone
#

"killed" means that the process was killed by something

#

generally the kernel as it ran out of memory

#

reduce Xmx

jaunty compass
#

Okay

trim ridge
#

128gb of ram

#

Let's gooo

jaunty compass
#

I have 4

charred iris
crimson folio
# jaunty compass I have 4

I assume you have a host with an OOM killer enabled. (oom = out of memory)
You'll want to reduce your xmx arg as stated above
If you want an amount to try, since I assume you don't have experience dealing with this, try reducing it by around 1GB and mess with that number over time.
(yes it will feel like you are paying for ram you can't "use" but that's just how it works 🤷 )

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.

fallow stone
#

Is folia good for a 20000x20000 world?

viral stone
#

if you have the correct player spread, yes

feral hazel
#

do your players move within this radius or is the world just that big?

fallow stone
feral hazel
#

if your players are all relatvely spread out within this radius then you should have advantages through Folia

fallow stone
feral hazel
#

👍

royal swallow
#

Does anyone know why the head is like this?

#

Is Minecrafts head-service down or something?

#

Explanation: Head does not have the "skin" in inventory, but has when placed.

finite hinge
#

I would guess the head didn't get the metadata set correctly on the item but it was close enough that the item->block conversion was able to fix it up

cold latch
#

hey all, is there a resource anywhere about all the documented tests on different hardware with different situations?

#

I've seen some Cubxity blog stuff for the higher end, and but was hoping to find out more about the lower end

viral coral
#

no one has done lower end tests and publicly posted about it

#

because you probably wouldn't want to run this on lower end hardware either

cold latch
#

at what level would it be considered a waste of time

viral coral
#

what hardware do you have

cold latch
viral coral
#

how many players

cold latch
#

I've seen the testing with the last X3D

#

and im starting a project from scratch

#

so currently none, but the point is to be able to scale just based on hardware changes

viral coral
#

are you designing a gamemode around folia

#

because depending on your usecase you might not even want folia

cold latch
#

Yes, tldr it's a SMP but specifically designed to spread players out

#

but has many more features on top of the "SMP" im just tldring it

viral coral
#

would just get the 7700 and call it a day tbh

cold latch
#

if I started a beta on the 3600 would it be worth it? what sort of player count could be expected?

#

like, would it be going backwards compared to paper?

#

the way it's described in a few places makes me think it'd be worse on certain situations

#

If I'm custom coding everything for Folia support anyways

viral coral
#

if the only thing you're hosting on that 3600 is a minecraft server and nothing else that would be eating resources

#

depending on the settings used you'd probably be able to get it to atleast a hundred players

cold latch
#

okay sweet as, that sounds about right for what we need at the start

#

what sort of gains would there be on top of that if I went with the 7700 instead?

viral coral
#

you get more cores out of it

#

so you can either hold more players, more entities or run something alongside like a small database / proxy etc.

cold latch
#

okay sweet as

#

thanks for all the help

viral coral
#

by no means recommended to run with low core counts but with the right settings it can be done

cold latch
#

oh yeah, we're purely running folia for the beta (with low specs) purely because we want to save money while we do testing

inner swift
#

Conside Hetzner's i5 13500 for starting over the 3600

#

Just beware of the E cores

cold latch
#

I looked into that, it had a lot more cores but also had like half the single thread score

viral coral
#

13500 probably isn't the worst idea especially since you could run some less important stuff on the side on those e-cores

cold latch
#

I had made the assumption that would damage stuff too much

viral coral
#

but it's a bit more of a hassle

inner swift
#

Uh, the 13500 definitely has a lot better single core perf than the 3600

viral coral
#

e/p core scheduling is not great on linux yet, it lacks the intel thread director patches in the kernel yet

#

p core wise it'll definitely beat the 3600

inner swift
#

So like, if you disable the E cores, it'll still beat the 3600, and they're about the same price depending on your config

cold latch
viral coral
#

you can disable the e cores for scheduling and manually schedule processes onto it which makes it interesting

cold latch
#

you're right

#

I do plan to have a DB so the e core would be useful for that

viral coral
#

yeah if you're willing to get your hands a little dirty then taking care of the scheduling yourself makes it a pretty good bang for buck cpu

cold latch
#

I wonder if there are certain types of threads (eg out of the following) if certain ones don't need a huge amount of performance so using the E cores with them

Initial Thread Allocations

GC: 3 concurrent
Chunk System IO: 2
Chunk System Worker: 1
Netty: 6
Region Threads: 6
#

I'll have to test things in the future when I get the hardware

viral stone
#

given that theres basically 0 mechanism for saying where you'd prefer individual threads end up, basically, that's not how it works

cold latch
#

ah okay

#

that's unfortunate

#

but probably makes sense

jaunty compass
#

Does anyone recommend VPS or cloud host that's less expensive than digital ocean? It seems like I'm paying a pretty hefty fee ($28) for a pretty low speced server (4 GB ram and 2 vCPUS). Is that just the cloud norm?

#

I don't need anything powerful really, just 8 GB of ram so I can (attempt) to host velocity and a lobby?

inner swift
#

This is not for Folia, right?

jaunty compass
#

This is

#

I mean it could work for paper too but I use folia so I posted it here

viral stone
#

I mean, with cloud you pay a premium to turn it off

#

using hardware that underspec'd for folia would also be kinda moronic

cold latch
#

it would just hurt performance no?

viral stone
#

yes

jaunty compass
#

I can host it on my own but my wifi isn't great so it has a tendency to kick people off or freeze

cold latch
#

Folia has a bit of overhead so unless you're benefitting from it there's not much purpose

#

why are you wanting to use Folia?

viral stone
#

I read wife, and was like, wat

cold latch
#

lmfao

#

"my wife kicks people off the server"

jaunty compass
viral stone
#

Folia comes with sizable overheads

#

i.e. the cost of a ticking region is more expensive than ticking an individual comparable server

cold latch
inner swift
#

Let me be sure, you are only hosting the proxy and velocity in that VPS, which will be connected to Folia in another server?

viral stone
#

you need extra cores, and a decent number of them, to actually be able to benefit from folia

jaunty compass
inner swift
#

Oh well, then what the others said

cold latch
jaunty compass
jaunty compass
cold latch
#

wait so you're gonna run a lobby, proxy and main server off a 2 vCPU?

jaunty compass
#

No

#

I want to know if I can get something better for about $30 a month

#

if not I'll self host

viral stone
#

see hetzner auctions

jaunty compass
#

I have much better specs but horrible wifi

cold latch
#

$37 Euro (about usd or so) for something much better than what you're looking at

#

https://www.hetzner.com/dedicated-rootserver/matrix-ex and https://www.hetzner.com/dedicated-rootserver/matrix-ax are what I'm personally looking at for an entry level beta server for myself

#

the 13500 and 3600 are the two im considering, I came to the conclusion that I could run the 13500 better

#

there are 6 performance cores and like 8 efficiency cores on the 13500, use velocity and maybe your low performance lobby on those, then your main world on the 6 performance cores

jaunty compass
#

Would getting a shared CPU ruin the point of folia?

inner swift
#

Yes

jaunty compass
#

So dedicated only?

viral stone
#

Folia has sizable overheads

#

if you're looking at minimising budgets, just use paper

jaunty compass
#

I just wanted to know because there's a huge gap between 16$ and 37$

#

With dedicated

cold latch
#

I mean, it depends on how much performance matters to you, and player counts you expect?

#

if performance and player cap is super important (like, hoping for 80-100 players) then go for hetzner

jaunty compass
#

Not much, like 10 players.

viral stone
#

seriously, just use paper

cold latch
#

honestly just go grab a pebblehost thing

inner swift
#

Folia is pointless for your requirements

jaunty compass
#

Okay

cold latch
#

get some cheap off the shelf hosting

jaunty compass
#

Then I'll just use paper

inner swift
#

You'll be better off with Minecraft specific shared hosting

cold latch
#

^ yep for what you want I'd say pebble is the best

#

it's not perfect, but it's cheap and "good enough" for the price

jaunty compass
#

I'd rather use hetzner

cold latch
#

I mean it's probably overkill for 10 players

jaunty compass
#

Does pebblehost support velocity?

cold latch
#

I would assume you could set something up

#

join their support discord and make a ticket to ask some questions

#

they'll say if it'll work for you

jaunty compass
#

I also wanna get a bit more comfortable with the command line which is also why I wanna use hetzner

inner swift
#

If you absolutely must use a VPS/dedi/command liney hosting option at the cost of price per performance, look into bloom.host and pufferfish.host's VPSes

jaunty compass
#

Thank you

#

I'll check all of these options out

#

and see what works best

verbal harness
#

If you are on a budget consider selfhosting or falixnodes

cursive breach
#

also what do y'all think of Contabo as a host

cold latch
#

Pebble is bad if you really need performance or a lot of players

#

but for 10 players or so it'd be fine

#

like I've had issues when trying to host 80-100 players

livid crag
#

ovh or hetzner if you want dedicated tbh. they are big so their price tend to be better.

cursive breach
#

Often I set up SMPs for medium sized groups of friends between 5-30 ppl who need the server up 24/7

#

Which is just nice for pebble

cold latch
#

budget is the right definition

#

and their higher tier stuff isn't worth it

cursive breach
#

AMD Ryzen 7 5800X - 8c/16t - 3.8 GHz/4.7 GHz
from ovh; is this really good enough for hosting a server with ~90 players spread out

cold latch
#

if you're talking about "game-2" that's stupidly expensive compared to hetzner

cursive breach
#

ah

cold latch
#

my pricing is in AUD at $120 which would be what, $80 usd or something

#

you could get a Ryzen 7 7700 with Hetzner for that

#

that is also a "sale" price

inner swift
cursive breach
#

My web server and personal server is hosted with Contabo rn

#

It's a decent price for a host that offers locations in asia

#

€8+3 for 4vcpu 8gb ram in singapore

#

Uptime isn't guranteed though

fair pewter
#

I figured out how to build the 1.20.1 folia jar, but I cannot figure out how to clone the 1.20.2 dev one. Just keeps giving me the 1.20.1 jar, how can i clone the 1.20.2 version instead.

pseudo ibex
fair pewter
#

im still confused, i dont understand what you mean by that

fair pewter
#

i got it now. Putting branch caused it to give me errors. removing it worked

fair pewter
#

Im getting this issue now when I try to build the jar. This didnt happen when I was building the 1.20.1 jar. I dont know how to do the possible solutions it says

fair pewter
#

its always failing at this part that didnt happen before with the previous 1.20.1 build

arctic tapir
#

update paperweight to 1.5.7

fair pewter
#

how can i do that

viral stone
#

in the gradle config for the project

fair pewter
#

now where is that "gradle config" because i literally have zero idea where iti s

viral stone
#

the build.gradle.kts file

fair pewter
#

I still have zero idea where that is

#

cannot find it

#

oh its inthe paperweight project. i found it, but I still dont know how to update

viral stone
#

wat

fair pewter
#

oh sorry i dont know how I missed it :l

#

just found it just now, sorry for the inconvenience

#

was able to build the 1.20.2 jar

#

didnt know i just had to edit the numbers in the file

plush needle
#

is folia compatible with datapacks? i dont see any mentions of it on the #readme in github

livid crag
#

datapack that dont rely on anything global stat will work. Though it will be very low prio if anything breaks.

plush needle
#

im planning on running a OneBlock SMP (vanilla) with some people, so idk if that datapack is like compatible or smth

... so far, i aint getting a response. asking ChatGPT about it, global stat means anything to do with multiple regions in this case. I'm assuming this means it won't break!

harsh yacht
#

You'd be fine with a paper/pufferfish server jar if so. Folia is experimental

timid grotto
#

also player count doesnt really matter. if you have the hardware and your players will be spread out enough to create multiple regions (1.5k+ blocks), folia will still perform better

finite hinge
#

functions not working kills off most datapacks that "do things"

#

Well, really it kills them all, past that all a datapack can really do is make a new world

timid grotto
#

well they can add armor trims i think, not sure if that works on folia

#

probably other stuff im forgetting too. havent really been keeping up with datapack features

daring nimbus
#

worldgen works fine on Folia too. most of the datapack stuff that is basically an advanced config probably works

jaunty compass
#

Hey, I made a plugin that adds pumpkins called candies to the tops of mobs heads for holloween.

#

But when I kill the mob, the candies don't drop.

jaunty compass
#

Wrong channel

drowsy mountain
#

hi, just installed folia via itzg/minecraft-server docker image. it works perfectly but i cannot send commands via rcon. keeps returning Error executing: help (null) for all commands (including help). if i send the commands directly via console it works fine. any suggestions?

#

version:

This server is running Folia version git-Folia-17 (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: edafbce)
You are running the latest version
Previous version: git-Paper-196 (MC: 1.20.1)
viral coral
#

wouldn't be surprised if rcon is broken

drowsy mountain
#

the rcon server or the rcon client?

viral coral
#

server

#

yeah that's definitely broken on folia

drowsy mountain
#

damn i already setup a web client for rcon. at least my server is more stable now. 😕

viral coral
#

why exactly are you running folia

drowsy mountain
#

just trying out things

viral coral
#

just keep in mind folia is not a great idea on less powerful hardware

#

& plugins have to be specifically compatible with it

drowsy mountain
#

i know but somehow it is more stable than paper

#

probably bc my single core sucks so bad

viral coral
#

consider going through the optimization guide on paper first

tawdry gullBOT
drowsy mountain
#

can i switch back to paper from folia later without too much changes?

arctic tapir
#

yes

prime juniper
#

Is it easier to move to folia from paper than from fabric?

viral coral
#

depends

#

if you have a bunch of fabric mods then yes

prime juniper
#

I do have a bunch of fabric mods

#

But I'm switching to paper

#

Because it has most of the plugins i need for moderation that do exactly the same thing as the fabric versions

#

And performance seems to be better

#

The only thing that is way worse is chunk loading and generation

#

But it's a sacrifice i'm willing to make given the fact that i can move to folia more easily later + I can also use skriptlang now + performance is better

#

For some reason it feels like fabric has gotten way worse in terms of performance lately

#

I can't get mspt to go under 5 even in a test server with 1 player

scenic sky
#

fabric aint the cause for that

prime juniper
#

While on paper with the same hardware I get about 1.2

prime juniper
scenic sky
#

the performance becoming worse

prime juniper
#

I don't know

#

It just used to be better

#

Even with no mods or only performance mods

scenic sky
#

perhaps mods arent keeping up, just being ported to new versions without innovating

prime juniper
#

I can't fet mspt under 5

tranquil epoch
viral stone
#

to expose to the web? yes; but some people do use it for internal tools, etc

fallow stone
#

whats the player chat event?

#

every one I see is deprecated

viral stone
#

Please actually read the javadocs

#

they often point you to nondeprecated variants

tranquil epoch
#

yeah I can probably just add back in rcon then

golden mica
#

hey leaf

#

The mob spawn have some problems

#

The number of mob spawn isn’t right

#

May you could check the code

viral stone
#

you would need to check the mob spawn limits as reported by the commands

#

folia is basically back to pure vanilla pre-per-player-limiting mob spawning logic which sucks for servers

golden mica
#

No

#

Never the same

#

I give you an example

#

If you per player is on and in bukkit.yml you let then vanilla

#

You will see so many mobs and any other animals

viral stone
#

per-player does not exist in folia

#

which means that the mob spawning logic has been rolled back to before paper and then mojang added that additional mechanism to try to control mob spawning more

#

ideally we would just rewrite mob spawning inside of paper to actually truly be per-player, but that comes with a lot of caveats

golden mica
#

But the fact is

viral stone
#

which was him removing per-player mob spawning properly?

golden mica
#

Even in bukkit.yml I set this number so low

#

Creature even higher than vanilla

viral stone
#

oh, nvm, no idea what he was doing there

inner swift
#

What are the actual mobcap command outputs

viral stone
#

as I said, you'd need to showcase mob counts

#

but, my heads far too spinny to play the game of requesting information

golden mica
#

Tomorrow I will show you the output

#

I can’t stop my produce server

#

If you let the bukkit.yml same as vanilla, the number of creature will make you suprice

finite hinge
#

This is so vague I feel like you're trolling

#

Why say surprised instead of saying it's too high or too low

random garnet
#

how do i fix these

tacit tartan
#

that's not a valid git command. Looks like you tried merging the clone, branch, and checkout commands all into one?

random garnet
feral hazel
random garnet
#

okay let me try

coarse prawn
#

Folia discord get deleted?

scenic sky
#

there has never been a folia discord

coarse prawn
#

Yes it is

#

Bruh

arctic tapir
#

there’s never beeen one??

scenic sky
#

this is the folia discord

buoyant tundra
#

What's the current state of Folia? Is it stable by now?

inner swift
#

Still in dev

tall arrow
#

I want to start a server for my community, and create custom plugin for it. Will folia lack anything that would affect vanilla Minecraft?

arctic tapir
#

data packs

#

certain commands

tall arrow
#

Oh so data packs are not implemented yet?

#

Okok that's what I meant

#

Thanks

arctic tapir
#

not every part of it iirc

#

teams aren’t a thing etc

viral stone
#

Please see the readme info, etc, etc; a lot of this stuff is documented

clear kelp
#

Is there a list of plugins that are supported on Folia?

hexed ice
#

you can filter plugins by whether they support folia on hangar

merry grail
fair merlin
paper scroll
#

What is the player-record eith folia yet?

feral hazel
#

1000 players ig

paper scroll
#

Thx

tulip drum
#

I how do I set up folia

I know that you have to build folia however as for running the server like with bat file how do you do that?

feral hazel
#

drag the built jar into a folder and run it. Same as with paper

tulip drum
feral hazel
#

if you are on a windows system double click on the bat file

#

or what do you mean?

tulip drum
#

nvm

#

I was just building it wrong

random garnet
#

is it possible to play in a server with 8 cores running on folia for like 60-70 players

#

if someone tested it letme know

feral hazel
#

with 60-70 players yes. But more like 16 cores

random garnet
daring nimbus
#

the recommended minimum is 16 cores

#

With just 70 players, normal Paper should suffice, and it also doesn't need multiple cores that much

feral hazel
#

At least 16 cores are recommended. Anything under 16 cores not recommended and using paper makes more sense

delicate lichen
#

please help to me, I don't know how to expand Utilization, i use simple config file "java -Xms4G -Xmx4G -jar folia-paperclip-1.20.1-R0.1-SNAPSHOT-reobf.jar --nogui
pause", complex configuration file that I simply copied from someone "java -Xms4G -Xmx4G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar folia-paperclip-1.19.4-R0.1-SNAPSHOT-reobf3.jar --nogui
pause" I don’t understand how to set Utilization, make it large, for example not 100% but 200-400%, the characteristics of my PC i5 9300H, gtx 1660 ti, 16 RAM, 8x8 2666MHz, (I know that this is not a server, but I just want to test ) help me please

Aikar's Thoughts

Learn more about my In depth study on tuning the G1GC garbage collector to be optimized for how Minecraft servers run, and keep low pause efficient usage.

arctic tapir
#

not enoguh cores

hexed ice
#

you have 1 player online

feral hazel
arctic tapir
#

also 1.19 is not supported

delicate lichen
#

But if you run it on a 16-core processor, will everything be automatically configured as needed? or does something need to be written down? and exactly 16 core (not threads?)

viral stone
#

Read the docs

delicate lichen
#

I read the documentation, but I don't have the opportunity to test on a 16 core PC

viral stone
#

The docs state how stuff is calculated last I knew

#

and how to tweak the thread counts available, etc

delicate lichen
viral stone
#

Basically, you're working with pre-release software of a highly technical nature in which you're expected to have some level of technical understanding

#

you can increase the max utilisation by tweaking a few settings, as per the docs

#

but, that's not magically gonna make that region which is shitting the bed that hard any faster

delicate lichen
#

I specifically loaded the thread with work to find out how other regions work, I just want to change Utilization 100% -> Utilization 200%

daring nimbus
#

are you on 1.19 by any chance? there was a bug causing regions to completely stall in 1.19

viral stone
#

Yes, and you can do that

#

iirc it was a setting or a system property

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.

delicate lichen
delicate lichen
viral stone
#

that's not a config file

#

it's in the paper config files

#

idr the thing, read the docs

delicate lichen
viral stone
#

wat

fierce knotBOT
livid crag
delicate lichen
viral stone
#

It is written in the bunch of documentations we tell people to read before using the software

delicate lichen
viral stone
#

it is in the FAQ

tacit tartan
viral stone
#

Right in the section you wher elinked

delicate lichen
#

im my pc

delicate lichen
delicate lichen
#

how to find in config file "Netty IO"?

#

"chunk system io threads: ~3 per 200-300 players" -> find

#

chunk system workers if pre-generated, ~2 per 200-300 players -> find

#

(under global config, threaded-regions.threads) -> find

finite hinge
#

I think that one is in spigot.yml

delicate lichen
queen olive
#

Asking out of sheer curiosity. Is the reason folia is only built from source and not provided as a jar, is as a softlock for the requisite tech skills? In other words, to prevent a bunch of idiots from going "I swapped my paper jar for folia jar and everything broke, please fix it for me"?

#

As well as bottom pin strongly suggests as much

bold osprey
finite hinge
#

I mean, it's not known to be unsuitable for production 😛

#

But the whole project is very DIY and if it breaks you get to keep both pieces and is likely to stay there

#

So if you can't figure out the basics of building and configuring it...

#

This channel wasn't even supposed to exist but we were worried without it #folia-dev would get used by people trying to just run it

bold osprey
#

so, if it's not something that can tolerate some crashes, like something related to pvp, it's really bad to run it on folia

deft zephyr
#

does world guard and world edit have folia support yet?

feral hazel
pearl vine
#

Hey, i got a problem in Folia, where the distance of mobs triggered by a player is waaaaay too low and i dont know why and cant find any matching config.
For example: Phantoms dont attack players because they are simply too far up in the sky to get aggressive towards the player or the enderdragon never going to rest on his pedestral in the middle because it acts neutral to the player due to its distance, same with enderman, they get only aggressive when you stare them in the face AND you stand right in front of them.

inner swift
#

entity activation range

#

But make sure you're fully up to date

pearl vine
#

i am on the newest current version, thanks

#

hmm

#

entity activation range seems to be correct

cinder timber
#

Does Folia works on 1.20.2?

#

Compiled from github, but seems it works on 1.20.1

viral stone
#

there is a dev branch

cinder timber
#

Yep

#

Compiled it the first time to be honest and idk what is wrong

#

Seems that I compiled it with the last patch, but it works on 1.20.2

#

Does it works if I just use gh repo clone PaperMC/Folia from 1.20.2 branch?

viral stone
#

No, that's not how that works

#

you need to checkout that branch

cinder timber
#

Thanks, now it compiled as 1.20.2

minor plinth
#

can i join a papermc server with a cracked launcher

inner swift
#

This is not supported here

minor plinth
#

but can i?

inner swift
#

That's on you to find out, we won't help you with that

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.

viral coral
#

no

arctic tapir
#

literally in themessage above lol

#

also no

viral coral
#

it's called bukkit

arctic tapir
#

insanely hard and stupid

viral coral
#

folia already breaks bukkit plugins to some degree

#

attempting to add fabric or forge support seems like a waste of time

viral stone
#

Handling something as invasive as folia with stuff like mixins would be arse

#

you can also run folia with something like ignite

viral coral
#

even if folia existed for something like forge

#

it'd be stupidly expensive to run at scale

#

modpacks are heavy

#

not to mention you'd have to make sure every mod is compatible with folia's changes

#

you should not have too many performance issues with 10 players lol

viral stone
#

There have been various mod attempts to parallelise the tick loop in forge

viral coral
#

512gb ram & 32 cores sounds like bad hardware though

viral stone
#

they all generally end up dying a cold miserable death

viral coral
#

java isn't the problem

viral stone
#

nothing to do with java

#

concurrency and highly globalised state is not a good combination

viral coral
#

the community is not going to be waiting on major changes to apis that are like 10 years old at this point

viral stone
#

assuming you mean event driven, theres already threaded re-impls of the MC server which do that

#

and are generally missing 90% of the features, because gl writing predicable game logic without a tick loop

viral coral
#

was about to say the caveat being that they're written from the ground up instead of based off of vanilla

#

meaning you miss basically everything for a normal SMP playthrough

buoyant tundra
#

Considering that Folia benefits from having lots of cores, would it be smart to get an ARM server that typically have more cores?

scenic sky
#

how well that works hasnt been really tested

paper siren
#

Java runs fine on ARM, and also there are many different GCs with different characteristics.

novel lodge
#

how is ARM not mature yet

#

it is been mature for more than a decade now, just look at phones

viral coral
#

only really been relevant for server usage in the last few years

#

and now desktop usage with apple silicon

manic basin
#

How to setup folia
I used amd epyc 64vcore

I want used full core to folia for performance

Pls don't say go back to papermc
I have plan to make smp server

arctic tapir
#

how far away will your players be from each other

manic basin
#

I don't know too

#

But I need world loading performance, fast.

arctic tapir
#

if your players are close to each other you’re better off using paper

#

also don’t run this on a vps/vds or something like thzt

manic basin
#

No

#

The players are far apart.

#

Full SMP

#

I'm outside the house

#

This is my server.

tranquil epoch
#

is it pre-generated?

fair merlin
# manic basin

Are you using a VM on that CPU? Or a dedicated server?

viral stone
#

it's a VM

fair merlin
#

That's gonna be rough.

viral coral
#

it's an azure vm

#

probably leeches off of free credit

#

especially considering there's a desktop environment on it

dense pivot
viral stone
#

I mean, folia adds a chunky overhead

#

combine that with the overheads of KVM

#

potentially noisy neighbours, etc, etc

buoyant tundra
#

Or rather still x86?

viral stone
#

like, using a VPS is generally not the ballmark for something like folia

#

We've only tested x86

#

arm is generally a little less mature and niche in terms of servers

buoyant tundra
#

But in theory, the ARM cores do count?

viral stone
#

well, yes

#

a core is a core

#

as for how well that core performs and the underlying architecture, etc, etc

buoyant tundra
#

Good to know then

viral stone
#

folia just cares about having a sane number of pipelines able to jam work down

#

HT is a ballache because it can eat generally around 30% of the performance iirc was the figure in suboptimal cases

#

(something I'd imagine MC would induce)

#

as for arm, it's generally gonna depend on the CPUs architecture

fair merlin
#

Minecraft wants high speed cores. Folia wants high speed cores and a lot of them.

buoyant tundra
finite hinge
#

If you can spread people out enough lots of slower cores might be alright. Basically take whatever 3-8 of those cores can support on Paper and scale it up based on how many cores you actually have

#

Assuming you can spread people out optimally

manic basin
#

AWS, AZURE have host

viral coral
manic basin
#

Oh sorry

#

But i not used azure

finite hinge
#

If it's not azure someone is ripping you off reselling azure stuff or failed pretty hard at installing things...

viral coral
#

you're definitely running something sketchy if you're running the azure kernel and have hardware like that

#

only to run a desktop environment

manic basin
#

But I have access to all the resources. and can access root

viral stone
#

yes, you have access to all the resources assigned to your VPS

manic basin
#

I used folia now & everything is normal

viral coral
#

no one is going to give you a 7502p + 128gb ram for cheap without using some stolen azure / aws account

#

is the point that i'm trying to make here

inner swift
#

Well, you can just compile it ¯_(ツ)_/¯

manic basin
inner swift
#

People are just telling you it that there's something off with this and likely not a good idea, but you're free to use it

manic basin
viral coral
#

that makes it even sketchier

manic basin
manic basin
fair merlin
#

You don't want to be using a VM for Folia or Paper.

#

Too slow.

manic basin
#

spigotmc & bukkit very slow

viral stone
#

you're running a CPU optimised for hosting web servers, not gaming

#

on a VPS, at that

manic basin
#

Folia for me good cpu used 11% eltra gen maps

manic basin
#

I got this for an affordable price.

viral coral
#

because it's probably stolen

manic basin
#

I don't care about that.

#

I rather think it is safe.

viral stone
#

either way, I believe this discussion has generally run its course

manic basin
#

It has limitations with only 64 GB storage spaces

finite hinge
#

btw Paper generates chunks just as fast as Folia, afaik

manic basin
dark path
#

I can't imagine you couldn't just host your SMP on a traditional MC server hosting site just using Paper. Folia is best afaik for when you need hundreds of players all far apart from each other, SMPs usually (in the traditional sense) have people close-ish together for interaction.

I could imagine anarchy servers would benefit a lot from Folia, but a regular SMP? Not so sure

viral coral
#

smps can work fine if you set them up in a way that it spreads out the players

dark path
#

Then again, I'm no expert

dark path
finite hinge
#

If you have a PvE server where people naturally come together in groups to make towns or whatever then you just have to ensure each of those are far enough apart

#

You don't get the full usage you would from something like 2b2t where each player may end up in their own region but you still have each town in one so farms and such are isolated

slender anvil
#

help

arctic tapir
#

full error

slender anvil
fierce knotBOT
fair merlin
#

Post a screenshot or paste of the full build error

slender anvil
fierce knotBOT
silver sierra
#

cleanCache then applyPatches with --no-build-cache

#

some jar failed to download properly

royal swallow
#

Do you think I could benefit of going over to Folia?
https://karta.agoniamc.eu/ (check map how players are located)

Right now is a pretty dumb time tho, since it's a swedish server and we are around 30-70 players online during days. And people have big farms and stuff which we had to nerf the shit out of to save performence and keep up good TPS. We are also a serious server with a good income, so we can afford a even better dedicated machine with more cores/threads for Folia usage.

daring nimbus
#

it will make sense if the players are very spread out, and all your plugins work with it (or you can afford to modify them to make them work). Your map seems pretty large, so as long as players are actually spread through the world it might make sense

slender anvil
#

It depends on your cpu

slender anvil
fallow stone
#

wow

finite hinge
#

iirc the only reason it should fail there is due to git not being setup

silver sierra
#

if it was that it would usually fail on a later step

#

libraries failing to download and git clone failing kind of point to a flaky connection

viral stone
#

I do wish our tooling would be more "happy" to dump command feedback out when shit goes sideways, etc

modern plume
#

Can i run folia on this?