QuadWars 是一款插件,允许四个队伍在 Minecraft 世界中展开竞争。每个队伍获得世界的一个象限用于建造和收集资源,期间不会受到干扰;当战斗开始时,他们可以在自己精心准备的区域发起攻击。
特性
独立的队伍世界边界

在准备阶段,每个队伍都拥有独立的世界边界。这防止了队伍之间的相互干扰:飞行机器无法跨越边界移动,炮台不能远程击杀玩家,而试图超出世界边界的行为将导致伤害,且距离越远伤害越高。
自助式队伍选择
→ 
不想花时间分配玩家到各个队伍?玩家可以使用 /jointeam 命令自行加入队伍。如果希望由管理员(op)来分配队伍,也可以通过拒绝相应权限来实现。
目标灵活性
默认情况下,插件配置会假设你的战斗目标是“最后存活的队伍”模式并开启硬核模式,但这并非强制要求。如果你希望进行夺旗或其他不需要硬核模式的玩法,可以将其关闭。
阶段

该插件包含三个主要阶段:
-
预游戏阶段:允许玩家选择队伍或由管理员分配玩家到各队。这也给予管理员足够的时间来准备游戏世界(如有需要)。
-
准备阶段:将各队伍送入各自的象限,在其中探索、建造、收集资源以及执行游戏允许的任何其他操作。插件会为每个队伍创建一个世界边界,确保他们留在自己的象限内。此阶段的持续时间由你决定,若你想玩一天内的游戏,可设为数小时;若想玩长期游戏,则可设为数周。
-
战斗阶段:各队伍在此阶段互相交战。插件禁用各队的独立世界边界,并启用 PvP 和硬核模式。队伍可以进入彼此的象限,攻击对方的基地和玩家。当只剩一支队伍存活时,游戏结束。
集成
- Floodgate: QuadWars 将利用 Bedrock 的表单功能,在未加入队伍时向玩家展示队伍选择界面。无需使用游戏手柄输入!
- Apollo (Lunar Client): 如果您已安装 Apollo,QuadWars 可以利用 Lunar Client 提供的部分额外功能。Lunar Client 允许服务器同时渲染多个世界边界,这意味着 QuadWars 可以渲染所有四个队伍的边界,而不仅仅是您自己队伍的边界。此外,QuadWars 还会让 Lunar Client 在战斗阶段显示登出警告。
- 任何使用计分板队伍(Scoreboard Teams)的功能: QuadWars 使用了 原版的队伍系统,因此任何其他能够读取计分板队伍的功能都能与 QuadWars 兼容。
管理员用法
权限
插件的管理功能由 quadwars.gamemaster 权限控制。该权限可访问所有管理命令。插件提供的玩家命令 /jointeam 受 quadwars.player.jointeam 权限限制,默认情况下该权限已授予。
管理命令
/qwtransition [<time>]
此命令将游戏推进到下一个阶段。您可以指定一个秒数,等待相应时间后再进行阶段转换。
/qwsetphase <phase>
此命令将游戏设置为特定阶段。阶段可以是 PREGAME、PREP、BATTLE 或 POST_GAME。
/worldborder
QuadWars 覆盖了内置的 /worldborder 命令,因为它与准备阶段中用于玩家的世界边界存在冲突。用法与原版命令几乎完全相同,但 QuadWars 版本会在维度间同步,并考虑坐标缩放因素。
如果您试图在准备阶段设置世界边界,请更改配置选项 worldBorderSize 并重启服务器。
/qwgetphase
此命令获取插件设置的当前游戏阶段。
有用的原版命令
/team
此命令允许管理员管理队伍。请参阅 Minecraft Wiki 了解用法。
请勿使用添加或移除队伍的命令,否则会导致插件故障。 移除不受插件管理的队伍是可以的,也是被鼓励的,因为 Minecraft 只允许实体属于一个队伍。
如果在准备阶段更改玩家的队伍,请先将其传送至大厅世界,更改其队伍,然后再将其传送到新队伍的象限。否则,当您更改其队伍时,玩家将开始受到世界边界的伤害。
解决僵局的建议
如果您进入战斗阶段并发现耗时过长,以下是一些建议,旨在促使各队伍采取行动:
使用发光效果
如果队伍难以找到彼此,你可以使用发光效果让玩家更加显眼。玩家的肤色还会根据配置中设定的队伍颜色进行着色。要启用此功能,请运行 /effect give @a minecraft:glowing <time>,其中 time 是你希望效果持续的时间,或者输入 infinite 使其在整个游戏过程中一直生效。
制作一个奖励宝箱
如果你希望给玩家一个移动的理由,可以创建一个包含贵重物品的奖励宝箱,并将位置告知所有玩家。这可能会鼓励玩家前往该地点并争夺宝箱内的物品。
使用世界边界
一旦进入战斗模式,插件会解锁其 /worldborder 命令。这是原版命令的一个重新实现,但具有跨维度同步的优势。你主要可以使用 /worldborder set <size> <time> 或 /worldborder add -<size> <time>。在执行此操作时,请使用计算器确保你不会超过 5.612 m/s 的速度。这是玩家的最大疾跑速度,如果超过这个速度,你会“虐杀”你的玩家。
使用散开玩家
如果你希望强制所有人移动,可以使用 /spreadplayers 命令,通过 spreadplayers <center> <spreadDistance> <maxRange> true @a 将队伍移动到指定半径内的随机位置。
玩家须知
- 玩家可以使用原版的
/teammsg(别名 /tm)命令仅向自己的队伍发送消息。
- 避免在世界边界内侧边缘附近建造下界传送门。游戏可能会将目的地传送门放置在团队的世界边界之外,从而导致一种潜在的致命情况,即几乎不可能取回你的物品。
- 原版允许玩家在饮用隐身药水时看到队友,并防止友军伤害。
- 玩家可以使用
/jointeam 加入队伍。使用 Floodgate+Geyser 连接的玩家将会收到弹出窗口以选择队伍。一旦选择了队伍,他们无法自行更改。
兼容性
QuadWars 专为 Minecraft: Java Edition 构建,运行于 Paper 或其分支之上。Paper 的上游版本(Bukkit 和 Spigot)将 不 兼容,因为此插件使用了 Paper 提供的扩展 API。
QuadWars 应与任何同样利用 Scoreboard Team API 的插件良好集成,只要它们不创建新队伍即可。Minecraft 只允许实体属于一个队伍,因此任何其他向队伍添加实体的插件将无法与 QuadWars 配合使用。
bStats
此插件使用了 bStats,这是大多数插件和服务器软件使用的通用服务,用于跟踪基本统计数据。你可以通过编辑服务器首次启动时生成的 plugins/bStats/config.yml 文件,为所有插件和你的服务器软件选择退出 bStats。
QuadWars is a plugin allowing four teams to compete in a Minecraft world. Each team gets a
quadrant of the world to build and gather resources in undisturbed, and when it's time for
battle can attack in the world they have been preparing.
Features
Separate Team World Borders

