diff options
author | Logan Fick <logaldeveloper@protonmail.com> | 2019-02-08 11:29:54 -0500 |
---|---|---|
committer | Logan Fick <logaldeveloper@protonmail.com> | 2019-02-08 11:29:54 -0500 |
commit | 2a094897a0226cc286b3be52342663b9ac0d8d86 (patch) | |
tree | 9c65a9d6d1a655d519eceaeda60d464a1c921b83 /src/main/java/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd | |
parent | bc4ec4561ed1200497a5edcd03738ec9c0a16072 (diff) | |
parent | 335a5b57d322a0a9e3b43729e240206af05c09bb (diff) |
Merged pull request #8.v5.2.0
Diffstat (limited to 'src/main/java/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd')
-rw-r--r-- | src/main/java/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/main/java/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd b/src/main/java/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd new file mode 100644 index 0000000..4e06bd0 --- /dev/null +++ b/src/main/java/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd @@ -0,0 +1,24 @@ +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; + } + 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; + } +}
\ No newline at end of file |