服务器使用量
未统计
服务玩家数
未统计
下载量
4,269
插件详细介绍
这是一个用于矿石挖掘掉落自定义物品的插件;玩家在挖矿时还可以获得经验,且几乎所有内容都可以通过配置文件进行自定义。
插件说明
- 挖掘矿石时可掉落自定义物品
- 挖掘矿石时可获得 exp
- 全部内容均可配置
- 支持与矿石再生类插件配合使用
- 可与 SkillAPI 兼容,用于 exp
依赖与兼容
- 依赖:
- Vault
- HolographicDisplays
- 兼容:
- SkillAPI for the exp
- regenerator ores plugins
指令与权限
- 指令:
/customlootmining- 用途:
- 手持一个物品放在 MainHand
- 执行
/customlootmining - 该物品会被写入
config.yml中的SectionCopyPaste - 之后你可以将这段内容复制并粘贴到你想添加更多掉落的位置
- 权限:
customlootmining.admin
配置说明
基本说明
- 配置文件中可以为不同矿石单独设置掉落、金钱和经验
customloot: true时,会禁用该矿石的原版掉落$表示玩家挖掘该矿石时获得的金钱xp表示玩家挖掘该矿石时获得的经验dropslists用于设置普通掉落列表customlootfortune: true用于启用 Fortune 附魔时的新掉落dropslistsfortune用于设置带有 Fortune 时的掉落列表
重要提示
- 编辑
config.yml时,请务必检查物品条目的对齐和缩进 - 你可以通过简单复制粘贴已有条目来添加更多掉落
SectionCopyPaste可作为自定义物品列表的复制模板
示例 `config.yml`
Holo: true
Holoitem: DIAMOND_PICKAXE
Holoposition:
x: 0.5
y: 2
z: 0.5
SkillAPIExp: false
COAL_ORE:
#######################################################
#if customloot: true this disable the vanilla ore drop#
#######################################################
customloot: true
########################################################
#$: 100 this is the money you earn when you mine an ore#
########################################################
$: 100
######################################################
#xp: 100 this is the xp you earn when you mine an ore#
######################################################
xp: 10
#####################################################################
#dropslists: this is the list of the items the ore drops you can add#
#a new item with a simple copy paste and replace the values. #
#And verify the position of arguments.You can add everythings #
#####################################################################
dropslists:
###############################################################################
#'1': is the first item list and it have 100% chance of drops #
#you can add one number by one number to make more lists of drops with % drops#
###############################################################################
'1':
chance: 100
#####################################################################
#itemslists: this is the list of the items the ore drops you can add#
#a new item with a simple copy paste and replace the values. #
#And verify the position of arguments.You can add everythings #
#####################################################################
itemslists:
- ==: org.bukkit.inventory.ItemStack
type: COBBLESTONE
amount: 3
meta:
==: ItemMeta
meta-type: UNSPECIFIC
display-name: §8--Little Rock--
lore:
- ''
- §8--Little Rock--
- ==: org.bukkit.inventory.ItemStack
type: COBBLESTONE
amount: 2
- ==: org.bukkit.inventory.ItemStack
type: COAL
amount: 2
'2':
chance: 50
itemslists:
- ==: org.bukkit.inventory.ItemStack
type: TORCH
###############################################################################
#if customlootfortune: true this enable the new drop with the enchant Fortune #
###############################################################################
customlootfortune: true
dropslistsfortune:
'1':
chance: 100
fortuneitemslists:
- ==: org.bukkit.inventory.ItemStack
type: COAL
amount: 4
'2':
chance: 50
fortuneitemslists:
- ==: org.bukkit.inventory.ItemStack
type: TORCH
amount: 3
IRON_ORE:
customloot: true
$: 100
xp: 10
dropslists:
'1':
chance: 100
itemslists:
- ==: org.bukkit.inventory.ItemStack
type: COBBLESTONE
- ==: org.bukkit.inventory.ItemStack
type: IRON_INGOT
customlootfortune: true
dropslistsfortune:
'1':
chance: 100
fortuneitemslists:
- ==: org.bukkit.inventory.ItemStack
type: COBBLESTONE
- ==: org.bukkit.inventory.ItemStack
type: IRON_INGOT
amount: 2
GOLD_ORE:
customloot: true
$: 100
xp: 10
dropslists:
'1':
chance: 100
itemslists:
- ==: org.bukkit.inventory.ItemStack
type: COBBLESTONE
- ==: org.bukkit.inventory.ItemStack
type: GOLD_INGOT
customlootfortune: true
dropslistsfortune:
'1':
chance: 100
fortuneitemslists:
- ==: org.bukkit.inventory.ItemStack
type: COBBLESTONE
- ==: org.bukkit.inventory.ItemStack
type: GOLD_INGOT
amount: 2
DIAMOND_ORE:
customloot: true
$: 100
xp: 10
dropslists:
'1':
chance: 100
itemslists:
- ==: org.bukkit.inventory.ItemStack
type: COBBLESTONE
- ==: org.bukkit.inventory.ItemStack
type: DIAMOND
customlootfortune: true
dropslistsfortune:
'1':
chance: 100
fortuneitemslists:
- ==: org.bukkit.inventory.ItemStack
type: DIAMOND
amount: 2
EMERALD_ORE:
customloot: true
$: 100
xp: 10
dropslists:
'1':
chance: 100
itemslists:
- ==: org.bukkit.inventory.ItemStack
type: EMERALD
- ==: org.bukkit.inventory.ItemStack
type: COBBLESTONE
customlootfortune: true
dropslistsfortune:
'1':
chance: 100
fortuneitemslists:
- ==: org.bukkit.inventory.ItemStack
type: EMERALD
amount: 2
LAPIS_ORE:
customloot: true
$: 100
xp: 10
dropslists:
'1':
chance: 100
itemslists:
- ==: org.bukkit.inventory.ItemStack
type: INK_SACK
damage: 4
amount: 4
- ==: org.bukkit.inventory.ItemStack
type: COBBLESTONE
customlootfortune: true
dropslistsfortune:
'1':
chance: 100
fortuneitemslists:
- ==: org.bukkit.inventory.ItemStack
type: INK_SACK
damage: 4
amount: 4
REDSTONE_ORE:
customloot: true
$: 100
xp: 10
dropslists:
'1':
chance: 100
itemslists:
- ==: org.bukkit.inventory.ItemStack
type: REDSTONE
amount: 4
- ==: org.bukkit.inventory.ItemStack
type: COBBLESTONE
customlootfortune: true
dropslistsfortune:
'1':
chance: 100
fortuneitemslists:
- ==: org.bukkit.inventory.ItemStack
type: REDSTONE
amount: 8
QUARTZ_ORE:
customloot: true
$: 100
xp: 10
dropslists:
'1':
chance: 100
itemslists:
- ==: org.bukkit.inventory.ItemStack
type: NETHERRACK
amount: 2
- ==: org.bukkit.inventory.ItemStack
type: QUARTZ
amount: 2
'2':
chance: 10
itemslists:
- ==: org.bukkit.inventory.ItemStack
type: NETHER_STALK
customlootfortune: true
dropslistsfortune:
'1':
chance: 100
fortuneitemslists:
- ==: org.bukkit.inventory.ItemStack
type: NETHERRACK
amount: 2
- ==: org.bukkit.inventory.ItemStack
type: QUARTZ
amount: 4
'2':
chance: 25
fortuneitemslists:
- ==: org.bukkit.inventory.ItemStack
type: NETHER_STALK
amount: 2
SectionCopyPaste:
items:
- ==: org.bukkit.inventory.ItemStack
type: STICK
amount: 64
meta:
==: ItemMeta
meta-type: UNSPECIFIC
display-name: §2ExempleItemtoCopyPaste
#exemple of items list to customize
##############################
# - ==: org.bukkit.inventory.ItemStack
# type: BOW
# - ==: org.bukkit.inventory.ItemStack
# type: ARROW
# amount: 64
# - ==: org.bukkit.inventory.ItemStack
# type: GOLDEN_APPLE
# amount: 32
# - ==: org.bukkit.inventory.ItemStack
# type: TORCH
# amount: 32
# meta:
# ==: ItemMeta
# meta-type: UNSPECIFIC
# display-name: §4Simple Torch
# lore:
# - ''
# - §6Simple Torch
# - ==: org.bukkit.inventory.ItemStack
# type: DIAMOND_PICKAXE
# amount: 32
# meta:
# ==: ItemMeta
# meta-type: UNSPECIFIC
# enchants:
# DIG_SPEED: 5
# display-name: §4Fast Pickaxe
# lore:
# - ''
# - §6Dig
# - ==: org.bukkit.inventory.ItemStack
# type: INK_SACK
# damage: 4
# amount: 8
#############################################常见说明
- 这个插件可以让矿石掉落完全自定义,而不只是原版物品
- 如果你希望替换原版矿石掉落,请将对应矿石的
customloot设为true - 如果你希望 Fortune 附魔影响自定义掉落,请启用
customlootfortune: true - 若配置后无效,请优先检查
config.yml的对齐与缩进是否正确
测试支持版本
版本分布
基本信息
插件名称
CustomMiningLoot
作者
Ender_Griefeur99
平台
Bukkit / Spigot
支持版本
1.9 - 1.14
点赞数
未统计
最近版本
暂无数据
-