本模组是对我旧作 Border like Battle Royale 的重构与再创作。
FlexBorder 提供了一个完全由服务器控制的矩形世界边界,并内置了大逃杀比赛系统,包含开发阶段、缩圈、玩家淘汰、观赛支持以及可选的 Xaero's World Map 集成。
本模组新增内容
FlexBorder 用可配置的矩形安全区取代了传统的方形世界边界玩法,该安全区可以随时间移动和缩小。
该模组既可以用作简单的自定义世界边界,也可以作为完整的大逃杀控制器。
默认情况下,边界覆盖一个 2000×2000 的区域:
X: -1000 至 1000
Z: -1000 至 1000
管理员可以随时更改此设置。
功能特性
- 非对称矩形世界边界,支持独立的 X/Z 坐标
- 平滑的边界缩小与重新定位
- 预生成的缩圈阶段,提前规划未来的安全区
- 当玩家略微处于边界外时,会被柔和地推回安全区
- 当玩家过于远离边界时触发救援传送
- 在救援传送后提供临时的摔落伤害保护
- 可在永久淘汰开始前配置开发阶段
- 在开发阶段死亡会减少最大生命值,类似于 Mediumcore
- 开发阶段结束后自动过渡到硬核模式
- 在硬核模式下死亡会自动将玩家从比赛中淘汰
- 自动检测获胜者并完成比赛
- 比赛开始时自动将玩家随机分散到安全位置
- 比赛开始前设有准备就绪检查系统
- 玩家被分散前会有全屏倒计时
- 使用 Minecraft 原生的观赛界面实现内置观赛支持
- 比赛和边界状态随世界持久化保存
- 玩家加入或切换维度时自动同步
- 支持按维度存储边界数据
- 自动处理当前及即将到来的安全区
大逃杀比赛流程
FlexBorder 可以自动控制整个比赛流程。
管理员通过一条命令即可配置并开始比赛。
当前维度内所有符合条件的玩家会自动注册为参赛者。
玩家在聊天栏中会收到一个可点击的 READY(准备就绪)按钮,而无需手动输入指令。
一旦所有参赛者都准备就绪,便会开始全屏倒计时:
5
4
3
2
1
0
随后玩家会被传送到边界内的随机安全位置,并开始进入开发阶段。
在开发阶段期间:
- 边界保持稳定
- 玩家可以复活
- 每次死亡都会降低其最大生命值
- 最大生命值最低不可低于 1 HP
开发阶段结束后,正式进入硬核模式。
在硬核模式期间:
- 死亡会导致玩家永久被淘汰出比赛
- 被淘汰的玩家变为观赛者
- 观赛者可以使用 Minecraft 的观赛快捷栏选择并跟随剩余玩家
- 安全区继续按计划进行缩圈阶段
- 最后存活的参与者将被自动宣布为获胜者
也支持单人比赛,允许仅使用一名玩家来测试完整的比赛系统。
区域系统
大逃杀的缩圈基于预设的区域阶段。
每个即将到来的安全区都在前一个区域内部生成,这意味着在当前缩圈阶段开始之前,下一个区域的位置就已确定。
一场比赛的流程大致如下:
当前区域
↓
暂停 / 预览下一区域
↓
平滑缩小
↓
新的当前区域
↓
下一阶段
这使得玩家和地图集成能够准确显示下一个安全区的位置。
边界可以同时缩小和重新定位,而不总是向中心收缩。
Xaero's World Map 集成
FlexBorder 包含对 Xaero's World Map 的可选集成。
使用 FlexBorder 不需要安装 Xaero's World Map。
如果客户端安装了 Xaero's World Map,FlexBorder 会自动启用额外的地图渲染功能。
地图将显示:
这使得玩家可以同时看到边界当前位置以及它在下一个缩圈阶段将要移动到的位置。
无需单独的兼容插件。
边界行为
略微处于边界外的玩家会被柔和地推回安全区,而不是立即受到伤害。
过于远离边界的玩家会触发救援系统:
- 玩家屏幕变暗
- 计算边界附近的一个安全位置
- 玩家将传送回可玩区域附近
- 施加一个微小的向内推力
由于边界周围的地形可能包括洞穴、悬崖或地下区域,玩家在救援传送后会获得临时的摔落伤害保护。此保护仅适用于救援后立即发生的摔落伤害,并不会禁用游戏中的正常摔落伤害。
命令
FlexBorder 有意保持管理简单化。
/flexborder start <developmentTime> <shrinkDistance> <shrinkTime> <pauseTime> <minSize>
配置并准备一场大逃杀比赛。
示例:
/flexborder start 600 200 60 120 20
此示例创建:
- 600 秒的开发阶段
- 每阶段缩小 200 格
- 60 秒的缩圈时间
- 缩圈阶段之间间隔 120 秒
- 最终区域最小尺寸为 20 格
执行命令后,玩家会收到 READY 提示。
当所有人都准备就绪后,比赛将自动开始。
/flexborder border <x1> <z1> <x2> <z2>
更改主要可玩边界。
示例:
/flexborder border -1500 -1000 1500 1000
边界不必是正方形。
/flexborder status
显示当前的比赛和边界状态。
/flexborder stop
停止当前比赛并重置比赛相关状态。
权限
所有 /flexborder 管理命令都需要操作员权限。
普通玩家无法访问比赛配置、边界控制或管理命令。
玩家与比赛的互动通过就绪提示和 Minecraft 内置的旁观者界面自动处理。
使用场景
- 大逃杀服务器
- 极限生存活动
- PvP 锦标赛
- 动态缩小的竞技场
- 包含探索阶段的生存活动
- 自定义多人小游戏
- 可游玩区域不断缩小的 RPG 或冒险地图
This mod is a reimagining of my old mod Border like Battle Royale.
FlexBorder provides a fully server-controlled rectangular world border and a built-in Battle Royale match system with development, shrinking zones, player elimination, spectator support, and optional Xaero's World Map integration.
What This Mod Adds
FlexBorder replaces the traditional square world-border gameplay with a configurable rectangular safe zone that can move and shrink over time.
The mod can be used as a simple custom world border or as a complete Battle Royale controller.
By default, the border covers a 2000×2000 area:
X: -1000 to 1000
Z: -1000 to 1000
Admins can change it at any time.
Features
- Asymmetric rectangular world border with independent X/Z coordinates
- Smooth border shrinking and repositioning
- Pre-generated shrinking phases with planned future safe zones
- Soft pushing toward the safe zone when slightly outside the border
- Rescue teleportation when a player gets too far outside the border
- Temporary fall-damage protection after border rescue teleports
- Configurable development phase before permanent elimination begins
- Max-health penalty on death during development, similar to Mediumcore
- Automatic transition from development into Hardcore mode
- Automatic player elimination after death during Hardcore
- Automatic winner detection and match completion
- Automatic safe random player scattering when the match starts
- Ready-check system before the match begins
- Full-screen countdown before players are scattered
- Built-in spectator support using Minecraft's spectator interface
- Persistent match and border state saved with the world
- Automatic synchronization when players join or change dimensions
- Per-dimension border data
- Automatic handling of current and upcoming safe zones
Battle Royale Match Flow
FlexBorder can control the entire match automatically.
An admin configures and starts the match using one command.
All eligible players in the current dimension are automatically registered as participants.
Players receive a clickable READY button in chat instead of having to enter commands themselves.
Once every participant is ready, a full-screen countdown begins:
5
4
3
2
1
0
Players are then teleported to random safe locations inside the border and the development phase begins.
During development:
- The border remains stable
- Players can respawn
- Each death reduces their maximum health
- Maximum health cannot be reduced below 1 HP
When development ends, Hardcore mode begins.
During Hardcore:
- Death permanently eliminates the player from the match
- Eliminated players become spectators
- Spectators can use Minecraft's spectator hotbar to select and follow remaining players
- The safe zone continues progressing through its planned shrinking phases
- The last surviving participant is automatically declared the winner
Solo matches are also supported, allowing the complete match system to be tested with only one player.
Zone System
Battle Royale shrinking is based on planned zone phases.
Each upcoming safe zone is generated inside the previous one, meaning the next zone is known before the current shrinking phase begins.
A match follows a flow similar to:
Current Zone
↓
Pause / Next Zone Preview
↓
Smooth Shrinking
↓
New Current Zone
↓
Next Phase
This allows both players and map integrations to display exactly where the next safe zone will be.
The border can shrink and reposition at the same time instead of always collapsing toward the center.
Xaero's World Map Integration
FlexBorder includes optional integration with Xaero's World Map.
Xaero's World Map is not required to use FlexBorder.
If Xaero's World Map is installed on the client, FlexBorder automatically enables additional map rendering.
The map displays:
- The current active safe zone
- The next planned safe zone
This makes it possible to see both where the border currently is and where it will move during the next shrinking phase.
No separate compatibility addon is required.
Border Behavior
Players slightly outside the border are smoothly pushed back toward the safe zone instead of immediately taking damage.
Players who get too far outside trigger the rescue system:
- The player's screen is darkened
- A safe position near the border is calculated
- The player is teleported back toward the playable area
- A small inward impulse is applied
Because terrain around the border can include caves, cliffs, or underground areas, players receive temporary fall-damage protection after a rescue teleport. This protection only applies to fall damage caused immediately after the rescue and does not disable normal fall damage during gameplay.
Commands
FlexBorder intentionally keeps administration simple.
/flexborder start <developmentTime> <shrinkDistance> <shrinkTime> <pauseTime> <minSize>
Configure and prepare a Battle Royale match.
Example:
/flexborder start 600 200 60 120 20
This example creates:
- 600 seconds of development
- 200 blocks of size reduction per phase
- 60 seconds of shrinking
- 120 seconds between shrinking phases
- 20 blocks as the minimum final zone size
After the command is executed, players receive the READY prompt.
The match starts automatically once everyone is ready.
/flexborder border <x1> <z1> <x2> <z2>
Change the main playable border.
Example:
/flexborder border -1500 -1000 1500 1000
The border does not need to be square.
/flexborder status
Display the current match and border state.
/flexborder stop
Stop the current match and reset match-related state.
Permissions
All /flexborder administration commands require operator permissions.
Regular players cannot access match configuration, border controls, or administrative commands.
Player interaction with the match is handled automatically through the ready prompt and Minecraft's built-in spectator interface.
Use Cases
- Battle Royale servers
- Hardcore survival events
- PvP tournaments
- Dynamic shrinking arenas
- Survival events with an exploration phase
- Custom multiplayer minigames
- RPG or adventure maps with collapsing playable areas
评论 0
登录后参与评分
还没有评论,来抢沙发吧