The config file is located in: config/denyblocks/configGeneral.cfg

  • commandName
    • If you want to redefine another command name for the mod do it with this value.
  • commandNameAliases
    • If you want to define an alias name for the command do it with this value.
  • denyBlocksAndItems (until 1.1.0)
  • denyPlacement [since 1.1.5]

  • denyInteraction [since 1.1.5]

    • The list of objects, which can’t be interact with. (such as benches, chests, etc.)
    • see syntax/examples
  • denyAttack [since 1.1.5]

    • The list of objects, which can’t be used to attack with. (such as swords, axes, etc.)
    • see syntax/examples

 

Syntax / Examples

The syntax is the following:

  • dimension:mod:block:type [until 1.1.0]
  • dimension:mod:item:type [until 1.1.0]
  • dimension:mod:block:type (placement) (interaction) (attack) [since 1.1.5]
  • dimension:mod:item:type (placement) (interaction) (attack) [since 1.1.5]

Every position can use an ‘x’, which means it can be everything. An ‘x’ for dimension would mean ‘every dimension’.

The block/item node is able to use wildcards. Put an asterix (*) at the beginning and/or the end to filter a block/item ending, starting or containing your filter.

[until 1.1.0]

  1. Example: -1:minecraft
    • Result: In the nether it isn’t allowed to place any minecraft related blocks.
  2. Example: 0:minecraft:dirt:0
    • Result: In the overworld it isn’t allowed to place minecraft dirt but any other kind of dirt like podzol.
  3. Example: 6:appliedenergistics2:inscriber
    • Result: In the dimension 6 it isn’t allowed to place the inscriber of AE2.
  4. Example: 1:x
    • Result: In the end it isn’t allowed to place any block.
  5. Example: x:minecraft:iron_sword
    • Result: In every dimension it isn’t allowed to use the minecraft iron sword.
  6. Example: x:x:*seed*
    • Result: Every kind of seed is denied everywhere.
  7. Example: 0:x:*_hoe
    • Result: Deny in dimension ‘0’ every block/item ending with ‘_hoe’

[since 1.1.5]

  1. Example: -1:minecraft
    • Result: In the nether it isn’t allowed to place/interact/attack with any minecraft related blocks.
    • If no further arguments are given the placement/interaction/attack is always on. (1 1 1)
  2. Example: 0:minecraft:dirt:0 1 0 0
    • Result: In the overworld it isn’t allowed to place minecraft dirt but any other kind of dirt like podzol.
  3. Example: 6:appliedenergistics2:inscriber 0 1 0
    • Result: In the dimension 6 it isn’t allowed to interact with the inscriber of AE2.
  4. Example: x:minecraft:iron_sword 0 0 1
    • Result: In every dimension it isn’t allowed to attack with the minecraft iron sword.
  5. Example: x:x:*seed* 1 1 1
    • Result: Every kind of seed is denied for placement/interaction/attack everywhere.