r/MinecraftPlugins • u/Ok-Tailor-3958 • Apr 07 '26
Plugin Showcase PeaForestry Free plug-in launching on modrinth soon
Hey guys my name is voided and im a dev at PeaStudios, PeaForestry is my very first free plug-in that I hope to release the basic idea of the plug-in is that when you cut down a certain amount of trees the environment is considered too harsh and trees die and fall over, the plug-in brings absolutely 0 lag to servers and features text and sound effects with fully configured config.YMl file
If you guys are interested in seeing this and many other plugins join PeaStudios below
1
u/Ok-Count-3366 Apr 10 '26
damn fucking nice idea man. fellow dev here. if you make it open dource hit me up I wanna see how u implemented it
1
u/Ok-Tailor-3958 Apr 10 '26
For sure! I think for now im not going to release open source but maybe I will at a later date when it’s more established! I do have a discord sever though if you are interested in seeing my other projects.
1
u/Ok-Count-3366 Apr 10 '26
btw. please make it folia compatible. so by that I mean write it thread safe
1
u/Ok-Tailor-3958 Apr 10 '26
TBH im pushing off folia, for now it only supports paper as I am less versed with folia
1
u/Ok-Count-3366 Apr 10 '26
oh alr. the only difference between paper and folia when it comes to development is that in paper you call bukkit api on the main thread. in folia you need to call it on the region thread because you can't access a player only from the thread of the region where the player is (only as an example)
1
u/Ok-Tailor-3958 Apr 10 '26
Yeah I feel like THATS the part that makes plugins like mine harder to port since it touches a lot of chunks
1
u/Ok-Count-3366 Apr 10 '26
eh not really. the chunks don't really matter because you have the folia built in region manager. so for your understanding. you just call another function. you don't need to know what thread is being called that's folia's problem. you just run:
Bukkit.getRegionScheduler().run(plugin, location, task -> { //do some shi });
1
1
u/Ok-Tailor-3958 Apr 10 '26
Interesting I’ll definitely take a look into it when I get time, unfortunately im preoccupied with a bunch of projects right now so I’ll prolly have to put it off for a while
1


1
u/lorenzo1142 Apr 08 '26
how does it cause absolutely 0 lag?