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

SetSpawn/SetLobby

Set Your Server Spawn Or Lobby

Загрузки
8K
Подписчики
2
Обновлён
25 июня 2025 г.
Лицензия
MIT

Опубликован 25 июня 2025 г.

SetSpawn

SetSpawn is a lightweight, all-in-one Bukkit/Spigot plugin that makes it easy to:

  • Define a global Spawn and Lobby (Hub) location
  • Automatically teleport new players to your lobby on join (toggleable)
  • Enforce a per-player cooldown on all teleport commands
  • Fully customize messages & sounds via config.yml
  • Reload your settings at runtime—no server restart required

📋 Features

  • /setspawn & /spawn
    Define and teleport to your world’s “Spawn” point.
  • /setlobby, /lobby & /hub
    Define and teleport to your “Lobby (Hub)”; /hub works as a convenient alias.
  • Auto-Teleport on Join
    New players are sent to the lobby by default; /toggleautojoin flips this on/off.
  • Configurable Cooldown
    Prevent teleport spam with a global cooldown (e.g. 30 s by default).
  • Custom Messages & Sounds
    All text feedback and sound effects are driven by config.yml.
  • /spawnreload
    Instantly reload your config.yml without restarting the server.

⚙️ Commands

Command Description Permission
/setspawn Set the global Spawn location setspawn.set (OP-only)
/spawn Teleport to the Spawn setspawn.use
/setlobby Set the global Lobby (Hub) location setspawn.set (OP-only)
/lobby Teleport to the Lobby setspawn.use
/hub Alias for /lobby setspawn.use
/toggleautojoin Enable/disable auto-teleport on join setspawn.toggleautojoin (OP-only)
/spawnreload Reload config.yml at runtime setspawn.reload (OP-only)

🛠 Configuration

# Toggle auto-teleport to lobby on join
auto-teleport: true

# Cooldown (in seconds) between any teleport command
teleport-cooldown: 30

messages:
  spawn-name:     "Spawn"
  lobby-name:     "Lobby"
  spawn-set:      "&aSpawn location set."
  lobby-set:      "&aLobby location set."
  spawn-teleport: "&aTeleported to spawn."
  lobby-teleport: "&aTeleported to lobby."
  hub-teleport:   "&aTeleported to hub."
  cooldown:       "&cPlease wait {time} seconds."
  auto-on:        "&aAuto-teleport on join enabled."
  auto-off:       "&cAuto-teleport on join disabled."
  reload:         "&aConfiguration reloaded."

Ченджлог

1.2.0Релиз1.21.9, 1.21.10, 1.21.11 · 25 июня 2025 г.

Changelog

All notable changes to this project will be documented in this file.

[1.2.0] – 2025-06-25

Added

  • 🎛️ /spawnreload command to reload config.yml at runtime without restarting the server.
  • 🔄 Configurable reload message and sound via messages.reload and sounds.reload.

[1.1.0] – 2025-06-24

Added

  • ⚙️ Auto-Teleport on Join
    • Players are sent to the lobby on join by default.
    • /toggleautojoin to enable/disable auto-teleport.
  • ⏱️ Cooldown & Delay
    • Global per-player cooldown (teleport-cooldown in seconds) for /spawn, /lobby, and /hub.
  • 🔊 Configurable Messages & Sounds
    • All feedback text under messages.* in config.yml.
    • All sound effects under sounds.* in config.yml.
  • 🔗 /hub Alias for /lobby.

[1.0.0] – 2025-06-20

Added

  • 🔰 Basic Spawn & Lobby
    • /setspawn & /spawn
    • /setlobby & /lobby
  • 📦 Persists locations in config.yml.
  • 🎛️ Simple permissions:
    • setspawn.set for setting
    • setspawn.use for teleporting

Комментарии

Загружаем…