#folia-help

1 messages Ā· Page 25 of 1

viral stone
#

Outside of that, use wsl

grizzled karma
#

Hello guys. I'm trying to update folia keep up with paper 1.20.6, but got a git failure when applyPatches.

#

Here is err msg:

Applying: MC-Dev fixes
Patch failed at 0002 MC-Dev fixes
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
error: invalid object 100644 dea20f16ac97402f754c8e47d03e9ef38de73190 for 'src/main/java/net/minecraft/world/entity/ai/Brain.java'
error: Repository lacks necessary blobs to fall back on 3-way merge.
untold tulip
#

Hello back, I just did a new folder for my Folia on my C:\ for a shorter path(C:\Folia)

Now a famous cat told me to use WSL.

I am aware of it and use it sometimes for ollama and shit, but right now, since I want to run .bat or build my first Folia build, how can I use the WSL to compile folia please?

grizzled karma
untold tulip
#

I use vscode and "it works fine" when it wants šŸ˜› So you are building folia more easily in a workspace? I did used that ... I could do it, would rather in local but if you tell me it works easily and it's simplier..

#

im on it already ...thanks for the suggestion hope it's gonna help! šŸ™‚

grizzled karma
untold tulip
#

Thanks for your advice .. ! imma give you a feed back if i suceed ;)!

grizzled karma
untold tulip
#

about the installation, in my mind live, I shall ru n the install.bar the jar.bat and patch.bat what about the rb.bat? anyone i should forget about?

#

I think I succeded install, faioled jar and im on patch live ..(patch was my main issue on vs code)

grizzled karma
grizzled karma
primal oyster
#

that patch has conflicts with the upstream

#

you'll need to manually fix it

little sable
#

also, check that no bugs that could be serious can occur

grizzled karma
# primal oyster you'll need to manually fix it

Thanks for advising. I resolved conflict before, but err such like "invalid object" is first time. If this err is sured caused by conflict, then I will try to fix it.
Anyway its a good chance to learingšŸ˜‰

solar relic
#

how much ram does folia uses with 150player and 15k*15k preloaded map.

finite hinge
#

About as much as Paper would

#

The answer to that is "it depends"

solar relic
#

is it gonne be more than 16GB

finite hinge
#

Probably not but... ĀÆ_(惄)_/ĀÆ

solar relic
#

do you have any test about ram and cpu usage

finite hinge
#

Nope

#

I can tell you it's going to basically be identical to Paper for RAM usage

#

CPU usage will hopefully be higher, that's the whole point

solar relic
#

paper uses 6GB ram with 40 players

finite hinge
#

These things don't really scale linearly

#

Try it and see what happens

solar relic
#

yes

#

okay, thanks.

prime juniper
#

Hey guys when is stable version of Folia releasing?

tawdry gullBOT
#
__There Is No ETA__

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

tiny epoch
#

Eta

humble mesa
fair merlin
#

Not quite the same amount.

#

It could use more RAM than Paper, or potentially the same. There’s not a ton of data out there for a 1:1 comparison.

At higher player counts you wouldn’t be able to make a 1:1 comparison either.

#

But the question of ā€œhow much RAM do I needā€ still doesn’t have a great answer because it depends on plugins, the players, etc. There’s no great ā€œX RAM for Y playersā€ that isn’t a random ballpark.

#

Best way is to get familiar with your setup and plugins and optimize from there.

humble mesa
# fair merlin Not quite the same amount.

ok, but i assume it can actually use more ram than a paper server which can only realistically utilize 12 gigs or so. Like, i am not asking how much i need, i am just curious what the limit is.

fair merlin
fair merlin
#

Paper has like an upper bound of what it can use in theory because you can’t really make use of it.

#

With Folia you can because of the recognizing. Which was the whole point, basically.

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.

humble mesa
fair merlin
#

But yeah if you have the map size and the player count and the headroom for GC you can run a ton of RAM. You just might not need to.

fair merlin
#

You can with Folia, too, we just don’t have a great frame of reference for what those are yet.

humble mesa
#

yeah, thats fair. Thats crazy that i could actually use that much ram though

fair merlin
#

With an accompanying CPU and core count to work, yeah.

#

That was like the first public performance test (info in pins) so we were trying to push the limits.

humble mesa
finite hinge
fair merlin
#

Yeah it’s not going to make sense to use a ton of RAM on a 8000x8000 map with only 10 players.

#

Which is why for a lot of smaller scenarios it makes more sense to use Paper.

humble mesa
#

haha

fair merlin
#

If you don’t have the core count, RAM, or map size

#

Then you’d need core and RAM, yeah.

humble mesa
fair merlin
#

As long as the current feature limitations and plugins work for you, sure.

humble mesa
#

ty for the advice

fair merlin
#

More servers using it would be great. Especially publishing plugins and stuff so that then more others can use them/etc

humble mesa
knotty egret
#

is there any gui api for folia?

grizzled karma
fair merlin
grizzled karma
fair merlin
#

If you want to go through and update, go for it! Project is open source. Just know that we can’t support a fork if you have issues.

solar relic
finite hinge
#

I think you misunderstood

#

It's not a formula where you plug in numbers for 3 variables and you get an answer, the point was "it depends" is really the only answer

solar relic
#

is it gonna be more than 16GB?

manic quarry
#

unlikely

#

people severely underestimate how much data 1gb is

solar relic
#

1.000.000.000 bayt

primal oyster
#

the bayts can fit a lot of stuff in it!

manic quarry
#

it can store roughly 12500 bee movie scripts

obtuse carbon
manic quarry
#

1gb is still tremendous amount of data

obtuse carbon
#

it’s but caution is very important though

#

memory leaks happen

#

GC sometimes cannot do you any good

#

and incase of Folia, if you have that much allocated for CPU (~16 cores) you might as well allocate good enough amount of ram

manic quarry
#

if they happen, you need to fix that lol

primal oyster
#

if you have memory leaks get ready to have a lot of a higher cpu usage and lag spikes no matter what

#

if you're using a g1gc, otherwise idk exactyl how it'll act on zgc etc, it'll probably just start to use more and more cpu for cycles and then just oom at some point

solar relic
#

memory leaks shouldn't happen if you are an experienced programmer. btw use OOM kill or -Xmx ALWAYS otherwise if you are using Linux OS will crash or if you are using Windows you will experience a very bad time even worse than the OS crash.

daring nimbus
#

Windows handles applications leaking memory just fine nowadays. Or well, probably since about Win 7

#

You get a dialogue window allowing you to close the application or continuing

solar relic
#

or it will try to use swan and freeze.

fair merlin
#

Don’t think I’d recommend anyone run Folia on Windows though.

#

Windows runs Paper poorly enough as it is.

solar relic
solar relic
fair merlin
#

MacOS would be fine. But doesn’t really make sense for a deployed server. And you can’t install macOS on non-Mac hardware which you’d want for Folia.

I don’t think anyone has done any M2/M3 tests for Folia but I don’t think ARM is going to perform better in this case.

solar relic
#

