# Settings

Ok so now to modify the settings of the restriction you've created in the previous step you should add something similar to the "**Settings**" example after the last } of the "**Restriction Data**" parameter (**check Final Example for a preview**).<br>

**Settings** example (a restriction's optional information)

```json
{
  "Settings": {
    "advancedTooltips": "ALWAYS",
    "itemTitle": "Unavailable Item",
    "pickupDelay": 15,
    "hideInJEI": true,
    "canPickup": false,
    "containerListWhitelist": false,
    "checkPlayerInventory": true,
    "checkPlayerEquipment": false,
    "destroyableBlocks": false,
    "usableItems": false,
    "usableBlocks": false
  }
}
```

Ok soo, now what does everything mean???

* `"advancedTooltips": <ALWAYS/NONE/ADVANCED>`\
  -ALWAYS: the restricted items will always have tooltips explaining the way they're restricted\
  -NONE: the restricted items will never have tooltips explaining the way they're restricted\
  -ADVANCED: the restricted items will have tooltips explaining the way they're restricted only when the client has the advanced tooltips (F3+H) enabled<br>
* `"itemTitle": <item_title>` - the name that the restricted items are going to have\
  -requires a String&#x20;

#### Important: If you're interested in having the default Item names, just leave the "itemTitle" field empty, like this:

```
"itemTitle": ""
```

* `"pickupDelay": <delay>` - the pickup delay that the items dropped from the player's inventory are going to have\
  -requires a Integer (value in ticks, 20 ticks = 1 second)<br>
* `"hideInJEI": <true/false>` - if the items restricted should be hidden in JEI or not\
  -requires a Boolean<br>
* `"canPickup": <true/false>` - if the player shouldn't be able to pickup the items restricted\
  -requires a Boolean<br>
* `"containerListWhitelist": <true/false>` - if the "containerList" should be a whitelist or not\
  -requires a Boolean<br>
* `"checkPlayerInventory": <true/false>` - if the player's inventory should be checked for restricted items and then drop them (this verifies the player inventory every time there's a change to it)\
  -requires a Boolean<br>
* `"checkPlayerEquipment": <true/false>` -  if the player's equipment slots should be checked for restricted items and then drop them (this verifies the player inventory every time there's a change to it)\
  -requires a Boolean<br>
* `"usableItems": <true/false>` - if the items restricted shouldn't be usable (right-click and left-click events will be canceled)\
  -requires a Boolean<br>
* `"usableBlocks": <true/false>` - if the blocksrestricted shouldn't be usable (right-click events will be canceled)\
  -requires a Boolean
* `"destroyableBlocks": <true/false>` - if the blocks restricted shouldn't be breakable (block break events will be canceled)\
  -requires a Boolean
