将自动化的大富翁银行功能集成到游戏中。
功能(即将推出重大更新,支持并行游戏)
- 使用
chest(箱子)、barrel(木桶)或任意 shulker_box(潜影盒)作为大富翁银行,用于存放和取出游戏物品
- 支持美国、英国和俄罗斯的游戏本地化
- 通过记分板追踪玩家余额
- 机会 和 公共基金 卡牌的随机抽取
- 使用
sea_pickles(海泡菜)实现 房屋(单个方块上最多可放置四个)
- 酒店 使用
lantern(灯笼)方块,无需工具即可立即破坏
player_head(玩家头颅)方块可立即破坏(视为代币)
- 一本包含获取游戏物品链接以及所有游戏地产列表和描述的书籍
- 内置骰子随机器
- 银行方块破坏保护;游戏物品消耗/放置保护
- 通过 NBT 数据 防止游戏物品伪造
用法
如何游玩?
你只需搭建游戏场地,在某个位置放置一个箱子(也可以是木桶或潜影盒),然后执行 /mn start <chest coordinates>!
要获取和移除游戏物品,请使用 聊天指令 以及通过 /mn book <localization> 获取的书籍。
房屋 和 酒店 应放置在街道格子上;其他所有物品除存放在背包中和玩家间转移外,不得用于其他用途。
若要结束游戏,请将所有游戏物品归还至银行(并输入 -- 以移除它们),然后执行 /mn finish;如果无法归还,则服务器管理员(默认为 op)应执行 /mn finish forced。
命令
/minenopoly 是主插件命令,其别名为 /mn。
| 命令 |
描述 |
/mn help [command] |
显示给定命令的帮助信息,若无指定命令则显示所有可用命令的帮助 |
/mn book <loc> |
获取在游戏中使用的书籍 |
/mn start <block> |
开始游戏(启用聊天追踪、记分板等),并将指定方块设为银行 |
/mn finish |
结束游戏 |
/mn finish forced |
即使未归还所有游戏物品也强制结束游戏 |
/mn reload |
重载配置 |
/mn get <args> |
辅助命令,用于点击书籍中的链接时使用 |
有效的游戏内聊天指令
注意: 仅在游戏进行中有效。
| 聊天指令 |
描述 |
+<number> |
将指定数量的游戏货币存入银行 |
-<number> |
从银行中取出指定数量的游戏货币(如需找零则进行找零) |
-- |
从银行中移除所有游戏物品(包括已使用的事件卡、已售出的地产等) |
? |
掷骰子(显示两个 1 到 6 之间的随机数字) |
- 游戏距离(详见配置文件说明)
- 游戏货币物品(及其面额)
- 插件消息
- 信息 (info)
- 错误 (error)
- 帮助 (help)
权限
| 权限节点 |
默认值 |
描述 |
minenopoly.help |
true |
允许使用 /mn help(仅列出可用命令) |
minenopoly.get |
true |
允许使用 /mn get 及聊天指令(基本上允许参与游戏) |
minenopoly.book |
true |
允许使用 /mn book |
minenopoly.start |
true |
允许使用 /mn start |
minenopoly.finish |
true |
允许使用 /mn finish(不带 forced 参数) |
minenopoly.finish.forced |
op |
允许使用 /mn finish forced |
minenopoly.reload |
op |
允许使用 /mn reload |
minenopoly.admin |
op |
默认情况下引用 minenopoly.reload 和 minenopoly.finish.forced |
游戏场地
这里有一个由我设计的 litematica 游戏场地文件,当然你也可以自行搭建!
引用
特别感谢:
- Legitimoose 提供的出色 Paper (Bukkit) 插件(基于 Kotlin)项目设置教程
- BeBr0 提供的 Spigot (Bukkit) 插件开发 教程 [ru],其中对 API 的解释非常清晰
版权
本项目开发所使用的所有关于原版游戏的信息均取自公开来源(主要是 Monopoly fandom wiki)及个人经验。
本项目本身根据 GNU GPLv3 许可证分发。
Implements automated Monopoly bank into the game.
Features (big update soon, with parallel games)
- Monopoly bank functionality using a
chest, barrel or any shulker_box in which game items are placed and removed from
- US, UK and RU game localizations support
- Player balance tracking using a scoreboard
- Chance and Community chest cards randomization
- Houses implementation using
sea_pickles (can be placed up to four in a single block)
- Hotels
lantern blocks immediate breaking without tools
player_head blocks immediate breaking (assumed to be tokens)
- A book with links to get game items and a list and descriptions of all game properties
- Built-in dice randomizer
- Bank block breaking protection; game items consuming/placement protection
- Anti-counterfeiting game items protection via NBT data
Usage
How to play?
You just build a playing field, place a chest (can also be a barrel or a shulker box) somewhere and call /mn start <chest coordinates>!
To get and remove game items use chat entries and the book you can get via /mn book <localization>.
Houses and Hotels are meant to be placed on street cells; all other items are meant not to be used in any way except keeping in the inventory and transferring between the players.
To finish the game return all the game items to the bank (and type -- to remove them) and call /mn finish; if you can't return them one of the server operators (by default) should call /mn finish forced.
Commands
/minenopoly is the main plugin command, which has the alias /mn.
| Command |
Description |
/mn help [command] |
Show help for given command, for available commands otherwise |
/mn book <loc> |
Get the book to use during the game |
/mn start <block> |
Start the game (chat tracking, scoreboard, etc.) with given block as the bank |
/mn finish |
Finish the game |
/mn finish forced |
Finish even if not all game items have been returned |
/mn reload |
Reload config |
/mn get <args> |
Auxiliary command used when clicking on links in the book |
Valid in-game chat entries
Note: Only available during the game.
| Chat entry |
Description |
+<number> |
Place given amount of game money into the bank |
-<number> |
Remove given amount of game money from the bank (with change if needed) |
-- |
Remove all game items from the bank (used action cards, sold properties, etc.) |
? |
Roll the dice (display two random numbers from 1 to 6) |
Configuration (default)
- Game distance (see config file for explanation)
- Game money items (also their denominations)
- Plugin messages
Permissions
| Permission node |
Default |
Description |
minenopoly.help |
true |
Allows using /mn help (lists only available commands) |
minenopoly.get |
true |
Allows using /mn get and chat entries (allows to play basically) |
minenopoly.book |
true |
Allows using /mn book |
minenopoly.start |
true |
Allows using /mn start |
minenopoly.finish |
true |
Allows using /mn finish (without forced argument) |
minenopoly.finish.forced |
op |
Allows using /mn finish forced |
minenopoly.reload |
op |
Allows using /mn reload |
minenopoly.admin |
op |
Refers to minenopoly.reload and minenopoly.finish.forced by default |
Game field
Here is a litematica of the game field designed by me, however, you can always build your own!
Reference
Special thanks to:
- Legitimoose for amazing Paper (Bukkit) plugin (in Kotlin) project setup tutorial
- BeBr0 for Spigot (Bukkit) plugin development tutorial [ru] with very clear API explanation
Copyright
All the information about the original game used to develop this project was taken from open sources (mostly Monopoly fandom wiki) and my personal experience.
The project itself is distributed under GNU GPLv3.
评论 0
登录后参与评分
还没有评论,来抢沙发吧