BlockRacing
BlockRacing 内置支持 English 和 简体中文。也可以通过翻译提供的语言资源并导入翻译文件来添加其他语言。
BlockRacing 是一款适用于 Minecraft Paper 服务器的多人方块收集竞速小游戏。
玩家被分为两队,竞赛收集可配置的指定目标方块列表。率先完成所有目标的队伍获胜。
玩法
在游戏开始前,玩家可以按 Shift + F 打开准备菜单,以:
- 选择队伍
- 配置目标方块的数量
- 启用额外的方块池
- 选择游戏模式
- 启用极速模式
- 在所有在线玩家之间随机平衡分配到两个队伍
- 确认就绪并开始游戏
在游戏中,计分板会显示每支队伍当前的目标和即将出现的目标。玩家可以通过菜单访问队伍储物箱、传送到队友、重掷困难目标、创建传送点、购买定位指令以及其他队伍辅助功能。
游戏模式
普通模式
- 每支队伍获得不同的随机目标列表。
- 收集一个目标会给对手队伍 64 个该种方块。
- 奖励方块会被放置在对手队伍的共享箱子中。
此模式增加了两支队伍之间的互动,有助于双方继续推进进度。
竞速模式
- 两支队伍获得相同顺序的相同目标。
- 收集目标不会给对手队伍提供方块。
此模式在相同目标下提供更直接的竞速体验。
极速模式
极速模式可以与任意主游戏模式同时启用。
玩家会获得额外的初始装备和效果,包括:
- 精准采集的铁镐
- 熟牛肉
- 损坏的鞘翅
- 经验修补书
- 急迫 V
每个收集的方块价值 3 分而非 1 分。
特性
队伍辅助功能
- 可配置的队伍共享储物箱
- 队伍成员间传送
- 共享队伍传送点
- 生物群系与结构定位
- 目标方块重掷
- 随机传送
- 平衡的随机队伍分配
- 可购买的极速模式补给
可配置的方块池
BlockRacing 包含五个可编辑的方块池:
- 简单方块
- 中等方块
- 困难方块
- 染色方块
- 末地维度方块
可选的方块池可以在每局游戏前启用。随着游戏进程,不同难度的方块会使用动态生成权重,以防止困难目标过早出现。
玩家独立语言
每位玩家可以独立使用:
- English
- 简体中文
- 基于 Minecraft 客户端语言的自动检测
菜单、消息、标题、计分板、队伍前缀以及方块名称均会根据每位玩家选择的语言进行显示。
使用 /language 或 /lang 更改显示语言。
队伍聊天
在游戏进行中,普通聊天仅发送给玩家所在的队伍。
玩家可以使用以下方式向全局发送消息:
/shout <message>
/all <message>
@message
!message
恢复与世界重置
未完成的比赛会自动保存,包括:
- 队伍分数
- 当前目标
- 队伍储物箱
- 队伍传送点
- 游戏进度
如果服务器意外停止,当服务器再次启动时游戏将会恢复。
比赛结束后,玩家可以使用 /restartgame 进行投票。一旦通过,BlockRacing 将安全关闭服务器并记录重置请求。在下一次启动时,之前的世界会被移入带有日期的备份目录,然后由 Paper 生成新的世界。
要求
- Minecraft Java Edition 26.2
- Paper 26.2
- Java 25
BlockRacing 直接使用 Paper API,不支持 Spigot。
安装
- 安装 Paper 26.2 并使用 Java 25 运行。
- 下载 BlockRacing。
- 将插件 JAR 文件放入服务器的
plugins 目录。
- 启动服务器。
- 加入服务器并按 Shift + F 打开游戏菜单。
建议以下 server.properties 设置:
spawn-protection=0
pvp=false
level-seed=
- 禁用出生点保护允许玩家在 World Spawn 附近破坏方块。
- 禁用 PvP 使游戏专注于收集方块。
- 留空种子值允许每次批准的重置后生成不同的世界。
命令
| 命令 |
描述 |
/menu |
打开主游戏菜单 |
/menu chest [index] |
打开队伍储物箱菜单 |
/menu waypoints |
打开传送点菜单 |
/menu roll |
请求重掷目标 |
/menu locate |
购买定位权限 |
/menu randomTP |
执行随机传送 |
/language [auto|en_us|zh_cn] |
选择玩家的显示语言 |
/tp <player> |
传送到一名队友 |
/randomteam [confirm] |
请求或确认平衡的随机队伍 |
/shout <message> |
向所有玩家发送消息 |
/locatebiome <biome> |
在购买权限后定位生物群系 |
/locatestructure <structure> |
在购买权限后定位结构 |
/block <red|blue> <index> |
显示目标方块的完整信息 |
/waypoint remove <index> |
移除队伍传送点 |
/restartgame |
投票重置游戏和世界 |
BlockRacing 用其队友传送命令替换了 /tp。请使用 /teleport 或 /minecraft:tp 来使用 Minecraft 原始的传送命令。
配置
主要配置文件位于:
plugins/BlockRacing/
重要文件包括:
config.yml
lang.yml
EasyBlocks.txt
MediumBlocks.txt
HardBlocks.txt
DyedBlocks.txt
EndBlocks.txt
zh_cn.json
en_us.json
以下选项可以进行配置:
- 目标方块数量
- 启用的方块池
- 游戏模式
- 速度模式
- 每队共享箱子数量
- 每队共享传送点数量
- 每队最大重掷次数
大多数游戏设置应通过游戏内的准备菜单进行修改。
更新
仅替换插件 JAR 文件不会自动更新现有的配置文件和语言文件。
在更新之前:
- 备份
plugins/BlockRacing 目录。
- 如果旧生成的文件未被自定义,请删除它们;或者将自定义更改手动合并到最新的默认文件中。
- 不要仅修改旧配置文件中的版本号。
使用过期的配置文件或语言文件可能导致新的设置和消息不可用。
支持与源代码
许可证
BlockRacing 采用 GNU Affero General Public License v3.0 授权。
BlockRacing
BlockRacing includes built-in support for English and Simplified Chinese. Additional languages can also be added by translating the provided language resources and importing the translated files.
BlockRacing is a multiplayer block-collection racing minigame for Minecraft Paper servers.
Players are divided into two teams and race to collect a configurable list of target blocks. The first team to complete every target wins.
Gameplay
Before the game begins, players can open the preparation menu with Shift + F to:
- Choose a team
- Configure the number of target blocks
- Enable additional block pools
- Select the game mode
- Enable Speed Mode
- Randomly balance all online players between the two teams
- Confirm readiness and start the game
During the game, each team's current and upcoming targets are displayed on the scoreboard. Players can access team storage, teleport to teammates, reroll difficult targets, create waypoints, purchase locate commands, and use other team utilities through the menu.
Game Modes
Normal Mode
- Each team receives a different random target list.
- Collecting a target gives the opposing team 64 of that block.
- Reward blocks are placed in the opposing team's shared chests.
This mode creates additional interaction between the two teams and can help both teams continue progressing.
Racing Mode
- Both teams receive the same targets in the same order.
- Collecting a target does not give blocks to the opposing team.
This mode provides a more direct race under identical objectives.
Speed Mode
Speed Mode can be enabled together with either main game mode.
Players receive additional starting equipment and effects, including:
- Silk Touch iron pickaxe
- Cooked beef
- Damaged elytra
- Mending book
- Haste V
Each collected block is worth 3 points instead of 1.
Features
Team Utilities
- Configurable shared team chests
- Teleportation between teammates
- Shared team waypoints
- Biome and structure locating
- Target block rerolls
- Random teleportation
- Balanced random team assignment
- Purchasable Speed Mode supplies
Configurable Block Pools
BlockRacing includes five editable block pools:
- Easy blocks
- Medium blocks
- Hard blocks
- Dyed blocks
- End dimension blocks
Optional pools can be enabled before each game. Different block difficulties use dynamic generation weights as the game progresses, helping prevent difficult targets from appearing too early.
Per-Player Languages
Every player can independently use:
- English
- Simplified Chinese
- Automatic language detection based on the Minecraft client language
Menus, messages, titles, scoreboards, team prefixes, and block names are displayed using each player's selected language.
Use /language or /lang to change the display language.
Team Chat
While a game is active, normal chat is sent only to the player's team.
Players can communicate globally using:
/shout <message>
/all <message>
@message
!message
Recovery and World Reset
Unfinished games are automatically saved, including:
- Team scores
- Current targets
- Team storage
- Team waypoints
- Game progress
If the server stops unexpectedly, the game is restored when the server starts again.
After a completed game, players can vote with /restartgame. Once approved, BlockRacing safely shuts down the server and records a reset request. On the next startup, the previous worlds are moved into a dated backup directory before Paper generates new worlds.
Requirements
- Minecraft Java Edition 26.2
- Paper 26.2
- Java 25
BlockRacing directly uses Paper APIs and does not support Spigot.
Installation
- Install Paper 26.2 and run it with Java 25.
- Download BlockRacing.
- Place the plugin JAR in the server's
plugins directory.
- Start the server.
- Join the server and press Shift + F to open the game menu.
The following server.properties settings are recommended:
spawn-protection=0
pvp=false
level-seed=
- Disabling spawn protection allows players to break blocks near the world spawn.
- Disabling PvP keeps the game focused on collecting blocks.
- Leaving the seed empty allows a different world to be generated after each approved reset.
Commands
| Command |
Description |
/menu |
Open the main game menu |
/menu chest [index] |
Open the team chest menu |
/menu waypoints |
Open the waypoint menu |
/menu roll |
Request a target reroll |
/menu locate |
Purchase locate permission |
/menu randomTP |
Perform a random teleport |
/language [auto|en_us|zh_cn] |
Select the player's display language |
/tp <player> |
Teleport to a teammate |
/randomteam [confirm] |
Request or confirm balanced random teams |
/shout <message> |
Send a message to every player |
/locatebiome <biome> |
Locate a biome after purchasing permission |
/locatestructure <structure> |
Locate a structure after purchasing permission |
/block <red|blue> <index> |
Display complete information about a target block |
/waypoint remove <index> |
Remove a team waypoint |
/restartgame |
Vote to reset the game and worlds |
BlockRacing replaces /tp with its teammate teleport command. Use /teleport or /minecraft:tp for Minecraft's original teleport command.
Configuration
The primary configuration files are located in:
plugins/BlockRacing/
Important files include:
config.yml
lang.yml
EasyBlocks.txt
MediumBlocks.txt
HardBlocks.txt
DyedBlocks.txt
EndBlocks.txt
zh_cn.json
en_us.json
The following options can be configured:
- Target block quantity
- Enabled block pools
- Game mode
- Speed Mode
- Number of shared chests per team
- Number of shared waypoints per team
- Maximum rerolls per team
Most game settings should be changed through the in-game preparation menu.
Updating
Replacing only the plugin JAR does not automatically update existing configuration and language files.
Before updating:
- Back up the
plugins/BlockRacing directory.
- Delete the old generated files if they have not been customized, or manually merge custom changes into the latest default files.
- Do not update only the version number inside an old configuration file.
Using outdated configuration or language files may cause new settings and messages to be unavailable.
Support and Source Code
License
BlockRacing is licensed under the GNU Affero General Public License v3.0.
评论 0
登录后参与评分
还没有评论,来抢沙发吧