插件简介:
这是一款支持高版本的广告牌插件。
命令:
配置文件解读:
效果:
玩家右键告示牌:
玩家输入后
右键编辑:
这是一款支持高版本的广告牌插件。
命令:
配置文件解读:
# ========================================
# BillBoard 广告牌租用系统 配置文件
# ========================================
# 每位玩家最多可租用的广告牌数量
max-rentals-per-player: 5
# 默认租赁时长(天数,0表示永久)
default-duration-days: 7
# 消息前缀(所有消息自动拼接此前缀)
prefix: '&6[BillBoard] &r'
# 是否启用经济系统(需要Vault)
economy-enabled: true
# 货币名称
currency-name: '金币'
# ========================================
# 消息配置 - 所有文字均可自定义
# 使用 & 作为颜色代码前缀(如 &a=绿色 &c=红色 &e=黄色 &f=白色 &7=灰色 &6=金色)
# 使用 {0} {1} {2} 等作为占位符
# ========================================
messages:
# ---- 基础通用 ----
console-only: '&c只有玩家才能使用此命令'
no-permission: '&c你没有权限'
not-looking-at-sign: '&c你没有看向告示牌'
not-billboard: '&c这不是一个广告牌'
# ---- 创建广告牌 ----
usage-create: '&c用法: /bb create <价格> [天数]'
price-invalid: '&c价格格式无效'
price-negative: '&c价格不能为负数'
days-invalid: '&c天数格式无效'
days-negative: '&c天数不能为负数'
already-billboard: '&c这已经是广告牌了'
billboard-created: '&a广告牌创建成功! &e价格: &f{0} &e时长: &f{1}'
# ---- 租用广告牌 ----
expired-ask-admin: '&c此广告牌的租约已过期,请联系管理员重新创建'
already-rented: '&c此广告牌已被 {0} 租用'
max-rentals-reached: '&c你已租满 {0} 个广告牌,已达到上限'
insufficient-funds: '&c余额不足! &c需要: &f{0} &c你的余额: &f{1}'
transaction-failed: '&c交易失败: {0}'
charged-amount: '&a已扣除 {0}'
rent-success: '&a成功租用此广告牌!'
rent-edit-hint: '&e右键点击即可编辑内容'
# ---- 广告牌交互 ----
expired-billboard: '&c此广告牌的租约已过期'
billboard-available: '&e此广告牌可租用!'
billboard-price-label: '&e价格: &f{0}'
billboard-duration-label: '&e时长: &f{0}'
billboard-duration-permanent: '&e时长: &f永久'
billboard-rent-hint: '&e使用 &f/bb rent &e来租用此广告牌'
rented-by-label: '&e租用者: &f{0}'
expires-in-label: '&e到期时间: &f{0}'
not-owner: '&c你没有权限编辑此广告牌'
# ---- 破坏保护 ----
billboard-removed-admin: '&a广告牌已移除'
billboard-removed-owner: '&a你的广告牌已被移除'
break-denied: '&c此广告牌已被租用,无法破坏'
# ---- 移除命令 ----
billboard-removed: '&a广告牌已移除!'
# ---- 详情查看 ----
info-header: '&6===== 广告牌详情 ====='
location-label: '&e位置: &f{0}'
price-label: '&e价格: &f{0}'
expires-never: '&e到期: &f永久'
expired-info: '&c此广告牌的租约已过期'
available-info: '&a可租用!'
# ---- 列表 ----
list-header: '&6===== 所有广告牌 ({0}) ====='
status-expired: '&c已过期'
status-rented: '&a已租出 - {0}'
status-available: '&e可租用 - {0}'
list-no-billboards: '&e服务器上暂无广告牌'
# ---- 我的租约 ----
my-header: '&6===== 我的广告牌 ({0}) ====='
no-rentals: '&e你还没有租用任何广告牌'
expires-suffix: '&e- 剩余: {0}'
permanent-status: '&e- 永久'
# ---- 帮助 ----
help-header: '&6===== BillBoard 广告牌系统 ====='
help-create: '&e/bb create <价格> [天数] &7- 将看向的告示牌设为可租用广告牌'
help-rent: '&e/bb rent &7- 租用看向的广告牌'
help-remove: '&e/bb remove &7- 移除广告牌'
help-info: '&e/bb info &7- 查看广告牌详情'
help-list: '&e/bb list &7- 列出所有广告牌'
help-my: '&e/bb my &7- 查看我租用的广告牌'
help-reload: '&e/bb reload &7- 重载配置'
help-note: '&7右键点击自己的广告牌即可编辑内容'
# ---- 其他 ----
sign-editor-failed: '&c无法打开告示牌编辑器'
reload-success: '&a配置已重载'
# ---- 租用默认告示牌文字 ----
sign-line-1: '&6[BillBoard]'
sign-line-2: '&e租用者:'
sign-line-3: '&f{0}'
sign-line-4: '&7右键点击编辑'
# ---- 可租用告示牌默认文字(管理员创建后显示)----
sign-available-line-1: '&6[BillBoard]'
sign-available-line-2: '&a可租用'
sign-available-line-3: '&e价格: &f{0}'
sign-available-line-4: '&7/bb rent'
# ---- 时长格式 ----
days-hours-format: '{0}天 {1}小时'
days-format: '{0}天'
hours-format: '{0}小时'
# BillBoard 广告牌租用系统 配置文件
# ========================================
# 每位玩家最多可租用的广告牌数量
max-rentals-per-player: 5
# 默认租赁时长(天数,0表示永久)
default-duration-days: 7
# 消息前缀(所有消息自动拼接此前缀)
prefix: '&6[BillBoard] &r'
# 是否启用经济系统(需要Vault)
economy-enabled: true
# 货币名称
currency-name: '金币'
# ========================================
# 消息配置 - 所有文字均可自定义
# 使用 & 作为颜色代码前缀(如 &a=绿色 &c=红色 &e=黄色 &f=白色 &7=灰色 &6=金色)
# 使用 {0} {1} {2} 等作为占位符
# ========================================
messages:
# ---- 基础通用 ----
console-only: '&c只有玩家才能使用此命令'
no-permission: '&c你没有权限'
not-looking-at-sign: '&c你没有看向告示牌'
not-billboard: '&c这不是一个广告牌'
# ---- 创建广告牌 ----
usage-create: '&c用法: /bb create <价格> [天数]'
price-invalid: '&c价格格式无效'
price-negative: '&c价格不能为负数'
days-invalid: '&c天数格式无效'
days-negative: '&c天数不能为负数'
already-billboard: '&c这已经是广告牌了'
billboard-created: '&a广告牌创建成功! &e价格: &f{0} &e时长: &f{1}'
# ---- 租用广告牌 ----
expired-ask-admin: '&c此广告牌的租约已过期,请联系管理员重新创建'
already-rented: '&c此广告牌已被 {0} 租用'
max-rentals-reached: '&c你已租满 {0} 个广告牌,已达到上限'
insufficient-funds: '&c余额不足! &c需要: &f{0} &c你的余额: &f{1}'
transaction-failed: '&c交易失败: {0}'
charged-amount: '&a已扣除 {0}'
rent-success: '&a成功租用此广告牌!'
rent-edit-hint: '&e右键点击即可编辑内容'
# ---- 广告牌交互 ----
expired-billboard: '&c此广告牌的租约已过期'
billboard-available: '&e此广告牌可租用!'
billboard-price-label: '&e价格: &f{0}'
billboard-duration-label: '&e时长: &f{0}'
billboard-duration-permanent: '&e时长: &f永久'
billboard-rent-hint: '&e使用 &f/bb rent &e来租用此广告牌'
rented-by-label: '&e租用者: &f{0}'
expires-in-label: '&e到期时间: &f{0}'
not-owner: '&c你没有权限编辑此广告牌'
# ---- 破坏保护 ----
billboard-removed-admin: '&a广告牌已移除'
billboard-removed-owner: '&a你的广告牌已被移除'
break-denied: '&c此广告牌已被租用,无法破坏'
# ---- 移除命令 ----
billboard-removed: '&a广告牌已移除!'
# ---- 详情查看 ----
info-header: '&6===== 广告牌详情 ====='
location-label: '&e位置: &f{0}'
price-label: '&e价格: &f{0}'
expires-never: '&e到期: &f永久'
expired-info: '&c此广告牌的租约已过期'
available-info: '&a可租用!'
# ---- 列表 ----
list-header: '&6===== 所有广告牌 ({0}) ====='
status-expired: '&c已过期'
status-rented: '&a已租出 - {0}'
status-available: '&e可租用 - {0}'
list-no-billboards: '&e服务器上暂无广告牌'
# ---- 我的租约 ----
my-header: '&6===== 我的广告牌 ({0}) ====='
no-rentals: '&e你还没有租用任何广告牌'
expires-suffix: '&e- 剩余: {0}'
permanent-status: '&e- 永久'
# ---- 帮助 ----
help-header: '&6===== BillBoard 广告牌系统 ====='
help-create: '&e/bb create <价格> [天数] &7- 将看向的告示牌设为可租用广告牌'
help-rent: '&e/bb rent &7- 租用看向的广告牌'
help-remove: '&e/bb remove &7- 移除广告牌'
help-info: '&e/bb info &7- 查看广告牌详情'
help-list: '&e/bb list &7- 列出所有广告牌'
help-my: '&e/bb my &7- 查看我租用的广告牌'
help-reload: '&e/bb reload &7- 重载配置'
help-note: '&7右键点击自己的广告牌即可编辑内容'
# ---- 其他 ----
sign-editor-failed: '&c无法打开告示牌编辑器'
reload-success: '&a配置已重载'
# ---- 租用默认告示牌文字 ----
sign-line-1: '&6[BillBoard]'
sign-line-2: '&e租用者:'
sign-line-3: '&f{0}'
sign-line-4: '&7右键点击编辑'
# ---- 可租用告示牌默认文字(管理员创建后显示)----
sign-available-line-1: '&6[BillBoard]'
sign-available-line-2: '&a可租用'
sign-available-line-3: '&e价格: &f{0}'
sign-available-line-4: '&7/bb rent'
# ---- 时长格式 ----
days-hours-format: '{0}天 {1}小时'
days-format: '{0}天'
hours-format: '{0}小时'
效果:
玩家右键告示牌:
玩家输入后
右键编辑: