Package org.yuemi.libs.api
Interface YueMiLibsApi
public interface YueMiLibsApi
Public API for YueMi Libs plugin.
-
Method Summary
Modifier and TypeMethodDescriptionGets the economy module API.Gets the events module API.getGui()Gets the GUI module API.getItems()Gets the items module API.@NotNull StringGets the version of the YueMi Libs plugin.booleanisCompatible(@Nullable String minVersion, @Nullable String maxVersion) Checks if the current version of YueMi Libs is compatible with the requested range.
-
Method Details
-
getEconomy
Gets the economy module API.- Returns:
- the economy API manager
-
getItems
Gets the items module API.- Returns:
- the items API manager
-
getGui
Gets the GUI module API.- Returns:
- the GUI API manager
-
getEvents
Gets the events module API.- Returns:
- the events API manager
-
getVersion
Gets the version of the YueMi Libs plugin.- Returns:
- the version string
-
isCompatible
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 limitmaxVersion- the maximum required version (inclusive), or null if no maximum limit- Returns:
- true if compatible, false otherwise
-