描述

QuickMarket 是一个插件,在购物和安全交易方面,让服务器管理员和玩家的工作变得超级简单。
QuickMarket 具备玩家商店和管理员商店系统,包含大量功能,并内置游戏内商店编辑器,允许您尽可能顺畅地调整商店设置,同时为商店的最终用户提供充分的安全性。
此外,本插件部分基于我的另一个插件 QuickSell。如果您寻找的是管理员商店而非完整的商店系统,请务必查看该插件。
开发版本

您可以在这里找到 QuickMarket 的最新版本:
请注意,这些构建版本未经过全面测试,也未获得 BukkitDev 团队的批准。使用风险自负!
依赖要求

必需项:
- CraftBukkit/Spigot 1.13+
- Vault
- 一个经济类插件
可选项:
权限

以下是相关权限。本插件没有命令,因为它主要基于 GUI 界面以提供更好的体验。
| 权限节点 | 描述 | |||
| QuickMarket.shop.infinite | 允许您创建无限库存(管理员)商店。 | |||
| QuickMarket.shop.bypass | 允许您修改他人的商店。 |
功能特性

- 游戏内商店编辑器,使创建/编辑商店变得超级简单
- 有趣的购买菜单(默认禁用),允许玩家选择从商店购买的精确数量
- 无需破坏告示牌即可编辑商店
- 全部出售 - 玩家商店
- 商店使用统计以及基于使用统计估算的收入/支出价值
- 定时计划(在您不希望任何人交互的特定时间段禁用商店)
- 管理员商店(如果您拥有相应权限,可以将您的商店设置为管理员模式,这不仅会使库存或背包空间变为无限,还会停止从您那里扣除或向您的账户存入金钱)
- PrisonUtils 背包集成(更多信息见页面下方)
- 兼容 ClearLag
- 在商店上方显示物品,并展示带有物品名称的名牌
- 支持自定义物品(名称、lore、元数据等...)来自其他插件的物品(如 Slimefun)同样适用!
- 独特的市场摊位(可租赁商店)
配置

不需要进行太多配置,因为(正如现在已提及四次那样)它主要基于 GUI 界面
options: auto-update: true ## 插件是否应自动更新 item-refresh-delay: 150 ## 延迟(以刻为单位,20 = 1秒) item-nametags: true ## 商店上方的物品是否显示名牌 chunk-notifications: false ## 插件是否在商店卸载时打印调试消息 shops: prefix: '&8[&6Shop&8]' ## 商店告示牌上的前缀 prefix-infinite: '&8[&4AdminShop&8]' ## 无限商店的告示牌前缀 buy-menu: false ## 是否启用购买菜单(更多信息见后文) max-price: 1000000000000.0 ## 可设置的最高价格 markets: enabled: false ## 是否启用市场摊位 prefix: '&8[&aMarket&8]' ## 市场告示牌上的前缀 prefix-infinite: '&8[&4AdminShop&8]' ## 无限市场摊位的告示牌前缀 buy-menu: true ## 是否启用购买菜单(更多信息见后文) marketstand:prefix-available: '&8[&aMarket&8]' ## 可租赁的市场摊位前缀 prefix-unavailable: '&8[&4Market&8]'## 已租出的市场摊位前缀 max-days: 7 ## 您可以租赁市场摊位的最大天数
告示牌、商店编辑器和购买菜单

此插件主要基于图形用户界面 (GUI)。
告示牌
要创建商店:
- [shop]
- <数量>
- <价格>
- <buy/sell/sellall> 这里有一个示例:
添加您的告示牌后,您需要右键单击它以打开商店菜单来编辑商店。完成之后,您的商店应该如下所示:
请注意,所有这些内容都可以在游戏内商店编辑器中更改!
因此,您不必担心不小心输入了不同的价格,因为您可以在稍后更改它
游戏内商店编辑器
商店编辑器是您可以编辑商店所有方面的地方。这包括物品、类型(买入/卖出/全部卖出)、商店开放和关闭的时间、商店当前是否开放等等!左上角的物品是您正在出售/购买的物品。点击它以将其更改为您手中的物品。
为了防止出现错误,当您在商店菜单中编辑商店时,商店将被锁定,任何人都无法与其交互!
以下是商店菜单的一些图片:
购买菜单
购买菜单是一个有用的功能,可以在配置文件中启用。通过此功能,您可以决定从商店购买多少物品。这是一张图片:
市场摊位

如果你拥有权限 "QuickMarket.market.admin",你就可以创建市场摊位。市场摊位是可租赁的商店集合,你的玩家可以使用它们。
要创建一个市场摊位,只需在任意位置放置一个告示牌,并在上面写下以下内容:
- [Marketstand]
- <每日租金>
然后,你可以通过在任何箱子/陷阱箱上放置带有前缀 [Market] 的告示牌来创建任意数量的市场商店: - [Market]
完成上述操作后,只需右键点击你的市场摊位告示牌即可链接你的商店。
现在,玩家可以租赁这个市场摊位。
你可以在 Koz' Spotlight 中找到关于此功能的详细展示:
[MEDIA=youtube]6SxAlcGhXFA[/MEDIA]
使用背包思考(PrisonUtils)

