本模组添加了一个简单的商店,用于买卖物品。可通过使用 /shop 命令访问该商店。商店系统包含多种功能,可通过不同的子命令进行管理:
- /shop:访问商店界面的主命令。用户可以浏览可用物品,或根据其权限以不同方式与商店进行交互。

- /shop edit:允许管理员(权限等级为 2 或更高的用户)编辑商店库存。这包括向商店添加或移除物品。



-
/shop load:管理员可以从文件加载商店配置,从而轻松重置或更新商店内容。
-
/shop save:此命令将商店的当前状态保存到文件中,保留会话期间所做的任何更改。
-
/shop set:此命令允许管理员设置商店中物品的价格。通过使用
/shop set,您可以指定物品、买入价格和卖出价格,以调整商店对该物品的交易方式。示例:
/shop set <item> <buyprice> <sellprice>此处,<item>代表要出售的物品,<buyprice>是玩家购买该物品需支付的价格,<sellprice>是玩家将物品卖给商店时获得的金额。 -
/shop setHand:设置玩家手中当前所持物品的价格。这是使用
/shop set的一种更快捷的替代方式。 -
/price:玩家可以使用
/price <item>检查物品价格,或使用/price检查手中物品的价格。 -
/buy:让玩家从商店购买物品。玩家可以指定想要购买的数量。
-
/sell:允许玩家将物品卖回商店,如有需要可指定数量。
此外,该模组还包含一个拍卖行:
- /auction:用于浏览物品拍卖的命令。

- /auction create <price>:当在命令中指定价格时,用于对手中物品发起拍卖的命令;如果未指定价格,则会弹出一个对话框,要求输入价格和物品。

管理玩家账户可使用以下命令:
-
/pay:允许玩家使用
/pay <recipient> <amount>向其他玩家转账。 -
/balance:此命令让玩家查看自己的余额,或让管理员查看并修改其他玩家的余额。它包含诸如
/balance load、/balance save和/balance set等子命令。 -
/balance list:打开一个 GUI,显示玩家列表及其余额。点击某位玩家即可设置其余额。


此商店和拍卖系统设计得简单而灵活,为玩家和管理员提供高效管理游戏内经济所需的工具。
This mod adds a simple shop for selling and buying items. It can be accessed by using the /shop command. The shop system includes several functionalities that can be managed through different subcommands:
- /shop: The main command to access the shop interface. Users can browse available items or interact with the shop in various ways depending on their permissions.

- /shop edit: Allows admins (users with permission level 2 or higher) to edit the shop's inventory. This includes adding or removing items from the shop.



-
/shop load: Admins can load the shop's configuration from a file, making it easy to reset or update the shop's content.
-
/shop save: This command saves the current state of the shop to a file, preserving any changes made during the session.
-
/shop set: This command allows admins to set the prices for items in the shop. By using
/shop set, you can specify the item, buy price, and sell price to adjust how the shop will trade that item.Example:
/shop set <item> <buyprice> <sellprice>Here,<item>represents the item to be sold,<buyprice>is the price players must pay to buy the item, and<sellprice>is the amount players will receive when selling the item to the shop. -
/shop setHand: Sets the price for the item currently held in the player's hand. This is a quicker alternative to using
/shop set. -
/price: Players can check the price of an item using
/price <item>or/priceto check the price of the item in their hand. -
/buy: Lets players purchase items from the shop. Players can specify the quantity they want to buy.
-
/sell: Allows players to sell items back to the shop, specifying the quantity if needed.
Additionally, the mod includes an auctionhouse:
- /auction: A command for browsing item auctions

- /auction create <price>: A command to start an auction for an item in hand when specifying the price in the command, if the price is not specified, a dialog appears which needs a price and item insertion

For managing the account of the players you can use these commands:
-
/pay: Allows players to transfer money to others using
/pay <recipient> <amount>. -
/balance: This command lets players check their balance, or for admins to check and modify other players' balances. It includes subcommands like
/balance load,/balance save, and/balance set. -
/balance list: Opens a gui with a list of players and their balances. If you click on a player, you can set their balance.


This shop and auction system is designed to be simple yet flexible, providing both players and admins with the tools they need to manage in-game economies efficiently.
下载 ServerShop
下载 ServerShop
下载 ServerShop
下载 ServerShop
下载 ServerShop
下载 ServerShop
下载 ServerShop
下载 ServerShop
下载 ServerShop
下载 ServerShop
已更新至 1.21.8
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