summaryrefslogtreecommitdiff
path: root/src/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd
blob: e88cafae325cceeb8dfc7d6a8efab4c16259c04c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
command modules {
	list {
		help Lists all modules. Color indicates status: §aENABLED §cDISABLED;
		perm jutils.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 jtuils.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;
        run unload name;
        type console;
    }
}