TheNewMenuLibrary
Note this is not a plugin, this is a menu library for plugin developers. The preferred usage is to use gradle/maven to interact with the library.
The New Menu Library is a versatile tool designed for developers working within Minecraft ecosystem, enabling the creation of custom, inventory-based menus that function seamlessly across multiple Minecraft platforms. This library allows developers to craft their menus just once and deploy them effortlessly on various supported platforms, streamlining the development process and ensuring consistency in user experience.
It's important to note that The New Menu Library relies on The New Item Library as a dependency, so developers should confirm that their target platform is compatible with both libraries. By leveraging this library, developers can efficiently manage and implement custom menus, enhancing their Minecraft projects with ease and flexibility.
Features
- Write code once, and use the menu on multiple platforms.
- Add custom icons, including player heads!
- Use the callback system to modify pages and menus when they open
- A flexible action system to make things happen when a player clicks an icon! Even add your custom action types.
- Ability to have pages that are unique for each player that views them!
Support
Documentation
Wiki
JavaDoc
Maven
The New Menu Library uses maven for dependency management.
Repository:
Code (Text):
<repository>
<id>codemc-releases</id>
<url>https://repo.codemc.io/repository/maven-public/</url>
</repository>
Core Dependency:
Code (Text):
<dependency>
<groupId>net.tnemc</groupId>
<artifactId>TNML-CORE</artifactId>
<version>1.6.0.0-SNAPSHOT-1</version>
<scope>compile</scope>
</dependency>
Bukkit Dependency:
Code (Text):
<dependency>
<groupId>net.tnemc</groupId>
<artifactId>TNML-Bukkit</artifactId>
<version>1.6.0.0-SNAPSHOT-1</version>
<scope>compile</scope>
</dependency>
Folia Dependency:
Code (Text):
<dependency>
<groupId>net.tnemc</groupId>
<artifactId>TNML-Folia</artifactId>
<version>1.6.0.0-SNAPSHOT-1</version>
<scope>compile</scope>
</dependency>
Sponge API Version 7 Dependency:
Currently not supported because need to add support in TNIL first
Code (Text):
<dependency>
<groupId>net.tnemc</groupId>
<artifactId>TNML-Sponge-API-7</artifactId>
<version>1.6.0.0-SNAPSHOT-1</version>
<scope>compile</scope>
</dependency>
Sponge API Version 8+ Dependency:
Code (Text):
<dependency>
<groupId>net.tnemc</groupId>
<artifactId>TNML-Sponge-API-8</artifactId>
<version>1.6.0.0-SNAPSHOT-1</version>
<scope>compile</scope>
</dependency>