Skip to content

HazeDev's API is an API strongly focused on making server owners who are developers life easier! It's main feature being the "Component" system.

Notifications You must be signed in to change notification settings

mccormack-harry/HAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HAPI

WARNING! HAPI is in a beta state and is not recommended for use in production servers, expect major changes in API!

HAPI (HazeDev's API) is an API to assist in the creation of Spigot plugins. This is targeted for developers who write a lot of features for a single server.

Usage

HapiExample is an example of a plugin created using HAPI, Feel free to clone it.
You can add HAPI as a maven dependency in your poject:

<repository>
    <id>hazedev</id>
    <url>https://hazedev.me/jenkins/plugin/repository/everything/</url>
</repository>
<dependency>
    <groupId>me.hazedev</groupId>
    <artifactId>HAPI</artifactId>
    <version>1.1.3</version>
    <scope>compile</scope>
</dependency>

However you must include HAPI in your final Jar, you can configure the shade plugin to do that:

<build>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-shade-plugin</artifactId>
            <version>3.2.4</version>
            <executions>
                <execution>
                    <phase>package</phase>
                    <goals>
                        <goal>shade</goal>
                    </goals>
                    <configuration>
                        <minimizeJar>true</minimizeJar>
                        <createDependencyReducedPom>false</createDependencyReducedPom>
                        <artifactSet>
                            <includes>
                                <include>me.hazedev:HAPI</include>
                            </includes>
                        </artifactSet>
                    </configuration>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>

Features

About

HazeDev's API is an API strongly focused on making server owners who are developers life easier! It's main feature being the "Component" system.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published