Skip to content

040Elias/Spawn

Repository files navigation

Spawn

Lightweight, Folia-native spawn plugin with SQLite storage.

Minecraft Java Platform CodeFactor

Download · Issues


A focused Folia-native spawn plugin. Lightweight by design.

Most spawn plugins carry years of Bukkit legacy and break on Folia. Spawn was written for Folia from scratch — every teleport, every scheduler call, every database operation respects region-threaded execution. No hacks, no workarounds.


Why Spawn?

Legacy spawn plugins Spawn
Folia support Incompatible or partial Built for Folia from day one
Threading model Main thread assumed Region-threaded scheduler throughout
Storage Flat files or config-based SQLite with automatic table creation
Scope Bloated with extras Spawns only — nothing more, nothing less
Configuration Limited Full message & sound customisation

Features

  • Multiple Named Spawns Create, delete, and teleport to any number of named spawn points. All data persisted in a local SQLite database — no external database server required.

  • Folia-Safe Teleportation Uses Folia's RegionScheduler for safe, async teleportation. Configurable countdown delay with action bar feedback and movement cancellation.

  • Configurable Messages All player-facing messages are customisable via messages.yml. Supports & colour codes and &#rrggbb hex colours.

  • Configurable Sounds Error, teleporting countdown, and success sounds are all independently configurable in config.yml.


Commands

Command Description Permission
/spawn <name> Teleport to a named spawn spawn.use
/setspawn <name> Create a spawn at your location spawn.setspawn
/delspawn <name> Delete a spawn spawn.delspawn

Compatibility

Minecraft 1.21.x
Platforms Folia (native) · Paper (may work but not supported)
Java 21

Storage

Spawn data is stored in a single SQLite database file (plugins/Spawn/spawn.db). Tables are created automatically on first startup. No external database server is required — the SQLite driver is bundled inside the plugin jar.


Installation

  1. Download the latest jar from the Releases tab.
  2. Drop it into your plugins/ folder.
  3. Start the server once to generate config.yml and messages.yml.
  4. Configure to taste.
  5. Restart or reload.

Configuration

config.yml

Key Description Default
spawn.teleport-delay-seconds Seconds before teleport completes 5
global.error-sound Sound played on errors
global.teleport-success-sound Sound played on successful teleport
spawn.teleporting-sound Sound played during countdown

messages.yml

All player-facing messages are configurable. Supports & colour codes and &#rrggbb hex colours.

About

A lightweight Folia-native spawn plugin with SQLite database storage.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages