Перейти к содержимому
Mineforgian

SpawnAuth

Protect your Minecraft server from login location for AuthMe, nLogin, and OpeNLogin.

Загрузки
213
Подписчики
1
Обновлён
30 июня 2026 г.
Лицензия
MIT

Опубликован 16 июня 2026 г.

Исходный код

SpawnAuth works with AuthMe or nLogin to keep unauthenticated players away from the main world until they log in. It saves the player's original location before teleporting them to a temporary spawn and restores it after successful authentication.

The plugin is designed to replace the built-in spawn/limbo handling of AuthMe and nLogin, which can cause issues such as players getting stuck at spawn, spawning in the wrong place after death, or other authentication-related edge cases. It is recommended to disable those features when using SpawnAuth.

Features

  • Supports AuthMe, nLogin, and OpeNLogin.
  • Saves and restores the player's original location after login.
  • Two spawn modes:
    • vanilla – teleports players to the configured world and scatters them around its spawn using the respawn_radius gamerule.
    • fixed – teleports players to a fixed location, usually in a dedicated void world.
  • All dimensions (overworld, nether, end) use the same configured world — no per-dimension config.
  • Optional automatic creation of a void world when using fixed mode.
Config
# World used when spawn-mode is "vanilla".
# Players are scattered around the world's natural spawn point using the
# respawn_radius gamerule. Set /gamerule respawn_radius <value>
# to control the scatter distance (0 = no scatter, exact spawn).
# All dimensions (overworld, nether, end) use this single world.
# If you need per-dimension worlds, this is no longer supported.
worlds:
  overworld: world

# How to choose the spawn point for unauthenticated players:
#   vanilla  - place the player in the configured world and scatter
#              them around its spawn using the respawn_radius gamerule.
#   fixed    - place the player in the void world (generation.world)
#              at the exact coordinates specified under generation.fixed-spawn.
spawn-mode: vanilla

# Settings for the auto-generated limbo void world. Only used when
# spawn-mode is "fixed".
generation:
  # Name of the limbo void world (used when spawn-mode: fixed).
  world: limbo

  # If true, automatically creates the void world when it doesn't exist.
  # The void world is always created as an overworld-type world with a small
  # platform at the fixed-spawn coordinates.
  create: false

  # Fixed spawn coordinates (used when spawn-mode: fixed).
  fixed-spawn:
    x: 7
    y: 70
    z: 7
    yaw: 0
    pitch: 0

  # Radius of the stone/grass platform around the fixed spawn in the
  # auto-generated void world. Ignored when using existing worlds.
  platform-radius: 1

Ченджлог

1.0.6Релиз26.1.1, 26.1.2, 26.2 · 30 июня 2026 г.

refactor: add OpenLogin support, move auth check to startup, fix F3 coord flash on login

1.0.5Релиз26.1.1, 26.1.2, 26.2 · 30 июня 2026 г.

cleanup: remove spawn Y safety, dimension configs, and deprecated API

1.0.4Релиз26.1.1, 26.1.2, 26.2 · 29 июня 2026 г.

1.0.4

  • Updated to Paper API 26.1.2
  • Full refactor: multi-dimension vanilla spawn support (world, nether, end)
  • Config restructure: new config.yml layout
  • Added RAM cache for player data
  • Fixed player death (no longer spawn in wrong location)
  • Fixed safe location finding (now uses generation.world)
  • Fixed JAR filename (now includes version)
  • Updated README
1.0.3Релиз26.1.1, 26.1.2, 26.2 · 16 июня 2026 г.
  1. Add yaw/pitch
1.0.2Релиз26.1.1, 26.1.2, 26.2 · 16 июня 2026 г.
  1. Added support for nLogin
  2. Added Folia support (you must create the limbo world manually)
  3. Added option to disable world generation

Комментарии

Загружаем…