actually, you can install macos to ANY system that has a CPU (it is not legal, and I don't recommend it) and Apple has a Mac server so you can deploy a macos server(very old).

fair merlin
#

It’s a little more complicated than that, but either way, Linux and a high clock speed/core count CPU is what you want for Folia.

solar relic
#

If I give 12 cores of a ryzen9 5950x and 16GB is it enough for above 150 players on a preloaded terrain or would you recommend trying it?

inner swift
#

As a point of reference

fair merlin
finite hinge
calm fable
#

is there a way to disable this? multiplayer.disconnect.too_many_pending_chats

swift mason
#

If apple still have server they could make more apple event and show more graph on how their server cpu have the most cores in the world

#

Or how their cpu can run all the professional server programs faster by 50x than their first server cpu with apple silicon

viral stone
#

They have the server app but nobody is really using apple hardware for servers outside of niche usecases

finite hinge
viral stone
#

oof

calm fable
#

is there any way to disable the kick on chat key stuff?

glad latch
fierce knotBOT
prime juniper
# glad latch HELP! How do we fix this breakdown?

It seems like you're not using the original Folia. You'd better reach out to the creators of your fork because it might not be a problem caused by the original Folia code.

Or try to reproduce it on the original Folia and then submit a issue on GitHub.

glad latch
#

thanks

nova talon
#

I compiled the jar of folia, how do i install it on a server host

viral stone
#

like any other server jar

#

you'd need to seek your hosts documentation, etc, for specifics, but it's generally "plop it in the folder and tell the panel to use that jar"

rough breach
#

are there any good scoreboard plugins for folia?

finite hinge
#

Get used to writing your own plugins, there isn't much

nova talon
#

its not like compiling folia but different

#

someone help pls

livid crag
#

@nova talon you should reach out to the developers. This channel isn’t do help with random plugin

nova talon
#

bc ur all specialized on such things ig

livid crag
#

If the plugin is provided as is, it’s likely the developer do not wish to carry the burden of support. Either figure it out yourself or find another plugin where developer is fine with doing free support.

nova talon
#

In which config can i configure folia

#

i got it to run on my server

nova talon
#

anyways i found it i think except for the io netty

#

threaded-regions:
grid-exponent: 2
threads: -1

#

is this threads here for 1 region each or for all regions in total

viral stone
#

it's the number of threads used by that pool

finite hinge
#

Its how many threads for the threadpool that is used to tick regions, -1 means let the server pick based on how many cores you have

finite hinge
#

It's all regions, setting it to 10 doesn't mean you get 10 regions though

#

-1 is a good place to start, yeah

nova talon
#

im disabling nether and end

#

so it can have more regions in overworld

livid crag
#

that... that's not how it works. The region will increase and decrease based on things such as player activities and how far away they are to each other.

nova talon
#

so i had 3

#

and i was one player

livid crag
#

That's becasue you probably have keep-spawn-loaded enabled.

#

That's a Paper feature

nova talon
livid crag
#

doubltful that would help a lot. Player dont normally live in those place to begin with

nova talon
#

i have like 150 active ones and half of em are like that

grizzled karma
nova talon
manic quarry
#

you need to add the effect on a region scheduler for the region the entity is in

#

or entity scheduler

hexed ice
#

it's from the tick loop, not a plugin

#

consider opening an issue

manic quarry
#

oh, interesting

#

oh, it's dolphin

viral stone
#

it's adding an effect to a player

manic quarry
#

yep, the fast swimming one

#

I wonder how did that happen

viral stone
#

I'd guess that a player teleported or something and the thing doesn't check if the player is still within the same region

manic quarry
#

maybe player teleported, but was still referenced in the goal

#

yep

solar relic
#

How can i install spesific version of the source code from github.

solar relic
#

how can ı use paper api 1.13 with folia api 1.20.1?

finite hinge
#

Err, what?

#

You can't

solar relic
#

can i do that

obtuse basin
#

why would you want to do that?

finite hinge
#

I suspect that's just going to pick one and do nothing useful or just break

solar relic
#

i want my plugin compatible with 1.13 paper and 1.20 folia

finite hinge
#

iirc some people have been having issues with Material and Particle and such because they had different versions of the API in their dependencies and things didn't know how to handle the conflicting definitions

viral stone
#

I mean, if you use 1.13 paper then you're not going to have access to the internals, as you cannot see multiple versions of an class

#

you would need to deal with the abstraction using some library that will hide that for you, or deal with it using modules or reflection or whatever

scenic sky
#

1.13 is quite an odd version to use

solar relic
#

i still want to support 1.13 and 1.20 folia

viral stone
#

well

#

either you target a newer version of the API so that you can see the new methods

#

you use modules so that you can target both the old and new version in seperate modules

#

you use reflection

#

or you find a library that will deal with calling into the correct scheduler for you

solar relic
#

I have a method for calling the correct scheduler but i don't know how to use the 1.20.1 folia scheduler with 1.13 paper api.

viral stone
#

you can't

#

which is literally my entire point here

#

you'd need to use methods that exist in 1.20

#

which, you once again have multiple options

#

[16:45]electroniccat[no-ping]: you use modules so that you can target both the old and new version in seperate modules
[16:45]electroniccat[no-ping]: you use reflection
[16:45]electroniccat[no-ping]: or you find a library that will deal with calling into the correct scheduler for you

solar relic
#

okay, thanks.

grizzled karma
paper stone
manic quarry
#

usually you want to inline the package when working with patches on existing server files

viral stone
#

set the import thingies to like, 99999

#

wildcard imports are evil anyways

grizzled karma
grizzled karma
cosmic pawn
#

what servers currently run folia in production

livid crag
#

Notable one are 2b2t and donutSMP that I know of

cosmic pawn
#

Right right

livid crag
#

bstat said there are many more but we don’t know who they are

cosmic pawn
#

So hyped for when upgrade to Folia

#

Been waiting for a proper solution to horizontally scaling SMP servers

livid crag
#

Localized lag is probably biggest selling point yes

cosmic pawn
#

For years

livid crag
#

And if it can withstand the abuse from 2b players, I’d say it’s pretty damn stable Yess

cosmic pawn
#

Whos the lead dev of Folia again?

livid crag
#

The rat king

#

I mean spottedleaf

cosmic pawn
livid crag
#

It’s pretty much his solo project

cosmic pawn
#

It’s a great concept that others have tried before and not really been successful with

#

Like MultiPaper and Mammoth

finite hinge
#

Well, I guess if you look at it in terms of CPU cores used you could kind of argue it's horizontal but that feels like an abuse of the term

solar relic
#

does "Bukkit.getScheduler().runTaskAsynchronously" works on folia?

arctic tapir
#

no

primal oyster
solar relic
#

okay.

scenic juniper
# solar relic i still want to support 1.13 and 1.20 folia

I wrote a Folia Scheduler utility for PacketEvents using reflections, as my plugins support 1.8.8-1.20.6 + Folia. You might want to take a look at that:
https://github.com/retrooper/packetevents/pull/709

GitHub

Folia Compatibility Utility Rewrite
This PR is focused on improving the current utility class with an improved version. The old one seems to be implemented in a hurry and hasn't been given much...

plain shuttle
#

does the Spark profiler word on Folia?

manic quarry
#

you have to compile folia build

#

not sure if there's an up to date prebuilt jar

plain shuttle
obtuse basin
#

There is a build from February

plain shuttle
#

🫔

manic quarry
obtuse basin
#

spoon?

#

soft spoon?

manic quarry
#

šŸ„„

obtuse basin
#

soft spoon ā™„ļø

manic quarry
#

it's made of mercury

#

that's why it's soft

obtuse basin
#

its made of mache, thats why its soft

#

it actually fits so well

cosmic pawn
#

Anyone know a good join/leave message plugin that works on folia?

primal oyster
#

a what

#

ah

cosmic pawn
#

lol

primal oyster
#

you can probably get that written yourself in java in like 1h

#

if youre learning from scratch

cosmic pawn
#

I'm pretty so-so at plugin coding

#

I also would need to implement PAPI

manic quarry
#

papi on folia?

#

hope you can build that yourself sipjuice

primal oyster
#

It works on previous versions

#

And the previous version works on the new mapping stuff with a small exception

manic quarry
#

plugin itself might work

primal oyster
#

Just hard code the spigot= true and the version

manic quarry
#

but the expansions

primal oyster
#

It'll not work itself by default already on 1.20.6

#

It used to work on the previous without the mapping stuff

#

it tries v1.20.3

manic quarry
#

there's na guarantee that papi expansions will adhere folia limitations

#

that's why papi doesn't add folia-supported

#

the plugin itself is just an api basically

#

the expansions do the work

primal oyster
#

would be nice to add a
isFoliaSupported();

#

on each expan

viral stone
#

I mean, generally you'd do that sorta thing in the manifest, otherwise you have to blindly init stuff to check

pseudo ibex
#

Heyyy I was wondering if anyone had any idea on how to fix this bug I keep on encountering whenever I build a project on Ubuntu. https://mclo.gs/k83w4CC It keeps on saying permission denied.

arctic tapir
#

chmod +x gradlew

pseudo ibex
#

Huh it just says cannot find basically

#

cat: /home/test/.sdkman/var/platform: No such file or directory
find: ā€˜/home/test/.sdkman/ext’: No such file or directory
touch: cannot touch '/home/test/.sdkman/var/delay_upgrade': No such file or directory
-bash: /home/test/.sdkman/var/candidates: No such file or directory
test@Laptop:~$ chmod +x gradlew
chmod: cannot access 'gradlew': No such file or directory
test@Laptop:~$

finite hinge
#

Uh, I feel like your laptop is very broken

pseudo ibex
#

) :

arctic tapir
#

make sure ur in the right directory

finite hinge
#

But I doubt gradlew exists in your home directory

#

It would be in the directory you cloned paper in to

arctic tapir
#

you did the chmod in ~ not DeluxeMe us

finite hinge
#

Oh, or not paper

#

Wait this is folia anyway šŸ˜›

arctic tapir
#

also wrong channel

pseudo ibex
#

Lol

#

hahahha

#

whoops

#

my bad

finite hinge
#

Also DeluxeMenus has a bug in their git repo, it should be storing metadata that marks that file as executable so it just is when you clone

#

Guessing they made the thing on Windows

pseudo ibex
#

oh ok, so I should try a different one aye?

arctic tapir
#

what

pseudo ibex
#

Oh it started working again after I tried another project, strange.

