chest shop

Quick rating

Community listing page, reviews here may not be monitored by the author.

chest shop

By mixpluscoreOwner

No reviews yet

This data pack adds a simple shop function using chests. このデータパックは、チェストを使って簡易的なショップ機能を追加する datapack です。

Mod Loaders
Minecraft

About

Description

Shop Datapack

English

In this data pack,Shop functionality provided by the administratoris available. *If not set up correctly, anyone may be able to edit the shop contents. Please set up and manage the shop in a location that only administrators can access. You cannot add any items directly during normal gameplay, **By editing the data pack, you can freely change the sales content and behavior.


🔄 How to initialize/obtain

When you run /reload, the following two items will be automatically granted:

  • `shop
  • shop items

🛒 shop

shop will open the shop screen. From here you can purchase the configured items.


📦 shop_items

Using shop_items will generate a chest on the spot. Feel free to put any items you want to sell into the generated chest.

⚠ Attention Items in chests generated by shop_items are All are treated as free (price 0). If you want to change the price etc., please edit the data pack.


📝 Supplementary Information

  • Shop prices and behavior are managed by the datapack itself.
  • Can be used in multiplayer environments.
  • Chests are automatically managed and safely deleted when no longer needed.
  • The "gen.py" file included is used to create the datapack.

Shop Datapack

日本語

このデータパックでは、管理者が用意したショップ機能を利用できます。
※ 正しく設定しない場合、誰でもショップ内容を編集できてしまう可能性があります。 管理者のみがアクセスできる場所で設定・管理してください。 通常のプレイ中に任意のアイテムを直接追加することはできませんが、
データパックを編集することで、販売内容や挙動を自由に変更可能です。


🔄 初期化・入手方法

/reload を実行すると、以下の 2 種類のアイテムが自動的に付与されます。

  • shop
  • shop_items

🛒 shop

shop を使用すると、ショップ画面が開きます。
ここから設定されたアイテムを購入できます。


📦 shop_items

shop_items を使用すると、その場にチェストが生成されます。
生成されたチェストの中に、販売したいアイテムを自由に入れてください。

⚠ 注意
shop_items で生成されたチェスト内のアイテムは
すべて無料(価格 0)として扱われます。 価格などを変更したい場合データパックを編集してください


📝 補足

  • ショップの価格や挙動は datapack 側で管理されています
  • マルチプレイ環境でも使用可能です
  • チェストは自動管理され、不要になった場合は安全に削除されます
  • 中に"gen.py"がありますがこれはデータパック作成の際利用したものです