Magical Campfires

Magical Campfires

Mod and plugin

Heals you when near campfires! Fully customizable with support for both normal and soul campfires.

AdventureGame MechanicsUtility

910 downloads
7 followers
Follow Save

Magical Campfires

A Minecraft plugin and mod that adds healing effects when players are near campfires or soul campfires.

✨ Features

  • Healing Mechanics: Players standing near campfires/soul campfires receive gradual health regeneration
  • Configurable Settings: Adjust healing amount, range, interval, and more
  • Visual Feedback: Optional actionbar messages to notify players when healing
  • Campfire Types: Separate configurations for normal campfires and soul campfires
  • Burning Requirement: Option to require campfires to be lit for healing effects

⚙️ Configuration

Paper/Folia
settings:
  enabled: true # Master toggle
  campfire:
    enabled: true # Normal campfire healing
    interval: 40 # Ticks between heals (20 ticks = 1 second)
    is_lit: true # Must be lit to heal
    amount: 1 # Health per heal (1 = ½ heart)
    range: 3 # Block radius for effect
    actionbar:
      enabled: true # Show actionbar message
      message: "<gold>You're getting healed by a campfire"
  soul_campfire:
    enabled: false # Soul campfire healing
    interval: 60
    is_lit: true
    amount: 1
    range: 4
    actionbar:
      enabled: false
      message: "<blue>You're getting healed by a soul campfire"
Fabric
{
  "enabled": true,
  "campfire": {
    "enabled": true,
    "interval": 2000, // ms, not ticks
    "amount": 1.0,
    "range": 3,
    "actionbar": {
      "enabled": true,
      "message": "§2You\u0027re getting healed."
    }
  },
  "soul_campfire": {
    "enabled": true,
    "interval": 2000, // 1 second = 1000ms
    "amount": 1.0,
    "range": 3,
    "actionbar": {
      "enabled": true,
      "message": "§2You\u0027re getting healed."
    }
  }
}

📋 Commands

  • /campfire reload - Reloads the plugin configuration - only Plugin
    Permission: magicalcampfire.reload

🔒 Permissions

  • magicalcampfire.reload - Allows reloading the plugin configuration

🔄 How It Works

  1. The plugin checks around players for campfires at configured intervals
  2. If a campfire is found within range (and lit if configured):
    • Player receives health regeneration
    • Optional actionbar message is displayed
  3. Different settings can be configured for normal and soul campfires

Perfect for survival or rpg servers looking to add immersive healing mechanics around campfires! 🔥


Project members

YeahAkis_

Member

Details

Licensed MIT
Published a year ago
Updated 3 months ago