pseudo ibex
#

I had to build them as a shadow jar in intellej

thorny snow
#

Why is no region being created?

livid crag
#

If players are close, they will be in same region. Please consult the Folia readme on how it works.

idle furnace
#

Good morning guys, is 1.20.6 branch compiling ok with you?

#

or do you need extra steps now

twin spindle
idle furnace
#

the branch is available

twin spindle
#

ok, sorry

idle furnace
#

np m8

twin spindle
#

I builded server yesterday

idle furnace
#

guess new gradle is needed..., nop I have the latest one

#

Task papergenerateMappings FAILED
Task :getPaperUpstreamData FAILED

FAILURE: Build failed with an exception.

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

A failure occurred while executing io.papermc.paperweight.tasks.GenerateMappings$GenerateMappingsAction
Unable to resolve class data binding for 'jdk/jfr/Event' which is listed as the super class for 'net/minecraft/util/profiling/jfr/event/WorldLoadFinishedEvent'

swift mason
#

It’s the dev one

thorny snow
#

I've read the readme

primal oyster
#

honestly that's really mostly not true unless you messed with the grid exp

finite hinge
# thorny snow They where spread in a 10k region

100 players evenly spread through a 10000x10000 world would maybe each get their own region but only if they didn't move. Folia eagerly merges regions (it has to, the alternative is to crash) but is more reluctant to split them. If your players are regularly coming in range of each other the server might have just never thought splitting was worth it

#

10000x10000 and the players are in 2-6 clusters (like factions) would be more likely to actually get regions but I imagine at the start of a server everyone is wandering everywhere trying to mine and find spawners, villages, strongholds, etc

#

So you either need a bigger world or you need to hope people settle down soon and your plugins/rules encourage them to settle down in groups of players, not solo

twin spindle
#

how I can forceupgrade world to 1.20.6 by update chunks to 1.20.6?

viral stone
#

We do not recommend force upgrading

twin spindle
viral stone
#

Because running mass data mutations for practically 0 gain with 0 ability to properly vet the data is generally dumb

fair merlin
#

Chunks will update themselves. No need to force them.

finite hinge
#

They update fast enough (and not on the main/region thread anyway) so there is no point to doing it all up front, only downsides

twin spindle
plain shuttle
#

Hey i am running folia and we Play SMP an i noticed that my Iron farm and the Raid farm is not working

timid grotto
#

folia changes how mobs spawn, on top of the changes paper/spigot make

#

youll need to either design one that works on folia or find a design that already exists for folia

fair merlin
#

Same issue that Paper would have really

keen carbon
plain shuttle
#

sorry about that

twin spindle
manic quarry
#

likely because you're using a dev version that has not been deemed to be ready for merging with master branch yet

twin spindle
manic quarry
#

open an issue ig

#

seems like worldgen tried to place a structure and failed

twin spindle
manic quarry
#

not a clue, all I read is structure generator freaking out

twin spindle
#

I'm think problem in...

#

because I got error with reason Feature placement
and catch error with Entity as Cat in structure Village

strong cradle
#

I'm looking at running a custom Folia server with my own code. Is there a hard cap for the amount of cores Folia can use?

inner swift
#

I don't see anything about that in the code, so I guess no

#

Though, ofc, it'll only scale with as many regions you have

finite hinge
#

It'll stop scaling past a certain number due to locking overhead but there is no hard cap that I'm aware of

humble mesa
#

Use dual Threadripper PRO 7995WX, LOL

fair merlin
#

NUMA may behave funky. Not officially supported at the moment.

modest ore
#

Is there an advancement level of the project about opening?

arctic tapir
#

what?

modest ore
# arctic tapir what?

Actually, Folia isn't available to download for everyone (we should build it ourself). But is there a date when it will be available to everyone ? Or a porcentage of what should be done before release

inner swift
#

There's not a timeline for it

#

But I don't see much of a point for general availability tbh, as it's not a general purpose project

modest ore
#

so it's mostly not a project to make a release, and will stay in this "state" for a long time as it's intended ?

inner swift
#

I dunno ĀÆ_(惄)_/ĀÆ

#

But, like, vast majority of plugins haven't made a Folia compatible version, and there's still the higher hardware requirements

modest ore
analog drift
#

Folia have auto saving world?

solar relic
#

I did a test to find the RAM usage of folia is this data accurate.

inner swift
inner swift
#

What are you trying to test?

analog drift
solar relic
arctic tapir
#

meaning

manic quarry
#

because it fluctuates constantly as java creates objects and drops when gc runs

solar relic
#

i know but i will give it 16GB swap

manic quarry
#

I wouldn't recommend that

solar relic
#

why?

#

16GB RAM + 16GB swap

inner swift
#

Having swap isn't an issue per se, but you do have to be careful not to let your server ever go into swap

#

Not having swap at all is a way to do it

manic quarry
#

and your storage drive is significantly slower than your memory

#

you don't want a process that has 50ms to do all of its work to spend 100ms+ to fetch data from swap partition

solar relic
#

i know but it prevents OOM kills lag is better than crash

inner swift
#

There seems to be a misunderstanding here

#

If you're having an OOM, throwing swap into it isn't really a fix, if you don't have the memory, not much you can do about that

#

Also, there are many different types of OOM, some not even not caused by not having enough RAM

manic quarry
#

if you do you likely misconfigured your xmx

solar relic
#

i configured xmx correctly and i will keep the swap as a fail safe

light mulch
#

hey if I have 1 computer running ddr4 ram and another computer running ddr5 ram will folia still work?

#

I'm just wondering what the compatibility is, ty

arctic tapir
#

yes

light mulch
#

ty

solar relic
solar relic
#

how can i make non square worldborder?

inner swift
#

You'll need a plugin for that

#

Easiest way would be to TP the player away if they reach it, and optionally have some particle indicator or something

#

If you want a real visible worldborder you'll have to calculate and emulate the bounds using packets for each player (with a square wb)

solar relic
#

can you recommend a plugin?

inner swift
#

As with many things in Folia you'd likely have to make one

#

There may be some out there, but no idea/wouldn't count on it

solar relic
#

i can fork an open source plugin

prisma temple
#

.

swift mason
solar relic
calm fable
#

is there a way on folia to disable the chat ack requirement?

idle furnace
#

you mean chat report?

urban sun
#

Hi, does it make sense to use Folia on a quad core server?

fossil vigil
#

probably not

urban sun
#

We usually only use anti chat report plugins.

#

OK

fossil vigil
#

minimum recommended is 16

idle furnace
#

Folia is more for big server with lost of players spread along the map, and for that type of setup, you should haver "stronger" hardware

#

although even in smaller servers you have some advantages because you don't see so much the message that server is having delayed ticks. So ticks do run better

twin spindle
#

Hi, what I do wrong?

PS C:\Users\RitaSister\Desktop\ideaprojects\Folia> ./gradlew applyPatches

> Configure project :
paperweight-patcher v1.6.3 (running on 'Windows 11')

> Configure project :paper
paperweight-core v1.7.1 (running on 'Windows 11')

> Task :paper:patchCraftBukkit FAILED
> Task :getPaperUpstreamData FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':paper:patchCraftBukkit'.
> io.papermc.paperweight.PaperweightException: Command finished with 128 exit code: git -c commit.gpgsign=false -c core.safecrlf=false apply --ignore-whitespace --directory=src/main/java C:\Users\RitaSister\Desktop\ideaprojects\Folia\.gradle\caches\paperweight\upstreams\paper\.gradle\caches\paperweight\taskCache\patchCraftBukkitPatches.zip-122060495\net\minecraft\world\level\storage\loot\predicates\LootItemConditionRandomChanceWithLooting.patch
manic quarry
#

running on 'Windows 11'
likely a problem

#

try putting your folia project directly under C:\

twin spindle
manic quarry
#

if that doesn't work, run through WSL

#

or just switch to a superior OS

twin spindle
#

thanks

idle furnace
#

Hope you saved your previous built

twin spindle
idle furnace
#

Couldnt yet

#

Something changed with the projet that afected me or was my OS reinstall that made me loose some depedency

thorny ivy
twin spindle
#

strange

PS C:\Users\RitaSister\Desktop\ideaprojects\Folia> powershell Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled"


LongPathsEnabled : 1
PSPath           : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
PSParentPath     : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
PSChildName      : FileSystem
PSDrive          : HKLM
PSProvider       : Microsoft.PowerShell.Core\Registry
idle furnace
#

with synced Folia, on dev branch for 1.20.6, sujestions accepted , plz plz šŸ™‚

viral stone
#

you need a jdk

idle furnace
#

i have it

viral stone
#

apparently whatever java it pointed at is missing parts of the jdk

idle furnace
#

i see your point m8, it is marking as only jre

