Updates and rework to use CScript

This commit is contained in:
2022-01-19 12:35:50 +01:00
parent 78786709eb
commit 7efda7494a
79 changed files with 1295 additions and 818 deletions

View File

@ -25,8 +25,8 @@
version = "1.0.0"
project.extra["PluginName"] = "Chaos Bosshelper" // This is the name that is used in the external plugin manager panel
project.extra["PluginDescription"] = "Doesn't actually help bosses, it helps you against them!" // This is the description that is used in the external plugin manager panel
project.extra["PluginName"] = "Chaos Base" // This is the name that is used in the external plugin manager panel
project.extra["PluginDescription"] = "" // This is the description that is used in the external plugin manager panel
dependencies {
compileOnly(project(":util"))

View File

@ -30,10 +30,10 @@ import java.util.List;
enabledByDefault = false
)
@Slf4j
public class BasePlugin extends iScript {
public class BasePlugin extends CScript {
@Provides
Config provideConfig(ConfigManager configManager) {
return configManager.getConfig(BaseConfig.class);
return configManager.getConfig(Config.class);
}
@Override