summaryrefslogtreecommitdiff
path: root/src/main/java/com/redstoner/modules/blockplacemods/BlockPlaceMods.cmd
blob: a0d8fb246e221275d3f2e8e5c073e242c3084016 (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
37
38
39
40
41
42
43
command bpm {
    alias set;
    alias toggle;
    alias mod;

    perm utils.blockplacemods;
    type player;

	[empty] {
        help Lists the block place mods and their statuses.;
        run list_mods;
    }
	
    list [empty] {
        help Lists the block place mods and their statuses.;
        run list_mods;
    }

    reset [string:mod] {
        help Resets the specified mod's settings to the default value.;
        run reset_mod mod;
    }
	
	toggle [string:mod] {
        help Toggles a block place mod.;
        run toggle_mod mod;
    }
	
	set [string:mod] [string:value] {
        help Sets the specified mod's state to the specified value. Only works for mods that have a state.;
        run set_mod_value mod value;
    }
    
    [string:mod] {
        help Toggles a block place mod.;
        run toggle_mod_no_prefix mod;
    }

    [string:mod] [string:value] {
        help Sets the specified mod's state to the specified value. Only works for mods that have a state.;
        run set_mod_value mod value;
    }
}