#folia-help

1 messages · Page 20 of 1

wise epoch
#

that comment isn't going anyway anytime soon, is it? 😭

jagged ether
#

nope

viral coral
#

@half wolf instead of following some random youtube source

half wolf
#

Hi

viral coral
#

just go through the FAQ

#

there's an entire section on what changes to plugin development (the new rules)

#

i cannot imagine there's anything that would make making folia plugins easier in the long term, there's just some basic rules to follow for dealing with multithreading

half wolf
#

Last commit was 3 months ago, but its still in development?

viral coral
#

dev/1.20.4 branch

half wolf
#

Niiiice

marsh mapleBOT
#

(65c4aa0b2d5bd6481a064824) // @sharp parcel (@pineburger / 611469656569675787) has been banned by @hexed ice (331822092477792256)
Reason: spam/hacked account

keen carbon
#

Hey guys i have project for folia and i m stuck

#

I have a server using ryzen 7950x3d with debian 12 OS, I compiled folia and everything is fine. I can easily run the folia in Java 21 with Aikar's flags, but since the project is large, I want to use the Shenandoah GC method. I installed the Shenandoah GC Java21 version of this method, created specifically for Java21, on my debian, but no matter what I did, I cannot run the server with Shenandoah flags. I tried several Shenandoah GC Java21 versions, but I either get the VM virtual machine not found error or the Folia does not support this java version error.

viral coral
#

provide the exact error

#

and your exact java version

#

ensure you're using java from a distribution like amazon corretto, openjdk might not have shenandoah last time i tried

paper siren
#

Shenandoah is still non-generational in Java 21, I'd recommend using GenZGC instead

finite hinge
#

I was going to say Minecraft doesn't follow the generational hypothesis anyway but then I remembered BlockPos and Bukkit's Block class

marsh mapleBOT
#

(65c52ee72d5bd6481a064826) // @lapis pivot (@galxline / 987598946354466866) has been banned by @hexed ice (331822092477792256)
Reason: Quick-banned for sending a message in #folia-help

keen carbon
#

I'm reinstalling Debian, I can't send the exact error now. I will rebuild everything.

tawdry gullBOT
viral coral
#

21

#

literally just enable zgc & use generational

#

it's just adding a flag like any other java flag

#

if you're not comfortable doing that i'd refrain from touching garbage collection

paper siren
viral coral
#

that

#

yes

#

remove aikar's flags completely

keen carbon
#

Okay I will do it

#

Thank you for your help, I will try it now.

keen carbon
viral coral
#

--add-modules=jdk.incubator.vector has literally no usecase on folia

#

-Xms100000M -Xmx100000M
-Xms100G -Xmx100G

keen carbon
#

now like this

#

java -Xms100G -Xmx100G -XX:+UseZGC -XX:+ZGenerational -jar folia.jar --nogui

daring nimbus
#

thats a lot of memory

#

ZGC should handle that fine tho

keen carbon
viral coral
#

as said by ywell before, zgc does not really have anything to configure

keen carbon
#

I am grateful for your help. Thank you very much for helping me set up the testing system.

#

**** WARNING! INCORRECT SYSTEM CONFIGURATION DETECTED! *****
[0.002s][warning][gc] The system limit on number of memory mappings per process might be too low for the given
[0.002s][warning][gc] max Java heap size (102400M). Please adjust /proc/sys/vm/max_map_count to allow for at
[0.002s][warning][gc] least 184320 mappings (current limit is 65530). Continuing execution with the current
[0.002s][warning][gc] limit could lead to a premature OutOfMemoryError being thrown, due to failure to map memory.

#

should i ignore this?

viral stone
#

I mean

#

Jaba is warming you that your system isn’t configured to let it map the amount of memory you said that it should use

paper siren
#

you probably also want to use large pages

viral coral
#

do what it says

keen carbon
keen carbon
viral stone
#

Read it

keen carbon
keen carbon
#

Do you know why I cannot use fawe with folia ?

#

it says it support but

#

Error loading plugin: Could not load plugin 'FastAsyncWorldEdit v2.9.0' as it is not marked as supporting Folia!
java.lang.RuntimeException: Could not load plugin 'FastAsyncWorldEdit v2.9.0' as it is not marked as supporting Folia!

fair merlin
#

Might be the wrong version

#

A lot of plugins that support Folia have dev builds or marked plugins specifically for it.

keen carbon
#

Thank you

#

I will ask

fair merlin
#

Be aware that there's not a ton of plugins that support Folia yet, and Folia itself is still in development.

#

So you may encounter some issues you'd have to diagnose/troubleshoot/etc

#

Or manage expectations.

#

Or both!

keen carbon
keen carbon
# fair merlin Be aware that there's not a ton of plugins that support Folia yet, and Folia its...

However, I faced a small and very important problem. I was able to compile the folia version of many plugins, but I could not compile the special folia version for EssentialX, which is very important and for the server to work properly. I can't do many things without EssentialX. I need this issue. Can anyone compile the EssentialX custom folia version? I have been working on EssentialsX for hours since yesterday and I could not compile the file on both my own computer and the server computer.

#

Can any knowledgeable person help me with this?

viral stone
#

I don't provide 1:1 support

fair merlin
#

Though no idea how much support they'd provide for Folia

keen carbon
#

I tried to compile this on both my computers but was unsuccessful.

fair merlin
keen carbon
#

II'm getting some java errors.

fair merlin
#

We just make Folia here.

#

For plugin support you should reach out to the plugin authors.

keen carbon
#

Maybe if you try your luck for me once, maybe it will work for you? because I see a lot of people compile it and use it for folia.

fair merlin
#

I can't compile a plugin for you, sorry.

#

And you really shouldn't get random people from the internet to compile plugins for you :)

viral stone
#

If you show the error somebody might know a solution

keen carbon
viral stone
#

but we're not going to compile random jars for random people and generally do not want people sharing random compiled jars either

#

I mean, it's experimental pre-release software

#

there is some expectations that you either are, or pay, for people who know what they're doing

keen carbon
#

Since I can't compile, they tell me not to help and not to use folia. but I want to learn.

fair merlin
#

But best I can suggest is do some searching for plugin compilation issues and see what you can come up with.

#

I'm assuming you know Java already?

#

If not then you'd want to start there for learning.

keen carbon
inner swift
#

Well, firstly, have you checked with them whether that branch is functional? Have you verified which, if any, features are broken?

keen carbon
fair merlin
#

We do not allow that here.

marsh mapleBOT
#

(65c6a9712d5bd6481a06482c) // @keen carbon (@.potenza / 429307673453002762) has been warned by @fair merlin (188417437295706113)
Reason: We cannot compile plugins for you - paid or otherwise.

fair merlin
#

Sorry, but we've been pretty clear about this several times now.

#

I also looked at your messages in MOSS and you started by asking someone to send you the jar, not for help with compiling it.

keen carbon
fair merlin
keen carbon
keen carbon
fair merlin
keen carbon
#

Still thank you for the help

fair merlin
#

Good luck

keen carbon
#

Is there a plugin like MultiVerse that currently supports folia? How can I transfer between worlds in folia?

fair merlin
#

World stuff is a little funky still. Not sure if multiverse has a Folia build.

keen carbon
fair merlin
#

Well there you go then.

inner swift
keen carbon
inner swift
#

¯_(ツ)_/¯

#

World loading/unloading is not yet supported in Folia, except if you make a datapack

#

The plugin is just a workaround so wouldn't be too surprised if it doesn't work

keen carbon
#

I think this plugin works in previous folia versions.

fair merlin
#

Could be.

#

You'd have to check.

#

That's what we'd recommend, too.

#

But like I said earlier, not all plugins/use cases are going to support Folia.

keen carbon
#

I think all developers should prepare plugins for folia. While there is a technology such as using dual cores, it does not make sense to proceed with single core when this is possible with folia. Seeing dual core after years significantly expands your server capacity for minecraft.

viral coral
#

it does not make sense to proceed with single core when this is possible with folia.

#

