适用于 EmpireProjekt.ru 的拍卖插件
无卡顿、免费、服务器运行时数据库热重载且无延迟!
优势:
- 排序:名称、日期、类型、玩家
- 按玩家分组
- 最低和最高价格
- 每个玩家的最高数量限制
- 创建拍卖时广播通知
- 点击、打开、售出等操作的音效
- 权限支持
- 可自定义按钮
- 完全支持多语言翻译
- 运行时配置与数据库重载
- 支持自定义货币
| 命令 | 描述 | 权限 |
|---|---|---|
/amarket |
打开市场 | astra_market.command |
/amarket open [PLAYER] |
打开(某玩家的)市场 | astra_market.command |
/amarket expired [PLAYER] |
打开过期菜单(某玩家的) | astra_market.command |
/amarket players |
打开拥有活跃槽位的玩家列表 | astra_market.command |
/amarket sell <price> <amount> |
在市场出售物品 | astra_market.sell |
- |
允许玩家一次性最多出售 N 件物品 | astra_market.sell_max.N |
/amarketreload |
重载插件 | astra_market.reload |
配置文件说明
首次启动时会自动生成 config.yml。
如果插件无法读取配置文件,则会生成 config.default.yml。同时控制台会显示错误信息,以便您了解为何配置文件解析失败。
auction:
use_compact_design: true
max_auction_per_player: 5
min_price: 10
max_price: 1000000
tax_percent: 0
announce: true
max_time_seconds: 604800000
# 您要使用的货币的 Vault ID
currency_id: null
sounds:
open: "ui.button.click"
close: "ui.button.click"
click: "ui.button.click"
fail: "entity.villager.no"
success: "block.note_block.chime"
sold: "block.note_block.chime"
buttons:
back:
material: "IRON_DOOR"
custom_model_data: 0
previous:
material: "PAPER"
custom_model_data: 0
next:
material: "PAPER"
custom_model_data: 0
sort:
material: "SUNFLOWER"
custom_model_data: 0
aauc:
material: "DIAMOND"
custom_model_data: 0
expred:
material: "EMERALD"
custom_model_data: 0
border:
material: "BLACK_STAINED_GLASS_PANE"
custom_model_data: 0
players_slots:
material: "PLAYER_HEAD"
custom_model_data: 0
数据库配置
在重载插件后,可以在运行时更改数据库设置。
# 共有三种类型的数据库
configuration:
type: "MySql"
host: "0.0.0.0"
port: 3006
user: "user_name"
password: "password"
name: "rating_database"
# 或者
configuration:
type: "H2"
name: "file_name"
# 或者
configuration:
type: "SQLite"
name: "file_name"
更多来自 AstraInteractive 的插件 AstraInteractive
Auction plugin for EmpireProjekt.ru
No-Lag, Free, Live Database reload during server runtime without lags!
Advantages:
- Sorting: Name, Date, Type, Player
- Grouping by players
- Min and Max prices
- Max amount per player
- Broadcast when auction created
- Sounds on click, open, sold etc.
- Permissions
- Customizable buttons
- Fully translatable
- Runtime config and database reload
- Custom currency support
| Command | Description | Permission |
|---|---|---|
️/amarket |
Open market | astra_market.command |
️/amarket open [PLAYER] |
Open market [of player] | astra_market.command |
️/amarket expired [PLAYER] |
Open expired menu [of player] | astra_market.command |
️/amarket players |
Open player list who have active slots | astra_market.command |
️/amarket sell <price> <amount> |
Sell items on market | astra_market.sell |
| ️- | Allows player to sell up to N items at one time | astra_market.sell_max.N |
️/amarketreload |
reload plugin | astra_market.reload |
Configuring configs
At first launch there will be created config.yml
If plugin can't read config there will be created config.default.yml. The error also will be displayed in console, so you will understand why the config couldn't be parsed.
auction:
use_compact_design: true
max_auction_per_player: 5
min_price: 10
max_price: 1000000
tax_percent: 0
announce: true
max_time_seconds: 604800000
# The vault id of currency you want to use
currency_id: null
sounds:
open: "ui.button.click"
close: "ui.button.click"
click: "ui.button.click"
fail: "entity.villager.no"
success: "block.note_block.chime"
sold: "block.note_block.chime"
buttons:
back:
material: "IRON_DOOR"
custom_model_data: 0
previous:
material: "PAPER"
custom_model_data: 0
next:
material: "PAPER"
custom_model_data: 0
sort:
material: "SUNFLOWER"
custom_model_data: 0
aauc:
material: "DIAMOND"
custom_model_data: 0
expred:
material: "EMERALD"
custom_model_data: 0
border:
material: "BLACK_STAINED_GLASS_PANE"
custom_model_data: 0
players_slots:
material: "PLAYER_HEAD"
custom_model_data: 0
Configuring database
The database can be changed in runtime after reloading plugin.
# There's 3 types of database
configuration:
type: "MySql"
host: "0.0.0.0"
port: 3006
user: "user_name"
password: "password"
name: "rating_database"
# Or
configuration:
type: "H2"
name: "file_name"
# Or
configuration:
type: "SQLite"
name: "file_name"
More plugins from AstraInteractive AstraInteractive
下载 AstraMarket
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AstraMarket
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AstraMarket
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AstraMarket
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AstraMarket
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AstraMarket
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AstraMarket
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AstraMarket
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AstraMarket
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AstraMarket
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
[CHORE] 采用 rules-architecture 0.28.0 (#155)
[CHORE] 采用 rules-architecture 0.27.0 (#154)
概述
采用 rules-architecture 0.27.0 并修复其报告的一个 PropertyInitializerOnDeclarationLine 问题。
在 rules-architecture 0.27.0 发布到 Maven Central (Astra-Interactive/rules-architecture#17) 之前请勿合并:在此之前 CI 无法解析它。
相关问题
无相关问题。
动机和背景
rules-architecture 0.27.0 新增了 ConsoleOutput、PropertyInitializerOnDeclarationLine 和 ExplicitItName;仓库必须在通过这些检查后才能发布该版本。
技术变更
- 在
gradle/libs.versions.toml中将klibs-rules升级至 0.27.0。 BukkitCoreModule中的economyProviderFactory现在将初始化器写在=所在行,构造函数参数另起一行。- 项目版本号从 1.38.0 提升至 1.39.0。
测试方法
CI 已覆盖:声明部分仅进行了重新格式化。
更新日志
用户无感知变更。
[CHORE] 使用 rules-architecture 0.6.0 (#150)
采用 rules-architecture 0.6.0,并使现有的架构检查可在 CI 中强制执行。
已接受的遗留问题已通过针对性的 @Suppress 注解以及 detekt/architecture 基线进行记录。同时修复了完整检查中发现的编译和测试兼容性问题。
[重构] 按照架构规则组织代码并在 CI 中进行 lint 检查 (#149)
-
[构建] 使用 gradle-plugin linter 对每个模块进行 lint 检查
-
[构建] 在拉取请求上运行架构检查
-
[重构] 将市场存储移至 data/dao 和 data/exposed
-
[修复] 返回市场存储失败信息,而不是将其隐藏为 null
-
[重构] 保持拍卖时间为 Instant 类型
-
[重构] 在不使用接口的情况下,每个拍卖操作都在一个用例中运行
-
[重构] 将 gui、command、service 和 core 文件移入对应的 kind 包中
-
[重构] 用函数替换排序映射器、布局对象和编码器接口
-
[重构] 将命令失败处理程序移入命令单元
-
[重构] 使拍卖命令成为密封类型(sealed type)
-
[重构] 从组件传递其第一个值给组件模型
-
[重构] 声明顺序遵循调用者优先,属性在函数之前
-
[重构] 命名所有 lambda 参数
-
[文档] 在每个 README 中用一句话描述每个单元
-
[构建] 在检测工具识别之前,接受 bukkit 和 vault 包
-
[维护] 版本提升至 1.34.2
-
[重构] 移除 detekt 从未报告的 ReturnCount 抑制项
-
[构建] 将 Bukkit gui 和 core 单元作为技术单元进行检查
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
使床在所有维度中爆炸的模组
插件
为 Armor Poser 模组添加兼容性
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
插件
AbAcc AbAcc 是一款适用于 Minecraft 服务器的管理插件,可简化玩家作弊检测与举报管理工作。工作人员可以发起并管理对可疑玩家的检查流程,并在检查完成后将其释放。
评论 0
登录后参与评分
还没有评论,来抢沙发吧