AstraMarket

您的 Minecraft 服务器全球市场

资源图片
# EmpireProjekt.ru 拍卖插件 ## 无延迟,免费,服务器运行时实时数据库重新加载,无延迟!

drawing

优点: - [x] 排序:名称、日期、类型、玩家 - [x] 按玩家分组 - [x] 最小和最大价格 - [x] 每个玩家的最大数量 - [x] 创建拍卖时广播 - [x] 点击、打开、售出等音效 - [x] 权限 - [x] 可定制按钮 - [x] 完全可翻译 - [x] 运行时配置和数据库重新加载 - [x] 自定义货币支持 | 指令 | 描述 | 权限 | |:----------------------------------|:------------------------------------------------|:------------------------| | ️`/amarket` | 打开市场 | astra_market.command | | ️`/amarket open [玩家]` | 打开[玩家]的市场 | astra_market.command | | ️`/amarket expired [玩家]` | 打开[玩家]的过期菜单 | astra_market.command | | ️`/amarket players` | 打开拥有活动槽位的玩家列表 | astra_market.command | | ️`/amarket sell <价格> <数量>` | 在市场出售物品 | astra_market.sell | | ️- | 允许玩家一次最多出售 N 个物品 | astra_market.sell_max.N | | ️`/amarketreload` | 重新加载插件 | astra_market.reload | ### 配置 configs 首次启动时将创建 config.yml 如果插件无法读取 config,则将创建 config.default.yml。错误也会显示在控制台中,因此 您将了解为什么无法解析 config。 ```yaml 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 ``` ### 配置数据库 可以在重新加载插件后在运行时更改数据库。 ```yaml # 数据库有 3 种类型 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](https://github.com/Astra-Interactive)