but it does

#

the average minecraft server is not going to benefit from folia & it's increased resource usage

keen carbon
#

Yes, I hope folia plugin support increases rapidly.

scenic sky
#

probably wont

keen carbon
#

I finally managed to compile EssentialsX successfully, but this time when I installed EssentialsX, the economyshopgui plugin stopped working completely and does not want to work.
kekwhyper

keen carbon
inner swift
#

That's not what Folia is

scenic sky
#

did you see what michael just said

finite hinge
#

Paper can already make pretty good use of like 4 cores

#

More players, higher view distances, and better GCs increase the core usage more

keen carbon
finite hinge
#

Single core performance matters on Folia too 😛

#

Paper uses the extra cores for networking, chunk loading, and GC

#

The ticking is 1 core

keen carbon
#

I understand better now

fair merlin
keen carbon
fair merlin
#

So Folia definitely isn't for everyone.

#

If you aren't exactly sure of the differences between Folia and Paper you most likely should be using Paper.

finite hinge
#

Folia can break a world up in to regions that all use their own core but only if players are far enough apart from each other

keen carbon
#

That's why I decided to move forward from folia. I want an experience close to pure vanilla.

fair merlin
#

Folia has the same deviations from vanilla that Paper has.

#

It's a fork of Paper.

#

It actually has a few more deviations than Paper because of the nature of how it's built.

finite hinge
#

Like no command blocks or scoreboards

fair merlin
#

Right.

#

And probably some bugs we haven't found yet.

scenic sky
#

anything global doesnt work

keen carbon
#

But still, when it comes to a situation close to survival and vanilla, folia will do a good job in this regard, right? because most of the big servers restrict things like mob spawns. and it kills the pure vanilla experience.

inner swift
#

Depends on your hardware and player spread

finite hinge
#

Folia can be good if your players stay far enough away from each other

fair merlin
#

And the hardware can support it, yeah.

#

If you're running on like a 4 core VM you're gonna have a bad time.

#

Folia wants to run on high core count/high clock speed CPUs.

keen carbon
#

I am using 7950x3d processor.

#

with debian 12

fair merlin
#

If you aren't running anything else on that server and it's a dedicated server then that'd work.

keen carbon
#

yes it is a dedicated server
only for mc server

fair merlin
#

I mean only running one instance.

#

Not like three instances of Folia or something on one server.

#

I'd probably still recommend someone build something on Paper first and see where their weak spots are rather than jump right to Folia. But if you have the hardware and don't mind any potential crashes/unpredictability then give it a go.

keen carbon
#

its only one instance

#

Yes, it would be nice to start with Paper, but since I like to try testing new technologies, I decided to do it with folia. I hope everything will be fine.

#

By the way, thank you for enlightening me.

fair merlin
#

We want people to use Folia, we just want to make sure their expectations are realistic. There are a bunch of misconceptions about Minecraft, Paper, and Folia.

#

There's also no magic answer. You still need to know how to run the server and configure things properly.

keen carbon
#

Yes, I definitely agree with you. I learned a lot of things here that I was wrong and didn't know about folia. Thank you very much for this. If all goes well, I'll be happy to share the server stats and how the server performance status is going.

coral wave
#

would folia be worth it on my server if i have a 2 core intel core i3-1115g4 and 8GB of RAM?

timid grotto
#

no

tawdry gullBOT
#
Folia

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

For more information:

Folia will:

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

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

timid grotto
#

pretty sure readme has minimum recommended specs

#

paper already uses multiple threads, so there isnt room for folia to get more performance out of a low core count cpu

coral wave
#

ok lol

alpine coral
#

오오

#

ss

fair merlin
velvet radish
viral stone
#

you can't modify the world from the global thread

paper siren
#

I mean you know the location you want to drop the item at, just schedule a task there to do that

#

the global scheduler is something you don't want to use most of the time

subtle fjord
#

is it safe to run folia with java21? or is it recommended to use 17?

paper siren
#

both works

keen carbon
#

Hey do you know any plugins with which I can protect my world? For 1.20.4 folia, none of the dev versions of worldguard or the versions edited for folia work.

paper siren
#

the global scheduler is meant for stuff that needs to be modified/accessed globally, but that does not apply to most features

velvet radish
#

i see, thank you!

keen carbon
#

Which servers using folian are currently popular? Or is there a place where I can learn about servers that use folia?

inner swift
#

2b2t

keen carbon
# inner swift 2b2t

If you know any servers other than 2b2t, I would appreciate it if you could share them with me. I want to check the servers in general.

#

I'd love to hop on your server and take a look.

#

What exactly does this private fork do? How can it contribute to us?

pliant lodge
#

am i doing something wrong

fair merlin
pliant lodge
#

figured

fair merlin
#

But there should be a spark build for Folia

jagged ether
#

Spark has some special PR/branch for Folia support

pliant lodge
#

but it says it cannot be enabled on folia

paper siren
pliant lodge
#

so i thought it will work

fair merlin
#

You need the Folia specific one.

pliant lodge
#

oh ok

fair merlin
#

Just like you’ll likely need the folia specific version of most plugins.

pliant lodge
#

it shows spark in the plugins command but it still shows the warning

fair merlin
#

The warning to use Spark is gonna be there until we remove the warning.

pliant lodge
#

oh ok one more question is there any roadmap or anything for folia?

#

or is it just getting developed

fair merlin
#

No roadmap really.

#

Leaf might have one in his head but he hasn’t shared it.

keen carbon
#

Hey no worldguard folia version on the market works for the 1.20.4 folia jar. Is there anything you guys can suggest? World Guard protection will be needed to activate the server.

livid crag
#

Not really, Folia is an unreleased expermential software, if you dont have your own dev team that can make custom plugins, Paper is a better choice for you.

left gust
grizzled scaffold
#

Hello why I get this error

#

RCON is not working on Folia

livid crag
#

You are not using an updated version. Try that

fair merlin
#

There may still be some rcon bugs too. Please report

keen carbon
#

Hey apart from the Lands plugin, do you know of any anti-grief plugins that support folia?

proud marlin
#

Why is it that whenever I put a plugin in the folder supported by folia it simply isn't recognized?

fair merlin
#

Same as with Paper, basically.

proud marlin
#

oh, right.. so the error is already on my side, ty for help bcgirl102

cosmic pawn
#

Is there a list of compatible plugins for Folia yet? Or like a place where I can look for plugins that are confirmed to work with folia?

wet arch
#

there's a folia tag on hangar

#

and just checked, modrinth has a category for it

fair merlin
#

Not everything's on there, but yep.

cosmic pawn
#

Well damn the plugin support has really picked up. Nice stuff

#

And not a single crates plugin is compatible lmao

#

Is there any claims plugin that works with folia?

wet arch
#

lands

#

and iirc towny

keen carbon
#

towny works but I see a lot of crash warnings in the console.

paper siren
#

So it doesn’t really work

keen carbon
#

hey

#

Is there a working mycommand plugin build file for folia around?

fair merlin
keen carbon
#

I'm asking for help in case there is someone out there or someone who can suggest me another alternative.

cosmic pawn
left gust
finite hinge
cosmic pawn
calm fable
#

is there any way to modify the entity view distance on the server?

livid crag
#

Same as Paper which is same as vanilla

#

Make sure your client side config is set to max

#

Then in spigot.yml, increase tracking range

calm fable
#

thanks so much! i had users on the server complaining that items get stuck on nether icefilters and i figured out its when the entity leaves the range

livid crag
#

On water stream?

#

Vertically?

calm fable
#

ice blocks

#

no horizontal

#

you know those ice piston pushers people use on the nether roof for sorting items?

livid crag
#

You will likely need to increase both tracking range and activation range then.

calm fable
#

ah

#

thank you!

marsh mapleBOT
#

(65ca65942d5bd6481a064838) // @median flame (@_dariune / 281560612117413891) has been banned by @hexed ice (331822092477792256)
Reason: Quick-banned for sending a message in #folia-help

calm fable
#

