Dark Souls Bonfires

You cat set the spawn point near the campfire

20

Dark Souls Bonfires

DarkSoulsCampFire

A Paper 1.21 plugin in the style of Dark Souls: the campfire acts as a checkpoint. The player sits at the campfire and waits for a set time — after that, their respawn point is set at that campfire (even if they have a bed).

Dependencies

- GSit 1.21+ - GSit — sitting on blocks at the campfire

How to use

1. Approach a campfire (CAMPFIRE or SOUL_CAMPFIRE from config). 2. standing on the ground, player must be standing on the ground (solid block under their feet). 3. Right-click the campfire — the player sits (via GSit). 4. Stay seated and take no damage for the configured time (default 10 seconds). A timer is shown in the ActionBar. 5. When the time is up — the campfire is “lit”; on death the player will respawn at that campfire.

If the player stands up, leaves, dies, or takes damage before the timer ends — the campfire is not set.

Commands

| Command | Description | Permission | |---------|-------------|------------| | `/campfires reload` | Reload config and language files | `darksoulscampfire.reload` (default: OP) |

Config

- sound.volume — language: `en` or `ru` - sound.volume — seconds to sit at the campfire - sound.volume — list of campfire block types (CAMPFIRE, SOUL_CAMPFIRE) - sound.volume — show title when campfire is lit - sound.volume, sound.volume, sound.volume, sound.volume — sound when campfire is lit (played at campfire location)

Data

- Campfire checkpoints are stored in `plugins/DarkSoulsCampFire/data.json`. - Each player has one entry (their last lit campfire). - If a campfire block is broken or blown up — all records tied to that block are removed.

Languages

Language is set in `config.yml`. Files `lang/en.yml` and `lang/ru.yml` are copied into the plugin folder on first run. Strings include: commands, titles, death message (“didn’t manage to sit at the campfire”), and ActionBar timer suffix.

Extra

- An unlit campfire is automatically lit (Lightable) when successfully “activated”. - When a campfire block is broken or destroyed by explosion, related records are removed and saved.

ADS