猹の拍卖行
⚙️ 配置文件
yml
############################
# 插件验证 #
############################
apiKey: "请输入CDKey"
############################
# 数 据 库 #
############################
database:
schema: "cha_plugin"
# mysql数据库账号密码
username: "root"
password: "root"
# mysql数据库地址端口
host: "localhost"
port: "3306"
############################
# 系统设定 #
############################
auction:
# 保管费
tax:
# 默认费用
default:
# 12小时费用
12: 100
# 24小时费用
24: 200
# 48小时费用
48: 400
# 权限组
group:
vip1:
perm: "auction.vip.1"
12: 100
24: 200
48: 400
vip2:
perm: "auction.vip.2"
12: 100
24: 200
48: 400
# 禁止上架物品
ban:
# 名称包含不能上架
name:
- "传奇"
- "唯一"
# LORE包含不能上架
lore:
- "已绑定"
- "禁止上架"
# 上架物品数量限制
limit:
# 默认数量
default: 10
# 权限组
group:
# 数量:权限
20: "auction.vip.1"
30: "auction.vip.2"
# 金币保管费&税费配置
money:
# 保管费
tax:
# 默认费用
default:
# 12小时费用
12: 100
# 24小时费用
24: 200
# 48小时费用
48: 400
# 权限组
group:
vip1:
perm: "auction.vip.1"
12: 100
24: 200
48: 400
vip2:
perm: "auction.vip.2"
12: 100
24: 200
48: 400
# 税费
duty:
default:
# 0+到下一个值的价格区间的税率
0: 0.01
# 1000+到下一个值的价格区间的税率
1000: 0.02
5000: 0.1
# 最后一个代表10000+的价格区间的税率
10000: 0.2
group:
vip1:
perm: "auction.vip.1"
val:
0: 0.01
1000: 0.02
5000: 0.1
10000: 0.2
vip2:
perm: "auction.vip.2"
val:
0: 0.01
1000: 0.02
5000: 0.1
10000: 0.2
# 点券保管费&税费配置
point:
tax:
default:
12: 10
24: 20
48: 40
group:
vip1:
perm: "auction.point.vip.1"
12: 5
24: 10
48: 15
duty:
default:
0: 0.01
group:
vip1:
perm: "auction.point.vip.1"
val:
0: 0.01
############################
# 侧边栏设定 #
############################
filter:
# 一级菜单,用来分类,无法点击
武器:
# 显示值
display: "§f武器"
刀剑:
# 显示值
display: "§f刀剑"
# 物品lore模糊匹配
match: "刀剑"
枪戟:
display: "§f枪戟"
match: "枪戟"
防具:
display: "§f防具"
头盔:
display: "§f头盔"
match: "头盔"
胸甲:
display: "§f胸甲"
match: "胸甲"
护腿:
display: "§f护腿"
match: "护腿"
靴子:
display: "§f靴子"
match: "靴子"
############################
# 试穿设定 #
############################
try:
头盔:
# lore模糊匹配
lore: "头盔"
# 装备所在槽位,例子为原版头盔槽位
slot: "germplugin_armor_helmet"
胸甲:
lore: "胸甲"
slot: "germplugin_armor_chestplate"
裤子:
lore: "裤子"
slot: "germplugin_armor_leggings"
鞋子:
lore: "鞋子"
slot: "germplugin_armor_boots"
主武器:
lore: "主武器"
slot: "germplugin_main_hand"
🌐 语言文件
yml
empty-sell-slot: "§c空的出售槽位"
empty-compete-price: "§c未输入竞标价格"
add-sell-success: "§a上架成功"
add-sell-fail: "§a上架失败,余额不足"
add-sell-limit: "§a上架失败,已达上架数量上限"
add-ban: "§a上架失败,此物品不能拍卖"
cancel-sell-success: "§a下架成功"
inventory-full: "§c背包已满,部分物品掉落在地上"
not-enough-money: "§c余额不足"
purchase-success: "§a购买成功"
auction-is-over: "§c该拍卖已结束,无法操作"
none-selected-auction: "§c未选择拍卖物品"
compete-price-too-low: "§c竞标价格低于当前竞标价格"
compete-self: "§c不能竞标自己的物品"
purchase-self: "§c不能购买自己的物品"
compete-success: "§a竞标成功"
auction-not-exist: "§c拍卖不存在"
auction-not-over: "§c拍卖未结束"
# 试穿
try-success: "§a试穿成功"
try-fail: "§c这个物品不能试穿"
# 上线后提示的竞标结果
sell-fixed-price: "§a{player}以一口价{price}购买了你的{item},扣除税费{duty}"
sell-compete-price: "§a你的{item}以最高价{price}卖给了{player},扣除税费{duty}"
buy-compete-price: "§a你在{item}的竞拍中以价格{price}赢得了拍卖物品"
compete-fail-higher: "§c你以{price}竞价的{item}失败,有人出了更高价"
compete-fail-purchase: "§c你以{price}竞价的{item}失败,有人一口价购买了"
compete-fail-cancel: "§c你以{price}竞价的{item}失败,拍卖物品被下架"
# 竞标显示
compete-null: "无竞标"
compete-ing: "§a竞标中"
compete-fail: "§c竞标失败"
# 时间显示
0: "已到期"
0-2: "非常短"
2-8: "短"
8-16: "中"
16-28: "长"
28-48: "非常长"
# 单位
vault: "金币"
playerpoints: "点券"
# 龙核界面公式
list-height: 1
list-range: 0.2
list_slot_texture_y: "0 + list_bg.y - list_slider.distanceY * {list-height} + w*0.04*{index}"
list_slot_y: "0 + list_bg.y - list_slider.distanceY * {list-height} + w*0.04*{index}"
list_button_select_y: "0 + list_bg.y - list_slider.distanceY * {list-height} + w*0.04*{index}"
list_item_1_label_y: "w*0.01 + list_bg.y - list_slider.distanceY * {list-height} + w*0.04*{index}"
list_item_2_label_y: "w*0.01 + list_bg.y - list_slider.distanceY * {list-height} + w*0.04*{index}"
list_item_3_label_y: "w*0.01 + list_bg.y - list_slider.distanceY * {list-height} + w*0.04*{index}"
list_item_status_y: "w*0.01 + list_bg.y - list_slider.distanceY * {list-height} + w*0.04*{index}"
list_item_price_y: "1 + list_bg.y - list_slider.distanceY * {list-height} + w*0.04*{index}"
list_item_price_texts:
- "一口价 {fixedPrice}"
- "竞标价 {price}"
sell_item_texture_y: "0 + list_bg.y - list_slider.distanceY * {list-height} + w*0.04*{index}"
sell_item_back_y: "w*0.01 + list_bg.y - list_slider.distanceY * {list-height} + w*0.04*{index}"
sell_item_resell_y: "w*0.01 + list_bg.y - list_slider.distanceY * {list-height} + w*0.04*{index}"
filter_texture_main_y: "0 + list_item_bg.y - list_item_slider.distanceY * {list-height} + h*0.04*{index}"
filter_label_main_y: " 1.5 + list_item_bg.y - list_item_slider.distanceY * {list-height} + h*0.04*{index}"
filter_button_cata_y: "0 + list_item_bg.y - list_item_slider.distanceY * {list-height} + h*0.04*{index}"