Package dev.drawethree.xprison.api
Interface XPrisonModule
public interface XPrisonModule
Represents a module within the XPrison plugin ecosystem.
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Gets the name of the module.boolean
Checks if the module is currently enabled.boolean
Checks if history tracking is enabled for this module.
-
Method Details
-
isEnabled
boolean isEnabled()Checks if the module is currently enabled.- Returns:
- true if the module is enabled, false otherwise
-
getName
String getName()Gets the name of the module.- Returns:
- the module's name
-
isHistoryEnabled
boolean isHistoryEnabled()Checks if history tracking is enabled for this module.- Returns:
- true if history tracking is enabled, false otherwise
-