quick question, it seems like a lot of tnt dupers are showing strange behavior in folia, is there anyway to fix that? it has to do with the primed tnt moving in not normal ways

jaunty atlas
#

Surprised it wasn’t disabled in folia outright

calm fable
#

if it was disabled that would hardly be vanilla, especially now that the devs said they arent fixing it

tawdry gullBOT
fair merlin
#

This would apply to Folia also.

#

Basically: duping isn’t supported.

keen carbon
swift finch
#

Question :
Can folia run MythicMobs and ModelEngine ?

livid crag
#

That's a question to the plugin developer

swift finch
#

I know but certainly some people tried it

finite hinge
#

Unless they explicitly advertise it then no

#

Plugins don't work with Folia by accident

cosmic pawn
#

Someone said Folia is a "general hackjob"

#

is folia at the moment stable?

tacit tartan
#

No, it's still in a beta state. That being said I would not characterize it as a "hack job", as considering the amount of massive changes Leaf has made, it still works incredibly well for beta software

cosmic pawn
naive fable
#

Folia is stable. Only issue is missing api and plugin support

tacit tartan
#

Yeah perhaps that was poor phrasing from me. What's present in Folia should be stable, but it's not feature complete yet

bold osprey
cosmic pawn
#

So it's basically working completely fine. Just that there's a lack of plugin support?

bold osprey
# cosmic pawn So it's basically working completely fine. Just that there's a lack of plugin su...

but it's not as good with plugins as paper

  1. it's easier to crash folia, since every time something goes unexpected, folia doesn't want to risk and shuts down while the data isn't corrupted (mostly that happens because of a plugin)
  2. plugins more likely will end up having errors since it's harder to make everything thread safe (especially if it wasn't designed for that since the beginning)
  3. lack of api that is present in paper

but generally, most of the issues right now comes from plugins, not folia itself

#

i had a few hundreds of players on EPYC processor, almost without plugins, non optimized configs, and had 20 tps average

#

without any issues

livid crag
#

I mean 2b2t has been using it since last year and they constantly have 300 players on it 24/7

#

But they are huge with enough of dev resource to get any plugin working.

fair merlin
#

It's still in active development, so we don't even have builds for it yet let alone a tag to declare it experimental.

fair merlin
# cosmic pawn Someone said Folia is a "general hackjob"

Not sure who called it a "hackjob", but it's still in progress. Improving all the time. I don't think it's fair to call it a hackjob.

But if you aren't sure what would make it stable vs unstable, it's probably not for you yet.

tall arrow
#

Hey guys! how are y'all doing?. im back around here to check on the progress folia has made so far and i'm happy to see as long as vanilla minecraft goes seems pretty much complete right?

I have a few questions:

  • would restone, nether, the_end and other vanilla features work just fine?
  • Is there any official documentation on how to compile the source?
  • is there any documentation on how to develop plugins for folia?

Thanks a lot c: i kinda ask these same questions every 3 months bear with me please hahaha

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
#

Most of that info is answered in the above ^^

twin spindle
#

Hi ocelotpotpie, I am not on black or special list for ignore people who's own offline-mode server?

#

I want say, I migrate from offline-mode into online-mode

fair merlin
#

We don't really have a "special list" for that.

#

We tell you we won't support you and if people keep pushing then they might get banned eventually.

#

Some people might make a note to not support someone but that's something they handle themselves.

twin spindle
fair merlin
#

I'm not sure who you are so I don't want to ban you

#

We don't support offline mode servers. If your server isn't in offline mode then you're fine.

#

As long as you aren't running a fork of something.

#

Or generally a jerk to people/etc.

twin spindle
fair merlin
#

I don't want that either.

twin spindle
arctic tapir
#

||one questionable plugin||

twin spindle
twin spindle
#

how I can change branch from 1.20.4 into master?

fierce knotBOT
twin spindle
#

so, well I got now error

> Task :paper:patchSpigotApi FAILED
Committer identity unknown

*** Please tell me who you are.

Run
fair merlin
#

Rear the error. It tells you how to fix it.

twin spindle
#
Committer identity unknown

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'RitaSister@Mirai.(none)')
***   Please review above details and finish the apply then
***   save the changes with `./gradlew rebuildPatches`

> Task :paper:patchSpigotApi FAILED
> Task :getPaperUpstreamData FAILED

FAILURE: Build failed with an exception.
#

.-.

paper siren
#

It tells you what to do

silent current
#

My server has been attacked last night, anyone has some ways to prevent attack?
A lot of fake players joined my server in 1 minute
Please help me thank you

fair merlin
#

Make sure you aren’t in offline mode.

livid crag
fair merlin
#

If you are already in online mode, make sure your proxy is configured correctly.

silent current
#

😂ok Thank you.

fair merlin
#

Otherwise we don’t support offline mode here.

silent current
#

OK

livid crag
fair merlin
silent current
#

wow,原来您会讲中文,非常感谢😂

livid crag
gentle raven
fair merlin
#

Please keep general conversation out of help channels.

gentle raven
#

ah sorry

twin spindle
#

how I can fix?
error: could not lock config file ^%UserProfile^%/.gitconfig: No such file or directory

fair merlin
#

These are general git questions that you should Google and/or learn git to figure out how to solve.

#

A working knowledge of git is gonna be important for cloning and building repos.

subtle fjord
#

oh wow congrats, 1.20.4 is now on master 🙂 - good timing, we were planning to switch-over tonight 😉 - 1month intensive testing and coding in the making, but more like 3month prep (including hardware upgrades etc).

solid mirage
#

Assuming there are no other bottlenecks, can running Folia on dual channel DDR4 2666mhz memory take approximately 300 people online and cause server lag , simulation distance 5 VD=8

primal oyster
#

What CPU

solid mirage
#

EPYC 7B13

#

Assuming there are no other bottlenecks, how many people can Folia carry online with a dual channel DDR4 2666mhz memory? Will it cause server lag if 300 people are online?simulation distance 5 VD=8

#

memory 128G

#

Use ShenandoahGC

primal oyster
#

It depends

#

The memory is not going to be directly your overhead with 300 players

jaunty atlas
#

I mean as long as the players are not too close together and you assign enough cores it should be fine

#

One of the best suggestions we could give is “try”

rotund fossil
#

What the hell, after restarting the server it teleported me to the world border???????

jaunty atlas
#

Nice one

#

Any errors on startup log?

rotund fossil
#

Nope

#

I am able to reproduce this consistently

#

Huh........

#

This seems to only happen when my game crashes due to Lithium

#

If my game crashes the server crashes too

#

If my client does not crash the server does not crash either

#

The weirdest thing is that when i restart the server and reconnect it teleports me to weird locations like Y level 20M or the world border

fair merlin
#

@primal oyster Noticed you closed issue #193. Did this turn out to not be an issue? Did you find a solution? Any info?

primal oyster
#

That seemed to be an overload system, after switching to low latency kernel and doings some tweakings it started to do well

#

it would be nice to add some sort of alert in there

fair merlin
#

Can you maybe comment on the issue stating that it was an overloaded system then?

#

Would be good to have some kind of update in there

fair merlin
primal oyster
#

ill add a comment there

fair merlin
#

Thanks

primal oyster
#

done

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.

subtle fjord
#

Wow.. after many years of struggling with "single-thread" servers, Folia is almost a surreal experience, from a server owner perspective. Server switch went well (some hiccups ofc)

Amazing stuff folia-team/spottedleaf.

#

However: PvP players are complaining about pearling being bugged and knockback being random since switch. Anyone else experiencing similar?

#

E.g. pearls thrown short distance are not seen, and the player makes 360 degrees. Will open issue.

fair merlin
#

We tested pearls working before and it worked. It's entirely possible they're broken now from some other thing, but step 1 is test without plugins.

subtle fjord
#

I can't replicate unfortunately in isolation - with plugins or without. But also double checking if player is maybe just having latency/client issues

fair merlin
#

It's only happening to one player?

#

We'd need to be able to replicate it to actually test/fix it.

#

