Magical Campfires

Magical Campfires

Mod and plugin

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

AdventureGame MechanicsUtility

914 downloads
7 followers
Follow Save
Filter loader...
Filter versions...
Filter channels...

Fixed a bug with mixins

🚀 New Features

  • Added support for Spigot (1.18+)

Full 2.1 release for fabric

Full 2.1 release for paper

2.1 Beta - Fabric

🚀 New Features

  • Added support for Fabric (1.19+)

🔧 Configuration Changes

  • Config is different from the paper version, it's a json config and it looks like this:
    {
      "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."
        }
      }
    }
    

2.1 Beta

🚀 New Features

  • Added support for Folia (Untested, that's why beta)

2.0 Rewrite

🚀 New Features

  • Added support for lower versions (1.19+)
  • Added /campfire reload command
  • Complete configuration overhaul with nested settings
  • Separate configuration for normal campfires and soul campfires
  • Added actionbar messages when being healed
  • Added global enable/disable toggle
  • Added range configuration for campfire effects
  • Added healing amount configuration
  • Added lit/unlit configuration option
  • Added separate intervals for each campfire type

🔧 Configuration Changes

  • New YAML structure with settings section
  • Moved all settings under nested configuration:
    settings:
      enabled: true
      campfire:
        enabled: true
        interval: 40
        is_lit: true
        amount: 1
        range: 3
        actionbar:
          enabled: true
          message: "<gold>You're getting healed by a campfire"
      soul_campfire:
        enabled: false
        interval: 60
        is_lit: true
        amount: 1
        range: 4
        actionbar:
          enabled: false
          message: "<blue>You're getting healed by a soul campfire"
    

⚙️ Technical Changes (the nerd stuff)

  • Rewrote plugin with better OOP structure
  • Improved performance with separate tasks for each campfire type
  • Changed package name from org.twipnetwork to org.notionsmp

🐛 Bug Fixes

  • Fixed potential memory leaks in task scheduling
  • Improved campfire detection logic
  • More robust configuration handling
  • Players don't get healed while dead anymore which caused reviving when relogging

Version 1.1 for Minecraft 1.21

Added configs, and also the possibility to enable soul campfires

Initial version

Made it so when you stand near a lit campfire, it heals you!


Project members

YeahAkis_

Member

Details

Licensed MIT
Published a year ago
Updated 3 months ago