Skip to content

PoweredByApartium/cocoa-beans

Repository files navigation

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!

Relevant Links


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:

<repositories>
    <repository>
        <id>apartium-releases</id>
        <url>https://nexus.voigon.dev/repository/apartium-releases</url>
    </repository>
</repositories>
<dependencies>
    <dependency>
        <groupId>net.apartium.cocoa-beans</groupId>
        <!-- You can also use 'spigot' instead to get the spigot utilities as well -->
        <artifactId>common</artifactId>
        <version>[VERSION]</version>
    </dependency>

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

Gradle:

repositories {
    maven {
        name 'apartium-releases'
        url 'https://nexus.voigon.dev/repository/apartium-releases'
    }
}

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

    // For the command system (You also could use 'commands-spigot' instead to get the spigot command utilities as well)
    implementation 'net.apartium.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