HLobbySpawn
一款轻量级、完全可配置的大厅出生点插件。通过 /setspawn 设置一次出生点,当玩家加入服务器、首次加入、重生或使用 /spawn 时,他们会被传送至该位置,并保持你保存时的精确朝向。
✨ 功能特性
- 传送出生点:支持首次加入、常规加入、重生和
/spawn 命令,每项均可独立开关并附带可选消息
- 欢迎消息:支持聊天栏、动作条(Actionbar)、标题+副标题、Boss 状态栏和音效,各项均可独立开关
- 独立的初次加入欢迎:以不同方式迎接新玩家与回归玩家
- 自定义加入/离开消息:可选配置,或选择完全隐藏
- 传送音效 和可配置的
/spawn 冷却时间
- 尊重床铺:可选择让拥有床或重生锚的玩家在这些地方重生
- 游戏内设置菜单:通过 GUI 使用
/hls menu 切换选项,设置会即时保存到配置文件中
- 安全的配置更新:更新时会添加新选项而不会触碰你现有的设置(首先会创建备份)
? 文本格式化
你可以在同一行中混合使用任何喜欢的格式:
- MiniMessage:
<red>、<#ff0000>、<gradient:#00c6ff:#0072ff>、<bold>、<click:...>、<hover:...>
- 传统代码:
&7、&l、&#ff0000
- PlaceholderAPI 占位符(可选)
内置占位符:{player}、{displayname}、{world}、{online}、{max_players}
?️ 兼容性
- Minecraft 1.8.8 → 26.3,每个版本提供单独的 jar 包
- Paper, Purpur, Leaf 及其他 Paper 分支
- Folia 和 CanvasMC:支持区域感知调度器和异步传送
- Spigot:完全支持,内置文本渲染器
- 如果某个版本缺少特定功能,则会安全跳过(例如 Boss 状态栏需要 1.9+,十六进制颜色需要 1.16+)
- 菜单使用现代材质名称,并在 1.8 – 1.12 版本上自动翻译
? 集成(全部可选)
- Nexo:在菜单中使用 Nexo 自定义物品,语法为
material: nexo-<id>
- PlaceholderAPI:在所有消息中使用占位符
? 菜单
菜单使用熟悉的 DeluxeMenus 格式:menu_title、size、items、slot/slots、display_name、lore、model_data、glow、item_flags 以及点击动作:
[player] [console] [message] [broadcast] [actionbar] [sound] [close] [refresh] [openguimenu] [toggle]
你可以在 menus/ 文件夹中创建自己的菜单。
⚡ 性能
专为大型服务器构建:
- 主线程不执行文件保存
- 在支持的平台上进行异步传送
- 读取设置时无需锁定
- 玩家离开时移除每个玩家的条目(无内存泄漏)
? 命令与权限
| 命令 |
权限 |
默认值 |
/setspawn |
hlobbyspawn.setspawn |
OP |
/delspawn |
hlobbyspawn.delspawn |
OP |
/spawn |
hlobbyspawn.spawn |
所有人 |
/spawn <player> |
hlobbyspawn.spawn.others |
OP |
/hls menu [name] |
hlobbyspawn.menu |
OP |
/hls reload |
hlobbyspawn.reload |
OP |
hlobbyspawn.spawn.bypasscooldown:跳过 /spawn 冷却时间
hlobbyspawn.admin:授予所有权限
别名:/hls、/lobbyspawn
? 文件
config.yml:传送、欢迎消息、加入/离开消息
messages.yml:所有命令消息
menus/:GUI 菜单
spawn.yml:你保存的出生点
HLobbySpawn
A lightweight, fully configurable lobby spawn plugin. Set your spawn once with /setspawn and every player is sent there, facing the exact direction you saved, when they join, join for the first time, respawn, or use /spawn.
✨ Features
- Spawn teleports: first join, join, respawn and
/spawn, each with its own toggle and optional message
- Welcome messages: chat, actionbar, title + subtitle, bossbar and sound, each one toggleable
- Separate first-join welcome: greet new players differently from returning ones
- Custom join/quit messages: optional, or hide them completely
- Teleport sound and a configurable /spawn cooldown
- Respect beds: optionally let players with a bed or respawn anchor respawn there
- In-game settings menu: toggle options from a GUI with
/hls menu, saved instantly to the config
- Safe config updates: new options are added on update without touching your existing settings (a backup is made first)
? Text formatting
Use any format you like, mixed in the same line:
- MiniMessage:
<red>, <#ff0000>, <gradient:#00c6ff:#0072ff>, <bold>, <click:...>, <hover:...>
- Legacy codes:
&7, &l, &#ff0000
- PlaceholderAPI placeholders (optional)
Built-in placeholders: {player}, {displayname}, {world}, {online}, {max_players}
?️ Compatibility
- Minecraft 1.8.8 → 26.3, one jar for every version
- Paper, Purpur, Leaf and other Paper forks
- Folia and CanvasMC: region-aware schedulers and async teleports
- Spigot: fully supported with a built-in text renderer
- Features a version doesn't have are skipped safely (bossbar needs 1.9+, hex colors 1.16+)
- Menus use modern material names and are translated automatically on 1.8 – 1.12
? Integrations (all optional)
- Nexo: use Nexo custom items in menus with
material: nexo-<id>
- PlaceholderAPI: placeholders in every message
? Menus
Menus use the familiar DeluxeMenus format: menu_title, size, items, slot/slots, display_name, lore, model_data, glow, item_flags and click actions:
[player] [console] [message] [broadcast] [actionbar] [sound] [close] [refresh] [openguimenu] [toggle]
You can create your own menus in the menus/ folder.
⚡ Performance
Built for large servers:
- No main-thread file saving
- Async teleports where supported
- Settings read without locking
- Every per-player entry is removed when the player leaves (no memory leaks)
? Commands & Permissions
| Command |
Permission |
Default |
/setspawn |
hlobbyspawn.setspawn |
OP |
/delspawn |
hlobbyspawn.delspawn |
OP |
/spawn |
hlobbyspawn.spawn |
Everyone |
/spawn <player> |
hlobbyspawn.spawn.others |
OP |
/hls menu [name] |
hlobbyspawn.menu |
OP |
/hls reload |
hlobbyspawn.reload |
OP |
hlobbyspawn.spawn.bypasscooldown: skip the /spawn cooldown
hlobbyspawn.admin: grants every permission
Aliases: /hls, /lobbyspawn
? Files
config.yml: teleports, welcome messages, join/quit messages
messages.yml: all command messages
menus/: GUI menus
spawn.yml: your saved spawn
评论 0
登录后参与评分
还没有评论,来抢沙发吧