#folia-help

1 messages · Page 4 of 1

rancid pendant
#

ngl discordsrv should probably wait for their rewrite to do folia support

left swan
#

It's better than another way I've seen someone say it monkaChrist

left swan
rancid pendant
#

80% of essentials works on folia

livid crag
high spoke
#

This project is so cool!!

lime lintel
#

folia will not help kitpvp at all. it's a hundred players in a small region. this region will all be running on the same thread anyway so will offer no extra performance benefit. fois helps where players are spread across a large area, not the other way around

hardy ingot
#

something like hungergames with 500 players on a very large map could work tho

wicked mantle
#

I still hope someone uses folia to host a map where players just survive as long as they can. If you die you're removed from the server. Since they can just spread people out super far and throw a few hundred players on the server.

hardy ingot
#

basicly hardcore smp

prime juniper
#

Uh, why?

#

Like, besides the feeling of superiority

subtle wasp
#

so there aren't fourteen reports of the same bug here while the bug has already been submitted and a fix has been PRed on github

left creek
#

Mutli-paper isn't already a good way to run thousands of players on the same map?

livid crag
#

We are not affiliated with Multipaper in any way. you should ask in their support discord. @left creek

#

Folia take a different approach as outlined on our official repo. You can spend some time reading it. @left creek Pepelove

prime juniper
#

How can break paper plugins?

#

Dont think its a ticking system

regal spire
#

Can i ask? AMD EPYC 7281 10 Cores
and 64gb of Ram, is that ok to handle with 100 players?
not familiar with Multithread but would like to know
if its ok?

dreamy dirgeBOT
#
Folia

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

For more information:

Folia will:

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

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

spring herald
left swan
left creek
#

Mammoth seams to be stronger since it can be run one many computer at the same time

livid crag
#

You should reread the page again, that's not exactly how the region works. There is a reason why worldQL doesnt take off...

karmic agate
#

The title of the readme should just say "FIXED LAG IN MINECRAFT"

proven tinsel
#

FIXED LAG IN MINECRAFT*

pulsar thicket
#

Maybe this was already asked and I missed it, but is there possibility in the future of forcing folia to simply use one tick region per world, so that each world has its one thread but isnt split up? I feel like this wouldnt be an uncommon usecase and if regions can already split up multiple workls into multiple regions it probably shouldnt be too difficult to limit it to one region per world?

arctic tapir
#

why

karmic agate
#

I see how that could be beneficial for medium sized servers, but if it hasn't been done yet, there's probably a good reason for it

pulsar thicket
#

My thought process was also leaning towards minigame servers, whereas servers now often run one game per server, this would allow multiple games in the same server in separate worlds, bur keeping the entire world ticked on the same thread to ensure best performance for sth like pvp

karmic agate
#

I was thinking more on like servers that want to bring things like high view distance or multiple new dimensions, but that's about the same idea

#

I don't think Folia is exactly aimed for those servers anyways, but having some of its functionality being configurable to make it more versatile instead of requiring at least something like a whole Ryzen 9, or even if then, be more usable for cases like minigame servers, would be really nice

pulsar thicket
#

Yeah I understand that wasnt the goal, but it seems like a reasonable additional usecase with not a big amount of work? I havent looked at the internals on how difficult this would be to add, so im just assuming

#

Would be nice in any case

karmic agate
#

I know more than one server owner that's always called by the "If you have +100 players, you should have something custom anyways" argument, but because of the nature of their servers (tight budget), never really get a chance to do more than like a few basic custom plugins, so yea, having that kind of stuff publicly available would be awesome

alpine mica
#

May i ask some questions?

Can i use folia on a PC that running on dual CPUs? e.g. 12Cores + 12Cores

Does the Frequency matters? Can i use low frequency CPUs like E5 series?

quaint ingot
quaint ingot
#

不過個人推薦不要用洋垃圾

alpine mica
quaint ingot
alpine mica
quaint ingot
#

好多洋垃圾tick單個區塊都很困難...

alpine mica
#

但至少應該效果會比高頻u好嗎?

patent idol
#

What is happening here 😳

left dirge
#

English please

quaint ingot
#

Sorry...

alpine mica
#

Sure

quaint ingot
#

I'll take this to DM

alpine mica
#

I added u

quaint ingot
drifting field
#

Will folia have the benefits of pufferfish/purpur?

viral coral
#

no

drifting field
#

Is there a resource explaining the differences?

dreamy dirgeBOT
#
Folia

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

For more information:

Folia will:

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

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

viral coral
#

plenty

prime juniper
#

is folia supposed to behave like this ?
(with 128GB Ram, 32Threads)

hybrid shore
#

If players are near each other then yes

prime juniper
hybrid shore
#

Not enough

#

It must be min ~ 1500 blocks from each other

prime juniper
#

oof

hybrid shore
#

If a player is 1000 blocks away from different player it will be one big region

viral coral
#

yeah you only have 1 region in the overworld

#

either players aren't spread enough or there's not enough threads configured

#

kinda sounds like the latter to me because of the utilisation percentage

prime juniper
#

yeah tho i put that in the config

#

so it's pretty wierd

viral coral
#

don't do that

#

just because you have 32 threads available does not mean you should allocate all of it to threaded regions

hybrid shore
hybrid shore
prime juniper
viral coral
#

i believe so

prime juniper
#

also it seems if the server is put under too much load it just dies or get killed

dreamy dirgeBOT
#

-Xmx controls the amount of heap memory assigned to the JVM, this does not include other memory used by java, or native memory used by other libraries such as netty (for networking) or SQLite. Please do not allocate all of your memory!

hybrid shore
viral stone
#

that's pretty much always setting Xmx too high so that the JVM is killed by the OS

undone acorn
odd condor
hybrid shore
#

I think ryzen would be better

#

And 10k is too small, 20k maybe

inner swift
#

Run the bundler jar instead

timid grotto
solemn zinc
#

why is the region size set at 1500? Would it be possible to decrease this value? Then spreading out of players would be less of a problem. Somebody said it had to do with render distance + buffer. But even with a render distance of let's say 10 and a buffer of 5, a region size of 15x16=240 would be feasible, no?

#

region length* rather

scenic sky
#

merging regions does have some overhead

viral stone
#

And 10 render distance is practically more akin to like 20 chunks of loaded radius

solemn zinc
#

That's quite some overhead then

prime glen
#

Folia seems like exactly what 2b2t would need

slim bolt
#

As i know, it is not good to allocate too much RAM to paper. Does it work the same way on Folia and am i even right?

late heart
#