viral stone
#

openj9

#

I mean, the JDK does bundle a JRE

#

but, that's openj9, we generally don't support that

idle furnace
#

intellij recognises it as jdk

#

but with that clue i can work, thanks for the tip

twin spindle
#

nicee

root@Mirai:/home/Folia# ./gradlew createMojmapBundlerJar --stacktrace

> Configure project :
paperweight-patcher v1.6.3 (running on 'Linux')

> Configure project :paper
paperweight-core v1.7.1 (running on 'Linux')

> Task :createMojmapBundlerJar FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':createMojmapBundlerJar'.
> List has more than one element.

* Try:
> 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.
idle furnace
#

what jdk version you have?

twin spindle
# idle furnace what jdk version you have?
root@Mirai:/home/Folia# java --version
openjdk 21.0.3 2024-04-16 LTS
OpenJDK Runtime Environment Corretto-21.0.3.9.1 (build 21.0.3+9-LTS)
OpenJDK 64-Bit Server VM Corretto-21.0.3.9.1 (build 21.0.3+9-LTS, mixed mode, sharing)
idle furnace
#

I had that error, got it solved now thanks to eletroniccat

#

use oracle jdk

viral stone
#

that jdk should be fine

#

that error is a project setup issue

idle furnace
#

so i don't ping him šŸ™‚

twin spindle
#

I just clone repo, -> ./gradlew applyPatches, and then run ./gradlew createMojmapBundlerJar

viral stone
#

cool

#

so, something is probably wrong with the projects setup

twin spindle
#

hm

#
Execution failed for task ':createMojmapBundlerJar'.
> List has more than one element.
#

what this meaning?

idle furnace
#

what command were you running

twin spindle
idle furnace
#

you might need to ./gradlew clean

#

it is what i do when i start getting some strange errors

twin spindle
idle furnace
#

apply patches again

#

ohh just got an error now

twin spindle
twin spindle
idle furnace
#

yep, let me see if it is the same

twin spindle
idle furnace
twin spindle
idle furnace
#

same as yours, also from clean get from repo

twin spindle
#

so this is not mine error

idle furnace
#

more then one element, no?

twin spindle
twin spindle
idle furnace
#

šŸ˜‰

twin spindle
#

so I will try ./gradlew createReobfBundlerJar for test

#

so same error

#

idk how I can build anyelse

twin spindle
finite hinge
#

No one can build 1.20.6 anyway

fair belfry
#

works on my machineā„¢ļø

#

oh that was yesterday, i guess someone fixed it already

twin spindle
#

who know generator of commands for signs?

faint quail
#

Hi! Just wanted to ask if commandblocks are disabled because they dont work and i could not find anything in the documentation about this toppic

arctic tapir
#

yes

faint quail
#

Ok thx

faint quail
#

Hi! I have another problem: I switched from a Nitrado Craftbuckit server to a self hosted folia server and I wanted to have the player data (inventories ect.) from the old server, but they aren't the same. Am I missing something?

viral stone
#

folia is 100% compatible with the CB file layout

#

all one can guess is that you flipped the online mode setting or something

#

(either that or you set it up wrong)

manic quarry
#

do you have a blame command here? the one with the list where 3 first positions are "you"

manic quarry
cerulean finch
knotty egret
#

Hello guys, Is Docker necessary or unreasonable for Folia?

modern sundial
#

World api

prime juniper
#

is intel-core-i7-14700f a good enough cpu to benefit from folio?

#

nvm i see 16 cores required

livid crag
#

It is not a hard requirement but there are little to no benchmark around this matter.

manic quarry
#

since inevetably some regions would end up with their ticking threads on them

swift mason
#

It’s all about the OS

narrow tangle
#

My folia server is crashing a lot, some hs_err_pid file are generated but i don't know how to read the errors.

here are the latest logs, but there is more than 3 actually..
https://paste.denizenscript.com/View/122917
https://paste.denizenscript.com/View/122918
https://paste.denizenscript.com/View/122919

I did search some result in this discord and googled but still cannot help. I already finished a Ram test for the 128GB ddr4 ram, with 4 pass after 18hours of test, no error was found during the memtest.

Anyone can help me? What should i do next?

manic quarry
#

if no errors on memtest, then it's likely a corrupted file somewhere

paper siren
#

the fact that it crashes in different spots really points towards faulty hardware

viral coral
#

can still be a CPU issue

viral stone
#

segmentation faults would generally either be a JVM bug or a hardware issue, as said, the fact that it's happening all over generally precludes it being a JVM bug, so that often falls into hardware

#

hardware can be a headache to diagnose as it can easily be related to fun edge cases and is generally out of scope of what can be aided with here which isn't just blind advice on stuff to go run to ssee if you pick something up

narrow tangle
#

oh nošŸ˜µā€šŸ’«

timid grotto
heavy lake
#

Task paperpatchSpigotApi FAILED
Task :getPaperUpstreamData FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task 'paperpatchSpigotApi'.
io.papermc.paperweight.PaperweightException: Failed to apply patches
can anyone help?

arctic tapir
#

full log

heavy lake
#

with --debug or the error log?

arctic tapir
#

the error log there should be more info above

heavy lake
#

Configure project :
paperweight-patcher v1.5.15 (running on 'Windows 10')

Configure project :paper
paperweight-core v1.5.15 (running on 'Windows 10')

Task paperpatchSpigotApi
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 'gust@DESKTOP-QK5DNTE.(none)')

*** Please review above details and finish the apply then
*** save the changes with ./gradlew rebuildPatches

Task paperpatchSpigotApi FAILED
Task :getPaperUpstreamData FAILED

FAILURE: Build failed with an exception.

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

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

  • Try:

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

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.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

viral stone
#

read it, it tells you exactly what you need to do

heavy lake
#

ok

heavy lake
# viral stone read it, it tells you exactly what you need to do

C:\Folia>.\gradlew rebuildPatches

Configure project :
paperweight-patcher v1.5.15 (running on 'Windows 10')

Task :rebuildApiPatches FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem was found with the configuration of task ':rebuildApiPatches' (type 'RebuildGitPatches').

    • In plugin 'io.papermc.paperweight.patcher' type 'io.papermc.paperweight.tasks.RebuildGitPatches' property 'inputDir' specifies directory 'C:\Folia\Folia-API' which doesn't exist.

      Reason: An input file was expected to be present but it doesn't exist.

      Possible solutions:

      1. Make sure the directory exists before the task is called.
      2. Make sure that the task which produces the directory is declared as an input.

      For more information, please refer to https://docs.gradle.org/8.7/userguide/validation_problems.html#input_file_does_not_exist in the Gradle documentation.

  • 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.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 1s
1 actionable task: 1 executed

viral stone
#

I have no idea why you're trying to run rebuildPatches when the patch process failed entirely

#

ignore that part, fix the issue above that and then apply the patches again

heavy lake
#

bro

#

i am asking for support

#

not for me myself to

#

fix it

viral stone
heavy lake
#

ohhhhh

#

i though

#

that

#

wasnt

#

neccessary

arctic tapir
#

it literally tells you to do that

tawdry gullBOT
still night
#

Can someone help me with installing folia?

arctic tapir
#

read paper's readme

still night
#

Where can i find it?

arctic tapir
#

on paper's repository

tight halo
#

Are datapacks in general disabled or only the /datapack command?

viral stone
#

the command

#

the data part of datapacks still work

tight halo
#

okay, thanks

daring nimbus
#

functions don't work though

ripe knoll
#

Can someone explain better to me what change from these two, bc i dont know what is gc "GC Settings: ???? But, GC settings do allocate concurrent threads, and you need to know exactly how many. This is typically through the -XX:ConcGCThreads=n flag. Do not confuse this flag with -XX:ParallelGCThreads=n, as parallel GC threads only run when the application is paused by GC and as such should not be taken into account."

paper siren
#

Best is to not touch those if you don’t have deep understanding of what youā€˜re doing

tawdry gullBOT
#
Folia

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

For more information:

Folia will:

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

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

#

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

drifting jewel
hexed cypress
#

How Folia basically works is there a very detailed wiki or someone who can tell me a few questions I want to learn:

  1. Traditional Minecraft Servers are Single Core and Single Core Perfonmasa What about Folia?
  2. How many cores does folia support and are these cores shared or do we assign different events to each max core? I mean 1st core player events (x,y,z) 2nd core world events 3rd core chunks...
obtuse basin
#

i guess read the folia docs or readme on github

hexed cypress
livid crag
#

The depth is on the code base itself

hexed cypress
#

Do I have it right?

#

by the way, your profile is very cute. uwu

rare hare
#

Folia can use multiple cores. In principle there is no lower or upper bound. The cores may be shared.

hexed cypress
rare hare
#

