public class ModuleInfo extends Object
构造器和说明 |
---|
ModuleInfo(org.bukkit.configuration.file.YamlConfiguration yml) |
限定符和类型 | 方法和说明 |
---|---|
void |
addBeforeModule(String module) |
List<String> |
getAuthors() |
List<String> |
getBeforeModule() |
List<String> |
getDependModule() |
List<String> |
getDependPlugin() |
String |
getDescription() |
String |
getMain() |
String |
getName() |
List<String> |
getSoftdependModule() |
Version |
getVersion() |
boolean |
isAvaliable() |
boolean |
isDependModule(String name)
判断A模块是否是此模块的前置
|
void |
removeBeforeModule(String module) |
public String getName()
public String getMain()
public String getDescription()
public Version getVersion()
public boolean isDependModule(String name)
name
- A模块名public void addBeforeModule(String module)
public void removeBeforeModule(String module)
public boolean isAvaliable()
Copyright © 2024. All rights reserved.