跳到正文

Quest Shop

作者:Holysweet

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. Optional FTB Teams & FTB Quests integration.

收藏

截图

介绍

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

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 (via datapack) where players can spend earned coins.
  • Coins can be gained by killing enemies (loot), via Quest rewards (FTB Quests), or given with commands.
  • Support progression gating — Shop Categories can be (un)locked via Quest rewards (FTB Quests), or 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.
    • Quest Rewards:
    • Coin Reward – rewards X amount of coins
    • Category Reward – (un)locks a category of items

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


Mod Configuration

The config file allows you to enable or disable coin as loot drops, as well as the drop chance.


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/版本名 下面。

评论

登录后评论和评分

Holysweet 的其他作品

查看全部 →