diff options
Diffstat (limited to 'src/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd')
-rw-r--r-- | src/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd b/src/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd new file mode 100644 index 0000000..9dd5445 --- /dev/null +++ b/src/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd @@ -0,0 +1,13 @@ +command modules { + list { + help Lists all modules. Color indicates status: §aENABLED §cDISABLED; + perm jutils.admin; + run list; + } + 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.admin; + run load name; + type console; + } +}
\ No newline at end of file |