Unless you're comparing the exact same processor models, no.

hexed cypress
rare hare
#

No problem

hexed cypress
#

In the documentation it was written that datapack cannot be applied at the moment, will it come in new updates?

manic quarry
#

are you talking about the command, datapack functions or something else entirely?

obtuse basin
prime juniper
#

error worker.org.gradle.process.internal.worker.GradleWorkerMain
Causā”œāŒ par : java.lang.ClassNotFoundException: worker.org.gradle.process.internal.worker.GradleWorkerMain

arctic tapir
#

full error

prime juniper
#

`BUILD FAILED in 5s
2 actionable tasks: 2 executed

C:\Users\JƩsus-Christ\Folia>gradlew.bat applyPatch

Configure project :
paperweight-patcher v1.5.15 (running on 'Windows 11')

Configure project :paper
paperweight-core v1.5.15 (running on 'Windows 11')
Could not write standard input to Gradle Worker Daemon 4.
java.io.IOException: Le canal de communication est sur le point dĪ“Ć‡Ć–ā”œĀ¬tre fermā”œāŒ
at java.base/java.io.FileOutputStream.writeBytes(Native Method)
at java.base/java.io.FileOutputStream.write(FileOutputStream.java:367)
at java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:125)
at java.base/java.io.BufferedOutputStream.implFlush(BufferedOutputStream.java:252)
at java.base/java.io.BufferedOutputStream.flush(BufferedOutputStream.java:240)
at org.gradle.process.internal.streams.ExecOutputHandleRunner.writeBuffer(ExecOutputHandleRunner.java:98)
at org.gradle.process.internal.streams.ExecOutputHandleRunner.forwardContent(ExecOutputHandleRunner.java:85)
at org.gradle.process.internal.streams.ExecOutputHandleRunner.run(ExecOutputHandleRunner.java:64)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1570)

Task papergenerateMappings FAILED
Erreur : impossible de trouver ou de charger la classe principale worker.org.gradle.process.internal.worker.GradleWorkerMain
Causā”œāŒ par : java.lang.ClassNotFoundException: worker.org.gradle.process.internal.worker.GradleWorkerMain

Task :getPaperUpstreamData FAILED

FAILURE: Build failed with an exception.

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

A failure occurred while executing io.papermc.paperweight.tasks.GenerateMappings$GenerateMappingsAction
Failed to run Gradle Worker Daemon
Process 'Gradle Worker Daemon 4' finished with non-zero exit value 1`

viral stone
#

gradle bew up

#

stuff like that generally boils down to issues like folder names cosing issues with the locale, or stuff dying due to not enough memory

spare moon
#

dual e5-2680 v4 for folia any good?

viral stone
#

At the end of the day you're still running a minecraft server

#

each region represents a small server

#

a 12 year old CPU is generally going to bog down individual regions fast

spare moon
#

i think its actually 8 years old

#

i could be wrong tho

viral stone
#

Yea, 8 year old, google failed me and grab the v1

spare moon
#

i mean im asking cuz i found a used server for approximately 250 of united states negotiable currency

viral stone
#

Nobody here is generally going to vouche for decade old web server hardware

#

it will probably be fine assuming you can maintain reasonable spread, but, it's not hardware I'd really bank on long term

spare moon
#

yeah im asking cuz i want to know if i should upgrade my r7 3800x to a r9 5950x or go with the server (a lot cheaper option)

livid crag
#

r7 r9 are definitely better options

fossil vigil
#

there's a reason those old machines are so cheap

#

actually, several

hexed cypress
arctic tapir
#

<@&748618676189528155>

marsh mapleBOT
#

(6655e446bb3b0c6d8b81024d) // @dire trout (@night_furysupreme / 930653904830607380) has been banned by @viral coral (215448923681062913)
Reason: ad spam

#

(6655e448bb3b0c6d8b81024e) // @dire trout (@night_furysupreme / 930653904830607380) has been banned by @jagged ether (451779815415218177)
Reason: steam scam

viral coral
#

L

jagged ether
#

:<

dapper thorn
#

Hello there,

my Plugin uses both Folia API and Bukkit API. I now noticed, that the PlayerRespawnEvent is not triggered, and found out, that the respawning players API is currently broken. Is there some sort of solution to outgo this problem?

~ Leo

proven echo
#

could worlds be loaded before the server fully loads? I’m aware folia doesn’t support it during runtime

viral stone
#

There are already libraries to bypass the loading check

daring nimbus
#

you can also add the world as a datapack dimension, those work on folia

lost widget
dapper thorn
#

Thank you for your help šŸ˜„

untold tulip
#

hi, im trying to load paper on a pufferpanel. with these arguments:
${java} -Xmx${memory}M -jar folia.jar

I did tried with a bunch of different line without success... i did tried something like that also

${java} -Xms${memory}M -Xmx${memory}M -Dterminal.jline=false -Dterminal.ansi=true -Dfolia.playerconnection.keepalive=60 -Djline.terminal=jline.UnsupportedTerminal -Dlog4j2.formatMsgNoLookups=true -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=40 -XX:G1MaxNewSizePercent=50 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=15 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=20 -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.jar

#

But nothing worked. Do any of you have an idea how I could make the pufferpannel and folia to work together please? thanks

livid crag
#

Launching Folia is no different from lauching Paper or any JAVA application. I dont see anything wrong on that script, it's best you ask support from pufferpannel @untold tulip

untold tulip
#

Thanks I do appreciate the feedback !

lucid thistle
#

You could just make a non-cancellable PlayerRespawnEvent to mask that hack too

wide solar
#

is folia 1.20.6 yet?

arctic tapir
#

yes

wide solar
#

omg 🤤

#

fr?

arctic tapir
#

yes

manic quarry
#

no, we are lying to you

fair merlin
thorny ivy
thorny ivy
static dragon
#

How can I fix the server freezing when loading a large amount of stuff in chests? I have folia 1.20.6 and the server hangs completely

late pasture
#

approximately how much players could I have on a server with a 96 core server?

#

If we are talking about zero plugins

timid grotto
#

there are other factors than just core count

livid crag
late pasture
#

Fair enough

#

Also is there a recommended certain amount of ram which I should need per a certain number of players, for example per 10 players would I need 2gb or smthing

#

For a vanilla server

livid crag
#

Not really but you can generally get an idea from a Spark report.

late pasture
#

Alr thanks

solar relic
#

in folia do event handlers in a global thread or reagion thread?

manic quarry
#

I would assume it's per event basis

timid grotto
#

regions are not exposed in the api

bold osprey
viral stone
#

that's not the case

arctic tapir
#

<@&748618676189528155>

marsh mapleBOT
#

(665daa22bb3b0c6d8b81026c) // @brave sapphire (@pog5 / 1063801507515998208) has been banned by @livid crag (177150983258767360)
Reason: compromised account

livid crag
#

We perfer members to not share not vetting jar privately. Follow the instruction on paper repo to make one yourself

golden meadow
#

Hi, I came across the fact that the server sees 8 or 64 processor threads out of 72 threads using x2 CPU intel Xeon E5 2686 v4 running windows server 2022

viral stone
#

We just get that info from the JVM

golden meadow
#

What?

viral stone
#

What?

golden meadow
#

I didn't understand

#

If there is a way to fix this somehow?

viral stone
steep topaz
#

Anyone knows any Folia plugin to turn off explosions damage to the terrain?

pastel musk
#

I need some help with the compilation. I cloned the resporitroy to C:\Users\Henry-New-Account\Documents\folia>git clone https://github.com/PaperMC/Folia.git at the folia folder. Then, I ran gradlew.bat applyPatches but later saw this error 59 seconds in: > Configure project :
paperweight-patcher v1.7.1 (running on 'Windows 11')

Task :clonePaperRepo FAILED

FAILURE: Build failed with an exception.

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

io.papermc.paperweight.PaperweightException: Command finished with 254 exit code: git -c commit.gpgsign=false -c core.safecrlf=false submodule update --init --recursive

  • 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.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 59s
1 actionable task: 1 executed

GitHub

Fork of Paper which adds regionised multithreading to the dedicated server. - PaperMC/Folia

solar relic
#

follow this steps

jaunty compass
#

Does via version translate folia 1.20.4 NMS packets to 1.20.6?

fair merlin
winged wedge
#

Hello, I've been setting up servers using Paper since 2020. I'm now planning to build a SkyBlock server that will run on low to mid-range hardware (maximum 4 cores), so it won't be very powerful. However, the plan is to upgrade to more powerful hardware once the player count increases. I understand that Folia is best suited for powerful hardware and high player counts, but I'm wondering if there are any drawbacks to running Folia on less powerful hardware. Should I start with Folia from the beginning (and would it negatively impact the server), or should I stick with Paper and transition to Folia later on? Thanks.

