跳到正文

Spawn Command

作者:uOrb

Teleport to spawn with the /spawn Command

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

SpawnCommand is a lightweight server‑side utility mod that adds a simple and reliable spawn system to your server.
Admins can set a global spawn point using /setspawn, and players can teleport to it using /spawn — but only after a short delay to prevent abuse.

✨ Features

/setspawn – Sets the global spawn location (requires permission level 4)

/spawn – Teleports the player to the set spawn point

⏳ 3‑second teleport delay

❌ Teleport cancellation when the player:

-moves

-takes damage

✔ Server‑side only – No client mod required

⚙ Configurable (delay duration, movement cancel, damage cancel)

/spawnconfig

🔧 How it works

When a player runs /spawn, a 3-second countdown begins.
If the player stays still and avoids damage, the teleport completes successfully.
If they move or take damage, the teleport is cancelled and a message is shown.

Everything can be configured:

{
  "teleport_delay": 3,
  "cancel_on_move": true,
  "cancel_on_damage": true,
  "spawn_point": {
    "dimension": "minecraft:overworld",
    "x": 0.0,
    "y": 120.0,
    "z": 0.0,
    "yaw": 0,
    "pitch": 90.0
  }
}

常见问题

Spawn Command 支持哪些 Minecraft 版本?

Spawn Command 支持 Minecraft Java 版 26.1.2,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Spawn Command 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

uOrb 的其他作品

查看全部 →