Menu api

You add this to your pom file and have to shade this library inside your plugin.

    <repositories>
	<repository>
	  <id>jitpack.io</id>
          <url>https://jitpack.io</url>
	</repository>
    </repositories>
	
	
    <dependencies>
       <dependency>
            <groupId>org.broken.arrow.library</groupId>
            <artifactId>Menu_Library</artifactId>
            <version>typeVersion</version>
            <scope>compile</scope>
       </dependency>
       <dependency>
            <groupId>org.broken.arrow.library</groupId>
            <artifactId>Title-Update</artifactId>
            <version>typeVersion</version>
            <scope>compile</scope>
        </dependency>
        // the dependencys below is only optional and 
        // only lose some functionality. 
       <dependency>
            <groupId>org.broken.arrow.library</groupId>
            <artifactId>Color_Conversion</artifactId>
            <version>typeVersion</version>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>org.broken.arrow.library</groupId>
            <artifactId>Item_Creator</artifactId>
            <version>typeVersion</version>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>org.broken.arrow.library</groupId>
            <artifactId>NBT</artifactId>
            <version>typeVersion</version>
            <scope>compile</scope>
        </dependency>
    </dependencies>

If you plan to use the UtilityLibrary plugin, I recommend checking the Menu API module If you use the plugin provided by it. Otherwise, if you are compiling the code without the UtilityLibrary plugin, you can use this If you shade.

<dependencies>
  <dependency>
     <groupId>com.github.broken1arrow.Utility-Library</groupId>
     <artifactId>Utility-Library</artifactId>
     <version>typeRightVersion</version>
     <scope>provided</scope>
  </dependency> 
</dependencies>

Last updated