← Назад к ресурсам

TreeFalls

Smooth tree falling Paper/Folia plugin.

Modrinth game-mechanics

Описание

[download]: https://img.shields.io/github/downloads/Mvndi/TreeFalls/total [downloadLink]: https://modrinth.com/plugin/treefalls [discord-shield]: https://img.shields.io/discord/728592434577014825?label=discord [discord-invite]: https://discord.gg/RPNbtRSFqG [ ![download][] ][downloadLink] [ ![discord-shield][] ][discord-invite] [**Discord**](https://discord.gg/RPNbtRSFqG) | [**Hangar**](https://hangar.papermc.io/Hydrolien/TreeFalls) | [**Modrinth**](https://modrinth.com/plugin/treefalls) | [**GitHub**](https://github.com/Mvndi/TreeFalls) # TreeFalls Smooth tree falling Paper/Folia plugin. ## Usage Download the latest version from [the releases][downloadLink]. Start your server. ## Config You can change the configuration in the `config.yml` file. Each time you change the configuration, reload with `/tf reload` or restart your server. In the config you can set : - The number of blocks that the player can break at once. - The list of gamemode where the player is can cut trees by breaking a single log. - The list of materials that are considered as trees. - The list of tools that are considered as breaking tree tools. - If the leaves should fall or not. True by default. - The number of leaves that can fall at once. - The list of materials that are considered as leaves. If enabled, the leaves will only fall if they are not connected to an other tree. Leaves drop item from there loot table as if they where broken by hand, exept if they fall on a block that break them as a torch, then they drop leaves. ## Other plugins Trees can't be cut in protected area for any protection plugin if it does not have blocks outside of the protected area. [Towny](https://github.com/TownyAdvanced/Towny) towns get an extra layer of protection, trying to cut a tree half in a foreign town will cut only the half outside of the town. Player placed logs/woods can be protected by [CoreProtect](https://github.com/PlayPro/CoreProtect) to not be concidered as trees. It will work as a soft dependency. There is no dependency require for this plugin. Since trees are much easier to cut with this plugin, you might want to disable bone meal on tree with this other plugin [BoneMealLimiter](https://github.com/Mvndi/BoneMealLimiter). ## Statistics [![bStats Graph Data](https://bstats.org/signatures/bukkit/treefalls.svg)](https://bstats.org/plugin/bukkit/TreeFalls/29518) ## Build Clone the project from [GitHub](https://github.com/Mvndi/TreeFalls). Run `./gradlew assemble` The plugin jar file will be in build/libs/ You can also start a test server directly from Gradle with `./gradlew runServer` ## Thanks Thanks to [SmoothTimber](https://github.com/SourceWriters/SmoothTimber) that inspired this project. This project is kind of a simplified version of SmoothTimber with modern tools (Maven -> Gradle, Spigot -> Paper, Manual run -> auto run with runServer), much less dependencies and no legacy support (1.20+).