summaryrefslogtreecommitdiff
path: root/src/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd')
-rw-r--r--src/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd21
1 files changed, 18 insertions, 3 deletions
diff --git a/src/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd b/src/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd
index e88cafa..eadeeb7 100644
--- a/src/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd
+++ b/src/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd
@@ -1,18 +1,33 @@
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 jutils.modules.list;
+ 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 jtuils.modules.admin;
+ 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 jutils.modules.admin;
+ perm moduleloader.modules.admin;
run unload name;
type console;
}