The base command is:

  • denyblocks

Append one of the sub commands to execute them. Example:

  • denyblocks help

 

Sub commands

The text between the signs less than and greater than is necessary to execute it correctly. The text between brackets is optional.

  • add <deniedNode> [until 1.1.0]
  • add <deniedNode> (placement) (interaction) (attack) [since 1.1.5]
    • Adds a new denied object to the placement/interaction/attack list.
    • See syntax/examples
  •  aliases
    • Shows available aliases for the main command.
  • bypass <playerName> [since 1.1.5]
    • Allows the given player to bypass the denied options for all objects.
  • clear <deniedNode> [until 1.1.0]
    • Removes all objects from the node.
    • for example: all blocks denied by mod ‘abc’ or in dimension ‘xyz’
  • clear <deniedNode> (placement) (interaction) (attack) [since 1.1.5]
    • Removes all objects from the node of the placement/interaction/attack list.
    • for example: all objects denied by mod ‘abc’ or dimension ‘xyz’
  • help (<command>)
    • Shows help for each available command.
  • list <@ll|deniedNode>

    • Displays all entires of the node
    • Example 1: /denyblocks list x:minecraft
    • Result: Lists all entries starting with x:minecraft
    • Example 2: /denyblocks list @ll
    • Result: Lists every entry available
  • messages <0|1> [since 1.1.5]
    • Turns the messages on/off, that the object is denied.
  • reload
    • Will reload the configuration from disc.
  • remove <deniedNode> [until 1.1.0]
    • Removes only the given block/item.
  • remove <deniedNode> (placement) (interaction) (attack) [since 1.1.5]
    • Removes only the given object from the placement/interaction/attack list.
  • show <blocks|items> <modId> (<pageNumber>)
    • Show 50 blocks/items of a given mod
    • If there are more than 50 entries, the mod will inform you about the pageNumber argument
    • Example: /denyblocks show items mysticalagriculture 2
    • Result: Shows the items 51-100 of the mod Mystical Agriculture
  • syntax
    • Explains the syntax; what “<deniedNode>” can represent.
    • Explains how to use the arguments placement/interaction/attack [since 1.1.5]