Interface YueMiLibsApi


public interface YueMiLibsApi
Public API for YueMi Libs plugin.
  • Method Details

    • getEconomy

      @NotNull EconomyApi getEconomy()
      Gets the economy module API.
      Returns:
      the economy API manager
    • getItems

      @NotNull ItemsApi getItems()
      Gets the items module API.
      Returns:
      the items API manager
    • getGui

      @NotNull GuiApi getGui()
      Gets the GUI module API.
      Returns:
      the GUI API manager
    • getEvents

      @NotNull EventApi getEvents()
      Gets the events module API.
      Returns:
      the events API manager
    • getVersion

      @NotNull @NotNull String getVersion()
      Gets the version of the YueMi Libs plugin.
      Returns:
      the version string
    • isCompatible

      boolean isCompatible(@Nullable @Nullable String minVersion, @Nullable @Nullable String maxVersion)
      Checks if the current version of YueMi Libs is compatible with the requested range.
      Parameters:
      minVersion - the minimum required version (inclusive), or null if no minimum limit
      maxVersion - the maximum required version (inclusive), or null if no maximum limit
      Returns:
      true if compatible, false otherwise