diff options
author | Pepich <benedikt.abel@yahoo.de> | 2017-09-17 15:35:08 +0200 |
---|---|---|
committer | Pepich <benedikt.abel@yahoo.de> | 2017-09-17 15:35:08 +0200 |
commit | 5ccfe4b121d4a29fa4d1b8b8880be3bfa756a710 (patch) | |
tree | 168d8135ddc0c637dd12308d0f1b4116328fd4c0 /src/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd | |
parent | a5c54126bc3491dc1fb8f8fc206e7202d541dff0 (diff) |
Update to APIv4. I hope this no borke git.
Diffstat (limited to 'src/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd')
-rw-r--r-- | src/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd | 21 |
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; } |