如果你正在使用我的插件 PrisonUtils,QuickMarket 将自动与 PrisonUtils 的背包系统挂钩。一旦挂钩成功,你可以用它实现一些非常酷的功能(是的,我对这部分感到很自豪)
- 在使用出售或全部出售商店时,它也会像 QuickSell 的全部出售告示牌一样出售你背包中的物品
- 你可以将背包放入出售/购买/全部出售的箱子中,以拥有额外的库存空间。当玩家从你的商店购买时,你可以在箱子中放入装满物品的背包来增加额外库存!当玩家向你的商店出售物品时,你可以将背包放入箱子中以腾出更多存储空间!
自动更新器与指标统计

我所有的插件都使用了自动更新功能,以确保您始终
使用的是最新版本,并且 hopefully 最少的 bug 版本。
如果您不希望此插件自动更新,可以在配置文件中关闭它
位于 "options -> auto-update: true/false"
它们还使用了一个 Metrics 系统,该系统收集以下信息:
一个唯一的标识符
服务器的 Java 版本
服务器是否处于离线或在线模式
插件的版本
服务器的版本
操作系统版本/名称和架构
CPU 的核心数量
在线玩家的数量
Metrics 的版本
可以通过编辑
plugins/Plugin Metrics/config.yml 并将 opt-out 更改为 true 来退出此服务。
Description

QuickMarket is a Plugin which makes your job as a Server Owner and the job of your Players super-easy when it comes to Shopping and safe Trades.
QuickMarket features a Player and Admin Shop System packed with a lots of Features and an Ingame Shop Editor to allow you and yourself to adjust their Shop as smooth as possible while still providing a lot of safety for the End-User of the Shop.
Also, this Plugin was partially based on my other Plugin QuickSell if you are looking for an Adminshop rather than an entire Shop System, make sure to check it out.
Development Builds

Here you can find the most recent Versions of QuickMarket:
Keep in mind that these builds are not thoroughly tested and haven't been approved by the BukkitDev Team. Use them at your own risk!
Requirements

REQUIRED:
- CraftBukkit/Spigot 1.13+
- Vault
- An Economy Plugin
OPTIONAL:
Permissions

Here are the permissions. There aren't any commands, because this plugin is mostly GUI based for a better experience.
| Permission | Description | |||
| QuickMarket.shop.infinite | Allows you to create infinite (Admin) shops. | |||
| QuickMarket.shop.bypass | Allows you to modify others shops. |
Features

