
Cozy Campfire
Turns campfires into configurable healing stations with smart range detection
⚠️ Compatibility Note: This plugin is built for Minecraft 1.21.5 Purpur. I tested it on Purpur 1.21.5 and Spigot 1.21.1. It should work on 1.21.1-1.21.5 Spigot/Purpur/Paper/Bukkit.
If you want to report a bug or suggest a new plugin, join my Discord server.
This is a cut-out and improved fragment of my SmpMechanics plugin and forms a harmonious whole with CustomDayNightTime and BetterSleep.
🔥 CozyCampfire
Turn Campfires into Healing Stations: Configurable AOE Regeneration, Potion Effects, and RPG Buffs.
CozyCampfire transforms ordinary Minecraft campfires into strategic resting spots. Instead of just cooking food, lit campfires now provide warmth, healing, and other configurable buffs to nearby players! Perfect for RPG servers, Survival lobbies, or just making your base feel more alive.
✨ Key Features
- ❤️ Dynamic Healing: Automatically grants configurable potion effects (e.g., Regeneration) to players resting near a lit campfire.
- 🧠 Smart Logic: The plugin respects existing potion effects. It will never overwrite a player's effect if they already have a stronger amplifier or longer duration (e.g., it won't ruin a God Apple effect).
- 🧱 Smart Raytracing: Includes a configurable
through-blockssystem. You decide if warmth penetrates walls or requires a direct Line-of-Sight. - 📏 3D Area Control: Fully customizable detection range. Configure the circular
radius,height-up, andheight-downindependently. - 🌍 Multi-Language (Per-Player): Full support for English and Polish. Players can switch their own interface language anytime via command!
- ☠️ Realistic Fire: Standing directly on a lit campfire sets the player on fire (configurable).
- 🛡️ Spectator Safety: Players in Spectator mode are automatically ignored by the system.
⚙️ Configuration
The plugin is fully configurable via config.yml or in-game commands:
- Effects: Add multiple effects (Speed, Regeneration, Resistance) with custom power and duration.
- Radius & Height: Define the exact "warmth zone" around the campfire.
- Raytracing: Toggle
through-blocksto true or false depending on your server style. - Burning: Enable or disable fire damage when stepping on the campfire.
📜 Commands and Permissions
Main command: /cozycampfire or /cp
| Command | Description | Permission |
|---|---|---|
/cp help | Shows the list of available commands. | cozycampfire.help |
/cp lang [en/pl] | Switches your personal message language. | cozycampfire.language |
/cp add <effect> <amp> <time> | Adds a new effect to campfires. | cozycampfire.add |
/cp remove <effect> | Removes an effect from the config. | cozycampfire.remove |
/cp radius <value> | Sets the horizontal radius. | cozycampfire.radius |
/cp height-up <value> | Sets the detection height upwards. | cozycampfire.height |
/cp height-down <value> | Sets the detection height downwards. | cozycampfire.height |
/cp tb | Toggles "Through Blocks" (Raytracing) mode. | cozycampfire.throughblocks |
/cp fire | Toggles burning players on contact. | cozycampfire.fire |
/cp reload | Reloads the configuration and messages. | cozycampfire.reload |
Wildcard Permission (Full Admin): cozycampfire.*
🚀 Installation
- Download the
.jarfile. - Place it in the
/plugins/folder of your server (Spigot/Paper/Purpur 1.21+). - Restart the server.
- Done! Campfires now provide regeneration by default.
- Tip: Use
/cp lang plin-game if you prefer Polish messages!
- Tip: Use
📂 Generated Files
config.yml- Main settings.messages_en.yml- English translation file.messages_pl.yml- Polish translation file.
