HomeJavaDatapacksRelay Challenge
Relay Challenge
DatapacksJava

Relay Challenge

A multiplayer relay survival datapack where one player plays while everyone else spectates. After a configurable timer expires, another player takes over.

⬇ Download on Modrinth
Relay Challenge — screenshot 1

English:

Relay Challenge

Relay Challenge turns a Minecraft survival world into a multiplayer relay adventure.

Only one participant—the Active Player—can play normally at a time. All other participants become spectators and follow the action. When the configurable timer reaches zero, another player is randomly selected to take over.

The relay continues until the Ender Dragon is defeated.

Features

Death Counter Sidebar

The sidebar displays every visible participant and their number of deaths during the current challenge.

[ACTIVE] Player1 (0)
[BACKUP] Player2 (1)
[BACKUP] Player3 (0)

Minecraft's sidebar can display a maximum of 15 entries, so only 15 participants can be shown at once.

Ender Dragon Celebration

When the Ender Dragon is defeated:

Installation

  1. Download the datapack ZIP file.
  2. Place it directly inside:
.minecraft/saves/<world>/datapacks
  1. Do not extract the ZIP.
  2. Enter the world and run:
/reload
  1. Verify the installation with:
/function relay:help

Quick Start

Add every online player to the challenge:

/function relay:player/join_all

Set each turn to 10 minutes:

/function relay:config/time {hours:0,minutes:10,seconds:0}

Set the maximum spectator distance to 64 blocks:

/function relay:config/distance {blocks:64}

Start the challenge:

/function relay:start

Administration Commands

/function relay:help
/function relay:start
/function relay:pause
/function relay:resume
/function relay:rotate
/function relay:stop
/function relay:status

Player Management

Add yourself:

/function relay:player/join

Add a specific player:

/execute as <player> run function relay:player/join

Add every online player:

/function relay:player/join_all

Remove yourself:

/function relay:player/leave

Remove a specific player:

/execute as <player> run function relay:player/leave

Clear the participant list:

/function relay:player/leave_all

The participant list can only be changed while the challenge is stopped.

Configuration

Turn Duration

/function relay:config/time {hours:1,minutes:30,seconds:0}

Valid values:

Spectator Distance

/function relay:config/distance {blocks:64}

Valid range: 1–100000 blocks.

Shared Inventory

Shared Inventory Mode is disabled by default.

Enable it with:

/function relay:config/inventory_on

Disable it with:

/function relay:config/inventory_off

When enabled, the outgoing player's inventory, hotbar, armor, and offhand item are transferred to the next Active Player.

Warning: Shared Inventory Mode overwrites the incoming player's existing items. Empty all participant inventories or create a world backup before enabling it.

Compatibility

Important Notes

中文版:

接力挑战

接力挑战将普通的 Minecraft 生存世界变成一场多人轮流游玩的接力冒险。

任何时候都只有一名参与者作为绿色标记的主体玩家正常游玩,其他参与者则成为观察者观看游戏。设定的倒计时结束后,数据包会随机选择下一名玩家接棒。

接力将持续进行,直到参与者击败末影龙。

主要功能

死亡统计侧边栏

侧边栏会显示当前可见的参与者,以及他们在本局挑战中的死亡次数。

【主体】玩家1 (0)
【替补】玩家2 (1)
【替补】玩家3 (0)

Minecraft 原版侧边栏最多显示 15 个记分项,因此同时最多显示 15 名参与者。

末影龙击杀庆祝

末影龙被击败后:

安装方法

  1. 下载数据包 ZIP 文件。
  2. 将 ZIP 直接放入:
.minecraft/saves/<世界名称>/datapacks
  1. 不要解压 ZIP。
  2. 进入世界并执行:
/reload
  1. 使用以下指令确认数据包已经加载:
/function relay:help

快速开始

将所有在线玩家加入候选名单:

/function relay:player/join_all

将每轮时间设置为 10 分钟:

/function relay:config/time {hours:0,minutes:10,seconds:0}

将观察者最大距离设置为 64 格:

/function relay:config/distance {blocks:64}

开始挑战:

/function relay:start

管理指令

/function relay:help
/function relay:start
/function relay:pause
/function relay:resume
/function relay:rotate
/function relay:stop
/function relay:status

各项指令用途:

玩家名单管理

让自己加入候选名单:

/function relay:player/join

添加指定玩家:

/execute as <玩家> run function relay:player/join

添加所有在线玩家:

/function relay:player/join_all

让自己退出候选名单:

/function relay:player/leave

移除指定玩家:

/execute as <玩家> run function relay:player/leave

清空候选名单:

/function relay:player/leave_all

只有在挑战停止时才能修改候选名单。

配置

设置每轮时间

/function relay:config/time {hours:1,minutes:30,seconds:0}

参数范围:

设置观察者最大距离

/function relay:config/distance {blocks:64}

有效范围为 1–100000 格。

观察者超过设定距离,或者与主体玩家处于不同维度时,会被自动传送回主体玩家附近。

共享背包

共享背包模式默认关闭。

开启共享背包:

/function relay:config/inventory_on

关闭共享背包:

/function relay:config/inventory_off

开启后,每次轮换都会将上一名主体玩家的主背包、快捷栏、装备和副手物品交给下一名主体玩家。

**警告:**共享背包模式会覆盖接棒玩家原来的物品。开启前请清空所有参与者的个人物品,或者备份世界。

玩家轮换规则

兼容性

注意事项

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more