Fixed command hooks. Blargh.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
command data {
|
command data {
|
||||||
import [string:file] as [string:module] {
|
import [string:file] as [string:module] {
|
||||||
run config_import_file file module;
|
run import_file file module;
|
||||||
type console;
|
type console;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -19,7 +19,7 @@ command config {
|
|||||||
help Lists all config settings of the specified module.;
|
help Lists all config settings of the specified module.;
|
||||||
}
|
}
|
||||||
get [string:module] [string:key] {
|
get [string:module] [string:key] {
|
||||||
run get module key;
|
run config_get module key;
|
||||||
help Displays the value of the specified setting.;
|
help Displays the value of the specified setting.;
|
||||||
}
|
}
|
||||||
set [string:module] [string:key] [string:value...] {
|
set [string:module] [string:key] [string:value...] {
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ import com.redstoner.modules.Module;
|
|||||||
|
|
||||||
@Commands(CommandHolderType.Stream)
|
@Commands(CommandHolderType.Stream)
|
||||||
@AutoRegisterListener
|
@AutoRegisterListener
|
||||||
@Version(major = 4, minor = 1, revision = 9, compatible = 4)
|
@Version(major = 4, minor = 1, revision = 10, compatible = 4)
|
||||||
public final class DataManager implements CoreModule, Listener
|
public final class DataManager implements CoreModule, Listener
|
||||||
{
|
{
|
||||||
protected final File dataFolder = new File(Main.plugin.getDataFolder(), "data");
|
protected final File dataFolder = new File(Main.plugin.getDataFolder(), "data");
|
||||||
|
|||||||
Reference in New Issue
Block a user