> ## Documentation Index
> Fetch the complete documentation index at: https://docs.borntocraftstudio.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Utility Actions

> Heal, feed, damage, and other utility actions.

Essential commands for managing player state and basic server functions.

## Configuration

<Accordion title="Health & Damage">
  ### `heal_action`

  Restores health points.
  <ResponseField name="amount" type="Double" default="20.0">Hearts to restore.</ResponseField>
  <ResponseField name="feed" type="Boolean" default="true">Also fill hunger?</ResponseField>
  <ResponseField name="clearEffects" type="Boolean" default="true">Remove potions?</ResponseField>

  ### `damage_action`

  Deals raw damage.
  <ResponseField name="amount" type="Double">Damage to deal.</ResponseField>
  <ResponseField name="bypassArmor" type="Boolean" default="false">True damage?</ResponseField>

  ### `heal_all_action`

  Heals everyone on the server.
  <ResponseField name="amount" type="Double" default="20.0">Amount to heal.</ResponseField>

  ### `suicide_action`

  Instantly kills the player.
</Accordion>

<Accordion title="Items">
  ### `repair_action`

  Repairs held item.
  <ResponseField name="amount" type="Int" default="-1">-1 for full repair.</ResponseField>

  ### `durability_action`

  Modify item durability.
  <ResponseField name="amount" type="Int">Negative values damage the item.</ResponseField>

  ### `condense_ores_action`

  Auto-crafts Ingots -> Blocks in inventory.
</Accordion>

<Accordion title="Modes & Movement">
  ### `gamemode_action`

  <ResponseField name="gamemode" type="Enum">SURVIVAL, CREATIVE, ADVENTURE, SPECTATOR.</ResponseField>

  ### `flight_action`

  <ResponseField name="enable" type="Boolean">Toggle flight.</ResponseField>

  ### `god_action`

  <ResponseField name="enable" type="Boolean">Toggle invincibility.</ResponseField>

  ### `top_action`

  Teleports player to the highest solid block at their coordinates.
</Accordion>

## Example Usage

<CodeGroup>
  ```yaml Full Restore theme={null}
  heal_action:
    amount: 20.0
    feed: true
    clearEffects: true
  ```

  ```yaml True Damage theme={null}
  damage_action:
    amount: 10.0
    bypassArmor: true
  ```
</CodeGroup>