Each team gets their own world border during the prep phase. This keeps teams from interfering with
each other: flying machines won't travel across, cannons can't remotely kill players, and
attempting to stray outside the world border will result in damage that increases as you get
further out.
Self-Service Team Selection
→ 
Don't want to spend time assigning players to teams? Players can join a team themselves using the
/jointeam command. The option to have teams assigned by an op is available too by denying a
permission.
Goal Flexibility
By default, the plugin config will assume that for your battle you will want to do a last team
standing game and switch on hardcore, but it's not required. If you want to do capture the flag
or another style of event that doesn't need hardcore, you can turn it off.
Phases

The plugin has three main phases:
-
The pregame phase allows players to pick out teams or an op to assign players to teams. It also
gives the op time to prepare the game worlds if needed.
-
The prep phase sends teams into their quadrants, where they can explore, build, gather resources,
and do anything else the game lets them. The plugin creates a world border for each team to keep
them inside their quadrant. The length of this is up to you, it can be hours if you want a
one-day game or weeks if you want a long-term game.
-
The battle phase is where the teams fight each other. The plugin disables its per team world
borders, and enables PvP and hardcore. Teams can attack enter each other's quadrants and attack
their bases and players. The game ends when only one team is left.
Integrations
- Floodgate: QuadWars will utilize Bedrock's forms feature to show players a team selection UI
if they do not already have a team. No need to type on a gamepad!
- Apollo (Lunar Client): If you have Apollo
installed, QuadWars can utilize some of the extra features available in Lunar Client. Lunar
allows servers to render more than one world border at a time, meaning QuadWars can render all
four team borders, instead of just the one for your own team. QuadWars will also have Lunar
show a logout warning during the battle phase.
- Anything using Scoreboard Teams: QuadWars
uses Vanilla's Teams, meaning anything else that
can read Scoreboard Teams will work with QuadWars.
Admin Usage
Permissions
Admin functions of the plugin are gated by quadwars.gamemaster. This gives access to all admin
commands. The player command provided by the plugin, /jointeam, is gated by
quadwars.player.jointeam, which is granted by default.
Admin Commands
/qwtransition [<time>]
This moves the game to the next phase. You can specify a number of seconds to wait before transitioning.
/qwsetphase <phase>
This sets the game to a specific phase. The phase can be PREGAME, PREP, BATTLE,
or POST_GAME.
/worldborder
QuadWars overrides the built in /worldborder command, because it conflicts with the world
borders used for players during the prep phase. Usage is nearly identical to the vanilla
command,
but the QuadWars version will sync across dimensions and take coordinate scaling into account.
If you are trying to set the world border during the prep phase, change the config option
worldBorderSize, and restart the server.
/qwgetphase
This gets the current phase of the game the plugin has set.
Useful Vanilla Commands
/team
This allows admin management of
teams. See the Minecraft wiki for usage.
Do not use
the add or remove commands, they will break the plugin. Removing a team not managed by the
plugin is ok and encouraged, since Minecraft only allows entities to be in one team.
If changing a player's team during the prep phase, teleport them to the lobby world first,
change their team, and then teleport them to the new team's quadrant. If you don't, the player
will start taking world border damage when you change their team.
Suggestions for resolving a stalemate
If you get to the battle phase and decide it is taking too long, here are some recommendations
to encourage teams to make a move:
Use the glowing effect
If teams are having trouble finding each other, you can use the glowing effect to make players
much more visible. Players will even be colored with their team color set in the config. To do
this, run /effect give @a minecraft:glowing <time>, where time is how long you want the effect
to last, or infinite if you want it to last for the rest of the game.
Make a bonus chest
If you want to give players a reason to move, you can create a bonus chest with valuable items
and give out the location to everyone. This may encourage players to move to the location and
fight for the chest's content.
Use the world border
Once you are in battle mode, the plugin unlocks its /worldborder command. It is a
reimplementation of the vanilla one, but has the advantage of being synced across dimensions.
You mainly would want to use /worldborder set <size> <time> or /worldborder add -<size> <time>. When doing this, use a
calculator to make sure you don't exceed a velocity of 5.612 m/s. This is the maximum sprint
speed of a player, and you will butcher your players if you exceed it.
Use spread players
If you want to force everyone to move, you can use
the /spreadplayers command to move teams
to a random spot within a certain radius using
spreadplayers <center> <spreadDistance> <maxRange> true @a.
Things players should know
- Players can send messages to just their team using Vanilla's
/teammsg (aliased to /tm)
command.
- Avoid building nether portals near the inner edges of the world border. It is possible for the
game to place the destination portal outside the team's world border, causing a potentially
deadly scenario where getting your items back can be near impossible.
- Vanilla allows players to see their teammates when using invisibility potions and prevents
friendly fire.
- Players can join a team using
/jointeam. Players connected using Floodgate+Geyser will get a
popup to select a team. Once a team is selected, they can not change it themselves.
Compatibility
QuadWars was built for Minecraft: Java Edition, running Paper or one of its
forks. Upstreams of Paper (Bukkit & Spigot) will not work, as this
plugin utilizes the expanded API provided by Paper.
QuadWars should integrate well with any plugin that also utilizes the Scoreboard Team API, as
long as none of them create new teams. Minecraft only allows entities to be in one team,
so any other plugin that adds entities to a team will not work with QuadWars.
bStats
This plugin uses bStats, the common service used by most plugins and server
software, to keep track of basic stats. You can opt out of bStats for all plugins and your server
software by editing the plugins/bStats/config.yml file that is generated on the server's first
launch.
评论 0
登录后参与评分
还没有评论,来抢沙发吧