If you can't reliably replicate it then that's tricky

subtle fjord
#

happening to more than one.. we will observe for now. Maybe good to keep issue open in case someone else is experiencing.

fair merlin
subtle fjord
fair merlin
#

But yeah we can't fix a bug if we can't reproduce it at all :)

rotund fossil
finite hinge
#

Does it happen without plugins?

rotund fossil
#

Just ran a test server to run around & see the performance

#

Then I noticed this after exploding some TNT

formal shuttle
#

I have a question... is there a plugin similar to Luckperms that works on Folia?

#

So that you can set the permissions for / commands

tacit tartan
delicate lichen
#

Does anyone know if Spark works on folia? I couldn't launch it

viral stone
#

There is a test branch for it

solid mirage
#

The server is prone to getting stuck every time it reaches region splitting. What performance does region splitting typically occupy? CPU? memory?

paper siren
#

What does getting stuck mean?

solid mirage
#

Server lagging

viral stone
#

I mean, it's likely a bunch of lookups and maths

#

so, both?

#

You'd generally be better off looking at a profiler

subtle fjord
#

I am getting occassionally following error:

[16:47:40] [Netty Epoll Server IO #3/ERROR]: Received class net.minecraft.network.protocol.status.PacketStatusInPing that couldn't be processed

Has anyone seen this? Seems also authserver is timing out more often than usual?

primal oyster
#

no

subtle fjord
#

Also with 1.20.4 we see after a couple of hours nobody is able to join:

[Region Scheduler Thread #0/INFO]: xxx (/xxx:3318) lost connection: Disconnected

primal oyster
#

nevr had it

daring nimbus
#

maybe do a thread dump to see where its stuck

subtle fjord
#

i'm curious if it has to do with my non-default -Dpaper.playerconnection.keepalive=60 so will remove that for now and also create thread dump.

subtle fjord
#

I had some issues in the past with players and bad connections getting kicked out - but also did not have any issues with papermc with that setting

primal oyster
#

are you behind a velocity proxy

subtle fjord
#

no, haproxy

#

reports from pvp players crystal knockback on netherite is the same like diamond gear?

lofty magnet
#

I don't really see how that has anything to do with folia tbh

subtle fjord
#

Neither do I - strange that its observed in any case.

inner swift
#

I've seen some buzz around this in Paper, after a recent 1.20.4 upstream

lofty magnet
#

most likely just some Paper patch that needs to be adjusted (or Spigot implementation being broken 👀 )

subtle fjord
lofty magnet
#

yeah, looks like that case wasn't considered

#

actually I don't even see where the vanilla code does that thonk

mystic shard
#

For Folia, it doesn't matter what speed the processor has?

fair merlin
#

Yes.

#

Folia wants many cores and fast cores.

mystic shard
#

Can I take 8 2.3GHz cores and Folia will work well?

fair merlin
#

Probably not.

#

Slow cores and not enough.

#

You could test it but might be slower than Paper.

#

Also depends on what you're doing/etc.

mystic shard
#

Okay, thanks

#

I remembered that I also wanted to ask if Folia would be effective for 1-100 players at most?

fair merlin
mystic shard
finite hinge
#

Every region in Folia is basically a separate Paper server. You can take however many players that CPU could handle with Paper, reduce it a bit due to overhead, and that's how many players each region can support with Folia. After that you have to figure out how many regions you're likely to have with your server type. If players are too close together you get 1 giant region, if they're spread out you get a lot of regions. Then the players you can handle are based on how many a region can handle, how many regions you actually get with your server type, and how many CPU cores you have

#

So if your CPU could do 20 players with Paper then a single region on Folia can probably only do like 15

fair merlin
finite hinge
#

If you can keep your players spread out enough to never have more than 15 in each region and have the cores to have 7 regions running concurrently then you can handle 100 players

fair merlin
#

Folia will use more non-region threads, too, though.

inner swift
#

I suppose that with this core count you'd get starved for resources if you get many regions

fair merlin
#

So it's probably a bit lower than that.

finite hinge
#

Sure, it's super complicated, to the point where the only way to know for sure is to just try it

#

Just giving the 10,000' view

fair merlin
#

Yeah some kind of "X% less than Paper in a single given region on Folia" is correct.

#

But if they're not all in the one region then that number would be lower.

#

Definitely a funky concept

#

If your hardware can only handle like 20 people on Paper, and you setup Folia and they're spread out pretty far then you've got a bunch of regions, which means you'd choke the box a lot faster.

#

Plus in this scenario if your hardware can only run 20 people on Paper then you don't have strong enough hardware for Folia anyway.

finite hinge
#

Nah, I'm thinking of like a Xeon or EPYC with a ton of slow cores. If when you run Paper on it you can only handle 20 players there is a chance that could handle a lot more players on Folia if you can spread them out enough because you have a lot of cores to use for the increased GC, networking, etc load as well as running regions concurrently

fair merlin
#

Ah yeah that's true.

finite hinge
#

That was basically the original thing we told people when explaining where Folia might be useful, something like a 64 core server CPU running a skyblock server

mystic shard
#

I didn't understand a bit, the number of regions can be configured? Or 1 core = 1 region?

fair merlin
#

1 region == 1 core.

#

Non-configurable.

#

If you make too many regions and run out of cores you're gonna have a bad time.

finite hinge
#

The number of region threads is determined automatically based on CPU core count but can be configured if you want to oversubscribe or reduce it to avoid swamping the entire machine

#

The number of regions you get is based on how far players are from each other, you can't force Folia to have more or less regions

#

If you have 100 regions but 10 region threads they aren't all going to tick at once, if you have 1 region but 10 region threads 9 of them will just sit idle

#

You can adjust the region threads but you don't really control the region count other than via game design

#

Like if you make a server where it's common for people to hang out near spawn, that's a lot of players in one region and you can't break it up

#

If you make an anarchy server people are going to spread out as much as they can and hide, you'll get lots of regions

#

Skyblock as well can have a lot of regions because you can control how far apart the islands are created

pale lagoon
#

But it's stupid for minigames 😛

#

(ig) xD

finite hinge
#

Yeah, Folia makes no sense for minigames

#

For that you want a bunch of Paper servers and a proxy or even something like minestrom

pale lagoon
#

100% true. I personally use Purpur, but also purely for the /tpsbar function

#

I just like them too much, but I've never had any problems with either of them (Paper, or Purpur)

finite hinge
#

A more in between example would be something like a build server where people clump up to make "cities" or whatever, if you can ensure those clusters are far enough from each other you can still get a decent amount of regions but you might end up with 20 players in a region

pale lagoon
#

Such as a project where they try to recreate the earth in creative

#

Those worlds are often very large

finite hinge
#

A towny/plot server probably doesn't make sense on Folia, afaik people are all too close together with that setup

pale lagoon
#

(my bad, didn't want to tag)

mystic shard
daring nimbus
#

that world is pretty small

finite hinge
#

Doesn't even have to be mega, I once ran a server that would have like 100 people on a time spread through like 6 groups. I think those worlds were usually like 3000x3000 so not spread out enough but if you spread them more that would get you 6 regions most of the time

#

iirc right now on Folia if players are within ~900 blocks of each other they're in the same region

#

And it chains, if A is 800 blocks from B and B is 800 blocks from C they're all in the same region even if A is 1600 blocks from C

mystic shard
#

It's hard for me to understand. 💀

finite hinge
#

You need at least 900 blocks of no players otherwise you don't get another region

#

There is a dead zone around players required to make regions work

#

If your players are too close you don't get any regions and Paper would be faster

#

If you had more than like 6 players on the world you linked they'd have to live in really small groups (as in, they build next to each other and don't wander much) otherwise you wouldn't get any regions

#

Worlds for Folia have to be massive

#

Well, more than 6 players you would probably still get some regions, you'd just have multiple players in each one

#

But I doubt you'd get more than 2 or 3 regions

limber scaffold
#

Hello

#

With essentials is currently working for folia

limber scaffold
#

<@&748618676189528155> pls 🥺 help

marsh mapleBOT
#

(65cf009e2d5bd6481a06483f) // @limber scaffold (@ajayrx / 838664849122263051) has been warned by @rare steppe (105923848263753728)
Reason: do not ping mods for support.

limber scaffold
#

Okay

#

😟😔

#

So whom to ping

#

I badly want help

#

Essentials for folia

livid crag
#

No one.

#

If you do not have the ability to read and understand a plugin support Folia or not, you should be using Paper instead.

limber scaffold
#

I don't I was using dev build

#

It just suddenly stopped working

limber scaffold
#

Can u tell which essentials jar is working

#

Please 🥺

livid crag
#

None of it, Essentialsx has not officially support Folia yet

limber scaffold
#

What 😂 was I using for months in name of essentials.jar

fair merlin
solid mirage
#

when my server got 250+ players online, always lagging...

rotund fossil
#

Send the spark report instead

paper siren
#

also it looks like you're using a fork, which makes it hard to tell if those problems are probably caused by radom changes

#

And I'd recommend GenZGC over Shenandoah

solid mirage
fair merlin
solid mirage
paper siren
# solid mirage

From a quick look, it seems like the server is spending a lot of time trying to spawn entities. Afaik that can be caused by plugins canceling spawn events while the server is trying to reach the entity limit

mystic shard
limber scaffold
mystic shard
#

What other forks are there?

primal oyster
#

where can i read about linear format

#

does it have conversion by default from the normal format to linear?

#

are there real big improvemenst you see with linear? (you said its a must)

#

alright thanks for hte answer

mystic shard
#

And which fork is better to use? Or is it better to use a regular Folia?

#

Well, we have performance problems, what do you recommend from the forks?

paper siren
#

There are most likely better ways addressing performance problems than using shady forks

subtle fjord
#

anyone running folia on latest master? We are still continuously having issue with players unable to join after a while. All players already on the server are fine.

We can not reproduce on a test environment. So its most likely only happening randomly or due to higher number of joins/disconnects.

hushed raptor
#

how do i compile folia?

scenic sky
#

the same way you compile paper

hushed raptor
scenic sky
#

you can find the instructions on paper's github repo

hushed raptor
hushed raptor
#

is it really down tho

#

im already loving folia

hexed ice
#

that has nothing to do with folia

hushed raptor
#

wait i think i fucked up my network

#

somehow

hushed raptor
arctic tapir
#

still has nothing to do with folia

hushed raptor
hushed raptor
arctic tapir
#

¯_(ツ)_/¯

hushed raptor
#

wait does

arctic tapir
#

auth servers might be down

hushed raptor
#

aikar's flags work

#

on folia

arctic tapir
#

Yes

hushed raptor
#

interesting

hushed raptor
#

wait

#

should i compile it on my vps

#

or can i do it locally

arctic tapir
#

..

#

It has nothing to do with Folia, the uath servers might be down

viral stone
#

I mean, a DNS request failed

hushed raptor
#

you were right

primal oyster
fast wind
#

Hi, I am making a server with folia and when I compile and the entire jar weighs one kb and it does not work when I run it from the console with java -jar folia.jar (also try with normal code to open a server in the console)

#

please help

arctic tapir
#

use the one in the root build dir

fast wind
arctic tapir
#

then you did the wrong command

#

follow the steps in paper's readme

fast wind
arctic tapir
#

same steps

fast wind
#

the web would not be found

#

;(

arctic tapir
#

what

fast wind
#

I do not know where to go

arctic tapir
#

github

#

papermc

#

paper

fast wind
#

ahhh sorry

proud marlin
#

Is there any possibility for me to make a plugin that supports paper using the main of a ready made project that supports paper versions?

gentle raven
solid mirage
#

Will a high number of server regions lead to thread locking problem?

#

about 150region?

subtle fjord
#

anyone running folia with proxy-protocol or using current HEAD? Still having issues with people not able to join after a couple of hours of the server running :/

Already removed all plugins except one single one.

#

(willing to pay for support)

primal oyster
#

but of course lots of mecchanisms like region files etc rely on locks

#

a lot of it depends on the amount of threads that you have

keen carbon
#

hey

#

donutsmp uses folia ?

#

does anyone knows?

primal oyster
#

why

keen carbon
primal oyster
#

yeah idk how they handle it

#

theyre probably using folia like 2b2t

keen carbon
viral coral
#

by not hosting everything on one folia server

#

even if it was feasible to do so it'd be stupid to have everything on one server

keen carbon
#

When you divide 2500 by 3, it makes an average of 800 players.

viral coral
#

there's a lot more than 3 servers lmfao

primal oyster
keen carbon
#

So do they run worlds like nether end on a separate server?

keen carbon
primal oyster
#

pay michael and he will tell you the miracle

keen carbon
#

I don't think I should pay for this. I just wanted to know the logic.

viral coral
#

the logic is the same as any other large scale survival server

#

you don't have 1 large map

#

you split the large map up and have individual servers with those maps

#

the stitching it together part is the magic part, there's no public solution for it

keen carbon
viral coral
#

only sane way of doing it is having some form of border before you get transferred onto another server

keen carbon
#

How does this happen without changing the server for the reunion part?

viral coral
#

but it does?

#

(maybe it's been a while since i looked at donutsmp)

primal oyster
#

it does

keen carbon
#

This is literally magic.

viral coral
#

right so it does

primal oyster
#

its not magic

viral coral
#

there isn't that much about it to be fair

#

but it works well at their size

primal oyster
#

you cant make it much more seamless because of latency and how minecraft handles all teh shitty screens it has

keen carbon
#

More than one split server works on a map, but can you join and play on the split map with all the players, even the builds being built?

viral coral
#

just think of it as 10 servers running different parts of 1 large map

#

with playerdata / inventories shared across all of them

viral coral
keen carbon
#

So it must be very difficult to do this. I still don't understand how this is possible

viral coral
#

it's not

viral coral
#

you're thinking too much about it if you think it'd be super difficult to achieve

primal oyster
#

its a lot of code and takes a lot of time to make it safe and good

#

but its not impossible

#

its just logic

keen carbon
#

Do players not feel the transition on these maps?

primal oyster
#

they do

viral coral
#

they do because again, world borders

#

you get transferred to another server

viral coral
#

there is always a transition of some sort, a short one at best

#

even if there wasn't a loading terrain screen or whatever, you would notice a transition one way or another

keen carbon
#

I understand better now

#

Thank you for explaining.

viral coral
#

but in the end, at it's core and simply put, it's nothing more than just multiple servers with a player's inventory shared in a database

#

it getting more complicated once you start thinking about plugins and having to make sure it all supports cross-server

keen carbon
#

Frankly, I wonder what they do to share the entire inventory in a single database.

viral coral
#

there are public plugins that can achieve that for years now

#

not saying that they're good (wouldn't rely on any of them at 2000 players) but look at husksync for an example

primal oyster
#

^^

viral stone
#

Cross server transfers with inventories is generally something servers at large solve themselves because the public plugins are buggy af

viral coral
#

like what donutsmp has done has been done plenty of times before, they're just a large public example of it currently

keen carbon
viral stone
#

(but, there is honestly little proper ways around that within the public space which aren't just a headache)

viral coral
#

no

primal oyster
#

server crashes will cause issues no matter what lol

viral coral
#

well yes but in terms of data loss

viral stone
#

The biggest issue is that most plugins rely on race conditions to do the transfer

primal oyster
#

it depends on what you're talking about as well

#

are you talking about just a normal server crash due to what? an exception? or

#

if you're talking about out of memory...

#

or the OS killing the container

#

"crash" is kinda vague

primal oyster
#

i think thats why husk doesnt load instantly

#

i think they have like a loading after the player join or smth

viral stone
#

the connection switching process is fairly well understood

#

but, that isn't the issue

primal oyster
#

it's one of them because that's where you get dupes

viral stone
#

there issue is that theres no sane mechanism for coordinating stuff within that, you just join the new server and at some point DC from the old one, and pray that the old one stores data in time

primal oyster
#

you need a full control

viral coral
#

dupes would be a bigger issue than losing some player's data

viral stone
#

I did want a quasi limbo type system for velocity, but, eeer

keen carbon
viral stone
#

that gives me some stupid ideas, actually

#

urgh, if only I had the time and the eyes (and the brain)

primal oyster
#

The cleanest possible way requires you to get a full control on velocity and the packets

#

If you can modify the protocol between the two you can get the data within without any issues <.

#

but ofc, like Michael said

viral stone
#

I mean, rewriting velocity to take advantage of better state tracking is on my todo list

primal oyster
#

all this stuff is private solutions

viral stone
#

Mojang literally added a perfect solution for this, however

primal oyster
#

cookies

viral stone
#

No, configuration state

primal oyster
#

ah no

#

fuck configuration state

#

trash feature

#

just adds more screens to the game

viral stone
#

configuration state is what will allow velocity to support mods

viral coral
primal oyster
#

in 2030 we will have 50 fucking screens for changing a server

primal oyster
#

probably more stuff too

#

there's a lot of improvement you can get done if you have control over every part of the server like chunk loading - batching sending to proxy instead of sending 1 by one and it goes on and on

keen carbon
#

Do you know what I think? Since minecraft 1.2.3 minecraft servers have improved very slowly in terms of performance

primal oyster
#

it depends where you're looking at

#

but mostly not true

viral stone
#

I mean, it's a typical case of software complexity over the timeframe of 15 years

primal oyster
#

there has been lots and lots of improvements but ^

viral stone
#

the software has gotten more complex and so eats more resources

keen carbon
#

I've always wondered why Mojang didn't bring automatic mod download support for the servers. So when you enter a GTA server(fivem), it automatically installs game modes for you. But this feature is not available for Minecraft. Maybe if they could do that, things would be different. Maybe we wouldn't be limited to some things like plugins.

viral coral
#

please no

#

god forbid we give server owners the ability to do remote code execution on clients

#

as if they're not incompetent enough already

keen carbon
viral stone
#

That is what data driving hopes to solve

#

hopefully over time the capabilities will get nicer

keen carbon
#

I want to ask one more question because it's stuck in my mind. You mentioned splitting a large map into something like 5 servers. So how do you determine the division of this map? So, should the map be a map that is already known and whose chunks have been loaded? Or dividing the map limited by a large border into 5? So there is literally no limitless world? because in normal minecraft the world is almost unlimited.

primal oyster
#

worlds have limited bounds

#

if you're trying to get a "unlimited" world you'll have to overthink a little bit more

viral coral
#

an unlimited world wouldn't be something that most servers at that scale would care about eitherway

#

just introduces more storage issues and world generation performance issues

#

those worlds tend to not last very long eitherway, there's usually "seasons" where the world will get reset after a few months

keen carbon
#

so the world's growth is limited.

viral coral
#

limited by how many servers you're throwing at it

#

nothing prevents you from just adding more servers / parts of the world

#

other than well, money and an incentive to do so

keen carbon
#

I understand. Thank you very much.

left gust
fierce knotBOT
daring nimbus
#

Reloading is disabled

#

as it should be on paper too

#

just restart the server instead.

left gust
#

thanks

daring nimbus
subtle fjord
#

Anyone running Folia on current HEAD and not having any issues?

fair merlin
#

What sort of issues? Many are running on the main branch and not having issues.

subtle fjord
#

After a while new players can not join and are stuck in "Encrypting.." client side

daring nimbus
#

that usually happens when a region dies. Have you tried without plugins?

subtle fjord
#

yes, I have been slowly disabling all plugins - now also the last plugin has been removed and I switched from Coretto 17 to 21 while also disabling jolokia (just in case).

viral stone
#

Only general real guesses are going to be to see if stuff like jstack show anything interesting

#

Otherwise it’s generally a case of tryna figure out what could potentially be going wrong and either mitigating them or tryna log when it happens, etc

subtle fjord
#

jstack was unfortunately not very obvious. Lets see maybe its jolokia. There are no crashes before the event starts (generally logs are clean except some map-entity exceptions).

Happens very randomly, sometimes server can run for 12hrs, sometimes just for an hour. Server is nearly idling. Have not overallocated threads.

#

In any case my continue searches: anyone running Folia with current HEAD and not having issues?

fair merlin
#

Yes, many are current the current branch without issues.

#

Asking if people are not having issues isn’t going to help you though, I think.

subtle fjord
#

Do you know what would help me? 🙂

fair merlin
#

Pretty much what cat said

subtle fjord
#

Thanks 👍

fast wind
#

Hello, do you know how to install folia because when creating it it gives this error: Execution failed for task 'paperpatchCraftBukkit'. I have jdk 17 and git but it doesn't work, use the command: ./gradlew applyPatches

arctic tapir
#

show log

fast wind
#

`* 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 clone --no-hardlinks 'C:\Users\merca\OneDrive\Escritorio\Test server folia\Folia.gradle\caches\paperweight\upstreams\paper\work\CraftBukkit' 'C:\Users\merca\OneDrive\Escritorio\Test server folia\Folia.gradle\caches\paperweight\upstreams\paper.gradle\caches\paperweight\taskCache\patchCraftBukkit.repo'

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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.`

arctic tapir
#

don’t do it in onedrive

#

do it at the root

fast wind
#

Do I have to uninstall OneDrive on the PC? I opened gitbash from the root

arctic tapir
#

no

#

just don’t do it in the onedrive folder

#

do it directly in C

fast wind
#

The file is on the desktop, that's why I said uninstall

viral coral
#

then don't put it on your desktop

fast wind
#

ok I'll try from another side

fast wind
#

yes it worked for me thanks :)

subtle fjord
#

Anyways most likely just realiziation that Folia is not stable enough to run long period of time. Our world is huge (~10TB) - so there might be issues with that? Not sure.

We will move on with 6hr restarts for now. Some other server admins I spoke to have stability issues as well. Others seem not, but also not always clear what the differences in setup are.

Reducing number of plugins has helped increase run times. Also we are now switching to Java 21, zgc + removing jolokia.

livid crag
#

how often does 2b restart? I dont really play on that server but their world is probably bigger than yours by 10 folds...

solemn heath
#

Hello, Idk if I should ask this in paper folia or velocity help.

I know folia is still early in development and should not be used for any proper server, but out of curisoity but would velocity work with folia, using velocity to connecet to a folia server

livid crag
#

yes there will be no difference than paper in that case

keen carbon
#

thanks @pseudo ibex

pseudo ibex
#

Thank HSGamer 😜

subtle fjord
#

Also cant compare 2b2t - they run on 1.19 - which I mentioned above: right now too few datapoints. YMMV. But I am not the only one with issues is what I can say 😛

#

Maybe I need to force-upgrade all my mca.

mental roost
#

hi guys
could i alter this setting?

fair merlin
mental roost
#

18

#

it'a kvm

fair merlin
#

KVMs are generally bad for Minecraft in general. But especially Folia.

#

You aren't going to have good performance with a VM.

formal magnet
#

Hello. Help please. How do I compile the kernel to version 1.20.1? I know that its support has stopped, but I'm just wondering if this is possible.

fair merlin
#

You'd have to find the commit for it and compile from there. Knowledge of git should work for that.

#

But there are a lot of bugs and exploits in 1.20.1, so it's strong recommended to not run that version.

#

Not to mention lots of stuff fixed in Folia specifically.

#

But if you insist, it's gonna be up to you to figure out how to compile it.

subtle fjord
#

hmm should I use

createReobfPaperclipJar or the bigger jar?

misty matrix
formal magnet
primal oyster
#

anyone know if its save to trust "spark" mspt on folia?

#

idk if its working well with folia or not, i know it has a support but you guys probably know more

primal oyster
#

yeah its gotta be fucked

#

thanks Michael

primal oyster
#

since you're running folia you can probably add debugs to see why it's taking longer and longer

#

specially events

subtle fjord
#

yah still happened with all plugins disabled

primal oyster
#

every single plugin?

subtle fjord
#

yes - it was running "naked"

primal oyster
#

not disabled, removed

subtle fjord
#

yup - deleted

#

last difference between others: I am using haproxy directly, will now put velocity in between.

#

FWIW: the run time before issue occurred increased with plugins being removed - but in the end after ~12 hrs it still happened. Almost like threads are not being cleaned-up (and nothing via jmx obvious, heap, threads all very low)

finite hinge
subtle fjord
#

you mean on upstream?

finite hinge
#

Yeah

#

Folia is very much "if you want something done you're going to have to do it yourself" 😛

#

Leaf might not like your fix but still, if you don't try to fix it odds are it won't get fixed

subtle fjord
#

yah I don't disagree. Was asking here if someone was interested but got a "warning" that its not marketplace.

finite hinge
#

No no, I mean you

#

Why are you running a Folia server if you aren't a developer or already have a developer hired? 😛

subtle fjord
#

Sure.

limber scaffold
#

Why being server operator keep inventory don't work on me ?

viral stone
#

"don't work"?

livid crag
#

it's a gamerule. or a luckperm permission. Depend on how you go about it.

limber scaffold
#

Keep inventory off and it works for everyone one

#

Except operator

viral stone
#

Nothing of that thing cares about your OP status

#

do note that gamerules are per world

#

outside of that, you'd probs need to check your plugins

limber scaffold
viral stone
#

I can't diagnose if ess is causing issues for you, that would be on you

livid crag
#

do you use LuckPerm to manage that?

limber scaffold
#

Yaa

#

Luck would keep inventory on for me

#

Earlier before essential when being operator I died I lose items

#

After Essential I die keep inventory doesn't work for me

livid crag
#

check the permission again then. Otherwise, no clue.

#

Oh this is Folia you are using? iirc, Essential does not have any stable build for it yet.

arctic tapir
#

essentials has a keepinv permission

calm fable
#

hello all you amazing folia devs whom are beloved. has there been any work on the rcon deelio?

subtle fjord
#

it works? what are u missing

calm fable
#

when was it fixed? cuz right now i just get junk in the console

#
[19:18:03] [Region Scheduler Thread #0/WARN]: Unexpected exception while parsing console command "tps"
java.lang.UnsupportedOperationException: Dispatching command for org.bukkit.craftbukkit.v1_20_R3.command.CraftRemoteConsoleCommandSender@2f1f4280
    at org.bukkit.craftbukkit.v1_20_R3.CraftServer.dispatchCommand(CraftServer.java:1024) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
    at org.bukkit.craftbukkit.v1_20_R3.CraftServer.dispatchServerCommand(CraftServer.java:981) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
    at net.minecraft.server.dedicated.DedicatedServer.lambda$runCommand$4(DedicatedServer.java:791) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
    at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?]
    at io.papermc.paper.threadedregions.RegionizedServer$GlobalTickTickHandle.runOneTask(RegionizedServer.java:162) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
    at io.papermc.paper.threadedregions.RegionizedServer$GlobalTickTickHandle.drainTasks(RegionizedServer.java:152) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
    at io.papermc.paper.threadedregions.RegionizedServer$GlobalTickTickHandle.tickRegion(RegionizedServer.java:147) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
    at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:404) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
    at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:525) ~[folia-1.20.4.jar:git-Folia-"4d78338"]
    at java.lang.Thread.run(Thread.java:840) ~[?:?]
[19:18:03] [RCON Client /127.0.0.1 #4/INFO]: Thread RCON Client /127.0.0.1 shutting down
arctic tapir
#

update

calm fable
#

will do!

#

is 1.19.4 still being worked on for 2b2t?

gentle raven
calm fable
#

oh ok, just wondering why that branch was still there when other branched get merged to master so quickly

#

thank you 😄

gentle raven
remote crescent
#

How to get a player's world type

twin spindle
#

hm, I think I got bug with whitelist. If player try connect when enabled whitelist and when I added player into whitelist player can't connect and just stuck while 'loading/joining world' and got 30s timeout when time is out.

ocean geyser
#

Is the player spawn event still unavailable in Folia?

hexed ice
#

the spawn location event? probably

late pasture
#

at net.minecraft.nbt.TagParser.readListTag(TagParser.java:196) ~[?:?]
at net.minecraft.nbt.TagParser.readList(TagParser.java:154) ~[?:?]
at net.minecraft.nbt.TagParser.readValue(TagParser.java:148) ~[?:?]
at net.minecraft.nbt.TagParser.readListTag(TagParser.java:196) ~[?:?]
at net.minecraft.nbt.TagParser.readList(TagParser.java:154) ~[?:?]
at net.minecraft.nbt.TagParser.readValue(TagParser.java:148) ~[?:?]
at net.minecraft.nbt.TagParser.readListTag(TagParser.java:196) ~[?:?]
at net.minecraft.nbt.TagParser.readList(TagParser.java:154) ~[?:?]

#

some guy keeps joining the server

#

and crashes it

#

i check the logs and thats the output i get

tacit tartan
#

Update, known & patched exploit

inner swift
#

(If Folia hasn't upstreamed that yet, look into porting the recent commits to your fork)

tacit tartan
#

oh good point, but I assume Folia has upstreamed that

fair merlin
#

Pretty sure it has.

#

Was fixed a while ago.

late pasture
#

just updated my folia, hopefully the guy cant do it anymore

#

idk last time i updated my folia was 2 weeks ago

fair merlin
#

You'll want to stay current on Folia.

late pasture
#

yeah ill try to now 😄

#

also does folia prefer large amounts of memory such as like 100gb or does it not matter that much?

signal pike
#

This is a really stupid question that probably has some super obvious answer I'm missing, and I feel really stupid for needing to ask this, but since I've been stuck on this for a while now, I guess I may as well ask.
Does anyone know what I did wrong and/or what my next troubleshooting steps should be?

I really don't understand gradle (I'm still a maven hold out).
What's more annoying is that this was working perfectly fine earlier.

https://pastes.dev/evKjDPpMfs

#

Caused by: org.gradle.internal.operations.BuildOperationInvocationException: You must have git installed and available on your PATH in order to use paperweight.

debian@vps-name:~/target/build/Folia$ whereis git
git: /usr/bin/git /usr/share/man/man1/git.1.gz
debian@vps-name:~/target/build/Folia$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

= ???

viral coral
#

what's the output of git --version

signal pike
#

2.39.2

#

or, more specifically, "git version 2.39.2", but same thing.

daring nimbus
#

maybe try restarting/logging out and back in? might be a stupid idea, but worth a try I guess

signal pike
#

restarting the vps

primal oyster
#

the better hardware you have the betteri t'll beform (obviously)

#

if you wanna have 100gb worth of region files and etc to reduce IO sure go ahead

finite hinge
#

Memory usage will vary based on player counts, game style, plugins, etc just like Paper

primal oyster
#

the best thing you can ever do when using folia is to know what youre doing and your necessities

#

you'll know exactly what you need to do/change after that

signal pike
#

same problem after total restart of everything

primal oyster
#

You must have git installed and available on your PATH in order to use paperweight.

signal pike
#

also, git has to be installed since the previous command before ./gradlew applyPatches in this case is git clone https://github.com/PaperMC/Folia.git

viral coral
#

except he has git installed and it's in his path

viral coral
#

not quite sure why it's broken tbh

primal oyster
#

is it wsl or

signal pike
#

nope

primal oyster
#

linux or windows

late pasture
blissful lily
primal oyster
#

git config --global --add safe.directory '*'

#

i sent u a friend request

signal pike
#
       _,met$$$$$gg.          debian@vps-name
    ,g$$$$$$$$$$$$$$$P.       -------------------
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux 12 (bookworm) x86_64
 ,$$P'              `$$$.     Host: OpenStack Nova 19.3.2
',$$P       ,ggs.     `$$b:   Kernel: 6.1.0-17-cloud-amd64
`d$$'     ,$P"'   .    $$$    Uptime: 6 hours, 54 mins
 $$P      d$'     ,    $$P    Packages: 622 (dpkg)
 $$:      $$.   -    ,d$$'    Shell: bash 5.2.15
 $$;      Y$b._   _,d$P'      Terminal: /dev/pts/1
 Y$$.    `.`"Y$$$$P"'         CPU: Intel (Haswell, no TSX) (4) @ 2.399GHz
 `$$b      "-.__              GPU: 00:02.0 Cirrus Logic GD 5446
  `Y$$                        Memory: 1757MiB / 7767MiB
   `Y$$.
     `$$b.
       `Y$$b.
          `"Y$b._
              `"""
arctic tapir
pure loom
#

hey, does anyone have a DeluxeMenus version for Folia ?

fair merlin
#

You'd want to ask the plugin developers

blissful lily
strong flume
#

is there a guide to set folia up? These pages are empty

livid crag
strong flume
#

do you guys know about multi paper and world ql, if so is it better to use folia or those?

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

strong flume
#

oh

#

so its not finished

tacit tartan
#

If you wish to use Folia, currently you'll need to build it yourself

strong flume
#

container@pterodactyl~ java -Xms128M -XX:MaxRAMPercentage=95.0 -Dterminal.jline=false -Dterminal.ansi=true -jar folia-server-1.20.4-R0.1-SNAPSHOT.jar
no main manifest attribute, in folia-server-1.20.4-R0.1-SNAPSHOT.jar

#

fixed

#

this helped

#

nvm its still bugging

#

i applied patches then build

#

but its still showing no mainfest

#

nvm i was bugging got it working

#

I have it working, now what thp

#

Im assuming I need to run the jar file multiple times depending on how many instances i want grouped together, but how do I group them?

tacit tartan
#

That's not how folia works. It's multithreading regions in a single process, not sharding players across multiple processes

solar dragon
#

really simple question: i want to setup a new server that will have maybe up to 5-10 players max, is folia stable enough to be used?

fair merlin
#

For only 5-10 players it would make more sense to use Paper.

solar dragon
#

okay

fair merlin
#

No reason to use Folia in that case. Paper has much better plugin support.

solar dragon
#

does folia not use the same API?

fair merlin
#

Plugins have to be built specifically to run on Folia. Some of the API isn't available becuase of the nature of how it's built.

solar dragon
#

i see

solemn heath
#

Will folia ever have a public build or will it forever be kept at this small niche thing for specific big servers only, is the future of servers going to folia based as widespread as paper?

I’m just curious

livid crag
#

There will be a downloadable build when the time is right, and no, it's unlikely to be widespread, as the average player count of a Minecraft server is somewhere close to 0.33 per server.

primal oyster
fair merlin
primal oyster
#

even if folia itself was very stable there's still the necessity of every single plugin to adapt to it

#

(folia already is stable)

fair merlin
#

It's kinda skewing statistics, really. Most servers are servers that people run and have no players.

#

Lots of servers with very few/no players makes the "average player count" super low.

primal oyster
fair merlin
#

Folia still has some bugs and stuff. It's in ongoing development.

#

I don't know, you'd have to ask bstats.

pure loom
#

hey, does anyone know any world management plugin like multiverse core that supports Folia ?

viral stone
#

there is no API for un/loading worlds

viral stone
#

only supports loading

bold osprey
#

for a lot of people that's the only used feature of multiverse core anyways

finite hinge
#

Loading is a hack, unloading is impossible

pure loom
solemn heath
#

Why do I feel like that kinda defeats the purpose of folia, is for having one giant world for many players at once.

viral stone
#

worlds have their own region sets

#

it doesn't break the entire point of folia, but, extra worlds do generally come with some overheads

twilit citrus
#

Is it not more suitable to implement Horizontal scalabity instead of vertical like Folia is trying to?

#

Or this is not the use case

finite hinge
#

Horizontal scalability would only be feasible with a completely different game

#

I mean, you could probably mostly muddle something together with a completely custom server but to do it right you'd need protocol changes too so client mods or a different client too

#

Otherwise the attempts at doing horizontal scalability on top of Mojang's server are wildly inefficient (like 3x the CPU power for the same number of players) and afaik all have bugs, and then you still have to write all custom plugins anyway

twilit citrus
#

Following Hypixel Slime World system?

#

I'm running this kind of implementation for one of my projects, it's running perfectly

#

Vertical is good for up to 1 000 players but not more?

#

Of course for a Faction server or anything else Vertical is the only available path

finite hinge
#

I wasn't aware anything hypixel was doing was public

#

But afaik their stuff is based on an ancient version of Spigot so heavily modified it may as well be a custom server implementation

#

But scaling horizontally based on worlds is relatively simple though, that's just velocity, a server per world, and maybe some logic to sync player data if you want that to be shared

#

The problem is having a single world

paper siren
#

it really depends on what you're actually scaling, minigames servers won't benefit from Folia

twilit citrus
#

Yes exactly

#

But Skyblock does

viral stone
#

minigames have been using horizontal scaling for decades

finite hinge
#

Hypixel skyblock is using a world for each player

twilit citrus
#

And explained all the algorithm on a blog

finite hinge
#

So you can just throw velocity at it

twilit citrus
#

Then, a lot of people's implemented it

viral stone
#

well, not decades, games not been around that long, but, most minigames servers do horizontal and maybe some level of vertical

twilit citrus
#

In a paper fork following versions

viral stone
#

People implemented the world format they did

finite hinge
#

I'm assuming you're just talking about their region format then

viral stone
#

nothing else

twilit citrus
#

Yes

finite hinge
#

Their region file format doesn't do anything to make it possible to have multiple servers manage a single world

twilit citrus
#

Implementing horizontal on a single world as a Faction server would required a complete rewrite of the proto

viral stone
#

the world format they did just gives them a more efficent manner of storing players worlds in a database

#

it does not magically fix anything else

finite hinge
#

For that you need something like MultiPaper but then you run in to the issues I mentioned before with overhead and bugs

viral stone
#

horizntal scaling is not a protocol issue, it's an architecture issue

#

the server software is not designed in a manner which allows it to scale easily, hence why folia exists

finite hinge
#

Folia can probably still help you scale a skyblock setup better than just velocity+paper though

viral stone
#

eveything else is generally a "as transparent as can be" hack in which people generally have private dev work to fin their own tradeoff balances

finite hinge
#

You can spread the islands out or just put them in different worlds (although with world management being an issue...) so you get regions for each and that should be lower overhead than running separate Paper instances

#

Then when you need more than a single machine can handle you just have another Folia instance and send people around via velocity like normal

#

Although that would require having single large instances so it's less fault tolerant and if you're using a cloud provider it might be cheaper to have a bunch of small instances

#

Anyway, Folia isn't really meant to replace things you can use velocity+paper for, it's meant to let you have single giant servers, like anarchy or pve survival or factions or whatever

#

Something where it's normal for people to be spread out, you want high player counts, and you want people to be able to just walk to each other instead of being isolated to their own worlds

#

It can also make sense even for smaller servers. Like if you and a friend want to play together but mostly go off and do your own thing so long as your bases are far enough apart your farms and machines and such won't slow things down for them

twilit citrus
late pasture
#

are there any backup plugins which support folia?

viral coral
#

if you're using folia i'd hope that you've gone past the stage of using backup plugins

#

use tooling like borgbackup

late pasture
#

and idk if u can backup to onedrive using it

#

also from what im seeing it doesnt seem to be automatic

arctic tapir
#

'why are you backing up to onedrive

late pasture
#

i happened to have an office 365 subscription so ive got plenty of free space on onedrive

#

and where else am i gonna back it up

#

i mean i do have a server at home but i dont feel like using that storage up

signal pike
#

I believe it is possible to connect to one drive share links via FTP. If you want to use OneDrive, just write a script to do that and Cron it.

proper jolt
#

where can i download folia 1.19.4

hushed raptor
proper jolt
#

what

hushed raptor