General purpose library for Java & Spigot https://cocoa-beans.apartium.net/
Find a file
2026-07-31 21:56:08 +03:00
.github fix: Writerside version switcher (#397) 2026-07-31 21:56:08 +03:00
.idea rollback accidental change 2026-07-04 14:32:34 +03:00
.sonarlint chore: Move to sonarcloud (#391) 2026-07-31 11:42:44 +03:00
build-logic fix: Writerside version switcher (#397) 2026-07-31 21:56:08 +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 [state] AttachedWatcher reattach (#388) 2026-07-03 16:34:25 +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
gradle chore: Gradle dependency verification #393 (#394) 2026-07-31 13:31:45 +03:00
spigot-plugin [schematic] Introduce schematic API (#317) 2026-03-04 22:52:20 +02:00
spigot-test-plugin chore: Move to sonarcloud (#391) 2026-07-31 11:42:44 +03:00
Writerside [state] AttachedWatcher reattach (#388) 2026-07-03 16:34:25 +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 chore: Move to sonarcloud (#391) 2026-07-31 11:42:44 +03:00
CHANGELOG.md fix: Writerside version switcher (#397) 2026-07-31 21:56:08 +03:00
CNAME Create CNAME 2024-06-24 13:35:10 +03:00
CONTRIBUTING.md chore: Gradle dependency verification #393 (#394) 2026-07-31 13:31:45 +03:00
gradle.properties chore: Move to sonarcloud (#391) 2026-07-31 11:42:44 +03:00
gradlew chore: Update gradle wrapper 2026-07-03 14:10:30 +03:00
gradlew.bat chore: Update gradle wrapper 2026-07-03 14:10:30 +03:00
LICENSE.md Commands (#40) 2024-03-30 13:11:15 +03:00
README.md Update README by removing release badge and Star History (#390) 2026-07-31 12:32:05 +03:00
SECURITY.md Update SECURITY.md (#115) 2024-07-22 11:44:41 +03:00
settings.gradle.kts chore: Move to sonarcloud (#391) 2026-07-31 11:42:44 +03:00

main 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