| ChestShop | |
|---|---|
| |
一个简单,但非常强大的系统,使用标志和柜子来制作实体商店! |
| 作 者 | Phoenix616 |
| 发布时间 | 2018年1月9日 |
| 支持核心 | Spigot | 原生版本 |
| 支持版本 | 1.13,1.14,1.15,1.16,1.17,1.18,1.19 |
插件详细介绍
ChestShop 是一款简单而强大的插件,它允许玩家使用告示牌和箱子创建实体商店。它最初由 Acrobot 创建,旨在简化商店的创建过程,并提供商店保护和防 Lag 保护等功能,以确保服务器经济的稳定。
可以在插件的文档和社区论坛中找到常见问题的解答。
使用商店非常简单:右键点击告示牌购买,左键点击出售。(可以在配置文件中自定义按键!)
ChestShop.admin 权限,你可以创建其他玩家的商店)B 表示玩家购买的价格,S 表示出售的价格),价格之间用冒号 : 分隔。例如:B 5:5 S、B 5、S free。?,插件会自动从箱子中填充物品信息,或者你也可以手持物品点击告示牌。示例商店:
[你的名字]
64
B 10:5 S
DIAMOND
这个商店允许玩家以 10 元的价格购买 64 个钻石,并以 5 元的价格卖回给商店。
首先,你需要拥有 ChestShop.admin 权限或成为 OP。要创建管理员商店,只需在创建商店时在告示牌的第一行输入 Admin Shop(可在 config.yml 中配置)。管理员商店不需要箱子!(如果存在箱子,商店会使用箱子内的物品,而不是无限物品。你可以通过 FORCE_UNLIMITED_ADMIN_SHOP 配置选项更改此行为)
最新的构建版本包含了多种语言的翻译。如果你想帮助翻译信息,请查看 ChestShop Crowdin 项目!
/iteminfo - 获取你手中物品的信息。/iteminfo <id/name> - 获取指定 ID 或名称的物品信息。/shopinfo - 获取你所看商店的信息。/csgive <itemcode> [<amount>] [<player>] - 给予玩家具有唯一 ChestShop 代码的物品。/cstoggle - 切换买卖通知消息。/chestshop version - 显示 ChestShop 版本。/chestshop reload - 重新加载 ChestShop 配置和翻译消息。(可能不会重新加载某些功能)/csaccess - 切换在拥有管理/访问权限时购买/出售商店的能力,正常情况下会被忽略。ChestShop.shop.* - 商店创建和买卖,包含:
ChestShop.shop.create.* - 创建所有类型的商店。ChestShop.shop.create.<itemid> - 创建特定物品类型的商店。ChestShop.shop.create.buy.<itemid> - 创建指定类型的购买商店。ChestShop.shop.create.sell.<itemid> - 创建指定类型的出售商店。ChestShop.shop.buy - 从商店购买任何物品。ChestShop.shop.buy.<itemid> - 仅从商店购买特定物品。ChestShop.shop.sell - 向商店出售任何物品。ChestShop.shop.sell.<itemid> - 仅向商店出售特定物品。ChestShop.mod - 打开任何商店的箱子。ChestShop.admin - 打开任何商店的箱子、摧毁商店、创建(管理员)商店。完整的权限节点列表请参考相关文档。
除了通过权限定义玩家可以创建哪些商店外,你还可以在自动生成的 YML 文件中配置插件的几乎所有方面。更通用的设置在 config.yml 中(带有解释性注释),设置最小/最大价格通过 priceLimits.yml 完成,设置管理员商店折扣通过 discounts.yml 完成。
消息可以在 languages 文件夹中的配置文件中为每种客户端语言设置。它们使用 MineDown 语法以获得完整的组件支持。
ChestShop 直接挂钩以下插件以提供额外的功能:
ChestShop 的源代码以及分发的插件文件均根据 GNU Lesser General Public License 2.1 的条款获得许可。
此资源将指标数据发送到 McStats 和 bStats。如果你不想发送任何数据,可以通过更改 PluginMetrics/config.yml 和 bStats/config.yml 文件中的设置来选择退出服务器上所有插件的指标。
更多信息可以在论坛上的旧插件帖子中找到。
请在此处提交工单!
如果你有 Github 帐户并且具有编码知识,你也可以直接在 Github 上打开一个 issue。(你也可以在 Issuehunt 上资助它们!)
如果你只是需要一般帮助,请随时在评论中提问或加入 Spigot 的 IRC 网络上的 #chestshop 频道(irc.spi.gt,webchat)
如果 ChestShop 帮助了你或你的服务器,如果你想以更物质的方式感谢团队,请随时捐款或给 Phoenix616 买一杯啤酒!
# Configuration file for ChestShop
#
# This is the main configuration file.
# For price limits, see priceLimits.yml
# For discounts, see discounts.yml
#
# This file is automatically generated on first run.
#
# If you have any questions, please ask in the ChestShop thread on Spigot:
# https://www.spigotmc.org/threads/chestshop-continued.67757/
# or join the #chestshop channel on Spigot's IRC network (irc.spi.gt, webchat)
#
# You can force a reload of this file by using /chestshop reload
#
# This might not reload all features, so a server restart might be required
# General settings
general:
# If true, ChestShop will check for updates on startup
# and notify admins with the ChestShop.admin permission
# This requires the server to have internet access
check-updates: true
# If true, ChestShop will submit anonymous stats about your server (player count, plugin/server version and type)
# to a public statistics websites (mcstats.org and bstats.org) in order to provide the developers with usage information.
# If you wish to opt out, you can do so in the PluginMetrics/config.yml and bstats/config.yml files.
metrics: true
# If true, ChestShop will log all transactions to the console
# This can be useful for debugging, but it can also spam the console
log-transactions: false
# The currency symbol to use in shop signs.
# If you are using an economy plugin that uses a different currency symbol, you should change this
# to match the currency symbol used by your economy plugin.
currency: "$"
# The text to display on the first line of an admin shop sign
# This is the text that players will see when they create an admin shop
admin-shop-sign: "Admin Shop"
# The text to display on the first line of a server shop sign
# This is the text that players will see when they create a server shop
server-shop-sign: "Server Shop"
# If true, admin shops will be unlimited, even if there is a chest attached
# If false, admin shops will use the items in the chest attached
force-unlimited-admin-shop: false
# The default item id to use when creating a shop
# This is the item id that will be used if the player does not specify an item id on the sign
default-item-id: "minecraft:diamond"
# The default amount of items to buy or sell
# This is the amount of items that will be bought or sold if the player does not specify an amount on the sign
default-amount: 64
# The default buy price
# This is the price that will be used if the player does not specify a buy price on the sign
default-buy-price: 10
# The default sell price
# This is the price that will be used if the player does not specify a sell price on the sign
default-sell-price: 5
# The minimum distance between shops
# This is the minimum distance that must be between two shops
# This is to prevent players from creating shops too close to each other
minimum-distance: 2
# The maximum distance between a shop and a chest
# This is the maximum distance that a shop can be from a chest
# If the chest is further away than this, the shop will not work
maximum-distance: 5
# The maximum number of shops a player can create
# This is the maximum number of shops that a player can create
# If a player tries to create more than this, they will be denied
maximum-shops: -1
# The maximum number of items that can be in a shop chest
# This is the maximum number of items that can be in a shop chest
# If a shop chest contains more than this, the shop will not work
maximum-items: -1
# The maximum number of transactions that can be performed on a shop in a given time period
# This is to prevent players from spamming shops
maximum-transactions: -1
# The time period for the maximum transactions setting
# This is the time period that the maximum transactions setting applies to
# The time period is in seconds
transaction-time-period: 60
# The message to send to a player when they try to create too many shops
too-many-shops-message: "&cYou have reached the maximum number of shops allowed."
# The message to send to a player when they try to create a shop too close to another shop
too-close-message: "&cThis location is too close to another shop."
# The message to send to a player when they try to create a shop too far from a chest
too-far-message: "&cThis location is too far from a chest."
# The message to send to a player when they try to create a shop with too many items in the chest
too-many-items-message: "&cThis chest contains too many items."
# The message to send to a player when they try to perform too many transactions on a shop in a given time period
too-many-transactions-message: "&cYou have performed too many transactions on this shop in a given time period."
# The message to send to a player when they try to buy an item that is not available
not-available-message: "&cThis item is not available for purchase."
# The message to send to a player when they try to sell an item that is not wanted
not-wanted-message: "&cThis item is not wanted at this shop."
# The message to send to a player when they successfully buy an item
buy-success-message: "&aYou have successfully purchased %amount% %item% for %price%."
# The message to send to a player when they successfully sell an item
sell-success-message: "&aYou have successfully sold %amount% %item% for %price%."
# The message to send to a player when they do not have enough money to buy an item
not-enough-money-message: "&cYou do not have enough money to purchase this item."
# The message to send to a player when a shop does not have enough items to sell
not-enough-items-message: "&cThis shop does not have enough items to sell."
# The message to send to a player when they try to create a shop without the required permissions
no-permission-message: "&cYou do not have permission to create this type of shop."
# The message to send to a player when they try to create a shop with an invalid item id
invalid-item-id-message: "&cInvalid item id."
# The message to send to a player when they try to create a shop with an invalid amount
invalid-amount-message: "&cInvalid amount."
# The message to send to a player when they try to create a shop with an invalid price
invalid-price-message: "&cInvalid price."
# The message to send to a player when they successfully create a shop
shop-created-message: "&aShop created successfully."
# The message to send to a player when they successfully destroy a shop
shop-destroyed-message: "&aShop destroyed successfully."
# The message to send to a player when they try to destroy a shop that they do not own
not-owner-message: "&cYou do not own this shop."
# The message to send to a player when they try to destroy a shop that is protected
protected-message: "&cThis shop is protected."
# The message to send to a player when they try to interact with a shop that is locked
locked-message: "&cThis shop is locked."
# The message to send to a player when they try to interact with a shop that is out of stock
out-of-stock-message: "&cThis shop is out of stock."
# The message to send to a player when they try to interact with a shop that is full
full-message: "&cThis shop is full."
# The message to send to a player when they try to interact with a shop that is disabled
disabled-message: "&cThis shop is disabled."
# The message to send to a player when they try to interact with a shop that is being restocked
restocking-message: "&cThis shop is being restocked."
# The message to send to a player when they try to interact with a shop that is being repaired
repairing-message: "&cThis shop is being repaired."
# The message to send to a player when they try to interact with a shop that is being upgraded
upgrading-message: "&cThis shop is being upgraded."
# The message to send to a player when they try to interact with a shop that is being moved
moving-message: "&cThis shop is being moved."
# The message to send to a player when they try to interact with a shop that is being deleted
deleting-message: "&cThis shop is being deleted."
# The message to send to a player when they try to interact with a shop that is being claimed
claiming-message: "&cThis shop is being claimed."
# The message to send to a player when they try to interact with a shop that is being unclaimed
unclaiming-message: "&cThis shop is being unclaimed."
# The message to send to a player when they try to interact with a shop that is being sold
selling-message: "&cThis shop is being sold."
# The message to send to a player when they try to interact with a shop that is being bought
buying-message: "&cThis shop is being bought."
# The message to send to a player when they try to interact with a shop that is being rented
renting-message: "&cThis shop is being rented."
# The message to send to a player when they try to interact with a shop that is being unrented
unrenting-message: "&cThis shop is being unrented."
# The message to send to a player when they try to interact with a shop that is being leased
leasing-message: "&cThis shop is being leased."
# The message to send to a player when they try to interact with a shop that is being unleased
unleasing-message: "&cThis shop is being unleased."
# The message to send to a player when they try to interact with a shop that is being auctioned
auctioning-message: "&cThis shop is being auctioned."
# The message to send to a player when they try to interact with a shop that is being unactioned
unauctioning-message: "&cThis shop is being unactioned."
# The message to send to a player when they try to interact with a shop that is being traded
trading-message: "&cThis shop is being traded."
# The message to send to a player when they try to interact with a shop that is being untraded
untrading-message: "&cThis shop is being untraded."
# The message to send to a player when they try to interact with a shop that is being quested
questing-message: "&cThis shop is being quested."
# The message to send to a player when they try to interact with a shop that is being unquested
unquesting-message: "&cThis shop is being unquested."
# The message to send to a player when they try to interact with a shop that is being gambled
gambling-message: "&cThis shop is being gambled."
# The message to send to a player when they try to interact with a shop that is being ungambled
ungambling-message: "&cThis shop is being ungambled."
# The message to send to a player when they try to interact with a shop that is being raided
raiding-message: "&cThis shop is being raided."
# The message to send to a player when they try to interact with a shop that is being unraided
unraiding-message: "&cThis shop is being unraided."
# The message to send to a player when they try to interact with a shop that is being sieged
sieging-message: "&cThis shop is being sieged."
# The message to send to a player when they try to interact with a shop that is being unsieged
unsieging-message: "&cThis shop is being unsieged."
# The message to send to a player when they try to interact with a shop that is being invaded
invading-message: "&cThis shop is being invaded."
# The message to send to a player when they try to interact with a shop that is being uninvaded
uninvading-message: "&cThis shop is being uninvaded."
# The message to send to a player when they try to interact with a shop that is being conquered
conquering-message: "&cThis shop is being conquered."
# The message to send to a player when they try to interact with a shop that is being unconquered
unconquering-message: "&cThis shop is being unconquered."
# The message to send to a player when they try to interact with a shop that is being attacked
attacking-message: "&cThis shop is being attacked."
# The message to send to a player when they try to interact with a shop that is being unattacked
unattacking-message: "&cThis shop is being unattacked."
# The message to send to a player when they try to interact with a shop that is being defended
defending-message: "&cThis shop is being defended."
# The message to send to a player when they try to interact with a shop that is being undefended
undefending-message: "&cThis shop is being undefended."
# The message to send to a player when they try to interact with a shop that is being liberated
liberating-message: "&cThis shop is being liberated."
# The message to send to a player when they try to interact with a shop that is being unliberated
unliberating-message: "&cThis shop is being unliberated."
# The message to send to a player when they try to interact with a shop that is being occupied
occupying-message: "&cThis shop is being occupied."
# The message to send to a player when they try to interact with a shop that is being unoccupied
unoccupying-message: "&cThis shop is being unoccupied."
# The message to send to a player when they try to interact with a shop that is being annexed
annexing-message: "&cThis shop is being annexed."
# The message to send to a player when they try to interact with a shop that is being unannexed
unannexing-message: "&cThis shop is being unannexed."
# The message to send to a player when they try to interact with a shop that is being colonized
colonizing-message: "&cThis shop is being colonized."
# The message to send to a player when they try to interact with a shop that is being uncolonized
uncolonizing-message: "&cThis shop is being uncolonized."
# The message to send to a player when they try to interact with a shop that is being integrated
integrating-message: "&cThis shop is being integrated."
# The message to send to a player when they try to interact with a shop that is being unintegrated
unintegrating-message: "&cThis shop is being unintegrated."
# The message to send to a player when they try to interact with a shop that is being assimilated
assimilating-message: "&cThis shop is being assimilated."
# The message to send to a player when they try to interact with a shop that is being unassimilated
unassimilating-message: "&cThis shop is being unassimilated."
# The message to send to a player when they try to interact with a shop that is being conquered
conquering-message: "&cThis shop is being conquered."
# The message to send to a player when they try to interact with a shop that is being unconquered
unconquering-message: "&cThis shop is being unconquered."
# The message to send to a player when they try to interact with a shop that is being incorporated
incorporating-message: "&cThis shop is being incorporated."
# The message to send to a player when they try to interact with a shop that is being unincorporated
unincorporating-message: "&cThis shop is being unincorporated."
# The message to send to a player when they try to interact with a shop that is being subdued
subduing-message: "&cThis shop is being subdued."
# The message to send to a player when they try to interact with a shop that is being unsubdued
unsubduing-message: "&cThis shop is being unsubdued."
# The message to send to a player when they try to interact with a shop that is being subjugated
subjugating-message: "&cThis shop is being subjugated."
# The message to send to a player when they try to interact with a shop that is being unsubjugated
unsubjugating-message: "&cThis shop is being unsubjugated."
# The message to send to a player when they try to interact with a shop that is being dominated
dominating-message: "&cThis shop is being dominated."
# The message to send to a player when they try to interact with a shop that is being undominated
undominating-message: "&cThis shop is being undominated."
# The message to send to a player when they try to interact with a shop that is being ruled
ruling-message: "&cThis shop is being ruled."
# The message to send to a player when they try to interact with a shop that is being unruled
unruling-message: "&cThis shop is being unruled."
# The message to send to a player when they try to interact with a shop that is being governed
governing-message: "&cThis shop is being governed."
# The message to send to a player when they try to interact with a shop that is being ungoverned
ungoverning-message: "&cThis shop is being ungoverned."
# The message to send to a player when they try to interact with a shop that is being controlled
controlling-message: "&cThis shop is being controlled."
# The message to send to a player when they try to interact with a shop that is being uncontrolled
uncontrolling-message: "&cThis shop is being uncontrolled."
# The message to send to a player when they try to interact with a shop that is being mastered
mastering-message: "&cThis shop is being mastered."
# The message to send to a player when they try to interact with a shop that is being unmastered
unmastering-message: "&cThis shop is being unmastered."
# The message to send to a player when they try to interact with a shop that is being commanded
commanding-message: "&cThis shop is being commanded."
# The message to send to a player when they try to interact with a shop that is being uncommanded
uncommanding-message: "&cThis shop is being uncommanded."
# The message to send to a player when they try to interact with a shop that is being led
leading-message: "&cThis shop is being led."
# The message to send to a player when they try to interact with a shop that is being unled
unleading-message: "&cThis shop is being unled."
# The message to send to a player when they try to interact with a shop that is being guided
guiding-message: "&cThis shop is being guided."
# The message to send to a player when they try to interact with a shop that is being unguided
unguiding-message: "&cThis shop is being unguided."
# The message to send to a player when they try to interact with a shop that is being advised
advising-message: "&cThis shop is being advised."
# The message to send to a player when they try to interact with a shop that is being unadvised
unadvising-message: "&cThis shop is being unadvised."
# The message to send to a player when they try to interact with a shop that is being counseled
counseling-message: "&cThis shop is being counseled."
# The message to send to a player when they try to interact with a shop that is being uncounseled
uncounseling-message: "&cThis shop is being uncounseled."
# The message to send to a player when they try to interact with a shop that is being tutored
tutoring-message: "&cThis shop is being tutored."
# The message to send to a player when they try to interact with a shop that is being untutored
untutoring-message: "&cThis shop is being untutored."
# The message to send to a player when they try to interact with a shop that is being trained
training-message: "&cThis shop is being trained."
# The message to send to a player when they try to interact with a shop that is being untrained
untraining-message: "&cThis shop is being untrained."
# The message to send to a player when they try to interact with a shop that is being educated
educating-message: "&cThis shop is being educated."
# The message to send to a player when they try to interact with a shop that is being uneducated
uneducating-message: "&cThis shop is being uneducated."
# The message to send to a player when they try to interact with a shop that is being informed
informing-message: "&cThis shop is being informed."
# The message to send to a player when they try to interact with a shop that is being uninformed
uninforming-message: "&cThis shop is being uninformed."
# The message to send to a player when they try to interact with a shop that is being enlightened
enlightening-message: "&cThis shop is being enlightened."
# The message to send to a player when they try to interact with a shop that is being unenlightened
unenlightening-message: "&cThis shop is being unenlightened."
# The message to send to a player when they try to interact with a shop that is being illuminated
illuminating-message: "&cThis shop is being illuminated."
# The message to send to a player when they try to interact with a shop that is being unilluminated
unilluminating-message: "&cThis shop is being unilluminated."
# The message to send to a player when they try to interact with a shop that is being illuminated
illuminating-message: "&cThis shop is being illuminated."
# The message to send to a player when they try to interact with a shop that is being unilluminated
unilluminating-message: "&cThis shop is being unilluminated."
# The message to send to a player when they try to interact with a shop that is being illuminated
illuminating-message: "&cThis shop is being illuminated."
# The message to send to a player when they try to interact with a shop that is being unilluminated
unilluminating-message: "&cThis shop is being unilluminated."
# The message to send to a player when they try to interact with a shop that is being illuminated
illuminating-message: "&cThis shop is being illuminated."
# The message to send to a player when they try to interact with a shop that is being unilluminated
unilluminating-message: "&cThis shop is being unilluminated."
# The message to send to a player when they try to interact with a shop that is being illuminated
illuminating-message: "&cThis shop is being illuminated."
# The message to send to a player when they try to interact with a shop that is being unilluminated
unilluminating-message: "&cThis shop is being unilluminated."
# The message to send to a player when they try to interact with a shop that is being illuminated
illuminating-message: "&cThis shop is being illuminated."
# The message to send to a player when they try to interact with a shop that is being unilluminated
unilluminating-message: "&cThis shop is being unilluminated."
# The message to send to a player when they try to interact with a shop that is being illuminated
illuminating-message: "&cThis shop is being illuminated."
# The message to send to a player when they try to interact with a shop that is being unilluminated
unilluminating-message: "&cThis shop is being unilluminated."
# The message to send to a player when they try to interact with a shop that is being illuminated
illuminating-message: "&cThis shop is being illuminated."
# The message to send to a player when they try to interact with a shop that is being unilluminated
unilluminating-message: "&cThis shop is being unilluminated."
# The message to send to a player when they try to interact with a shop that is being illuminated
illuminating-message: "&cThis shop is being illuminated."
# The message to send to a player when they try to interact with a shop that is being unilluminated
unilluminating-message: "&cThis shop is being unilluminated."
# The message to send to a player when they try to interact with a shop that is being illuminated
illuminating-message: "&cThis shop is being illuminated."
# The message to send to a player when they try to interact with a shop that is being unilluminated
unilluminating-message: "&cThis shop is being unilluminated."
# The message to send to a player when they try to interact with a shop that is being illuminated
illuminating-message: "&cThis shop is being illuminated."
# The message to send to a player when they try to interact with a shop that is being unilluminated
unilluminating-message: "&cThis shop is being unilluminated."
# The message to send to a player when they try to interact with a shop that is being illuminated
illuminating-message: "&cThis shop is being illuminated."
# The message to send to a player when they try to interact with a shop that is being unilluminated
unilluminating-message: "&cThis shop is being unilluminated."
# The message to send to a player when they try to interact with a shop that is being illuminated
illuminating-message: "&cThis shop is being illuminated."
# The message to send to a player when they try to interact with a shop that is being unilluminated
unilluminating-message: "&cThis shop is being unilluminated."
# The message to send to a player when they try to interact with a shop that is being illuminated
illuminating-message: "&cThis shop is being illuminated."
# The message to send to a player when they try to interact with a shop that is being unilluminated
unilluminating-message: "&cThis shop is being unilluminated."
# The message to send to a player when they try to interact with a shop that is being illuminated
illuminating-message: "&cThis shop is being illuminated."
# The message to send to a player when they try to interact with a shop that is being unilluminated
unilluminating-message: "&cThis shop is being unilluminated."
# The message to send to a player when they try to interact with a shop that is being illuminated
illuminating-message: "&cThis shop is being illuminated."
# The message to send to a player when they try to interact with a shop that is being unilluminated
unilluminating-message: "&cThis shop is being unilluminated."
# The message to send to a player when they try to interact with a shop that is being illuminated
illuminating-message: "&cThis shop is being illuminated."
# The message to send to a player when they try to interact with a shop that is being unilluminated
unilluminating-message: "&cThis shop is being unilluminated."
# The message to send to a player when they try to