玩家放置一台钻机,它会自动开采周围的区域,将战利品存入自身的存储空间,并在主人离线时持续工作。共有 4 种钻机等级,可通过燃料或购买的时间(使用金币)驱动。
Paper 1.21.4+ Folia Java 21
工作原理
- 玩家放置一台钻机。界面会显示开采范围。
- 玩家将煤炭放入燃料菜单,或使用金币购买时间。
- 玩家在菜单中点击按钮启动钻机。
- 钻机逐层开采区域并将战利品存入存储。
- 玩家从存储菜单中取出战利品。
钻机类型
| 钻机 |
范围 |
深度 |
速度 |
特性 |
| 铁制 |
3x3 |
16 层 |
每 2 秒 1 个方块 |
移除水和岩浆 |
| 金制 |
5x5 |
32 层 |
每 1.5 秒 1 个方块 |
将矿石熔炼成锭 |
| 钻石 |
7x7 |
64 层 |
每 0.5 秒 1 个方块 |
fortune II(幸运 II) |
| 下界合金 |
9x9 |
128 层 |
每 0.25 秒 11 个方块 |
fortune III(幸运 III)、熔炼、燃料消耗减半 |
不限制钻机类型的数量。你可以在 items.yml 中设置每种钻机的范围、深度、速度、幸运附魔、精准采集和熔炼功能。
功能特点
- 4 种钻机:从 3x3 范围、16 层深度到 9x9 范围、128 层深度。
- 钻机在主人离线时继续工作。
- 战利品存入钻机自带的存储空间。
- “选择开采方块”菜单:玩家可切换 59 种方块类型。
- 开采范围位于钻机周围或前方。
- 支持幸运附魔、精准采集以及将矿石熔炼为锭。
- 燃料:煤炭、煤块、烈焰棒、干海带块。
- 通过 Vault、BVault、CoinsEngine 或 PlayerPoints 使用金币购买工作时间。
- 彩色范围边框,可穿透方块显示。
- 钻机上方有全息图:显示状态、燃料、进度和存储空间。
- 钻机停止工作时向主人发送消息。
- 每名玩家最多拥有 3 台钻机,范围不可重叠,不会在 WorldGuard 保护的领地内开采。
- 支持 SQLite 或 MySQL,兼容 Folia。
要求
| 服务器端 |
Java |
必需插件 |
可选插件 |
| Paper 1.21.4+ 或 Folia |
21 |
packetevents |
Vault、BVault、CoinsEngine 或 PlayerPoints(用于购买时间)。WorldGuard。FancyHolograms 或 DecentHolograms |
命令
| 命令 |
功能 |
/boer give [player] [drill] [amount] |
给予一台钻机,钻机编号来自 items.yml |
/boer admins list [player] |
显示玩家的钻机列表,点击可传送至钻机位置 |
/boer admins remove [player] [number] |
移除一台钻机,其存储空间和燃料会掉落在一旁 |
/boer admins fuel [player] [minutes] |
为玩家的所有钻机增加工作时间 |
/boer admins stop [player or all] |
停止某位玩家或全服所有钻机的工作 |
/boer reload |
重新加载配置文件 |
/boer help |
显示命令列表 |
完整命令:/rboersx。别名:/boer、/bur。
权限
| 权限节点 |
作用 |
默认值 |
rboersx.use |
放置和使用钻机 |
所有人 |
rboersx.limit.bypass |
无视每台玩家的钻机数量限制 |
管理员 (Operators) |
rboersx.admin |
所有管理命令 |
管理员 (Operators) |
须知
- 该插件会向 bStats 发送匿名使用统计数据。在
config.yml 中设置 metrics: false 可关闭此功能。
- 该插件会检查新版本并在控制台报告。在
config.yml 中设置 update-check: false 可关闭此功能。
- 默认配置文件中的物品名称、描述和消息均为俄语。你需要在配置文件中自行翻译它们。
items.yml
# 范围边框:底部和顶部由细边连接角柱。
border:
thickness: 0.06 # 边的厚度(以方块为单位),范围 0.02-1.0
corner-size: 0.16 # 角柱的粗细
corner-height: 1.0 # 角柱的高度
y-offset: 0.01 # 边框相对于钻机方块底部的偏移量
glow: true # 边框发光效果,可穿透方块可见
# 钻机编号是 /boer give [player] [drill] 命令中使用的 ID。
list:
1:
level: 1 # 在菜单和物品描述中显示的等级
name: "<#C9B99A>Iron drill"
block: IRON_BLOCK # 钻机方块,需为实体且无重力
radius: 1 # 开采半径:1 表示 3x3 的正方形,范围 0-32
depth: 16 # 向下开采的层数,范围 1-512
interval-ticks: 40 # 循环之间的间隔刻数,20 刻 = 1 秒,至少为 5
blocks-per-cycle: 1 # 每次循环破坏的方块数,范围 1-64
storage-limit: 0 # 存储容量,设为 0 则取消上限
max-fuel-minutes: 120 # 钻机可存储的购买时间,单位为分钟
fuel-multiplier: 1.0 # 燃料消耗倍率:0.5 消耗减半,2.0 消耗加倍
fortune: 0 # 幸运附魔等级,范围 0-10
silk-touch: false # 精准采集,开启后会禁用幸运附魔
auto-smelt: false # 是否通过 blocks.yml 中的熔炼表进行自动熔炼
remove-liquids: true # 清除范围内的水、岩浆、火和粉雪
border:
material: WHITE_CONCRETE # 边框方块材质
glow-color: "#C9B99A" # 边框发光颜色
item:
glow: false # 物品附魔光效
model-data: 0 # 资源包所需的 CustomModelData
# {size}: 范围边长, {depth}: 深度, {speed}: 每分钟开采方块数, {fuel}: 已购买时间
name: "{name} <gray>[<#7FC4B8>{level} LvL<gray>]"
lore:
- " <#C9B99A>▌ <white>范围: <#C9B99A>{size}x{size}"
- " <#C9B99A>▌ <white>深度: <#C9B99A>{depth} 层"
# 钻机 2、3 和 4 遵循相同的格式:金制、钻石、下界合金。
fuel.yml
# 物品:单个物品提供的工作秒数。
items:
COAL: 60
CHARCOAL: 60
COAL_BLOCK: 540
DRIED_KELP_BLOCK: 150
BLAZE_ROD: 120
# 使用金币购买工作时间。
money:
enabled: true # 开启购买功能
provider: VAULT # VAULT、BVAULT、COINSENGINE、PLAYERPOINTS
currency: money # COINSENGINE: 货币 ID。BVAULT: 账户名称。VAULT 和 PLAYERPOINTS 忽略此字段
price-per-minute: 50 # 每分钟的价格。按钮对应的分钟数在 menus/fuel.yml 中设置
config-version: 1 # 内部字段,请勿修改
blocks.yml
skip-blocks: [ BUDDING_AMETHYST, REINFORCED_DEEPSLATE, END_PORTAL_FRAME ] # 钻头永远不会破坏这些方块
smelt: # 对于启用了自动熔炼(auto-smelt: true)的钻头,掉落物会变成什么
RAW_IRON: IRON_INGOT
RAW_GOLD: GOLD_INGOT
RAW_COPPER: COPPER_INGOT
ANCIENT_DEBRIS: NETHERITE_SCRAP
COBBLESTONE: STONE
COBBLED_DEEPSLATE: DEEPSLATE
# “挖掘目标”菜单中的方块。行顺序决定菜单中的显示顺序。
# 不在列表中的方块共享一个“其他方块”按钮。
list:
- STONE
- DEEPSLATE
- COAL_ORE
- IRON_ORE
- DIAMOND_ORE
- ANCIENT_DEBRIS
# 默认文件列出了 59 个方块:石头、泥土、矿石、下界和末地方块
config-version: 1 # 内部字段,请保持原样
config.yml
settings:
debug: false # 用于故障排除的详细控制台消息
metrics: true # 匿名的 bStats 统计数据
update-check: true # 关于新插件版本的控制台消息
command:
main: rboersx # 主命令名称
aliases: [ boer, bur ] # 额外的命令名称
limits:
per-player: 3 # 每个玩家的钻头数量,rboersx.limit.bypass 可移除限制
allow-overlap: false # true: 不同钻头的区域可以重叠
pickup: OWNER # 谁可以破坏并拾取钻头:OWNER 仅限所有者,ANYONE 任何玩家
worlds:
mode: BLACKLIST # BLACKLIST: 在列出的世界中禁止使用钻头。WHITELIST: 仅在这些世界中允许
list: []
# 服务器负载。20 ticks = 1 秒。更长的间隔和更小的半径意味着更少的负载。
performance:
autosave-seconds: 60 # 燃料、存储和进度写入数据库的频率,至少为 10
max-scan-per-cycle: 64 # 钻头在寻找方块时每个周期检查的位置数,1-1024
menu-refresh-ticks: 20 # 打开的钻头菜单的刷新率,至少为 5
border-view-radius: 48 # 玩家看到边框的距离,8-128 个方块
border-update-ticks: 20 # 插件检查谁看到边框的频率,至少为 5
hologram-update-ticks: 20 # 全息文本的刷新率,至少为 10
sounds:
click: # 菜单按钮点击声,空键表示关闭声音
key: "minecraft:ui.button.click"
volume: 0.5
pitch: 1.0
break: # 方块破坏声,volume: 0 表示关闭
volume: 0.6
pitch: 1.0
config-version: 1 # 内部字段,请保持原样
holograms.yml
# 钻头上方的全息图。需要 FancyHolograms 或 DecentHolograms。
# 文本仅在附近有玩家的钻头上刷新。
enabled: true
height: 0.6 # 位于钻头上方的方块高度
only-running: false # true: 仅在工作状态的钻头上显示全息图
style: # 外观,仅适用于 FancyHolograms
scale: 1.0 # 文本大小,0.1-20
billboard: CENTER # CENTER: 始终面向玩家。VERTICAL, HORIZONTAL, FIXED
alignment: CENTER # 行对齐方式:CENTER, LEFT, RIGHT
background: transparent # 默认值,透明,#RRGGBB 或 #AARRGGBB
text-shadow: true # 文本阴影
see-through: false # true: 透过方块可见文本
brightness: -1 # 亮度 0-15,-1 采用周围光照
visibility-distance: -1 # 视距,-1 采用 FancyHolograms 的值
# 占位符:{name}, {level}, {owner}, {status}, {fuel}, {progress}, {mined}, {stored},
# {size}, {depth}, {speed}, {x}, {y}, {z}
lines:
running: # 工作状态钻头的文本
- "{name} <gray>等级 {level}"
- "<gray>{owner}"
- "{status} <dark_gray>• <white>{progress}%"
- "<gray>燃料 <#D9A26B>{fuel}"
- "<gray>存储 <#7FC4B8>{stored}"
stopped: # 停止状态钻头的文本,空列表则复用工作状态文本
- "{name} <gray>等级 {level}"
- "{status}"
config-version: 1 # 内部字段,请保持原样
A player places a drill, and it mines the area around itself, puts the loot into its own storage and keeps working while the owner is away. 4 drill tiers, powered by fuel or time bought with coins.
Paper 1.21.4+ Folia Java 21
How it works
- A player places a drill. A frame shows the mining area.
- The player puts coal into the fuel menu or buys time with coins.
- The player starts the drill with a button in the menu.
- The drill mines the area layer by layer and stores the loot.
- The player takes the loot from the storage menu.
Drills
| Drill |
Area |
Depth |
Speed |
Perks |
| Iron |
3x3 |
16 layers |
1 block per 2 s |
Removes water and lava |
| Gold |
5x5 |
32 layers |
1 block per 1.5 s |
Smelts ore into ingots |
| Diamond |
7x7 |
64 layers |
1 block per 0.5 s |
Fortune II |
| Netherite |
9x9 |
128 layers |
11 blocks per 0.25 s |
Fortune III, smelting, half the fuel |
No limit on the number of drill types. You set the area, depth, speed, fortune, silk touch and smelting of every drill in items.yml.
Features
- 4 drills: from 3x3 and 16 layers to 9x9 and 128 layers.
- A drill keeps working while the owner is away.
- Loot goes into the drill's own storage.
- A "What to mine" menu: the player toggles 59 block types.
- The area sits around the drill or in front of it.
- Fortune, silk touch and smelting ore into ingots.
- Fuel: coal, coal blocks, blaze rods, dried kelp blocks.
- Time for coins through Vault, BVault, CoinsEngine or PlayerPoints.
- A colored area frame, visible through blocks.
- A hologram above the drill: status, fuel, progress, storage.
- A message to the owner when a drill stops.
- 3 drills per player, no overlapping areas, no mining in foreign WorldGuard claims.
- SQLite or MySQL, Folia support.
Requirements
| Server |
Java |
Required plugins |
Optional plugins |
| Paper 1.21.4+ or Folia |
21 |
packetevents |
Vault, BVault, CoinsEngine or PlayerPoints for buying time. WorldGuard. FancyHolograms or DecentHolograms |
Commands
| Command |
What it does |
/boer give [player] [drill] [amount] |
Gives a drill, the drill number comes from items.yml |
/boer admins list [player] |
Shows a player's drills, a click teleports to the drill |
/boer admins remove [player] [number] |
Removes a drill, storage and fuel drop next to it |
/boer admins fuel [player] [minutes] |
Adds work time to all drills of a player |
/boer admins stop [player or all] |
Stops the drills of a player or of the whole server |
/boer reload |
Reloads the configs |
/boer help |
Shows the command list |
Full command: /rboersx. Aliases: /boer, /bur.
Permissions
| Permission |
What it gives |
Default |
rboersx.use |
Placing and using drills |
Everyone |
rboersx.limit.bypass |
No drill limit per player |
Operators |
rboersx.admin |
Every admin command |
Operators |
Good to know
- The plugin sends anonymous usage statistics to bStats. Set
metrics: false in config.yml to turn it off.
- The plugin checks for a new version and reports it in the console. Set
update-check: false in config.yml to turn it off.
- Item names, lore and messages in the default configs are in Russian. You translate them in the config files.
items.yml
# Area frame: corner posts joined by thin edges at the bottom and top.
border:
thickness: 0.06 # edge thickness in blocks, 0.02-1.0
corner-size: 0.16 # corner post thickness
corner-height: 1.0 # corner post height
y-offset: 0.01 # frame offset from the bottom of the drill block
glow: true # colored frame glow, visible through blocks
# The drill number is the ID for /boer give [player] [drill].
list:
1:
level: 1 # tier shown in the menu and lore
name: "<#C9B99A>Iron drill"
block: IRON_BLOCK # drill block, solid and without gravity
radius: 1 # area radius: 1 gives a 3x3 square, 0-32
depth: 16 # layers mined downward, 1-512
interval-ticks: 40 # pause between cycles, 20 ticks = 1 second, 5 at least
blocks-per-cycle: 1 # blocks broken per cycle, 1-64
storage-limit: 0 # storage capacity, 0 removes the cap
max-fuel-minutes: 120 # bought time a drill stores, in minutes
fuel-multiplier: 1.0 # fuel use: 0.5 burns half, 2.0 burns double
fortune: 0 # fortune level, 0-10
silk-touch: false # silk touch, turns fortune off
auto-smelt: false # smelting by the smelt table in blocks.yml
remove-liquids: true # removes water, lava, fire and powder snow in the area
border:
material: WHITE_CONCRETE # frame block
glow-color: "#C9B99A" # frame glow color
item:
glow: false # enchantment glint on the item
model-data: 0 # CustomModelData for a resource pack
# {size}: area side, {depth}: depth, {speed}: blocks per minute, {fuel}: bought time
name: "{name} <gray>[<#7FC4B8>{level} LvL<gray>]"
lore:
- " <#C9B99A>▌ <white>Area: <#C9B99A>{size}x{size}"
- " <#C9B99A>▌ <white>Depth: <#C9B99A>{depth} layers"
# Drills 2, 3 and 4 follow the same format: gold, diamond, netherite.
fuel.yml
# Item: seconds of work from one piece.
items:
COAL: 60
CHARCOAL: 60
COAL_BLOCK: 540
DRIED_KELP_BLOCK: 150
BLAZE_ROD: 120
# Buying work time with coins.
money:
enabled: true # turns buying on
provider: VAULT # VAULT, BVAULT, COINSENGINE, PLAYERPOINTS
currency: money # COINSENGINE: currency ID. BVAULT: account name. VAULT and PLAYERPOINTS ignore this field
price-per-minute: 50 # price of one minute. Minutes per button are set in menus/fuel.yml
config-version: 1 # internal field, leave it as is
blocks.yml
skip-blocks: [ BUDDING_AMETHYST, REINFORCED_DEEPSLATE, END_PORTAL_FRAME ] # the drill never breaks these
smelt: # what the loot turns into on drills with auto-smelt: true
RAW_IRON: IRON_INGOT
RAW_GOLD: GOLD_INGOT
RAW_COPPER: COPPER_INGOT
ANCIENT_DEBRIS: NETHERITE_SCRAP
COBBLESTONE: STONE
COBBLED_DEEPSLATE: DEEPSLATE
# Blocks in the "What to mine" menu. Line order sets the menu order.
# Blocks outside the list share one "Other blocks" button.
list:
- STONE
- DEEPSLATE
- COAL_ORE
- IRON_ORE
- DIAMOND_ORE
- ANCIENT_DEBRIS
# the default file lists 59 blocks: stones, dirt, ores, Nether and End blocks
config-version: 1 # internal field, leave it as is
config.yml
settings:
debug: false # detailed console messages for troubleshooting
metrics: true # anonymous bStats statistics
update-check: true # console message about a new plugin version
command:
main: rboersx # main command name
aliases: [ boer, bur ] # extra command names
limits:
per-player: 3 # drills per player, rboersx.limit.bypass removes the limit
allow-overlap: false # true: areas of different drills overlap
pickup: OWNER # who breaks and picks up a drill: OWNER only the owner, ANYONE any player
worlds:
mode: BLACKLIST # BLACKLIST: drills banned in listed worlds. WHITELIST: allowed only there
list: []
# Server load. 20 ticks = 1 second. Longer intervals and a smaller radius mean less load.
performance:
autosave-seconds: 60 # how often fuel, storage and progress go to the database, 10 at least
max-scan-per-cycle: 64 # positions a drill checks per cycle while looking for a block, 1-1024
menu-refresh-ticks: 20 # refresh rate of an open drill menu, 5 at least
border-view-radius: 48 # distance from which a player sees the frame, 8-128 blocks
border-update-ticks: 20 # how often the plugin checks who sees a frame, 5 at least
hologram-update-ticks: 20 # refresh rate of hologram text, 10 at least
sounds:
click: # menu button click, an empty key turns the sound off
key: "minecraft:ui.button.click"
volume: 0.5
pitch: 1.0
break: # block break sound, volume: 0 turns it off
volume: 0.6
pitch: 1.0
config-version: 1 # internal field, leave it as is
holograms.yml
# Hologram above the drill. Requires FancyHolograms or DecentHolograms.
# Text refreshes only on drills with players nearby.
enabled: true
height: 0.6 # blocks above the drill
only-running: false # true: holograms only on running drills
style: # appearance, works with FancyHolograms only
scale: 1.0 # text size, 0.1-20
billboard: CENTER # CENTER: always faces the player. VERTICAL, HORIZONTAL, FIXED
alignment: CENTER # line alignment: CENTER, LEFT, RIGHT
background: transparent # default, transparent, #RRGGBB or #AARRGGBB
text-shadow: true # text shadow
see-through: false # true: text visible through blocks
brightness: -1 # brightness 0-15, -1 takes the surrounding light
visibility-distance: -1 # view distance, -1 takes the FancyHolograms value
# Placeholders: {name}, {level}, {owner}, {status}, {fuel}, {progress}, {mined}, {stored},
# {size}, {depth}, {speed}, {x}, {y}, {z}
lines:
running: # text of a running drill
- "{name} <gray>tier {level}"
- "<gray>{owner}"
- "{status} <dark_gray>• <white>{progress}%"
- "<gray>Fuel <#D9A26B>{fuel}"
- "<gray>Storage <#7FC4B8>{stored}"
stopped: # text of a stopped drill, an empty list reuses the running text
- "{name} <gray>tier {level}"
- "{status}"
config-version: 1 # internal field, leave it as is
评论 0
登录后参与评分
还没有评论,来抢沙发吧