- Ingame Shop Editor making it super-easy to create/edit a Shop
- An interesting Buy-Menu (disabled by default) which allows your Player to choose the exact amount he wants to buy from a Shop
- Edit shops without breaking signs
- SELL ALL - Player Shops
- Shop Usage statistic as well as an estimated Income/Outgoings Value based on the Usage Statistic
- Schedule (disable the shop at certain times when you don't want anyone to interact with it)
- Admin shops (If you have the appropriate Permission you can set your Shop into ADMIN Mode which will not only make the Stock or Inventory Space Infinite but it will also no longer withdraw or deposit Money from/to you
- PrisonUtils Backpack Integration (More Info further down on the Page)
- ClearLag compatibility
- Display Item above Shop also showing a Nametag with the Name of the Item
- Supports custom Items (Name, Lore, Metadata, etc...) Items from other Plugins like Slimefun work as well!
- Unique Marketstands (Rentable Shops)
Configuration

There isn't much Configuration that needs to be done as it is (as mentioned 4 times by now) mostly GUI-based
options: auto-update: true ## Whether the Plugin should auto-update item-refresh-delay: 150 ## The Delay (in Ticks, 20 = 1 Second) item-nametags: true ## Whether the Item above a Shop chunk-notifications: false ## Whether the Plugin will print out Debug Messages when Shops get unloaded shops: prefix: '&8[&6Shop&8]' ## The Prefix on Shop Signs prefix-infinite: '&8[&4AdminShop&8]' ## The Prefix on Shop Signs if the Shop is Infinite buy-menu: false ## Whether the Buy Menu is enabled (More Info later on) max-price: 1000000000000.0 ## The MAXIMAL Price you can set markets: enabled: false ## Whether Marketstands are enabled prefix: '&8[&aMarket&8]' ## The Prefix on Market Signs prefix-infinite: '&8[&4AdminShop&8]' ## The Prefix on Market Signs if the Shop is infinite buy-menu: true ## Whether the Buy Menu is enabled (More Info later on) marketstand: prefix-available: '&8[&aMarket&8]' ## The Prefix on Marketstands which are available for rent prefix-unavailable: '&8[&4Market&8]'## The Prefix on Marketstands which are rented max-days: 7 ## The MAXIMAL amount of days which you can rent a Marketstand for
Signs, Shop Editor, and Buy-Menu

This plugin is mostly GUI based.
Signs
To create a shop:
- [shop]
- <Quantity>
- <Price>
- <buy/sell/sellall> Here is an example:
After adding your sign, you will need to right click it to open up the Shopmenu to edit the shop. After you've done that, here is what your shop should look like:
Note that ALL these these things can be changed in the In Game Shop editor!
So you don't have to worry about accidentally entering a different Price as you can change it later on
Ingame Shop Editor
The Shop Editor is where you can edit all aspects of your shop. These include the item, the type (buy/sell/sellall), time when the shop is open and not, if the shop is open currently, and a lot more! The item in the top left is the item you are selling/buying. Click it to change it to the item in your hand.
To prevent glitches, when you're editing the shop through the Shopmenu, the shop is locked, and nobody can interact with it!
Here are some pictures of the Shopmenu:
Buy-Menu
The Buy-Menu is a useful feature that can be enabled in the config. With this, you can decide how many items you buy from the shop. Here is a picture:
Marketstands

If you have the Permission "QuickMarket.market.admin" you are able to create Marketstands. Marketstands are rentable Shop Collections which can be used by your Players.
To create a Marketstand, simply place a Sign somewhere and write this onto the Sign:
- [Marketstand]
- <Price per day>
Then you can create as many Market-Shops as you want by placing a Sign with the Prefix [Market] onto any Chest/Trapped Chest: - [Market]
After you have done that, simply link your Shop by right clicking your Marketstand Sign.
Now Players can rent this Marketstand.
You can find a detailed Showcase of this Feature in Koz' Spotlight:
[MEDIA=youtube]6SxAlcGhXFA[/MEDIA]
Thinking with Backpacks (PrisonUtils)

If you are using my plugin PrisonUtils, QuickMarket will automatically hook into PrisonUtils's backpack system. When it is hooked, you can do some incredibly cool stuff with it (Yea, Im proud of this Part)
- When using Sell or Sell All Shops it also sells the Items from your Backpacks just like it does with QuickSell's SELL ALL Signs
- You can put backpacks in Sell/Buy/Sell All chests to have extra inventory. When Players are buying from your Shop, you can put a backpack full of stuff in the chest to have extra stock! When Players are selling to your Shop, you can put a backpack into your Chest to have extra space to store stuff!
Auto-Updater and Metrics

All my Plugins are using an Auto-Updater to make sure, you're always
using the latest and hopefully most bug free version of my Plugin.
If you don't want this Plugin to be auto-updated, you can turn it off
in the config file at "options -> auto-update: true/false"
They also use a Metrics-System which collects the following Information:
A unique identifier
The server's version of Java
Whether the server is in offline or online mode
The plugin's version
The server's version
The OS version/name and architecture
The core count for the CPU
The number of players online
The Metrics version
Opting out of this service can be done by editing
plugins/Plugin Metrics/config.yml and changing opt-out to true.
下载 QuickMarket
下载 QuickMarket
下载 QuickMarket
下载 QuickMarket
下载 QuickMarket
下载 QuickMarket
下载 QuickMarket
下载 QuickMarket
下载 QuickMarket
下载 QuickMarket
版本 1.4
+ 添加了 bStats 指标统计
+ 在本地化文件中增加了更多消息
* 更新以支持 MC 1.13 和 1.14
* 现在任何容器都可以用作商店(潜影盒、发射器、箱子等...)
- 移除了对 CS-CoreLib 的依赖
版本 1.2.4
- 修复
修复了“出售全部”商店即使只卖出少量物品也会消耗整个堆栈的问题
版本 1.2.3
- 修复
修复了商店拥有者永远不会耗尽资金的问题
版本 1.2.2
+ 增加了对 Minecraft 1.9 的支持
版本 1.2
+ 增加了市场摊位
+ 增加了全局最高价格限制
- 修复
修复了商店有时无法使用的问题
修复了商店有时实际上并非无限供应却被显示为无限供应的问题。
版本 1.1
+ 为商店增加了箱子保护功能(支持双箱)
- 修复
修复了 ClearLagg 有时导致展示物品可以被拾取的问题
修复了非无限购买的商店有时未能从箱子中移除物品的問題
修复了数量大于 1 的非无限购买商店存在的问题
版本 1.0.7
- 修复
漏斗现在无法再拾取商店的展示物品
版本 1.0.6
- 如果区块从内存中卸载,商店将暂时禁用
这解决了偶尔出现的物品复制或被拾取的问题
版本 1.0.5
+ 增加了对 Multiverse/Multiworld/其他多世界插件的支持
+ 增加了配置选项以禁用物品名称标签
版本 1.0.4
- 修复
修复了未安装 ClearLagg 时告示牌无法被识别的问题
版本 1.0.3
- 商店物品展示现在免疫 Slimefun 磁铁的影响
版本 1.0.2
- 更新至最新版本的 ClearLag
版本 1.0.1
+ 增加了指标统计功能
版本 1.0
- 正式发布
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
使床在所有维度中爆炸的模组
插件
为 Armor Poser 模组添加兼容性
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
评论 0
登录后参与评分
还没有评论,来抢沙发吧