No description
Find a file
loki5512344 bb2e47a917 Add player-spawn config for stuck players and limit teleport height
- Add PlayerSpawnConfig for separate spawn location when players are stuck in blocks
- Add PlayerSpawnConfigLoader for YAML parsing
- Update MineConfig with playerSpawn section and getSpawnForStuckPlayer() helper
- Update ConfigLoader to include playerSpawn configuration
- Update MineFileManager to preserve playerSpawn when saving
- Update MineResetHandler.teleportPlayers() to use player-spawn location
- Update defaults.yml with player-spawn documentation

- Limit findSafeTeleportLocation() to max 3 blocks upward search
  - Priority: same level nearby, then up (max 3), then down, then diagonal
  - Prevents teleporting players too high in the air

If player-spawn is not configured, falls back to teleport.location for backward compatibility.
2026-05-31 23:03:40 +02:00
gradle/wrapper refactor: migrate package from com.loki to dev.loki 2026-05-31 21:34:44 +02:00
libs chore: initial commit - LoMines v3.0.0 base structure 2026-04-23 23:01:11 +02:00
src Add player-spawn config for stuck players and limit teleport height 2026-05-31 23:03:40 +02:00
.gitignore refactor: migrate package from com.loki to dev.loki 2026-05-31 21:34:44 +02:00
ARCHITECTURE.md chore: initial commit - LoMines v3.0.0 base structure 2026-04-23 23:01:11 +02:00
build.gradle.kts refactor: migrate package from com.loki to dev.loki 2026-05-31 21:34:44 +02:00
gradlew.bat refactor: migrate package from com.loki to dev.loki 2026-05-31 21:34:44 +02:00
settings.gradle.kts chore: initial commit - LoMines v3.0.0 base structure 2026-04-23 23:01:11 +02:00
todo.md Update TODO.md with ghost blocks fix and project structure 2026-05-31 22:57:44 +02:00