From 9326b93fbbf75d997b0765a152994a1970f9abc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Pani=C4=87?= Date: Wed, 14 Nov 2018 00:43:38 +0100 Subject: Moved ModuleLoader command file to resources --- .../coremods/moduleLoader/ModuleLoader.cmd | 34 ---------------------- .../coremods/moduleLoader/ModuleLoader.cmd | 34 ++++++++++++++++++++++ 2 files changed, 34 insertions(+), 34 deletions(-) delete mode 100644 src/main/java/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd create mode 100644 src/main/resources/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd diff --git a/src/main/java/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd b/src/main/java/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd deleted file mode 100644 index eadeeb7..0000000 --- a/src/main/java/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd +++ /dev/null @@ -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; - } -} \ No newline at end of file diff --git a/src/main/resources/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd b/src/main/resources/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd new file mode 100644 index 0000000..eadeeb7 --- /dev/null +++ b/src/main/resources/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd @@ -0,0 +1,34 @@ +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; + } +} \ No newline at end of file -- cgit v1.2.3