9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2025-12-28 19:39:22 +00:00
MC_XiaoHei 7d3dad94c9 feat: new command system (#714)
* feat: neo command

* feat: add action part

* fix: fix bot action command

* feat: finish perms system, fix bugs

* feat: add bot config command

* feat: switch to new bot command

* fix: fix suppress annotation

* feat: add bot remove, fix stupid me

* feat: add show all config

* feat: finish leaves command

* refactor: refactor command

* refactor: remove unused check

* refactor: refactor

* fix: fix logic

* refactor: format

* fix: fix msg

* refactor: better msg

* feat: custom bot action

* feat: rename patch

* fix: fix bot command register

* refactor: format & refactor code

* Some format

* refactor: refactor config and action

* refactor: use paper command api

* refactor: use paper command api

* feat: use raycasting in mount action

* feat: try to impl custom

* Revert "feat: try to impl custom"

This reverts commit b658777341.

* chore: format

---------

Co-authored-by: violetc <58360096+s-yh-china@users.noreply.github.com>
2025-10-01 16:10:56 +08:00
2025-09-25 17:40:49 +08:00
2021-10-30 19:42:38 +08:00
2025-02-14 23:55:46 +08:00
2025-07-21 21:18:24 +08:00
2025-09-26 13:18:53 +08:00
2021-10-30 19:42:38 +08:00
2021-10-30 19:42:38 +08:00
2025-02-14 23:55:46 +08:00
2025-10-01 14:08:37 +08:00
2025-07-21 21:18:24 +08:00
2025-07-21 21:18:24 +08:00
2025-06-05 18:41:51 +08:00
2025-10-01 07:18:00 +08:00
2025-02-14 23:55:46 +08:00

Leaves

Leaves CI Leaves Download Discord QQ

English | 中文

Fork of Paper aims at repairing broken vanilla properties.

You can see what we modify and fix at here

How To (Server Admins)

Leaves use the same leavesclip(paperclip fork) jar system that Paper uses.

You can download the latest build (1.21.x) of Leaves by going here

You can also build it yourself.

You can visit our documentation for more information.

How To (Plugin developers)

Leaves-API:

maven {
    name = "leavesmc-repo"
    url = "https://repo.leavesmc.org/snapshots/"
}

dependencies {
    compileOnly("org.leavesmc.leaves:leaves-api:1.21.9-R0.1-SNAPSHOT")
}

In order to use Leaves as a dependency you must build it yourself. Each time you want to update your dependency, you must re-build Leaves.

Leaves-Server:

dependencies {
    compileOnly("org.leavesmc.leaves:leaves:1.21.9-R0.1-SNAPSHOT")
}

Building

You need JDK 21 and good Internet conditions

Clone this repo, run ./gradlew applyAllPatches, then run ./gradlew createMojmapLeavesclipJar in your terminal.

You can find the jars in the leaves-server/build/libs directory.

Pull Requests

See Contributing

Special Thanks To:

JetBrains, creators of the IntelliJ IDEA, supports Leaves with one of their Open Source Licenses. Leaves recommend using IntelliJ IDEA as your IDE.

Languages
Java 99.7%
Shell 0.3%