#

I really want to give Folia a shot but do not have the grounds for it lol

finite hinge
#

On a server with less cores it's just Paper but slower, harder to program for, and no plugin ecosystem

#

If you know you'll be scaling up later it won't hurt that much on the performance side vs Paper and at least you'll ensure all the plugins you're writing work on Folia for later

winged wedge
#

Alright thanks šŸ‘

finite hinge
#

Note how I said all the plugins you'll be writing

#

If you aren't writing your own plugins (or at least have the ability to do so) odds are you won't find what you need for running a Folia server that is something other than anarchy survival

winged wedge
#

Yeah seems like there is no public SkyBlock plugin for it. Nvm :\

jaunty compass
#

?

fair merlin
topaz bobcat
#

what should I do about this problem

arctic tapir
#

it tells you what to do

topaz bobcat
#

alright, but how do i get core for version 1.20.1

inner swift
#

Checkout and build it

topaz bobcat
arctic tapir
#

no

#

the branch

topaz bobcat
arctic tapir
#

why 1.20.1

#

but yes commit

inner swift
#

You'll need to find the commit where it was updated

topaz bobcat
arctic tapir
#

lol

livid crag
inner swift
#

By the way, you'll need to patch a bunch of exploits manually, which will naturally involve programming and more git knowledge than what you're trying to do rn

topaz bobcat
inner swift
#

Or people can just walk in your server and keep crashing it if they want, as 1.20.1 is outdated and has those

inner swift
#

I think they have Folia support

#

But by making your server 1.20.1, it will have all the bugs in that version, Via doesn't fix that

topaz bobcat
#

Then I’ll make the server on 1.20.4 and add viaversion. Thanks very much for help

solar relic
#

/gamerule spectatorsGenerateChunks false doesnt work in folia

daring nimbus
#

doesn't work on Paper either and does the opposite of what it says in vanilla (stops chunk loading, not generating)

#

so this is kinda up to Mojang to fix that first tbh

solar relic
#

i want to disable it in my server but it doesn't work.

#

does and fix planned.

faint thicket
#

Hi, I'm using Bukkit.broadcast(Component.text(message, TextColor.color(255, 94, 62))); - I wanted to send a broadcast message to all users, but unfortunately I cannot see the message on the client. It is visible on server console though. Is it a folia bug or am I doing sth wrong? xd

daring nimbus
#

uhh. Do you maybe not have the bukkit.broadcast permission?

faint thicket
#

Oh, yeah, I'm not. That would make sense. Thanks a lot

solar relic
#

i opened a folia hardcore server and a player randomly died because of fall damage while walking how?

faint thicket
arctic tapir
#

have you negated the * permission

timid grotto
faint thicket
surreal oasis
#

I think user broadcasts are different from server ones

#

You need the top permission

twin spindle
#

anyone know plugin for check cheaters? (freeze)?

idle furnace
twin spindle
idle furnace
#

I did something, not perfet, to check some types of hacks, but nothing related with freeze, thats why i was asking

placid birch
#

Why I cannot use Bukkit.getGlobalRegionScheduler()

idle furnace
#

you can, but only for the right things. I have been struggling with it as well šŸ™‚

placid birch
#

What is that mean

#
    <repositories>
        <repository>
            <id>sonatype</id>
            <url>https://oss.sonatype.org/content/groups/public/</url>
        </repository>
        <repository>
            <id>spigotmc-repo</id>
            <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
        </repository>
        <repository>
            <id>papermc</id>
            <url>https://repo.papermc.io/repository/maven-public/</url>
        </repository>
        <repository>
            <id>bungeecord-repo</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        </repository>
    </repositories>

    <dependencies>
        <dependency>
            <groupId>org.spigotmc</groupId>
            <artifactId>spigot-api</artifactId>
            <version>1.20.1-R0.1-SNAPSHOT</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>dev.folia</groupId>
            <artifactId>folia-api</artifactId>
            <version>1.20.1-R0.1-SNAPSHOT</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.velocitypowered</groupId>
            <artifactId>velocity-api</artifactId>
            <version>3.2.0-SNAPSHOT</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>net.md-5</groupId>
            <artifactId>bungeecord-api</artifactId>
            <version>1.20-R0.1-SNAPSHOT</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.spongepowered</groupId>
            <artifactId>configurate-yaml</artifactId>
            <version>4.1.2</version>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>redis.clients</groupId>
            <artifactId>jedis</artifactId>
            <version>5.1.2</version>
            <scope>compile</scope>
        </dependency>
    </dependencies>
#

Is this the right importation?

idle furnace
#

I have this one as well, not sure if it is about it

#

might be the old one

#

you have folia on your libraries, right?

#

Maven: dev.folia.api

placid birch
#

I think yes

idle furnace
idle furnace
#

go to that folder get the first jar path and introduce it again on your library directly as jar file, not as Maven

placid birch
#

Ok

#

I try that

#

Thank you.

#

I already did that

#

Still not work

solar relic
hexed ice
#

you have a plugin teleporting a player during the join event

#

it should schedule that for a tick later probably

solar relic
#

yes i have

#

i will try it

solar relic
young burrow
#

anyone got the latest build i dont got a pc atm cant use intelij

arctic tapir
#

no

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.

young burrow
#

okay then i guess my server will just have to remain down cause i cant compile stuff and folia to go is broken

reef quail
#

If I want to run an SMP Folia server for several hundred players. Should I choose a dedicated AMD EPYC GENOA 9554 (64c/128t 3,1 GHz) CPU or a dedicated AMD EPYC GENOA 9754 (256c/512t 2,25 GHz) CPU? It is a temporary event where everyone will pay, which is why the price aspect between the two CPUs does not matter and only performance is important.

livid crag
#

First CPU listed will be more ideal as core count after certain amount doesn’t add much to the table while the higher boost clock will benefit you.

inner swift
#

Is that something like a skyblock where there'll be perfect spread?

finite hinge
#

Yeah, for a temporary event even an anarchy server is likely to have people grouped up quite a bit so you might not get many regions, if any at all

#

If it's not skyblock I'd be worried and aim for something with less cores but like 7Ghz boost clock

solar relic
#

how can i download the latest 1.20.4 folia source code?

fair merlin
solar relic
#

i asked how can i install SOURCE CODE

viral stone
#

You clone it from git

solar relic
#

okay thanks

#

i have a weird compile error(folia 1.20.4)

viral stone
#

out of memory

solar relic
#

oh, i gave 4GB to my vm thanks for the help.

#

i will increase it to 8GB.

timid grotto
fossil vigil
#

but then again you compared it to a single 9554

#

256 cores is way, way, way high

#

turin (the next epyc gen) was announced to go up to 192 cores with rumored 256c support because of the die layout

void elbow
#

If I create a map of 500x500 blocks via /worldborder, will it be automatically divided into regions with threads?

#

or by what logic are regions divided into folia?

inner swift
#

No, if two players are less than ~900 blocks apart, they will always be in the same region

void elbow
#

oh thank for info

spare moon
#

how well would folia work if the worldborder is 35k blocks and players are very very spaced out but rarely there are massive groups of people in one region?

daring nimbus
#

the regions with the massive groups of people would perform the same as Paper would in that scenario, potentially slightly worse

winter shell
#

Hello, can folia be Used to Run a Server? Or are there any serious issues that still remain?

daring nimbus
#

it is used by several large servers and seems reasonably stable.
Just be aware its not a drop-in Paper replacement. All plugins need to specfically support it

winter shell
#

Thanks @daring nimbus, I thought so seeing the high Player counts, but wasn't Sure because the Posts I read were abit older. Sounds great. i really Love MMO.

#

Aswell found the supported Plugins list, Not factions yet, but Jobs, towny and co

daring nimbus
#

I personally would only really recommend Folia if you are a developer or have developers who are working for your server, simply due to plugin compatibility. And its really only useful for large projects, and at a larger scale you should have devs anyways

winter shell
#

Yeah, I might want to Check into it myself. Can't be that hard. i do some Python, and alot of PHP.

#

I was aiming for 512 Slots, the Gigabit Ethernet will be the Limit I guess, thought about trying Out folia and build a few small cities spaced apart, since towny is supported

#

i Could Look into Something like Multi world aswell. Sharing the Database for some Things. I don't know enough yet to decide šŸ™ˆ thanks anyway

#

I've Ran other Games with more than 1000 Players in the past. The biggest I have worked on Had 3500+ Peak šŸ˜‚ It can be so much fun with many people, thanks to the folia Team šŸ‘

wicked marten
#

Does anyone know how to make a String Farm in Folia 1.20.6?

livid crag
#

It will work exactly the same as on Paper given you have option enabled

tawdry gullBOT
supple viper
#

