Item Bingo 插件
免责声明
本插件基于 Spigot API 开发。详见 或 ,版权归属于 SpigotMC。本插件仅由我编写。
您可以自由使用或修改此插件,但我概不负责。更多信息,请参阅 LICENSE 文件或查看 GitHub 仓库的源代码。
这个插件是做什么的?
这是一个用于在您的 Spigot 服务器上玩宾果(Bingo)小游戏的插件。
宾果目标均为生存模式下可获取的原版物品。要标记某物品已被发现,您可以通过制作、拾取或在箱子中找到它来实现。第一个集齐一行、一列或对角线物品的队伍获胜!
有哪些不同类型的物品?
-
所有生存模式下可获取的原版物品都可能出现宾果卡上
-
创造模式物品(如刷怪蛋或命令方块)不会出现
-
与原版 Minecraft 不同,生物生成器(Spawners)和加固深板岩可以通过精准采集获取,它们也可能出现在宾果卡上
-
药水(普通、滞留、喷溅)以及带有所有可获取药水类型的不详箭矢
-
每种盔甲部件及其所有可能的盔甲纹饰变体;这些算作不同的物品,与普通无纹饰的盔甲区分开来
-
所有可附魔物品及其所有可能的附魔组合
-
不祥之瓶,不同等级视为不同物品,例如“灾厄 II”的不祥之瓶与“灾厄 V”的不祥之瓶是不同的
何时将物品视为与宾果卡上的物品相同?
-
忽略耐久度
-
忽略堆叠数量
-
该物品必须至少满足对应宾果卡上物品的所有属性
示例:如果卡上是一个具有荆棘 I 和保护 III 的钻石胸甲,那么一个具有荆棘 I、保护 III 和经验修补的钻石胸甲将被视为相同物品,而仅具有保护 III 的则不会。
可以自定义哪些物品出现在宾果卡上吗?
不可以,目前还不行。
游戏玩法
开始新游戏时有哪些选项?
-
宾果卡大小可以在 3x3 到 9x9 之间选择
-
队伍构成。您可以选择哪些玩家加入哪些队伍。没有预设的队伍规模。队伍大小不必相同。
-
每个队伍获得一个同步的背包库存,其大小可以是 9-54 个槽位。
-
选择所有队伍是否获得相同的宾果卡,或者每个队伍获得一张包含不同随机物品的独立卡片。后者意味着不同队伍有不同的物品收集目标。
-
是否为每位玩家提供一把附魔的下界合金镐
-
是否为每位玩家提供一个工作台(工作台无需放置,右键点击即可打开合成 GUI)
-
是否开启 keepInventory(死亡不掉落)
-
是否关闭饥饿值
游戏流程
-
设置队伍。
使用 /teams 命令完成。假设名为 "player1" 和 "player2" 的玩家加入队伍 1,"player3" 加入队伍 2。然后执行 /teams [player1,player2][player3]
-
开始游戏并选择设置。这通过 /start 命令完成。
参数 1:卡片大小 (3-9)
参数 2:背包库存行数 (1-6)
参数 3:不同队伍使用不同地图/卡片 (true/false)
参数 4:是否给予玩家镐子 (true/false)
参数 5:是否给予玩家工作台 (true/false)
参数 6:是否关闭饥饿值 (true/false)
参数 7:是否开启 keepInventory (true/false)
示例:/start 5 6 false true true true true。此游戏将拥有 5x5 的宾果卡,6 行的背包库存,所有队伍将获得相同的卡片和相同的物品目标,玩家将获得镐子和工作台,饥饿值已关闭且 keepInventory 已开启。
-
当以下条件满足之一时,游戏结束:
某支队伍集齐了一整行、一整列或对角线 OR
有人执行了 /cancel 命令
是否有办法保存设置或队伍信息?
没有。
在游戏开始后是否可以加入队伍?
不可以。
如果有人在游戏中途离开/断开连接怎么办?
插件会记住该玩家,并在其重新加入服务器后将其放回正确的队伍。
命令
/teams: 设置指定的队伍
/start: 以指定设置开始新游戏
/cancel: 取消当前正在运行的游戏
这些命令不需要任何权限,服务器上的任何人都可以执行它们,包括非管理员和不参与正在进行的游戏的玩家。
安装
- 下载插件 .jar 文件
- 将其放入您文件夹的 plugin 目录中
- 重启服务器或执行 /reload
Item Bingo Plugin
Disclaimer
Spigot API was used to make this. See or Copyright lies with SpigotMC. I only wrote this plugin.
You are free to use or modify this plugin however you want, however I won´t be responsible for anything. For more information, see LICENSE or the github repostiory at view source
What does this plugin do?
This is for playing a Bingo minigame on your Spigot server.
The Bingo goals are all vanilla items that are obtainable in survival mode. To mark an item as found, you either craft it, pick it up or find it in a chest. The first Team thal collects a full row, column or diagonal of items wins!
What kind of different items are there?
-
All vanilla items that are obtainable in survival mode can appear in the bingo card
-
Creative items like spawn eggs or command blocks don´t appear
-
Spawners and reinforced deepslate are made obtainable with silk touch contrary to vanilla mc. They can also appear on the bingo card
-
Potions (normal, lingering, splash) and tipped Arrows with all obtainable potion types
-
Each armor piece with every possible armor trim variation, these count as different items as the plain armor without trim
-
Each enchantable item with every possible combination of enchantments
-
Ominous bottles, different levels are treated as different items, e.g. an ominous bottle with bad omen 2 is not the same as one with bad omen 5
When does an item count as equal to an item on the bingo card?
Can you customize which items can appear on Bingo cards?
No, not yet.
Gameplay
What options do I have when starting a new game?
-
Bingo card size can be anywhere from 3x3 - 9x9
-
Team constellation. You choose which players go into which teams. There are no predefined team sizes. Teams don´t necessarily have to be the same size.
-
Each team gets a synchronized Backpack inventory, its size can be 9-54 slots.
-
Choose whether all teams get the same Bingo card, or each team gets a separate card with different, randomized items. Latter would mean that different teams have different item goals to collect.
-
Whether every player gets an enchanted netherite pickaxe
-
Whether every player gets a crafting table (the crafting table doesn´t need to be placed down, it opens a crafting gui on right click)
-
Whether keepInventory is turned on
-
Whether hunger is turned off
Game loop
-
Set teams.
This is done with the /teams command. Let´s say, players named "player1" and "player2" go into team 1, "player3" into team 2. Then do /teams [player1,player2][player3]
-
Start game and choose settings. This is done with the /start command.
Argument 1: card size (3-9)
Argument 2: backpack inventory rows (1-6)
Argument 3: different maps for different teams (true/false)
Argument 4: with pickaxes given to players (true/false)
Argument 5: with crafting tables given to players (true/false)
Argument 6: whether hunger is turned off (true/false)
Argument 7: whether keepInventory is turned on (true/false)
Example: /start 5 6 false true true true true. This game will have a 5x5 bingo card, a 6 row backpack inventory, every team will have the same card and the same item goals, players will be given pickaxes and crafting tables, hunger is turned off and keepInventory is on.
-
The game will finish when
A team has collected a full row, column or diagonal OR
someone performs the /cancel command
Is there a way to store settings or teams?
No.
Is it possible to join a team after a game was started?
No.
What if someone leaves/disconnects mid-game?
The plugin will remember this player and put it back in the right team once it rejoins the server.
Commands
/teams: Sets the specified teams
/start: starts a new game with specified settings
/cancel: cancels a currently running game
These commands to not require any permission, anyone on the server can execute them, including non-admins and players who don´t participate in a running game.
Installation
- download the plugin .jar file
- put it in the plugin directory of your folder
- restart the server or do /reload
评论 0
登录后参与评分
还没有评论,来抢沙发吧