General purpose library for Java & Spigot https://cocoa-beans.apartium.net/
Find a file
kfir 89be749943
[commands] Tab completion suggestion priority (#385)
* Add Tab completion suggestion priority

Closes #382

* Add unit tests

* Fixes lior issues

* Fixes sonar issues

* Rename to TabCompletionEvaluationResult
2026-06-09 23:03:59 +03:00
.github [cicd] update help-versions.json handling 2026-05-19 00:00:19 +03:00
.idea [repo] Reduce false-positives for unused code in IntelliJ (#339) 2026-03-13 21:19:35 +02:00
.sonarlint Update CHANGELOG.md & Fix Sonar (#220) 2024-12-10 11:46:54 +02:00
build-logic [cicd] update help-versions.json handling 2026-05-19 00:00:19 +03:00
build-scripts [schematic] Introduce schematic API (#317) 2026-03-04 22:52:20 +02:00
cocoa-beans-commands [commands] Tab completion suggestion priority (#385) 2026-06-09 23:03:59 +03:00
cocoa-beans-commands-spigot fix: Re-enable forgotten tests 2026-06-07 01:18:29 +03:00
cocoa-beans-common common: Add MinecraftVersion#getByProtocolVersion #383 2026-06-09 17:24:35 +03:00
cocoa-beans-minestom [gradle] Set correct compile target versions #303 (#304) 2025-10-11 22:50:15 +03:00
cocoa-beans-schematic [schematic] Introduce schematic API (#317) 2026-03-04 22:52:20 +02:00
cocoa-beans-schematic-minestom [schematic] Introduce schematic API (#317) 2026-03-04 22:52:20 +02:00
cocoa-beans-schematic-spigot [schematic] Introduce schematic API (#317) 2026-03-04 22:52:20 +02:00
cocoa-beans-scoreboard Fixes CocoaBoard internal entry compare to send less data (#324) 2026-03-03 00:53:11 +02:00
cocoa-beans-scoreboard-minestom [gradle] Set correct compile target versions #303 (#304) 2025-10-11 22:50:15 +03:00
cocoa-beans-scoreboard-spigot [spigot] Fix memory leak with VisibilityPlayer (#343) 2026-05-01 22:36:04 +03:00
cocoa-beans-spigot [spigot] Optimize Visibility API to reduce unnecessary hide/show calls (#374) 2026-05-22 16:33:57 +03:00
cocoa-beans-spigot-1-8 [schematic] Introduce schematic API (#317) 2026-03-04 22:52:20 +02:00
cocoa-beans-spigot-1-20 [schematic] Introduce schematic API (#317) 2026-03-04 22:52:20 +02:00
cocoa-beans-state Add ListObservable#sorted (#371) 2026-05-16 20:06:45 +03:00
cocoa-beans-state-animation [repo] Project restructering (#297) 2025-08-29 07:49:20 +03:00
cocoa-beans-state-spigot [repo] Project restructering (#297) 2025-08-29 07:49:20 +03:00
code-coverage-report [chore] Bump Gradle to 8.14.3 2025-11-14 09:16:53 +02:00
gradle [schematic] Introduce schematic API (#317) 2026-03-04 22:52:20 +02:00
spigot-plugin [schematic] Introduce schematic API (#317) 2026-03-04 22:52:20 +02:00
spigot-test-plugin [commands] Add Duration parser (#299) 2026-03-13 01:36:54 +02:00
Writerside Add ListObservable#sorted (#371) 2026-05-16 20:06:45 +03:00
.gitignore [repo] Update artifact ids (#295) 2025-08-28 15:59:57 +03:00
.mailmap [repo] Add .mailmap 2024-10-18 22:04:20 +02:00
build.gradle.kts [schematic] Introduce schematic API (#317) 2026-03-04 22:52:20 +02:00
CHANGELOG.md [commands] Tab completion suggestion priority (#385) 2026-06-09 23:03:59 +03:00
CNAME Create CNAME 2024-06-24 13:35:10 +03:00
CONTRIBUTING.md Update CONTRIBUTING.md (#116) 2024-07-22 11:52:09 +03:00
gradle.properties [ci] Attempt to increase JVM memory 2025-06-18 19:55:40 +03:00
gradlew Commands (#40) 2024-03-30 13:11:15 +03:00
gradlew.bat gradle update 2022-12-10 15:00:46 +02:00
LICENSE.md Commands (#40) 2024-03-30 13:11:15 +03:00
README.md [repo] Update artifact ids (#295) 2025-08-28 15:59:57 +03:00
SECURITY.md Update SECURITY.md (#115) 2024-07-22 11:44:41 +03:00
settings.gradle.kts [schematic] Introduce schematic API (#317) 2026-03-04 22:52:20 +02:00

main release GitHub

Welcome to Cocoa beans!

This library aims to be a very well-made and thought-out toolkit for developers to save the hassle of copying common code between projects. Cocoa beans is modular, it contains a spigot module and a common java module and commands java module and commands spigot module inside of it, with more modules planned for the future.
Contributions are welcome!

Important

Requirements

  • Java 17
  • Minecraft 1.8 and above (For the spigot modules)

Installation

Note

Cocoabean could be included in your jar file, but if you are making a Spigot plugin you should consider downloading the library as a plugin from Hangar.

Latest release

Maven:

<dependencies>
    <dependency>
        <groupId>dev.apartium.cocoa-beans</groupId>
        <!-- You can also use 'spigot' instead to get the spigot utilities as well -->
        <artifactId>cocoa-beans-common</artifactId>
        <version>[VERSION]</version>
    </dependency>

    <!-- For the command system itself -->
    <dependency>
        <groupId>dev.apartium.cocoa-beans</groupId>
        <!-- You can also use 'commands-spigot' instead to get the spigot utilities as well -->
        <artifactId>cocoa-beans-commands</artifactId>
        <version>[VERSION]</version>
    </dependency>
</dependencies>

Gradle:

dependencies {
    // You can also use 'spigot' instead to get the spigot utilities as well
    implementation('dev.apartium.cocoa-beans:cocoa-beans-common:[VERSION]')

    // For the command system (You also could use 'commands-spigot' instead to get the spigot command utilities as well)
    implementation('dev.apartium.cocoa-beans:cocoa-beans-commands:[VERSION]')
}

Contributing

This project is at a very early stage right now, with a very minimal set of features included. Any contribution of high quality code is welcome.

Read more

Star History

Star History Chart