good evening and do you have a solution so that the spigot and bukkit plugins can work with folia?

viral stone
#

No

#

Plugins need to be adopted to take advantage of folia, otherwise you just end up wrapping everything in global locks and defeating a lot of the entire point of folia

supple viper
#

I saw on the folia page that there were some compatible plugins like essentials etc. I only tested one and there is only 1 that works

viral stone
#

There was an unofficial list somewhere

#

but, if you're not a dev or have access to one, using folia is generally going to put you in for a hard time

supple viper
#

I saw on the page with the description and it's huge what you can do maybe with the future the spigot and bukkit plugins will be compatible little by little a bit like sponge and velocity after that it takes time time

viral stone
#

No

supple viper
#

too bad because a lot of minecraft servers could use folia to finally have something that we've been waiting for for a very long time

viral stone
#

as said, the issue is that if you want bukkit/spigot plugins to work you need to make everything single threaded in terms of how it's exposed to plugins, and that defeats the entire point of folia

supple viper
#

yes sometimes you have to make sacrifices after I can be wrong the plugin developers will ensure that their plugins are compatible with time after I can be wrong in any case it must be quite complicated

#

that they even had a version of their plugins just with the folia api and nothing else

viral stone
#

That's not a sacrifice, that's a violation of the entire point of folia

supple viper
#

in any case hats off for your work eager to see the continuation of folia's adventure for the new versions of minecraft

quartz pier
#

Is there any way to ensure that the redstone machine will not break when folia is restarted?

livid crag
#

If you have an issue that ONLY break on Folia, please state so

quartz pier
livid crag
#

yes even in Vanilla -.-

quartz pier
winter shell
#

Will the regions adjust to Redstone buildings? i suppose the Problems I have read about are related to switching the Region? And the Region doesn't know there is Redstone somewhere and extend?

finite hinge
#

If redstone causes chunk loading that will extend the region, if it causes enough to get two regions close to each other they'd merge just like if players caused it

winter shell
#

That Sounds great, thanks @finite hinge

winter shell
#

Still quiet hard to think deeper into it. It Sounds really great to be dynamic and optimize itself. But aswell Dangerous If two larger regions would merge. And I think about Something Like "fixed regions" aswell. Imagine a City with hardly anything that causes lag or high CPU usage. It would be great to Not merge with the surroundings aswell somehow.

#

It will Take some time exploring the Code I guess. I suppose it Could aswell Split a Region that is too large into multiple regions, but it is Not that easy with the Redstone anf everything.

livid crag
#

Fixed region scaling has been attempted many times.

finite hinge
#

If the regions didn't merge the whole system would fall apart

winter shell
#

That helps alot actually. I have this Feeling it can only be better than a single thread after all anyway šŸ˜‚

late pasture
#

u could get a server for like a month with 128 cores

viral coral
late pasture
viral coral
#

you're literally suggesting to use a trial for a temporary event

late pasture
viral coral
#

yes

#

a trial is meant for testing a service to then sign a contract and start a larger commitment with them if it works properly

#

it's pretty scummy to just abuse it for a single temporary one off event and never use them after

late pasture
viral coral
#

that is literally what a trial is meant to be for

#

i don't know how you can define another definition for it

#

it's just offering a demo experience to a client to then lure them into a longer commitment after they're happy

#

literally the same energy as buying a $5000 computer, using it for some one-off lan party event and then sending it back to amazon, it's scummy behaviour, don't do it

late pasture
late pasture
#

those servers at datapacket are not being used and thus a free trial wouldn't impact their costs by much

#

whereas if i were to return a 5000usd computer, they wouldn't be able to sell it as brand new anymore and would lose out on quite a lot of money

viral coral
#

they're arguably still a pretty small company in the grand scheme of things

#

it's a scummy thing to do

late pasture
late pasture
viral coral
#

networking is expensive

#

you know what also is expensive

#

minecraft networking!

late pasture
#

depends on what you define as expensive

late pasture
viral coral
#

a minecraft server can easily use terabytes of data, i wouldn't exactly say close to nothing

#

the point is, it's fucking stupid, don't abuse trials

#

literally use a baremetal cloud platform and rent servers on an hourly basis for an event

#

instead of having to abuse trials from a server company

#

equinix metal exists and you could probably host an event for like $20

late pasture
#

i get what you mean tho, it can be pretty scummy

late pasture
viral coral
#

yes, plenty of baremetal platforms that charge per hour

#

vultr is another example

#

even OVH has baremetal per hour nowadays

wise epoch
#

even hetzner does now

viral coral
#

hivelocity too

late pasture
#

vultr youd be paying about 5000 dollars for like 64 cores for a few days

viral coral
#

right but what temporary event needs 64 cores for a few days

late pasture
#

idk thats what the guy wanted

viral coral
#

if you can get a 1000 players you can probably monetize it to get atleast $500 out of it

late pasture
#

Should I choose a dedicated AMD EPYC GENOA 9554 (64c/128t 3,1 GHz) CPU or a dedicated AMD EPYC GENOA 9754 (256c/512t 2,25 GHz) CPU?

#

thats what the guy said

viral coral
#

running an event for a day on a cpu like that would still probably not cost you more than $50

late pasture
#

yeah fair enough

winter shell
#

Since Matrix Just ignores bedrock, is there any other anticheat available for folia that really Supports bedrock edition?

jagged ether
#

better to ask Geyser

#

probably I mean

winter shell
#

Yeah, I Just wondered, all the Plugins I found are Not updated for some time and Not available on folia It seems

winter shell
viral stone
#

bedrock works a lot different to java edition, and so very few plugins care to basically reverse the bedrock clients behavior in order to make an anticheat for it that actually cares its movement stuff

winter shell
#

I personally tried to Join from bedrock edition, and needed to Switch to Java, would be nice If everyone can Join easily, but Not at that price I guess, thanks šŸ‘

late pasture
#

i was quoting someone else

winter shell
#

I See, I'd try the one with Higher clock Speed If I didn't need that many Threads, and If I need them I need them šŸ˜‚ sorry If I didn't get it right

fossil vigil
#

the thread count is wrong anyways

#

the epyc 9754 has half the cores that were stated there

#

genoa maxes out at 128c, but turin has 192 announced with a rumored 256 coming

winter shell
#

Maybe dual Machine, Intel Supports 8 CPUs even šŸ˜‚ can go for 480 cores ā¤ļø

fossil vigil
#

yeah but numa isnt great anyways

#

and certainly not recommended for folia afaik

winter shell
#

I will start with 16 cores, 4.2 GHz Base to 5.7 GHz, 128 GB memory, enough for me alone to Play around with folia for some time I guess, can recommend this šŸ‘

finite hinge
#

I think it's not recommended just because no one knows how well it'll do

#

It could be fine, it could seriously wreck performance, you probably want fewer faster cores anyway so don't need to get in to NUMA territory when you can just get a better single socket CPU

#

Like don't try to NUMA two 32 core CPUs, get a 64 core CPU if you think you actually need 64 cores

#

Anything beyond 64 cores I'd say you most likely don't need, unless you're planning to run multiple Folia servers on the same machine

fossil vigil
#

i wanna see 10k players on a single folia instance one day šŸ˜Ž

finite hinge
#

There is a limit to how much Folia can scale

fossil vigil
#

I imagine 2x of the yet-unreleased 256c EPYC turin chips might be able to get close

#

10k is probably not achievable

finite hinge
#

Folia scaling would probably fall off pretty hard before you got to 256 cores, let alone 512

#

I bet between 256 cores and 512 cores you'd get zero performance improvement, possibly it'd even reduce the performance

winter shell
#

I thought so, there is some Overhead

finite hinge
#

Locking isn't free, the more regions you have and the more cores you have to run those regions in parallel the more locking overhead you get

#

I mean, I don't think anything in the server needs to synchronize with every region so the overhead wouldn't scale that obviously but there is going to be a limit

viral stone
#

if you want to cater to NUMA you have to design your memory access for it

#

i.e. tying allocations to nodes where viable

winter shell
#

Is there any risk with changing / decreasing the amount of regions?

finite hinge
#

You don't really get a say in how many regions you have

winter shell
#

Oh, ic, thanks @finite hinge I thought about Problems with that.

#

I have pretty specific Plans for my folia Stress Test, Not with Players, that Data is easily available, but other stuff. My newest Idea is to build a City around an Oasis with a regenerating (Farm) world using chunky or world edit or Something Like that. Something Like a new biome live. But I am still pretty lost about what will Happen to Players and what folia will do If I start chunky on a larger area. šŸ˜‚

viral stone
#

chunky is fine

#

the big issue is that you can't have regions overlapping, and so they'll join

#

and if you don't have enough player spread, you'll be at best, no better off than using paper

