Skip to content

add MMOItems support#228

Merged
Maxlego08 merged 1 commit intoMaxlego08:developfrom
1robie:developement
Mar 4, 2026
Merged

add MMOItems support#228
Maxlego08 merged 1 commit intoMaxlego08:developfrom
1robie:developement

Conversation

@1robie
Copy link
Collaborator

@1robie 1robie commented Mar 4, 2026

This pull request adds support for the MMOItems plugin integration. The main changes include introducing a new MMOItemsLoader class for loading MMOItems materials, updating dependency management, and ensuring the plugin recognizes MMOItems as an optional dependency.

MMOItems integration:

  • Added new class MMOItemsLoader in Hooks/MMOItems/src/main/java/fr/maxlego08/menu/hooks/mmoitems/MMOItemsLoader.java to handle loading MMOItems items via the API.
  • Registered MMOItemsLoader in the main plugin initialization (ZMenuPlugin.java) so it is used when MMOItems is active.

Dependency and build configuration:

  • Created a new Gradle build configuration for the MMOItems hook in Hooks/MMOItems/build.gradle.kts, including the MMOItems API as a compile-only dependency.
  • Included Hooks:MMOItems in the Gradle settings to ensure the module is built.

Plugin system updates:

  • Added MMOITEMS to the Plugins enum so it can be recognized and activated.
  • Declared MMOItems as a softdepend in plugin.yml to indicate optional support.

@Maxlego08 Maxlego08 merged commit b9f2c74 into Maxlego08:develop Mar 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants