FirstJoinSpawn
FirstJoinSpawn 是一款轻量级的 Paper 插件,仅在玩家首次加入时将传送至自定义出生点。
它适用于希望新玩家在开始正常游戏前,先在大厅、教程区、规则室、欢迎区或起始岛屿等区域开始的服务器。
功能特性
- 在首次加入时将玩家传送到自定义出生点
- 每位玩家仅触发一次首次加入传送
- 通过简单命令设置出生点位置
- 玩家每次加入时不会被传送回大厅
- 可选的
/spawn 命令用于手动传送
- 可配置的消息与前缀
- 已加入玩家数据存储
- 管理员命令:重载、信息、重置单个玩家数据、重置所有数据
- 安全位置检测
- 轻量且简洁
- 专为现代 Paper 服务器构建
重要重生行为说明
FirstJoinSpawn 的设计仅影响首次加入行为。
默认情况下,该插件不会在玩家死亡后强制将其传送至大厅。
这意味着正常的 Minecraft 重生行为得以保留:
- 床正常工作
- 重生锚正常工作
- 其他重生类插件仍可正常运行
- 玩家死亡后不会被强制传送至首次加入出生点
若服务器所有者希望自定义死亡重生行为,可在配置文件中启用相关选项。
命令
玩家命令
| 命令 |
描述 |
/spawn |
将玩家传送到配置的出生点位置 |
管理员命令
| 命令 |
描述 |
/fjspawn help |
显示命令帮助菜单 |
/fjspawn set |
将当前所在位置设置为 FirstJoinSpawn 的出生点 |
/fjspawn unset |
移除已保存的出生点位置 |
/fjspawn reload |
重载插件配置与数据 |
/fjspawn info |
显示插件信息、出生点状态及已加入玩家数量 |
/fjspawn resetplayer <playerNameOrUUID> |
从已加入数据中移除一名玩家 |
/fjspawn resetall confirm |
清除所有已加入玩家数据 |
权限
| 权限节点 |
描述 |
默认值 |
firstjoinspawn.admin |
允许访问所有管理员命令 |
OP(操作者) |
firstjoinspawn.spawn |
允许玩家使用 /spawn 命令 |
所有人 |
配置文件
插件包含一个简单且易于编辑的配置文件。
你可以自定义以下内容:
- 出生点位置
- 首次加入传送行为
- 插件消息
- 消息前缀
- 重生行为
- 安全位置检测
重生配置示例:
respawn:
enabled: false
mode: "FALLBACK_ONLY"
FirstJoinSpawn
FirstJoinSpawn is a lightweight Paper plugin that teleports players to a custom spawn location only on their first join.
It is useful for servers that want new players to start in a lobby, tutorial area, rules room, welcome zone, or starter island before they begin playing normally.
Features
- Teleport players to a custom spawn on first join
- First join teleport happens only once per player
- Set the spawn location using a simple command
- Players are not sent back to the lobby every time they join
- Optional
/spawn command for manual teleporting
- Configurable messages and prefix
- Joined player data storage
- Admin commands for reload, info, reset player, and reset all
- Safe location checks
- Lightweight and simple
- Built for modern Paper servers
Important Respawn Behavior
FirstJoinSpawn is designed to affect only the first join.
By default, the plugin does not force players to the lobby after death.
This means normal Minecraft respawn behavior is respected:
- Beds work normally
- Respawn anchors work normally
- Other respawn plugins can still work
- Players are not forced to the first join spawn after death
For server owners who want custom death respawn behavior, it can be enabled in the config.
Commands
Player Commands
| Command |
Description |
/spawn |
Teleports the player to the configured spawn location |
Admin Commands
| Command |
Description |
/fjspawn help |
Shows the command help menu |
/fjspawn set |
Sets the FirstJoinSpawn location to your current position |
/fjspawn unset |
Removes the saved spawn location |
/fjspawn reload |
Reloads the plugin configuration and data |
/fjspawn info |
Shows plugin information, spawn status, and joined player count |
/fjspawn resetplayer <playerNameOrUUID> |
Removes one player from joined data |
/fjspawn resetall confirm |
Clears all joined player data |
Permissions
| Permission |
Description |
Default |
firstjoinspawn.admin |
Allows access to all admin commands |
OP |
firstjoinspawn.spawn |
Allows players to use /spawn |
Everyone |
Configuration
The plugin includes a simple and easy-to-edit config file.
You can customize:
- Spawn location
- First join teleport behavior
- Plugin messages
- Message prefix
- Respawn behavior
- Safe location checks
Example respawn config:
respawn:
enabled: false
mode: "FALLBACK_ONLY"
评论 0
登录后参与评分
还没有评论,来抢沙发吧