winter shell
#

Yeah, I still try to have a quiet big map and many cities and everything, will See what I can do after all.

#

I Just liked the Idea. Theres so much Border area to Join the fresh middle and the surroundings, building a City around an Oasis. šŸ‘€ Anyway

#

Safe space šŸ˜‚ friendly Server you know

winter shell
#

I know it might Sound stupid and there are very different approaches than folia, but they May say i am a dreamer šŸ˜‚ gn8

small mauve
inner swift
#

Probably a 7950x

slate depot
#

Folia moment

arctic tapir
#

scroll up

#

read it

untold tulip
#

Hi guys, can anyone tell me if they have a good AC against baritone(especially anti-mining or kill aura).

At the moment i Have LightAntiCheat, and it's working fine against some "cheat / abuse" but i am looking for something to combat baritone. I had found a good one recommanded but after contacting the team the folia support is not coming any time soon.

Any suggestion as an AntiCheat for folia please? Thanks!

small mauve
livid crag
#

I would recommend Grim as well. It’s the anti-cheat 2b is using (they probably modified it to their own need)

royal swallow
#

'

untold tulip
#

Great guys, I do appreciate it!

small mauve
#

I originally mentioned Matrix and got shunned by @solid bison about it. Came back here and deleted my post and posted that again

weak tide
#

then it takes a bit for it to be patched

livid crag
#

I personally see that as a good thing... rather than using some hidden anti-cheat that despreately trying to hide itself from users. but I can see your point

solid bison
#

cuz it would be pain to update

solid bison
solid bison
#

just have one on alert only

#

meteor is barely designed to bypass any ac

#

only the plugins are

#

and ofc the payed clients but barly anyone logs on random servers to troll with payed

spring axle
#

can someone explain to me, why folia is recommended with 16 cores?

#

also, why isnt a minecraft server async by default?

viral stone
#

concurrency is hard, especially when dealing with large blobs of storage, i.e. a world

#

the recommendation is a mixture of "that's what we tested with", and a "this is how much money you should probably have"

spring axle
viral stone
#

(You also have to remember that the game released at a time when dual cores where pretty much the best you'd expect in your average desktop)

#

it can work on older CPUs, especially if you have the thread counts

#

but, most plugins are not folia compatible and will never be folia compatible

spring axle
viral stone
#

it splits up ticking of the world into regions and ticks those in parallel

#

theres a bunch of stuff which is async in paper and even vanilla, but the business logic like pretty much every other single game is ran in a tick loop on one thread

spring axle
#

ok, thanks

small mauve
plush hearth
#

is folia aware of how many cores there are available or am i supposed to tell it how many?

finite hinge
#

It generally figures it out for regions at least, I think you want to tweak some of the others based on player counts and such

#

iirc there are tuning knobs for chunk IO threads, chunk generation threads, netty threads, and region threads

#

And of course GC threads but that's a JVM thing

#

Start off with just whatever it figures out for that stuff but check the readme for a good rule of thumb for at least how many netty threads you'll want

plush hearth
#

thank you

burnt wyvern
#

What is folia

tawdry gullBOT
#
Folia

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

For more information:

Folia will:

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

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

livid crag
#

@burnt wyvern you can read about it there ^

void elbow
#

Folia 1.20.6 broken?

#

Previously, I tested on 1.20.1, I could fit about 300-400 bots in the region at 20 tps, now I can barely handle 150 people

#

VDS is the same, no plugins.

livid crag
#

Looks like all your bots are in same region. That's not going to take advantage of Folia at all.

#

Also bots are not a very effective way of benchmark for anything.

void elbow
#

This didn't happen before

#

On 1.20.1 I did the same thing and there were 300-400 bots in one region and TPS = 20.

#

Now I’m doing the same thing on 1.20.6 and TPS is already dropping with 150-200 bots in one region

#

There is some kind of problem in Folia, I’m telling you for sure. This didn't happen before.

inner swift
#

Noting that VPSes/VDSes have essentially random performance

paper siren
#

Note that a single region typically won’t outperform a normal paper server, so depending on what the bots are doing, that’s pretty much expected

finite hinge
#

Also you can always throw a profiler at it and see if you can tell what changed

late pasture
viral stone
#

depends on the host

#

some actually don't oversell and so it's generally more reliable

#

but, as said, the only thing to know what's going on there is to grab a sampler out

late pasture
#

yeah that would apply to a VPS

#

but not a VDS as all of the resources are dedicated to you and only you, so if you have 1 core then nobody else would have access to that core, only you.

viral stone
#

VDS is interchangably used with VPS these days by many hosts

#

and you're rarely actually pinned to a core on a VDS, it's just dedicated in a sense that they promise to not oversell

#

it used to basically just mean KVM vs openvz

small musk
#

Has anyone been running folia on a small survival server with less than 20 players? How has it been with the public plugins?

finite hinge
#

It doesn't work with the vast majority of public plugins and unless your 20 players build all their stuff 1000+ blocks from each other you'll end up with a single region

small musk
#

Got it, sticking with paper šŸ‘

void elbow
#

Number of regions - this means how many regions, how many processor cores do I need to work well?
And what does Utilization mean?

finite hinge
#

You have 39 regions which sounds pretty good, you don't really get a say in this one since it has to follow the rules for regions so the server stays alive. Utilization shows 73% of one CPU core maxed out out of a possible maximum of 2 CPU cores for ticking regions. This one you can change but the server automatically allocates this to some extent too so if you only got 2 threads for ticking regions that's an indication your CPU doesn't have enough cores

torn shoal
#

when will version 1.21 be released for folia

tawdry gullBOT
#
__There Is No ETA__

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

arctic tapir
#

paper doesn’t even have stable builds

#

or iirc even have all the big patches merged

prime juniper
#

folia's recommended specifications are 16 cores, what is the minimum required number of cores?

viral stone
#

1

tall marsh
#

*uses 0.5*

lucid thistle
#

Is folia available for 1.20.5/6

livid veldt
#

ya

inner swift
#

<@&748618676189528155> Crypto miner in that github link

marsh mapleBOT
#

(66723b49bb3b0c6d8b8102da) // @digital fable (@falkke / 222025144141348865) has been banned by @visual kettle (245958554899578880)
Reason: Quick-banned for sending a message in #folia-help

astral dock
#

how can i download folia?

manic quarry
#

if you have to ask, then you probably shouldn't

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.

finite hinge
#

You have to compile it yourself, you can follow the directions in the paper repo for how to do so

elfin wyvern
#

do you need such powerful hardware to run folia?

arctic tapir
#

yes

muted stirrup
#

For folia regions people need to be split out around 1500 blocks or so I think. What happens if you have a bunch of people in small clusters sort of spread out / chained together.

For example
Player A, is 1000 blocks from player B, I assume they would end up in the same region right? Then player is C is 1000 blocks from player B, so 2000 blocks from player A, will they all end up on the same region? If so will groups of players just chain together and form one region?

Thanks

arctic tapir
#

yes

muted stirrup
# arctic tapir yes

Is there any way to prevent that? Or will regions always merge if at least some players are within the threshold? Like would it just expand infinitely as long as players are within 1.5k or whatever. Even if at the end player A and Z are 100k apart?

fair merlin
#

They'll merge auotmatically if players get too close

#

Part of why you want a lot of cores if you have a lot of players, and why Folia isn't always the best choice for every game mode.

#

But no, there's no way to prevent it.

#

If they get far enough apart it should split up the regions, but at what block distance that happens can vary.

muted stirrup
fair merlin
#

Merging can vary also, but the minimum is generally about 1500 blocks.

#

You shouldn't be betting on a hard block limit for anything.

muted stirrup
#

Gotcha thanks!

primal oyster
#

You can tune in the values to be almost the overlap of view distances.

#

Ofc, you could change how regions merge too, customizing the logic is always welcome too ofc

void elbow
#

What does Utilization mean?

#

Is it using CPU cores?

primal oyster
#

Threads iirc

delicate lichen
#

after loading world I get an error, as I understand it, the world is damaged, how can I restore it?

viral stone
#

corrupted level.dat

#

generally, restore a copy of that file from your backups

delicate lichen
viral stone
#

then you're screwed

#

maybe you can look at one of the other worlds level.dat files to get the seed and plop it into server.properties and pray you don't bust the world too hard, assuming you're looking to generate new chunks

#

otherwise, all you can do is delete level.dat, it will generate a new seed and create ugly chunk borders, etc

delicate lichen
#

I don’t feel sorry for this world, but if something like this happened in the future I could fix it

livid crag
#

Best time to make backup was yesterday, the next best time is today.

delicate lichen
#

yes, but people have worlds of 100-200 GB, there’s not enough memory to save everything

viral coral
#

that's a shit excuse to not create backups