Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/norbit4/treecuter
Cut down trees mechanic plugin to game minecraft
https://github.com/norbit4/treecuter
bukkit java jobs mc minecraft paper plugin spigot tree treecapacitator treecuter
Last synced: 2 months ago
JSON representation
Cut down trees mechanic plugin to game minecraft
- Host: GitHub
- URL: https://github.com/norbit4/treecuter
- Owner: Norbit4
- License: gpl-3.0
- Created: 2023-05-30T21:22:40.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-21T12:28:14.000Z (5 months ago)
- Last Synced: 2024-08-21T14:06:37.929Z (5 months ago)
- Topics: bukkit, java, jobs, mc, minecraft, paper, plugin, spigot, tree, treecapacitator, treecuter
- Language: Java
- Homepage:
- Size: 1000 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[![License: GPL v3](https://img.shields.io/badge/license-GPLv3-orange.svg)](https://github.com/Norbit4/TreeCuter/blob/master/LICENSE)
[![Github tag](https://badgen.net/github/tag/Norbit4/TreeCuter)](https://github.com/Norbit4/TreeCuter/tags/)
[![Spigot](https://pluginbadges.glitch.me/api/v1/dl/Downloads-limegreen.svg?spigot=treecuter.110213&style=flat)](https://www.spigotmc.org/resources/treecuter-1-17-1-21-%E2%9C%A8-cut-down-trees-%E2%9C%85.110213/)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/c45f631577c6409da328266b585b085e)](https://app.codacy.com/gh/Norbit4/TreeCuter/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
Used Languages and Tools:
TreeCuter
**Cut down trees in a more realistic way! 🪓🌳**
⚠️**DEAFULT**: You need use **SHIFT** key to cut tree!Table of contents
- [Features](#features)
- [Commands](#commands)
- [PlaceholderAPI](#placeholderapi)
- [Config](https://github.com/Norbit4/TreeCuter/blob/master/src/main/resources/config.yml)
- [Addons](#addons)
- [Glowing](#glowing)
- [API](#api)
- [bStats](#bstats)
- [Download](#download)Features
> [!note]
> - More **efficient** tree destruction
> - **Glowing** cut tree
> - Support custom trees
> - Support **Jobs** plugin (**need:** [TreeCuterJobs](https://www.spigotmc.org/resources/%E2%9C%A8treecuterjobs%E2%9C%A8-addon-%E2%9C%85.113357/))
> - Destroys tools
> - Better **leaves decay** system
> - Auto plant trees
> - Permissions
> - **Worlds** blacklist!
> - **Min/max** blocks to cut down tree
> - **Full Configurable**
> - Worldguard regions support!
> - **On/off** player command!
> - **Custom cut tool!** [(Support ItemsAdder)](https://www.spigotmc.org/resources/%E2%9C%A8itemsadder%E2%AD%90emotes-mobs-items-armors-hud-gui-emojis-blocks-wings-hats-liquids.73355/)
> - Developer API
Commands
Command | Permission | Info |
--- | --- | --- |
**/treecuter** | *treecuter.help* | Help |
**/treecuter reload** | *treecuter.reload* | **Reload** config.yml |
**/treecuter get** | *treecuter.get* | Get **custom** tool |
**/treecuter toggle** | *treecuter.toggle* | **On/off** cut trees |PlaceholderAPI
Placeholder | Info |
--- | --- |
**%treecuter_toggle%** | Get player tree cutting toggle |
Addons
> [!TIP]
> *How to install addon?*Put the **plugin** in the plugins folder with the treecuter core. **That's all!**
**1.TreeCuterJobs** - [Download](https://www.spigotmc.org/resources/%E2%9C%A8treecuterjobs%E2%9C%A8-addon-%E2%9C%85.113357/)Glowing
> [!WARNING]
> *Glow supports only paper or forks.*versions: **1.17.1, 1.18.2, 1.19.4, 1.20.2, 1.20.4, 1,20.6, 1.21!**
API
**TreeCutEvent**
```java
public class TreeCutListener implements Listener {
@EventHandler
public void onTreeCut(TreeCutEvent e) {
//player triggered event
Player p = e.getPlayer();
//block to cut
List blocks = e.getBlocks();
//can be canceled
e.setCancelled(true);
}
}
```**TreeGlowEvent**
```java
public class TreeGlowListener implements Listener {
@EventHandler
public void onTreeCut(TreeGlowEvent e) {
//player triggered event
Player p = e.getPlayer();
//block to glow
List blocks = e.getBlocks();
//can be canceled
e.setCancelled(true);
}
}
```> [!IMPORTANT]
> Don't forget to register listeners!```java
@Override
public void onEnable() {
getServer().getPluginManager().registerEvents(new TreeGlowListener(), this);
getServer().getPluginManager().registerEvents(new TreeCutListener(), this);
}
```bStats
Download
[![spigot](https://img.shields.io/badge/Download-Spigot-gold.svg)](https://www.spigotmc.org/resources/treecuter.110213/)
[![builtbybit](https://img.shields.io/badge/Download-BuiltByBit-blue.svg)](https://builtbybit.com/resources/treecuter-cut-down-trees.32962/)