跳到正文

Quest Shop

QuestShop provides an in-game shop and (quest) reward progression system. It is designed for modpack makers to support controlled item access, team play, and quest progression.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

QuestShop

QuestShop is a lightweight Minecraft (NeoForge) mod that provides an in-game shop and reward progression system.
It is designed for modpack makers to support controlled item access, team play, and quest progression.

Inspired by FTB Money.

👩‍💻 Author: Holysweet
🧑‍💻 Developed by: AquariusSidhe (GitHub: alexanderheuts)
📜 License: MIT

Purpose

  • Provide a fully customizable shop where players can spend earned coins.
  • Coins can be earned with QuestRewards, or given with commands.
  • Support progression gating — Shop Categories can be (un)locked with commands.

Integrations

QuestShop works on its own, but offers optional integration with:

  • FTB Teams – for shared team progression.
  • FTB Quests – for quest-based rewards or unlocks.

_No hard dependencies: packs can include QuestShop standalone or alongside these mods._


Commands

All in-game commands are attached under: “/hqs“

To open the shop use: “/hqs shop“


Shop Configuration

All shop content is defined via datapacks.

Shop category

data/yourpack/questshop/shop_categories/building.json
{ "display": "Building", "unlocked_by_default": true, "order": 30 }
  • The filename determines the category ID.
  • One file per category.
  • display – name shown in game.
  • unlocked_by_default – is the category, and its items, unlocked by default
  • order – integer for default ordering, compared to other categories, higher is lower on the list

Shop entry

data/yourpack/questshop/shop_entries/building_basic.json
[
  { 
    "item": "minecraft:cobblestone",
    "amount": 64, 
    "cost": 2,  
    "category": "building" 
  },
  { 
    "item": "minecraft:oak_planks",
    "amount": 64, 
    "cost": 2,  
    "category": "building" 
  }
]
  • Filenames are arbitrary. Used for your own grouping.
  • item – minecraft item ID to sell.
  • amount – the amount you get when purchased.
  • price – cost in the built-in currency.
  • category – category ID the item belongs to.

Folder structure (datapack):

(your_datapack)/
  pack.mcmeta
  data/
    yourpack/
      questshop/
        shop_categories/
          building.json
        shop_entries/
          building_basic.json

See repository for example datapack.

常见问题

Quest Shop 支持哪些 Minecraft 版本?

Quest Shop 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Quest Shop 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分