summaryrefslogtreecommitdiff
path: root/src/main/java/com/redstoner/coremods/moduleLoader/ModuleLoader.cmd
blob: 69dd38d47337331cda8d2149e0d4548477c74795 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
command modules {
    [empty] {
        help Lists all modules. Color indicates status: §aENABLED §cDISABLED;
		perm moduleloader.modules.list; 
		run list;
    }
    -v {
        help Lists all modules and their versions. Color indicates status: §aENABLED §cDISABLED;
		perm moduleloader.modules.list;
		run listversions;
    }


	list {
		help Lists all modules. Color indicates status: §aENABLED §cDISABLED;
		perm moduleloader.modules.list; 
		run list;
    }
	list -v {
		help Lists all modules and their versions. Color indicates status: §aENABLED §cDISABLED;
		perm moduleloader.modules.list;
		run listversions;
    }
    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;
    }
}