2.1.0 版 BankSystem 使用指南
- 安装
前置要求:
- Minecraft 1.21.1
- Java 21
- Paper 1.21.1 或 Arclight/NeoForge 1.21.1。
- STR ContentServer.zip 资源包
()
安装步骤:
-
停止服务器。
-
如果已经使用了这些插件,请备份 plugins/BankSystem 和
plugins/CriminalPursuitSystem 文件夹。
-
将 BankSystem-2.1.0.jar 放入 plugins 文件夹。
-
启动服务器。插件将创建各自的文件夹和配置文件。
-
配置两个插件的 config.yml 文件以及该插件的 messages.yml 文件。
-
将 STR ContentServer.zip 安装到客户端的 resourcepacks 文件夹中,并在资源菜单中启用它。
-
使用命令 /setjailzone 单独设置监狱点,使用 /setintakezone 命令设置接收中心,并设置 jail.radius/intake.radius 半径。
-
对于越狱机制,使用命令 /setescapezone、/setescapewall 1 和 /setescapewall 2 设置两个墙壁点。在此之前,越狱功能保持禁用状态。
-
BankSystem:基本机制
银行账户
账户余额由物理银行保险库中的实际物品组成。
银行家创建账户,发放银行卡和安全箱,然后为卡片设置 PIN 码。卡片包含账号,用于 ATM 机、收银台和自动售货机。丢失的卡片和安全箱可以重新发行。
ATM 机
ATM 机在其隐藏的桶中有实体的货币供应。主菜单允许你充值账户、转账和提取货币,以及支付罚款。在操作之前,玩家从库存中选择一张卡并输入 PIN 码。
只有当所需的货币同时存在于账户和 ATM 机中时,才能取款。
罚款支付
在 ATM 机上,玩家选择罚款、银行卡,输入 PIN 码,并在账户中标记所需的货币物品。罚款金额将从系统中扣除。
网络中的每个警官都会收到已付金额的配置百分比,存入他们第一个创建的活跃银行账户。付款以 commission.main-resource 货币进行。如果没有合适的账户,则不会为该警官创建付款。
收银台
收银台出售相邻库存容器中的最终库存物品。
所有者使用 Shift+RMB(右键)选择货币、库存容器、货币扩展、非现金支付账户,并为物品分配价格。在目录中使用 LMB(左键)购买一件现金商品,使用 RMB(右键)——使用银行卡。
现金存储在收银台的底部和选定的相邻容器中。
在 Arclight 上,收银台支持使用 Create create:item_vault 的多块存储。只需附加一个相邻的 Vault 方块即可:整个组合结构将用作单个存储单元。
自动售货机
自动售货机由管理员安装和配置。其隐藏的箱子是最终商品的仓库。商品通过服务菜单添加。
自动售货机没有钱箱、关联的银行账户或抢劫机制。
抢劫
战利品物品在 config.yml 中指定。抢劫收银机会获取可用现金并触发重新加载。当抢劫 ATM 时,玩家必须在限定时间内按下所有活动面板。成功可获得 ATM 的物理库存,失败则会触发警报。针对抢劫的通缉警报会自动传递给 CriminalPursuitSystem。
物理机器 ATM、收银机和自动售货机使用真实的木桶作为服务器存储。
对于玩家而言,基地是隐藏的,模型、特征、交互区域和碰撞体积会自动还原。在清空关联仓库后允许正常删除。强制选项会将内容抛到附近。
- BankSystem 团队
/ bankcreate <BankID> <玩家>
为指定的在线玩家创建银行账户。执行该命令的银行家将操作相关银行。
/bankcardcode <卡号> <PIN码>
设置或更改银行卡 PIN 码。
/bankcardreissue <卡号>
重新发行一张新的银行卡副本。
/bankvaultreissue <卡号>
发行新的银行金库并重置旧的绑定。
/bankdelete <卡号>
删除银行账户及关联的手续费规则。
/bankpincancel
取消聊天窗口中正在输入的 PIN 码。
/bankpercent <你的银行> <手续费卡> <其他银行> <百分比>
配置跨行手续费,范围在 1% 到 100% 之间。手续费卡必须属于原银行且已建立单元格。
/bankpercent <你的银行> - <其他银行> 0
删除银行间佣金规则。
/bankatm create
在玩家所在位置创建一个 ATM。
/bankatm remove [force]
移除半径 5 格内最近的银行 ATM。
/bankatm list
显示已安装的银行 ATM 列表。
/bankatmmodel 给予 <玩家> [数量]
给予一个银行 ATM 作为物品。安装该物品的人将成为其所有者。
/bankcashregister 给予 <玩家> [数量]
给予一个收银机物品。
/bankcashregister 列表
显示已安装的收银机列表。
/bankcashregister 移除 [强制]
移除半径 5 格内的最近一台收银机。
/bankvending give <玩家> [数量]
授予一个自动售货机物品。
/bankvending list
显示已安装的自动售货机列表。
/bankvending remove [强制]
移除 5 格半径内最近的自动售货机。
若未成功移除时的强制移除命令:
/bankatmremove
/bankcashregisterremove
/bankvendingremove
反垃圾信息(防刷屏)
/bankantispam <开启|关闭>
/maskgive <玩家> [数量]
给玩家一个罪犯面具。
- 权限
criminalpursuit.police
PCP、通缉、罚款、搜查、手铐、逮捕、警方通知和支付。
criminalpursuit.admin
监狱配置、面具发放和管理巡逻。
criminalpursuit.player
普通玩家命令。该权限默认授予所有人。
criminalpursuit.jail.configure
设置监狱、接待区、逃脱区域和墙壁。由管理员继承。
criminalpursuit.jail.manage-sentence
修改刑期并提前终止。由警察和管理员继承。
criminalpursuit.jail.manage-star-duration
修改每颗星对应的自动服刑分钟数。由警察和管理员继承。
criminalpursuit.jail.arrest-bypass
无需手铐、搜查或入狱流程的行政逮捕。从管理员权限继承。
criminalpursuit.escape.use
发起逃脱。从 criminalpursuit.player 继承。
criminalpursuit.escape.wall-bypass
编辑封闭墙壁。在开启状态下该绕过功能无效。
banksystem.admin
对 BankSystem 拥有完整的管理员访问权限。
banksystem.admin.atm
创建、查看和管理 ATM 机。
banksystem.admin.cashregister
发放、查看
GUIDE FOR BANKSYSTEM 2.1.0
- Installation
Requirements:
- Minecraft 1.21.1
- Java 21
- Paper 1.21.1 or Arclight/NeoForge 1.21.1.
- STR ContentServer.zip resource pack
()
Installation procedure:
-
Stop the server.
-
Make a backup copy of the plugins/BankSystem and
plugins/CriminalPursuitSystem folders if the plugins have already been used.
-
Place BankSystem-2.1.0.jar in the plugins folder.
-
Start the server. The plugins will create their own folders and configuration files.
-
Configure the config.yml files for both plugins and the messages.yml file for the plugin.
-
Install STR ContentServer.zip to the resourcepacks client folder and enable it in the resources menu.
-
Set the prison point separately with the command /setjailzone, acceptance center
with the /setintakezone command and the jail.radius/intake.radius radii.
-
For the escape mechanics, set /setescapezone and both wall points with the commands
/setescapewall 1 and /setescapewall 2. Until then, escape remains disabled.
-
BankSystem: basic mechanics
Bank accounts
The account balance consists of real items in a physical bank safe.
The banker creates an account, issues a card and a safe‑deposit box, and then sets a PIN code for the card. The card contains the account number and is used in ATMs, cash desks, and vending machines. Lost cards and safe‑deposit boxes can be reissued.
ATMs
The ATM has a physical supply of currency in its own hidden barrel. The main menu allows you to top up the account, transfer and withdraw currency, and pay fines. Before the operation, the player selects a card from the inventory and enters the PIN code.
Withdrawal is possible only if the required currency is available simultaneously in the account and in the ATM.
Payment of fines
At the ATM, the player selects a fine, a bank card, enters the PIN code, and marks the required currency items in the account. The fine amount is removed from the system.
Each police officer in the network receives a configured percentage of the paid amount to their first created active bank account. The payment is made in the commission.main-resource currency. If there is no suitable account, no payment is created for this police officer.
Cash registers
The cash register sells the final stock of items from the adjacent inventory container.
The owner, using Shift+RMB, selects the currency, inventory container, monetary expansions, non-cash payment account, and assigns prices to the items. LMB in the catalog buys one item for cash, RMB — with a bank card.
Cash is stored in the base of the cash register and the selected adjacent containers.
On Arclight, the cash register supports multi-block storage using Create create:item_vault. It is enough to attach one adjacent Vault block: the entire combined structure will be used as a single storage unit.
Vending machines
The vending machine is installed and configured by the administrator. Its hidden barrel is the final goods warehouse. Goods are added via the service menu.
The vending machine does not have a money container, an attached bank account, or a robbery mechanics.
Robberies
The loot item is specified in config.yml. Robbing the cash register takes the available cash and triggers a reload. When robbing an ATM, the player must press all active panels within a limited time. Success yields the ATM’s physical stock, while failure triggers an alarm. A wanted alert for robberies is automatically passed to CriminalPursuitSystem.
Physical machines The ATM, cash register, and vending machine use a real barrel as a server storage.
For the player, the base is hidden, and the model, signature, interaction zone, and
collision are restored automatically. Normal deletion is allowed after
emptying the associated repositories. The force option throws the contents nearby.
- BankSystem Teams
/ bankcreate <BankID> <player>
Create a bank account for the specified online player. The banker executes the command
the relevant bank.
/bankcardcode <card number> <PIN>
Set or change the card PIN code.
/bankcardreissue <card number>
Issue a new copy of the bank card.
/bankvaultreissue <card number>
Issue a new bank vault and reset the old binding.
/bankdelete <card number>
Delete the bank account and the associated fee rules.
/bankpincancel
Cancel the active PIN code input in the chat.
/bankpercent <your bank> <commission card> <other bank> <percentage>
Configure interbank commission from 1 to 100 percent. The commission card must belong to the original bank and have an established cell.
/bankpercent <your bank> - <other bank> 0
Delete the interbank commission rule.
/bankatm create
Create an ATM at the player’s position.
/bankatm remove [force]
Remove the nearest bank ATM within a 5‑block radius.
/bankatm list
Show the list of installed bank ATMs.
/bankatmmodel give <player> [quantity]
Give a bank ATM as an item. The person who installed it becomes its owner.
player.
/bankcashregister give <player> [quantity]
Give a cash register item.
/bankcashregister list
Show the list of installed cash registers.
/bankcashregister remove [force]
Remove the nearest cash register within a 5‑block radius.
/bankvending give <player> [quantity]
Give a vending machine item.
/bankvending list
Show the list of installed vending machines.
/bankvending remove [force]
Remove the nearest vending machine within a 5‑block radius.
FORCED REMOVAL IF NOT REMOVED
/bankatmremove
/bankcashregisterremove
/bankvendingremove
ANTI‑SPAM
/bankantispam <on|off>
/maskgive <player> [quantity]
Give the player a criminal mask.
- Rights
criminalpursuit.police
PCP, wanted, fines, search, handcuffs, arrest, police notifications
and payments.
criminalpursuit.admin
Prison configuration, mask issuance and administrative patrol.
criminalpursuit.player
Regular player commands. The right is granted to everyone by default.
criminalpursuit.jail.configure
Setting up the jail, reception, escape zones, and walls. Inherited by admin.
criminalpursuit.jail.manage-sentence
Modifying and early termination of sentences. Inherited by police and admin.
criminalpursuit.jail.manage-star-duration
Modifying the automatic sentence minutes per star. Inherited by police and admin.
criminalpursuit.jail.arrest-bypass
Administrative arrest without handcuffs, search, or intake. Inherited from admin.
criminalpursuit.escape.use
Initiating an escape. Inherited from criminalpursuit.player.
criminalpursuit.escape.wall-bypass
Editing a closed wall. The bypass does not work during opening.
banksystem.admin
Full administrative access to BankSystem.
banksystem.admin.atm
Creating, viewing, and managing ATMs.
banksystem.admin.cashregister
Issuing, viewing
评论 0
登录后参与评分
还没有评论,来抢沙发吧