no, pretty much not (it's relative how many is to much)

slim bolt
#

Ok, thanks

#

So i should allocate as much RAM as i need?

strange nymph
prime glen
#

I meant performance wise, as an issue on there is the high amount of players with a high amount of loaded chunks, farms and redstone machines

viral coral
#

it's not a problem until you need to analyze a heap dump

late heart
#

dl y (sorry it was by an accident)

viral coral
#

yes but good luck analyzing a 90gb heap dump locally

#

not if you have some serious memory leak where it actually starts to use 90gb

prime glen
#

probably not gonna use only 5GB

viral coral
#

otherwise why else am i going to dig through a heap dump

spring herald
#

Just a quick question, what can be minimum requirements for Folia?

#

Ok the recommended (more cores and threads are good) , but for the opposite ?

arctic tapir
#

mostly same as paper

spring herald
#

So... technically if you use one core, folia = paper? 🤔

prime glen
#

it lists the specs used for their test run of folia

arctic tapir
prime glen
#

so you can have a pretty good point of reference

rich violet
#

Has anyone converted plugins like worldedit and essentials to work with folia yet?

wicked mantle
#

Essentials in in-progress and I believe FAWE works

rich violet
#

out of the box?

wicked mantle
#

or at least has a PR with a build that works

rich violet
#

ah nice

wicked mantle
#

Last I heard jroy said essentials was at 80%

daring nimbus
#

FAWE folia support is still pretty experimental and not all features work. And I think you need to build the branch yourself

exotic stirrup
exotic stirrup
#

@wicked mantle @rich violet I attached a link into my pr on FAWE with the current download link. Feel free for testing

blissful basin
#

A lot of plugins have support for folia as of right now

timid grotto
#

no?

blissful basin
#

Surprisingly a lot compared to how long Multipaper was there and almost no-one updated for it

timid grotto
#

most plugins dont support folia yet

finite hinge
#

multipaper is distributed computing, the hardest thing you can do in programming

blissful basin
finite hinge
#

folia is "only" multithreading

blissful basin
#

But it's harder to make sure everything works on MP than folia

viral stone
#

multithreading is a lot more accessible dev wise for testing, even if it performs like shit on your hardware, vs tryna get an entire stack setup

tacit tartan
strange nymph
#

It’s happening extremely fast.

blissful basin
tacit tartan
sudden tusk
#

I like how that list says support or just working on support 😆

blissful basin
#

How can I get on that list 🤣

timid grotto
strange nymph
#

Well yea, but if there’s a branch or a pull request then the chance of it not happening is 1%.

next bloom
#

that seems like not a useful list. How do I differentiate between the two

tacit tartan
#

oh well if it also includes "working on it" then what's the point?

strange nymph
#

The point is so you know that you will be able to switch in Folia in some time.

blissful basin
strange nymph
#

DM.

blissful basin
#

I will probably join you soon

glossy locust
#

I've always considered MP as too unsafe for a survival server

blissful basin
#

Once PureGero comes back from studying it's gonna be better

#

Yeah that's why we built economy around tasks instead of items

paper stone
livid crag
late skiff
#

is folia available to download?

dreamy dirgeBOT
#

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

idle furnace
#

@tranquil epoch could sell beta versions, if 1/4 of the people, asking for it, buys it he would get rich 🙂

left swan
subtle adder
#

I got some messages from people asking me how to download folia and they say it would be unnecessarily complicated (i have not looked into folia further then reading the announcement and the README.md). Is there anything special about building folia in comparison to building paper? Or is it just people searching for official download links?

idle furnace
#

I know, was a way of joking with the situation

idle furnace
tacit tartan
subtle adder
#

Is is so unstable that this is necessary?

tacit tartan
#

yes

idle furnace
#

If we give them the jar, they would come back reporting problems due to the fact most of plugins are currently incompatible

tacit tartan
#

it's really only out so plugin devs can get working on compat

idle furnace
#

But I consider it quite stable already

inner swift
tacit tartan
#

also there's some major systems that simply aren't implemented rn (scoreboard), as well as who knows how many uncaught bugs
like Leaf's good, but still human, and they probably missed a few things

subtle adder
#

so it is paper-plugin only?

tacit tartan
#

worse, plugins must be explicitly compatible with folia

subtle adder
#

oh i see

tacit tartan
#

in order to make the changes, Leaf had to nuke the scheduler system among other things, which damn near every plugin relies on

#

(there's of course an alternative to the old system, but it requires code changes)

subtle adder
#

yea i was asked too if i would „update“ some of my plugins to folia and i said as a precaution that this is to complicated for the revenue i would get out of it..

tacit tartan
#

I mean depending on the plugin it might require very little changes

subtle adder
#

is there a list of breaking changes?

shell violet
#

read here down to "planned API changes"

subtle adder
#

i like the „could be more“

shell violet
#

already one thing not listed there is the whole conversation API

subtle adder
#

yea if there is a stable and supported build i will think about migrating at least some of my plugins (that also is a huge pain to maintain paper and folia at the same time then, right?)

shell violet
#

it depends what you're plugins are doing

#

see pins in #folia-dev, there are some links to open source plugins that have updated and their diffs

frank prism
#

they are thinking about potentially adding API to make folia plugins compatible with paper

subtle adder
#

currently im not at home and staying abroad with only my ipad so i will look into this later, thank you!

shell violet
#

yeah, right now the only thing that is part of folia that isn't part of paper is the new scheduler API

#

the other major changes are all just extra possible conditions you need to account for that will never occur on paper. but, accounting for these conditions will not break your plugin on paper either

frank prism
#

they will probably replace some more stuff when fixing all the broken API tho

#

and datapacks arent supported on folia

raven compass
#

Is this still the way to get player object from uuid?
Bukkit.getServer().getPlayer()

hexed ice
#

yes

fossil vigil
#

Will folia benefit from dual socket systems (dual epyc, for example), or is the CPU communication overhead not worth it in this case?

inner swift
#

It does seem to be a concern, in the test server the second CPU was disabled to avoid NUMA penalties

pseudo ibex
#

Is there a way to load up worlds than the world, world_nether, world_the_end?

finite hinge
#

I don't think NUMA will hurt that much it was just that we didn't need more than 64 cores so why take the NUMA hit from the scheduler being dumb

wise vale
wise vale
thorny snow
#

So is there no nether & end support?

livid crag
#

Wdym? Where did you read that @thorny snow

#

There is nether and end

thorny snow
#

If interacting with portals is broken...

viral coral
#

api

thorny snow
#

And world loading/unloading

viral coral
#

nether & end work fine

thorny snow
#

And their portals?

viral coral
#

they work

#

APIs are the stuff plugin developers touch

thorny snow
#

I know, but I thought if they are broken, it shouldn't work

arctic tapir
#

the api part is broken

#

not the portals in the world

thorny snow
#

ok thanks

#

In the test server there was no nether also

#

So I thought...

livid crag
#

As it stands right now you can play Minecraft on Folia until you beat the dragon as a player, the only thing you will notice that’s different is end credit not working @thorny snow The only “broken” part is plugin supports and certain APIs that normal player will not need to worry.

thorny snow
#

got it

thorny snow
#

Is it normal to that THAT long?

sudden tusk
#

What's the CPU and what type of drive? (SSD or spinny disk)?

wicked mantle
#

windows makes it super fucking slow too

viral coral
sudden tusk
#

Well, not that long unless it's like an atom cpu and a 5400rpm

thorny snow
#

Sata SSD

#

49 minutes lmao

next bloom
#

Oh you are building on windows

#

Yeah, that’s gonna be the issue

#

Use wsl or some not windows OS

sudden tusk
#

50 minutes feels ridiculous either way though

wicked mantle
#

eh not if an antivirus is attempting to run threat detection of the directory

celest forum
#

i built it in my one drive folder and it still only took less than 5 minutes

#

50 min is an extreme amount for a 7700k

#

i have a 10700k and there’s no way that’s a 45 min diff in 3 generations

sudden tusk
#

9600k here, roughly 5 minutes to build as well.

sly elm
#

its a couple minutes for me on wsl though

finite hinge
#

On Windows on a HDD it was definitely over 30 minutes, don't remember how long it ended up being

#

SATA SSD isn't that much better than a HDD although it should still be way better for dealing with lots of small reads like patching

paper stone
#

With a 6c/12t

nova spire
#

error
what to do?

viral stone
#

read the log and see if it says why it failed

blissful basin
paper stone
#

3GB isn't enough but idk how to do it

blissful basin
#

It's dynamically allocated

#

It uses hyperv dynamic ram

paper stone
#

idk it was stuck to 3GB then since I do have 16 and was doing nothing else...

blissful basin
viral stone
#

There is a memory limit

#

by default these days it's apparently 1/2 of the ram, but, idk how that's set, etc, etc

tulip musk
#

g

wind halo
#

With which command can I get this stats?

misty matrix
#

/tps ?

wind halo
#

ohhh

#

Thanks

pliant wedge
#

I want to use GravityControl, but I get an error. How can I use it?

blissful basin
pliant wedge
#

oh,really?

hexed ice
#

the error is right there in plain text

#

plugins have to explicitly add support for folia

blissful basin
#

Here is a list of plugins supporting folia

pliant wedge
#

thx 🙂

blissful basin
pliant wedge
#

ok

blissful basin
# pliant wedge ok

For example my plugin (MineStore) is the only economy plugin out there

prime glen
#

Ayo it's just economy, why aren't others supported 💀🤣

blissful basin
prime glen
#

Wouldn't it just be a matter of putting that one line in plugin.yml?

blissful basin
#

No 🤣

hexed ice
#

for vault it would be, it's just an API

blissful basin
prime glen
#

yea it would

#

those shouldn't depend on chunks or scoreboards

#

only keeping track of numbers

blissful basin
#

They must use schedulers

#

If they want to use any kind of database

teal umbra
#

Vault has some scheduler usage as well iirc - it had an open Folia support PR

livid crag
#

It’s not even a month after repo is made public. Not all developers are sit idle and ready to work on a project. Just be patient.

blissful basin
livid crag
blissful basin
#

Well I just have method runOnMainThread()

#

I just implemented that to use the folia scheduler

teal umbra
#

Something that deals with a lot of world modifications could be practically a total rewrite

blissful basin
#

Yeah

#

But most plugins should be fairly easy

spark fulcrum
magic pond
#

This may be a dumb question, but is this possible to compile on macos? iv been unable to and am curious if its just not able to

hexed ice
#

of course that's possible

magic pond
#

ah so im not just dumb!

#

i mean maybe i am, but at least its not that lol

shell violet
#

What issue are you encountering?

magic pond
#

im pretty sure im missing dependencies, or something like that

#
import io.papermc.paperweight.tasks.RebuildGitPatches
       ^```
hexed ice
#

make sure you git cloned it and didn't download it as a zip

magic pond
#

i did do git clone, but i may just redownload it just in case now that you mentioned it

#

i used the link

#

under code

hexed ice
#

show the full error in that case

hexed sky
#

anyone know how to unpatch sand dupe ?

sudden tusk
#

In folia? You're kinda on your own 😆

dreamy dirgeBOT
viral stone
#

oh, if that's the one you need the plugin for, you'd need to wait for the plugin to be updated or whatever

#

or update it yourself

magic pond
#

but i think it just stems from the first error

fierce knotBOT
viral stone
#

Did you just clone the folia repo?

magic pond
#

yes

#

i have a feeling im missing dependencies

viral stone
#

probs pulled some corrupted gradle jars or something

magic pond
#

hm

#

that would be weird if i just cloned it tho right

viral stone
#

there was a gradle flag to tell it to refresh dependencies

arctic tapir
#

--refresh-dependencies

viral stone
#

yea, forgot what the seperator was :L

magic pond
#

okay wait maybe i did it

#

im not a gradle guy

#

but i now have a jar

#

though i think its too small

viral stone
#

you apply patches, and then you create a bundler jar or whatever, the thing things in the build/libs folder

magic pond
#

ahh

#

okay

#

is this really not documented anywhere? i mean i know this is not for general use as its early test builds, but still i feel like there should be a small sorta guide

#

easy to get lost

viral stone
#

It is covered in the readme for paper

magic pond
#

it does seem to be building something now that i ran the apply patches

viral stone
#

exact same process

magic pond
#

ah that would be useful

#

why isnt that mentioned anywhere? i mean it does make alot of sense since its a fork but

#

i feel like there should be something to point someone

#

i dont have a ton of dev experience with projects like this

sudden tusk
#

The assumption is that, at this point, if you're going to be running the highly experimental code that is folia then you are skilled enough to set this all up yourself or are paying someone who is (because folia's good for huge servers running on massive dedicated boxes)

magic pond
#

yeah that is fair, i get that

#

but still, for a random guy like me who wants to just see whats up, i think there should be at least a mention of how to build it

#

even if thats just, "hey its the same as paper"

sudden tusk
magic pond
#

but there is no mention of that on the folia readme

sudden tusk
#

When we think it's ready for more people to start testing, we'll make it more obvious how to set it up. cshrug

ionic wadi
#

How can i compile Folia? When i compile it get a Jar with just a manifest in it but nothing other?

viral stone
#

see the paper readme

magic pond
#

Just add a mention to that on the folia readme, itll save everyone time

viral stone
#

too dead, somebody send a PR maybe, idk

ionic wadi
#

It says they cant reconise the command

#

Im on WIndows 11

#

And thats the Folder with the Folia Master Files

viral stone
#

...

#
  1. first step is to clone the repo, not download it
ionic wadi
#

Ohh i wasnt in Powershell

viral stone
#
  1. don't run in a folder tainted by onedrive
ionic wadi
#

Okay how do i clone it?

magic pond
#

i wouldnt recommend having it in ondrive

#

lol

ionic wadi
#

Its just the name i cant change that One Drive isnt enabled

viral stone
#

you'll wanna do it on the top of C drive anyways

ionic wadi
viral stone
#

windows has stupid limitations which causes issues

#

you need to install git, and then clone the repo with git

ionic wadi
#

Whats the command for cloning?

viral stone
#

git clone <repoUrl>

ionic wadi
#

Okay got it

#

Still get this error. I cloned it properly

arctic tapir
#

are you still in one drive

ionic wadi
#

No

#

Wasnt before just the name of the folder

viral stone
#

see the full output of the thing

arctic tapir
#

try at the root

ionic wadi
#

Thats the full output

inner swift
#

Error and solution are written in your screenshot

ionic wadi
#

Thats the Stacktrace

#

But cant read anything from it realy

viral stone
#

above that..

#

Like, literally, read from the top

ionic wadi
#

That with the account thing do i realy need to log in or sum?

viral stone
#

you just need to tell it who you are

#

git requires that info because 99% of people using git generally intend to use it for actual work

hard vector
#

Hello. My players are building very very big farms using a lot of pistons and hoppers. Now I have 24.000 pistons on my server. These farms are incredible big. It causes lags and high mspt

Any ideas how to handle it on survival server?

blissful basin
#

Well in that case you need to make something like insights for folia and limit the amount of pistons per chunk

hard vector
#

No, just paper. 50mspt with 60 players with 5000 entities and 24000 pistons. When it Drops to 5000 pistons then mspt goes to 30

blissful basin
hard vector
#

Oh, sorry

blissful basin
#

Use this plugin to limit number of pistons in chunk

#

It's not retroactive thought

hard vector
#

Thanks, I know this plugin but I thought it is only for scanning regions, not for limits. Now I am surprised

blissful basin
#

Frank only makes good plugins 🤣

hard vector
#

And this just delete above limit pistons?

blissful basin
#

It allows you to configure a limit of pistons in chunk

#

But it's not retroactive

hard vector
#

Okay, thanks. I will read about it

hard vector
#

Its me again. Sorry that I am continue this topic here. Is it possible to disable ticking pistons, hoppers when player is more than (for example) 30 blocks away from them?

#

Without modifying simulation distance

#

Okay thanks, so I will focus just on limiting it per chunk

jaunty talon
#

Is folia more stable or still very unstable?

blissful basin
jaunty talon
#

like is it stable enough for 100+ players

blissful basin
#

If they are far apart than yeah

prime glen
#

A bunch of API stuff is broken, not a lot of plugins made to work with Folia either

jaunty talon
#

Oh

slim bolt
#

Things like player.addPotionEffect should also be used with the scheduler?

viral stone
#

once again, that's mutating entity state

slim bolt
#

Ok, so for example sendMessage can be used without it?

viral stone
#

sendMessage afaik should be fine given that it doesn't modify state

late heart
#

Utilisation: 8,6% / 100,0%, is it normal if I set 32 threads with -XX:ParallelGCThreads=n ? Or this number is devided by the thread counts thus making 100% the maximum

viral stone
#

That's nothing to do with utilisation?

late heart
#

ah okay, thats threaded-regions in the config that I was looking for

pliant wedge
#

How can I get Folia for 1.19.3?

#

only1.19.4?

hexed ice
#

1.19.4 only, there should be no reason why you'd want an older version

arctic tapir
#

basically yes

pliant wedge
#

Ok

celest forum
#

unless something changed viabackwards didn’t update yet

pliant wedge
#

Monster done not move! What should I do?

#

Is this a bug in Folia?

arctic tapir
#

try to reproduce on paper

undone vale
#

why does folia not have a main thread?

glossy locust
#

it has a main thread

undone vale
#

never mind then

glossy locust
#

but you probably meant to ask another question

sudden tusk
#

I feel it's deceptive to say "it has a main thread" when it clearly is a very different behavior of a 'main thread' from what anyone is used to.

blissful basin
#

I mean GlobalRegionScheduler is kinda main thread

sudden tusk
#

There is no 'main' thread on which chunks and entities and players are processed, because each region (see the readme) has its own 'main' thread to operate on. It's kinda the whole point of the system.

sudden tusk
undone vale
#

ok

sly elm
#

isn't global region scheduler just kind of "main" relative to the region scheduler thread pool

#

definitely not like the main thread of a normal minecraft server though

blissful basin
#

But it is the closest thing to main thread 😄

sly elm
#

closest except in terms of usefulness, since you should not be scheduling most things to the global region scheduler

sudden tusk
#

If I ask "do you have any knives?" and you answer affirmatively, I would not expect to be given a spoon and told "well it's the closest thing I have"

sly elm
#

great analogy, love it

#

I think the obvious things most people seem to miss here is

  • Entities go on the entity scheduler
  • World stuff goes on the specific region scheduler (not global)
  • Plugin code unrelated to minecraft should go on another thread (but not the global region scheduler, this is not a dumping ground for stuff like the main thread in bukkit)
blissful basin
#

I think each plugin should use its own thread

sudden tusk
#

Use its own thread for... what? Plenty of plugins have no need for anything off the main thread.

blissful basin
#

Yeah but than people just access databases on main thread not knowing they are on main

#

Because they are new to this

#

So I think everything should be its own thread unless it is run on main thread on purpose

sly elm
#

I mean that's tough, in programming specifically you make the assumption that the programmer knows what they're doing. Otherwise everything falls though.

sudden tusk
#

So... because a handful of devs getting into databases make mistakes you want the other 99.9% of plugins to have to learn multithreading considerations?

sly elm
#

There is no reason to really idiotproof an API because that hurts normal programmers at the expense of idiots.

#

or generally has very limited use outside of trying to solve a non-existent problem

blissful basin
sly elm
#

Well the reality of that is concurrency and multithreading is an advanced topic, so you shouldn't expect that either

#

but folia is a specialty fork of paper designed for this, normal people won't be using folia

#

servers using folia will need to find developers who are familiar with these concepts

blissful basin
#

Unlike Multipaper

sudden tusk
sly elm
#

We can't stop people from using it against the recommended use case, but that's on them at that point, not us 😄

#

yeah a lot of plugin developers are not career programmers

blissful basin
#

Screw that 😄

blissful basin
#

I am just a high school student

sly elm
#

yeah gotcha, not specifying anything

#

the main point was there's no need to be throwing people in the deep end for no reason

blissful basin
#

I get your point

sly elm
#

if you understand more advanced topics I'd trust you use them appropriately

#

some people don't

blissful basin
blissful basin
charred galleon
#

Hi, Folia will be available for download?

dreamy dirgeBOT
#

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

calm raven
#

I have a question: What versions of minecraft will folia be available for in the future ?

late heart
#

1.19.4+ I assume

hexed ice
dreamy dirgeBOT
#
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.

prime juniper
#

I have been able to build Folia from source, but how do I run it? I tried java -jar folia-server-1.19.4-R0.1-SNAPSHOT.jar
and I get:

no main manifest attribute, in folia-server-1.19.4-R0.1-SNAPSHOT.jar
arctic tapir
#

wrong jar

#

use the one on /build/libs

#

main folder

prime juniper
#

I still get ```
no main manifest attribute, in folia-server-1.19.4-R0.1-SNAPSHOT.jar

arctic tapir
#

still the wrong jar

prime juniper
#

I'm inside /build/libs

#

oh

arctic tapir
#

and wrong folder

calm raven
#

1.19.4...does anyone know of plugins for that version that limit chat reporting ?

prime juniper
arctic tapir
#

the main folder

#

then /build/libs

prime juniper
#

what is the main folder

arctic tapir
#

where you see Folia-Server Folia-API etc

prime juniper
#

yeah

#

I'm in the main folder

#

the root of the git project

arctic tapir
#

then go to the build/libs folder there

prime juniper
#

I still get ```
no main manifest attribute, in folia-1.19.4-R0.1-SNAPSHOT.jar

arctic tapir
#

still the wrong jar

prime juniper
#

I'm in Folia/build/libs

arctic tapir
#

what command did you do to build

prime juniper
#

./gradlew build

arctic tapir
#

wrong command

prime juniper
#

ohh

#

alr

#

thx

prime juniper
#

Also, what is the most recommended CPU to use for Folia? I am running a small AArch64 (4-core) server with 8GiB of RAM, is there any better ARM, RISC-V, or AMD64 processor that I can get out there?

inner swift
#

Recommended minimum is 16 physical cores

prime juniper
#

yes, but what is the cheapest architecture?

#

for a Folia server?

inner swift
#

Probably amd64

prime juniper
#

oh

#

because I've seen that the prices with AMD64 processors grow exponentially for double the cores

#

Is Folia horizontally scalable?

#

What I mean by this, is it possible to seperate the Folia server to multiple devices?

timid grotto
#

no

prime juniper
#

oh

near crater
#

Why would you need to do that?

prime juniper
viral stone
#

I mean

prime juniper
#

I mean the google search engine doesn't run on one server (for example)

viral stone
#

if you have the player count for folia

near crater
#

Folia isn't for people that are on a tight budget.

viral stone
#

but don't have the cash for it

#

you probably fucked up

timid grotto
#

if you dont have money to spend on a better server then you probably dont need folia kekw

prime juniper
#

alright

livid crag
#

500 concurrent players 495 free to play Clue

timid grotto
#

if your trying to run a server for a few friends, use paper

viral stone
#

Like, at the end of the day, Folia is for a niche use-case and has the hardware requirements of such

#

if you want distributed stuff, see multipaper, but, just note that you're generally going to require your own dev team anyways, which like, "glhf"

prime juniper
#

not going to lie, it wasn't that bad

#

I was just thinking that Folia would be better since it's more closer to original PaperMC

timid grotto
#

folia (probably) is better

viral stone
#

never implied it was bad or anything, just that you'd generally require a dev team to actually cater to the platform

timid grotto
#

at least overall

viral stone
#

Folia is more accessible to devs given that it doesn't require as complex of a setup/change

#

multithreading is much more accessible to devs than distributed bs

prime juniper
timid grotto
#

ok but in practice do you actually need to use use multiple servers

prime juniper
timid grotto
#

if they have the player count to need more cores to run the server well on, then they probably have enough money to upgrade to a better cpu

viral stone
#

at the end of the day it's a different setup care

#

folia is designed for a single CPU environment, which is much easier for devs to access, and generally more in line with the type of hardware people are using for servers these days

#

distributed is another solution, which is what multipaper does, but is generally less accessible and more cludgy to program for

prime juniper
#

well

#

I'll give Folia a try

hardy ingot
finite hinge
#

The setup of Folia probably makes a good base to make a new MultiPaper (well, MultiFolia) from

#

I dunno, I guess doing that cleanly would probably end up with some jank on the client side when it came time to merge regions

#

Thinking was Folia is already isolating things so you could take that logic and just run different instances instead

#

Oh yeah I'm not saying it'd be useful

#

Just probably easier to start from Folia than Paper if you were to start from scratch on something like that

#

Folia is already doing the work to figure out what can be isolated, ensure they run when isolated, and how to merge them back together when they can't anymore so that would leave you to figure out how to sync things between servers on the spin up and merge times

#

We're already assuming you have a $1,000,000/year dev budget, at minimum

#

We're talking about building a custom distributed MC server and all your plugins for it

#

Building that is definitely a multi-million dollar expense

#

Well, you might be able to do it for only 1 million

glossy locust
#

doesn't seem that expensive...

celest forum
#

a server with 6000 players could definitely purchase some sort of epyc cpu with 192 cores and colocation it

glossy locust
#

I'd like to see a spark of a server running folia

finite hinge
#

Is DonutSMP vanilla settings

viral coral
#

no

finite hinge
#

If someone started from scratch on a MC server they could make something that would run vanilla-like settings at 30 players a core and scales up to 192 cores, probably

#

But that's a whole different game design so you can't patch MC in to that

timid grotto
#

making a new server software scale is easy, making the vanilla server scale is very hard

tranquil epoch
#

can definitely run 30 per core

#

just need to consider the other threads in the system

pulsar oriole
#

~~Should I choose Paper instead of Folia for a 4core CPU?~~I didn't see the pin, sorry.

#

Also, is there a possibility that the development of Paper may be terminated in the future?

wicked mantle
#

Yes and no

pulsar oriole
fossil vigil
#

everything comes to an end, eventually

next bloom
fossil vigil
hardy ingot
#

at some point minecraft will either simply die or someone has made a well made and supported server alternative that is better than any vanilla fork/patch anyways

royal swallow
#

The minimum 16 cores recomendation. How many active players is that based on?

#

I have 8 cores and ~50 active players. I mean 8 cores might be good for that playercount?

Im going to try a switch to Folia from paper, havnt done it yet. Im running a SMP with farms and high entitities counts. So yes, im in need of folia.

vague kite
# royal swallow I have 8 cores and ~50 active players. I mean 8 cores might be good for that pla...

For optimal experience, you will need 1 core per each group of players in the same area (a group may also only consist of 1 player). If you have more player groups than cores, groups will start sharing the cores (the whole vanilla only shares 1 core after all). There are really no ideal numbers telling you how many you need, but generally more cores = lower chance of sharing & overloading.
With 8 cores on Folia, you will generally be able to handle up to 8x more players than you would on Paper.

scenic sky
#

8 cores will most likely be a bottleneck with folia

fringe gazelle
#

just curious, what would be the bottleneck?

livid crag
#

his low core count (?)

scenic sky
#

the server will choke because there aint any more cpu to use

true ether
#

So I compiled the source to jar with no problem but when i try to run as i do with paper this happens : Error: Unable to initialize main class org.bukkit.craftbukkit.Main
Caused by: java.lang.NoClassDefFoundError: joptsimple/OptionException

true ether
#

I did jus that

#

just*

hexed ice
#

you're not using the right jar then

scenic sky
#

is the jar size something like 80 bytes

true ether
#

Mine is 20mb

scenic sky
#

that isnt the right jar for sure

true ether
#

Thats the name : folia-server-1.19.4-R0.1-SNAPSHOT-mojang-mapped.jar

hexed ice
#

it's in build/libs like it tells you

#

not in Folia-Server/build/libs

true ether
#

It works now Thanks.

true ether
#

Is there a way to download older versions like 1.19.3?

dreamy dirgeBOT
#
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.

keen fable
timid grotto
#

why would you want specifically 1.19.3, cant use 1.19.3 paper plugins on folia anyways kekwhyper

hardy ingot
#

not really if they use any feature that is either broken or impossible in folia (which is almost everything basicly)

jagged ether
#

and if a plugin was made for 1.19.3 it likely was made before Folia was released therefore couldn't possibly know of that flag

hardy ingot
jagged ether
#

Well stuff that doesn't touch the scheduler would probably work just fine

#

once the API actually works just fine

sudden tusk
#

As long as they don't...

schedule any tasks ever
react to events by modifying another part of the world (or a different world)
iterate the player list to do anything to multiple players
use scoreboards
load worlds
have commands that affect another player
...

sly elm
#

thanks, I don't think any of my 100 plugins do that

#

time to run folia

drowsy mountain
#

anyone know which plugins are supported at this current time

jagged ether
drowsy mountain
#

thx

blissful basin
#

How much do I need to donate to be Sponsor? 😄

#

Sorry found it on opencollective

jagged ether
vast dust
#

Do we have any documentation on which specific APIs are supported, how to migrate, or details on which actions need to be schedule versus which are thread-safe?

timid grotto
#

read the readme

sly elm
#

@strange nymph w.r.t. #folia-help message you don't have to compile chunky yourself, it's on both CodeMC and Github Actions readily available, just no release yet

vast dust
#

I have read the readme.

sly elm
#

the tldr; for migrating is don't use bukkit scheduler, use the specific scheduler on the entity / region, etc

sly elm
#

or rather, things to consider if you're doing any of those things currently

#

if you're not sure you might also just want to look at some existing plugins that have migrated and the kinds of stuff they have to deal with to make it compatible

sly elm
#

thanks, hopefully easier for people to find now 🙂

blissful basin
true ether
#

Is there a way to force load a plugin doesnt matter if it crashes because Im using a backuping plugin so that doesnt use the Scheduler

glossy locust
#

unzip it, change plugin.yml, rezip it

true ether
#

The plugin?

blissful basin
#

Yeah

#

What else?

true ether
#

I dont know but generally where should the plugin.yml be?

blissful basin
#

If you don't know where it should be you shouldn't edit it.

true ether
#

Thats true but Is there another way to force load the plugin even if it crashes?

viral stone
#

No

#

without modifying the server to ignore that check

#

the only option is to modify the plugin to pass the check

blissful basin
true ether
#

Cause I dont have the best hardware with my server so Folia would help a lot and plus the host is Oracle Cloud and sometimes I just need the backup and this is the most reliable way to get it

hybrid shore
#

Cause I dont have the best hardware with my server so Folia would help a lot
Nooope

viral stone
#

backup plugins are the least recommended way to do that

hybrid shore
#

You need at least 16 cores

blissful basin
#

You don't need them

viral stone
#

running folia on something with low core count is generally dumb

blissful basin
true ether
#

I just want to try it

#

if it would be better

teal umbra
blissful basin
#

Imo it should be 16 threads

#

Instead of 16 cores

viral stone
#

Hey, I'm all in favour of allowing people to shoot themselves in the foot

true ether
#

Its 4 Cores

#

I know its a bad idea

#

but

viral stone
#

HT slows down cores

blissful basin
#

💀

true ether
#

Maybe... It would be faster

viral stone
#

generally smart schedulers will try to avoid doing heavy shit across 2 vthreads

hybrid shore
#

No

#

You should use paper or paper fork if you have only 4 cores

true ether
#

I do i just want to try folia

blissful basin
#

Than delete all plugins and try it

hybrid shore
#

For testing 4 cores is fine, but not for production

true ether
#

Yeah

blissful basin
viral stone
#

I mean, if they wanna do it, let them; just, ofc, you're shooting yourself in the foot here and nobody will care when you cry about the pain

true ether
whole yacht
#

Hi folia is out?

hardy ingot
#

nope

blissful basin
#

For development or using it when you know what you are doing.

#

There is no jar download you have to compile it yourself

dreamy dirgeBOT
#
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.

sudden tusk
# true ether Why would I

Folia is something that's only going to improve your server if you are running on something like a super-powerful dedicated server all by yourself. Anything with 4 cores isn't gonna improve and will almost certainly be worse PLUS you'll be missing a ton of plugin functionality.

oak python
#

Anyone knows how i can find plugins that supports Folia server type?

livid crag
shell violet
#

When?

sudden tusk
#

later on

lost frigate
#

Im trying to compile Folia and I'm always getting this error. Tried openjdk 8, 11, 16, 17 and 19 via the JAVA_HOME variable

sudden tusk
#

I mean, this one looks like you're using java 16 or earlier

lost frigate
#

I'm using 16 in this screenshot

#

same result with 17

viral stone
#

The thing requires java 17

sudden tusk
#

Show what you get on 17, since it won't be the same.

lost frigate
viral stone
#

javac -version ?

lost frigate
#

unknown command

sudden tusk
#

Add --info to the end of that command

viral stone
#

no idea, something is weird with your environment

sudden tusk
#

Very start of the output should reveal what JDK it's trying to use.

lost frigate
silver sierra
#

seems like another case of a jdk that is somehow borked

lost frigate
#

getting a new error now:


* What went wrong:
Could not determine the dependencies of task ':createReobfBundlerJar'.
> Could not resolve all dependencies for configuration ':serverRuntimeClasspath'.
   > Failed to delete file /home/oha/Downloads/Folia/Folia-Server/.gradle/caches/paperweight/mc-dev-sources

#

should I delete that file manually?

jagged ether
#

I mean it should tell you why it failed

viral stone
#

run it again

jagged ether
#

if it's another process holding a lock on it then you won't delete it manually too

viral stone
#

make sure that your IDE is closed and that you have nothing messing with the files in there

lost frigate
#

I dont have anything else running that messes with this stuff afaik

#

💀

jagged ether
#

<@&748618676189528155>

viral coral
#

?ban 1052385120088236093 crypto spam

brave blazeBOT
#

:raised_hands: Banned Gráyson#2399 (crypto spam) [1 total infraction] -- Michael#9600.

jagged ether
lost frigate
#

same error

jagged ether
#

Get rid of the entire dir, clone again and only use the cli? panda_shrug

lost frigate
#

only used cli so far

#

holy fuck

#

it worked

#

jar is working. Thanks for the help!

keen fable
#

Hey! anyone else got java.lang.IllegalStateException: Already sent chunk [x, y] to player EntityPlayer crashs (on player connect/respawning)? (git-Folia-"d34fb87")

[02:39:22] [Region Scheduler Thread #1/INFO]: Player was shot by Player2
[02:39:25] [Region Scheduler Thread #1/ERROR]: [io.papermc.paper.threadedregions.TickRegionScheduler] Region #5 centered at chunk [-111, 40] in world 'world' failed to tick:
java.lang.IllegalStateException: Already sent chunk [-53, 73] to player EntityPlayer['Player'/12587, uuid='UUID', l='ServerLevel[world]', x=-1044.94, y=74.75, z=1177.35, cpos=[-66, 73], tl=111711, v=true](Player at -1044.9406759449503,74.7531999805212,1177.353495337089)
        at net.minecraft.server.level.ChunkHolder.addPlayer(ChunkHolder.java:136)
        at net.minecraft.server.level.ChunkMap.updateChunkTracking(ChunkMap.java:733)
        at io.papermc.paper.chunk.system.RegionizedPlayerChunkLoader$PlayerChunkLoaderData.sendChunk(RegionizedPlayerChunkLoader.java:491)
        at io.papermc.paper.chunk.system.RegionizedPlayerChunkLoader$PlayerChunkLoaderData.midTickUpdate(RegionizedPlayerChunkLoader.java:885)
        at io.papermc.paper.chunk.system.RegionizedPlayerChunkLoader.tickMidTick(RegionizedPlayerChunkLoader.java:247)
        at io.papermc.paper.threadedregions.RegionizedTaskQueue$RegionTaskQueueData.drainTasks(RegionizedTaskQueue.java:232)
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1523) ~[folia-1.19.4.jar:git-Folia-"d34fb87"]
        at io.papermc.paper.threadedregions.TickRegions$ConcreteRegionTickHandle.tickRegion(TickRegions.java:360)
        at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:385)
        at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:525)
        at java.lang.Thread.run(Thread.java:833)
glossy locust
#

full error in pastebin?

edit: nvm discord mobile was being stupid

keen fable
#

This is the full stacktrace this
Note: we're running with 32 view distance

knotty finch
#

what viaversion like plugin should i use for folia?

blissful basin
#

There's really no alternative

#

Why do you even want an alternative?

foggy blaze
#

Prolly didn’t realize that via had Folia support already

blissful basin
blissful basin
tranquil epoch
keen fable
#

Yes! It happened 2 times (when the player click on the respawn button i think, but i'm not sure)

knotty finch
#

nevermind

blissful basin
#

Just read this

knotty finch
#

i'll try from that

#

yeah

#

yeah i saw 10 seconds ago

#

Ty.

blissful basin
#

It should work

stiff ferry
#

Has anyone managed to run Folia on Xeon Phi hardware? Interested in if/how that could work

#

I'm pretty sure it's not possible, and even if it is it would be super slow

inner swift
#

Probably wouldn't run well at all

stiff ferry
#

yh

#

I think theres way to get java to run on it but super slow

#

Do the cores on folia get utilised alot?

sudden tusk
#

To 'properly' run folia you basically need the latest and greatest CPU in terms of per-core power and number of cores 😆

stiff ferry
#

okay

sturdy shoal
#

which plugins support folia already

#

i saw bluemap having a folia build

viral coral
#

look above

viral stone
#

scroll up..

sturdy shoal
#

nice

timid grotto
#

i forgor to disable ping 💀

sturdy shoal
#

so fast wtf

blissful basin
#

So I don't care

timid grotto
#

i care 😈

blissful basin
#

Sometimes I forgot to disable ping reply for staff too and they don't care as much nowadays kekwhyper

timid grotto
#

if your having an active conversation, it doesnt matter, but if its "random" then it can be annoying

blissful basin
#

I like to get pings

timid grotto
#

i dont lol

blissful basin
#

It makes me feel wanted 🤣

sturdy shoal
#

why is folia much faster than paper

#

nvm lmao

dreamy dirgeBOT
#
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.

sturdy shoal
#

i get why y'all don't put jars on

#

is it so people don't say "why doesn't this work"

daring nimbus
#

because its not production ready

viral coral
#

one of many reasons

sturdy shoal
#

and make 30 github issues basically saying the same thing

daring nimbus
#

the people who should use it at this point are able to build it themselves

timid grotto
#

if you cant figure out how to obtain a folia jar, you dont need folia

sturdy shoal
#

lmao

livid crag
#

look at the bright side. Many people learn how to compile from source after Folia EmaBkr

sturdy shoal
#

building is easy, ion see any point in using folia tho

timid grotto
#

if your running a network or a small smp for a few people, folia probably wont be a whole lot better than paper

sturdy shoal
#

exactly

livid crag
timid grotto
#

if you are 2b2t, folia is exactly what you need kekw

livid crag
#

I guess a very good example will be 2b2t

sturdy shoal
#

don't they still need some of their plugins to be updated?

timid grotto
#

probably, but it will happen in time

sturdy shoal
#

and i've heard the test went well

livid crag
#

I am sure they are working on it seeing that they did a test on April fool

#

Yeah

#

They don’t really have any plugin though tbf

timid grotto
#

they have some

livid crag
#

All of them are probably just to prevent exploits.

sturdy shoal
#

doubt that's hard to migrate

timid grotto
#

harder than you think

sturdy shoal
#

probably

livid crag
#

Love thier bedrock patch patch

sturdy shoal
#

just heard they have a specific plugin for a specific exploit

#

which is probably false

livid crag
#

That give end dimension bedrock platform omegaroll

brittle summit
#

Hello can anyone help me install folia onto my server?>

arctic tapir
#

no

dreamy dirgeBOT
#

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

scenic sky
#

you compile a jar file and upload that jar file onto your server

brittle summit
#

Yes but how do i compile the github files into a jar?

arctic tapir
#

read the paper readme

brittle summit
#

where can i find that?

scenic sky
arctic tapir
#

readme

scenic sky
#

that has been linked before when people asked how to build

#

so i used the same link Hmm

brittle summit
#

This makes no sense man,

#

When i try to apply patches or what ever like what do i do

arctic tapir
#

you clone, applyPatches

scenic sky
#

folia aint for you currently if you cant figure out the compilation

arctic tapir
#

then run the createReobfBundlerJar command

brittle summit
#

jokni instead of being an asshole how about some help0

#

thats what this channel is for bud

scenic sky
#

its just how it is

brittle summit
#

if you dont need help or dont want to help get the hell out

scenic sky
viral coral
#

it explains it pretty well what you need to do

brittle summit
#

I applied the patches and it says it failed to apply the patches

viral coral
#

provide logs

brittle summit
arctic tapir
#

did yo uread it

#

the one about the git commands

brittle summit
#

yes i know how to use git somewhat, that reference is good to have for suree

#

so do i have to download the papermc jar then put it inside the file or how does this work

scenic sky
#

folia is not paper

#

and no

hexed ice
#

you need to set your git email and name like the message tells you to

brittle summit
#

i just did

arctic tapir
#

now do the apply patch cmd again

brittle summit
#

i did

#

I desperately need this on my anarchy server

livid crag
#

Do you have a 16 core modem cpu?

inner swift
#

And developers to fix plugin compatibility, unless you plan to run zero plugins

brittle summit
#

I have a dual cpu server

scenic sky
#

that is not a core amount

brittle summit
#

i know

#

both cpus have 18 cores

scenic sky
#

what cpu?

brittle summit
#

Xeon e5

#

now its saying this

hexed ice
#

did you download it as a zip instead of cloning

brittle summit
#

yep let me try to download the clone, I downloaded it as a clone on my server but not on my desktop

scenic sky
viral coral
#

for the like fifth time

#

read the README

hexed ice
#

you are supposed to clone it, not sure what you mean with downloading a clone

viral coral
#

all of your issues would've been solved by either reading your command prompt or reading README.md

hexed ice
#

too hard

scenic sky
#

pls help

brittle summit
#

hey man it looked like spanish when i was reading all that man im sorry

viral coral
#

which is why we're not distributing builds

#

if you can't understand basic developer terminology as mentioned in readme.md

#

folia is not ready

scenic sky
#

folia is currently intended for developer use

#

so plugins can be ported

prime juniper
#

could i run folia on a vps instead of a dedicated server?

scenic sky
#

not recommended

arctic tapir
#

no

viral coral
#

just don't

scenic sky
#

you can but its pointless

prime juniper
#

but what if the vps has many cores?

scenic sky
#

you can afford a dedi if you actually need folia

viral coral
#

you don't want to run a paper server on vps

#

you especially don't want to run a folia server on a vps

prime juniper
#

may i ask why i shouldnt run paper on vps?

livid crag
#

Unless your vps has ryzen 3900x or up phossure

viral coral
prime juniper
#

it has Ryzen 9 7950X

scenic sky
#

most vps servers perform bad

#

you wouldnt have very many cores with that vps anyways

prime juniper
#

it has 2 of those

scenic sky
#

just getting a 7950x dedi would be as cheap

prime juniper
#

yea

#

its a dedi, but i want to run multiple servers on the dedi

scenic sky
#

folia would eat up that entire 7950x probably

brittle summit
#

im doing everything y'all said to do and following this readme and im still having these errors

arctic tapir
#

send errors again

brittle summit
#

PS C:\Users\crazy\Desktop\Folia-master\Folia> ./gradlew applyPatches

Task paperapplyServerPatches FAILED
Task :getPaperUpstreamData FAILED

FAILURE: Build failed with an exception.

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

java/lang/ProcessHandle

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 5s
2 actionable tasks: 2 executed

arctic tapir
#

you need to use at least java 11

brittle summit
#

ok i got it on my server thanks for youre help!

#

your

tranquil epoch
keen fable
#

Thanks ! I'll report it if it happens again

livid crag
inner swift
#

Bug of Chunk 2

keen fable
#

ArmorStandEditor will soon have support for Folia 😄

dreamy dirgeBOT
#

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

brittle summit
#

Hey guys does command blocks work with folia

livid crag
#

No and it is not planned to work ever.

prime glen
#

💀💀

brittle summit
#

its ok lol

hexed sky
#

how can i spawn entity in other dim / nether / the end

Entity entity = e.getEntity();
            Location loc = entity.getLocation();
            Vector vel = entity.getVelocity();
World world = Bukkit.getServer().getWorld("world_the_end");
                Location spawnLoc = new Location(world, 0, 150, 0);

                FallingBlock dummy = world.spawnFallingBlock(spawnLoc, ((FallingBlock) entity).getBlockData());
Vector dummyVel = vel.clone();```

i keep get java.lang.IllegalStateException: World mismatch: expected world_the_end but got world
pseudo ibex
prime juniper
#

anyplace one could find the limited selection of folia plugins?

pseudo ibex
#

This is a loosely built list, and is subject to change.

#

When the plugins that are under essential are updated, you can expect I will update to Folia. If the essential plugin are also listed under Replaceable it is both essential, but replaceable

Plugins that I have : - AutoPay, BanItem, BetterEconomy, BetterRTP, ChatFilter, Chunky, Citizens, ClansLite, CommandBlockAsPlayer, DeluxeMenus, DisableBreeding, DiscordSRV, dynmap, ElytraSpeed, floodgate, Geyser-Spigot, GlobalTrackedMaps, HarmonyScoreboard, IllegalStack, IridiumSkyblock, Lifesteal, LuckPerms, mcMMO, Multiverse-Core, Multiverse-NetherPortals, NoCheatPlus, Parkour, PL-Hide, PlaceholderAPI, PlayerBountiesPlus, PlayerKits, PlugManX, PremiumVanish, ProtocolLib, ScoreboardChatShop, SecondThreadAPI, SilkySpawnersLITE, Spark, Spleef, StackMob, StormerAntiNetherRoof, StormerAntiSpam, StormerHomesReloaded, StormerTPAReloaded, StormerWarpsReloaded, Themis, TNTRun_reloaded, Vault, ViaBackwards, ViaRewind, ViaVersion, Votifier, VotingPlugin, WorldEdit, WorldGuard

Color code - means it is a deleted plugin, means it doesn’t support Folia, means it supports Folia

Plugins so far that support Folia - BetterEconomy, Chunky, Floodgate, Geyser, GlobalTrackedMaps, ViaBackwards, ViaRewind, ViaVersion, Vault, AutoPay, Spark, DeluxeMenu, PlaceholderAPI

Essential Plugins that haven't added Folia Support - BetterRTP, ChatFilter, CommandBlockAsPlayer, DiscordSRV, HarmonyScoreboard, LuckPerms, Multiverse-Core, Multiverse-NetherPortals, PlaceHolderAPI, Pl-Hide , ScoreboardChatShop, WorldEdit, WorldGuard

Plugins that are expected to add Folia Support - BetterRTP, ClansLite, DiscordRSV, DisableBreeding, ElytraSpeed, LifeSteal, NoCheatPlus, PlayerBountiesPlus, RedLimiter, StormerAntiNetherRoof, StormerAntiSpam, StormerHomesReloaded, StormerTPAReloaded, StormerWarpsReloaded, Luckperms, WorldGuard, WorldEdit, Votifier, and VotingPlugin

Expendable plugins that could be considered replaceable and may not add Folia support - BanItem, Citizens, Dynmap, Harmony Scoreboard, Illigal Stack, IridiumSkyblock, mcMMO, MultiverseCore, MultiverseCore - NetherPortals, Parkour, Pl-Hide, PlugmanX, PlayerKits, PremiumVanish, ProtocolLib, scoreboardChatShop, SilkySpawnersLite, Spleef, StackMob, Themis, and TNTRUN Reloaded, PH-Hide.

#

These are the ones I have, and not all the ones out there that may have already created beta builds for Folia

#

Like Luckperms

pseudo ibex
prime juniper
#

u just maintain this list? lol

#

impressive

pseudo ibex
#

Haha yes

finite hinge
#

Multiverse couldn't work even if someone wanted to port it, you can't load worlds right now (sounds like a major piece of work to fix)

#

CommandBlockAsPlayer is a no-go because command blocks will likely never be supported

pseudo ibex
#

😓

finite hinge
#

mcMMO is like, come on, ask for the freaking moon 😛

pseudo ibex
#

😰

#

Lmaoo

finite hinge
#

I don't even know what some of the rest are but a few of them sound like the kind of thing you pay a team to work on for a year if you want a port

pseudo ibex
#

Hahah

#

Some of them were custom

finite hinge
#

If you don't have paid developers on staff I suspect Folia will never be for you

#

Either because it won't get what you need, because you won't actually benefit from it, or because you can't afford the hardware you need for Folia be faster than Paper

#

Maybe in 6-24 months that changes. Wide estimate because maybe I overestimated how hard some of those are to port and because you can't really predict how long hobby stuff will take to get updated (or even if it will)

pseudo ibex
#

Haha that’s true. I am gathering a small team of people to help each other out, share knowledge and port plugins that they developed and I use over to Folia. If I do get a plugin developed, I usually request that it is posted on spigot and available for everyone.

#

But that is mostly why this channel exist, which seems redundant. But some people like a almost 1 on 1 feel.

#

😗

finite hinge
#

This channel exists so developers would be left alone in #folia-dev 😛

pseudo ibex
#

Hahaha I almost forgot this is folia help lmaooo

#

Well I did forget

#

😅

#

Lmaooo

#

😂

finite hinge
#

This is basically the overflow channel so we can tell people they can't use Folia and they can get hyped about it without cluttering up the other channel 😄

pseudo ibex
#

Hahaha

#

So I have noticed

#

Mostly All I see in this channel is please help me build folia, and the response of its in beta lmaoo

#

Also this

dreamy dirgeBOT
#

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

pseudo ibex
#

Lmaoo

#

I have built folia already which is nice. Once you figure out how it is pretty nice.

pseudo ibex
finite hinge
#

No

#

They are deleted from the code

pseudo ibex
finite hinge
#

I have no idea what multiverse may or may not do when it has random threads manipulating what worlds it should be loading and the properties of them

#

Probably bad things

pseudo ibex
finite hinge
#

iirc you can place the block but the tick method is commented out

pseudo ibex
#

🤔

finite hinge
#

Err, that's called just writing a plugin to run commands for you

#

I think that's called Skript

#

afaik command blocks cannot save commands in them, they will not run them when powered (or however else you activate them), and they will not output a power level based on the result of the command

#

The power level output part is the least likely to ever actually happen and without it the rest is kind of pointless

pseudo ibex
#

Fair

#

And makes sense

#

Wouldn’t even register, even with such a thing it sounds like

#

Why was it removed from the code?

#

Causing problems I presume?

#

Or ancient ?

finite hinge
#

You put in a command that runs on all players or all bats, before that was no big deal, just a quick loop. Now that's scheduling tasks on all the relevant region/entity schedulers and they'll get to them when they get to them, the command has no (immediate) feedback available

#

So it can't output a power level

pseudo ibex
#

😳

finite hinge
#

Beyond that I don't know why command blocks were disabled, I just know why that part can't work

#

In theory you could check which things you could run on the current region thread, run those immediately, then block this region waiting for the others to finish but I can think of at least 3 ways to deadlock regions or the whole server trying to do that

pseudo ibex
finite hinge
#

I don't know if you could implement it at all but even if you could you couldn't make it safe to actually use

finite hinge
#

You would need some way to basically collapse the world back down to running a single region while the command block is running

pseudo ibex
#

I was thinking it would be, simpler lol

finite hinge
#

Otherwise if two command blocks in different regions run a command that crosses regions at the same time they'll block each other from ever completing and you have two dead regions

#

Or you might manage to block the ThreadedRegionizer if it was trying to merge a region that is blocked like that, not sure on the specifics of how that lock works

#

At that point you've killed everything

pseudo ibex
#

Hahhaah

finite hinge
#

Collapsing the world down in to one region isn't possible either for the same reasons

pseudo ibex
#

How interesting

#

But informational

finite hinge
#

If two command blocks in different regions trigger that logic at the same time neither will be in the right phase of their tick to be mergable but both are waiting for the other to merge with them

#

So yeah, forget about command blocks

pseudo ibex
#

Hahaha

pseudo ibex
finite hinge
#

I think Java is a little nicer so it's not allowed to literally make your computer explode or delete all your files

pseudo ibex
#

😂

#

So nothing to bad?

finite hinge
#

Incorrectly Synchronized Programs May Exhibit Surprising Behavior

pseudo ibex
#

Hmmm, so I shouldn’t even attempt this unless I have a team of pros?

finite hinge
#

It's kind of wild to me that the most important document in computer programming written in the last 20 years is just wedged in the middle of the Java spec page about threads and locks

pseudo ibex
#

It is what it is lol

finite hinge
#

The C++ and Rust memory models are based on the Java Memory Model and the JMM is generally how people think about and discuss thread safety and threading primitives

pseudo ibex
#

Or is that it lol? Whatever the case, I will take note of the information given so far.

#

Thanks (:

prime glen
finite hinge
#

The only other thing I really have is this (that's a standing desk)

prime glen
#

Just yetted commandblocks out of existence

pseudo ibex
#

Show us a pic 😗

finite hinge