Skip to content

Consumables

MaksyKun edited this page Jul 25, 2026 · 3 revisions

05 — Consumables

Consumables are food, potions, and other items consumed on use. They can restore health, hunger, saturation, apply effects, and use charges.

Files

Commands and permissions

Alias: consumables, consumes. Shared list, get, give, drop, and reload commands require divinity.admin.

Configuration and example

consuming.allow-on-full-health and allow-on-full-food decide whether a player can consume at full values.

items/burger.yml — bundled food item
material: PLAYER_HEAD
name: '&6Burger on a Plate'
tier: common
level:
  min: 1
  max: 3
effects:
  health: 5
  hunger: 5
  saturation: 3
user-requirements-by-level:
  level:
    '1': 10
  class:
    '1': Warrior,Berserker
uses-by-level:
  '1': 1
  '2': 2
  '3': 3

Clone this wiki locally