Moved ModuleLoader command file to resources
This commit is contained in:
@@ -1,34 +0,0 @@
|
||||
command modules {
|
||||
[empty] {
|
||||
help Lists all modules. Color indicates status: §aENABLED §cDISABLED;
|
||||
perm moduleloader.modules.list;
|
||||
run list;
|
||||
}
|
||||
list {
|
||||
help Lists all modules. Color indicates status: §aENABLED §cDISABLED;
|
||||
perm moduleloader.modules.list;
|
||||
run list;
|
||||
}
|
||||
-v {
|
||||
help Lists all modules. Color indicates status: §aENABLED §cDISABLED;
|
||||
perm moduleloader.modules.list;
|
||||
run listv;
|
||||
}
|
||||
list -v {
|
||||
help Lists all modules. Color indicates status: §aENABLED §cDISABLED;
|
||||
perm moduleloader.modules.list;
|
||||
run listv;
|
||||
}
|
||||
load [string:name...] {
|
||||
help (Re)-Loads a module. WARNING: Handle with care! This has direct affect on code being executed. This command will temporarily halt the main thread until the class loading operation was completed.;
|
||||
perm moduleloader.modules.admin;
|
||||
run load name;
|
||||
type console;
|
||||
}
|
||||
unload [string:name...] {
|
||||
help Unloads a module. WARNING: Handle with care! This has direct affect on code being executed. This command will temporarily halt the main thread until the class loading operation was completed.;
|
||||
perm moduleloader.modules.admin;
|
||||
run unload name;
|
||||
type console;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user